Electricity consumption analysis method and device, computer equipment and computer readable storage medium
By calculating the incremental value and time of electricity consumption, combined with the incremental value and time of electricity consumption, the problem of abnormal electricity consumption in the existing technology cannot be effectively discovered, and the business risks and financing needs of enterprises are realized. Accurate assessment.
Patent Information
- Application Number
- CN202411252242.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-10
AI Technical Summary
The existing technology cannot effectively detect abnormal electricity movements in enterprises, making it difficult to accurately assess the business risks or financing needs of enterprises.
By obtaining the month-on-month increment of the electricity consumption of the electricity consumption to be evaluated, calculate its integral value, and determine that there is an abnormality in the electricity consumption when the integral value is greater than the preset threshold and the duration exceeds the threshold, combining the month-on-month increment and time of the electricity consumption Factors determine abnormal electricity use.
Effectively discover abnormal electricity consumption of enterprises, avoid wrong judgments caused by short-term changes, and accurately evaluate the business conditions and financing needs of enterprises.
Smart Images

Figure CN119106813A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an electricity consumption analysis method, device, computer equipment, and computer-readable storage medium. Background Art
[0002] Financial institutions or financial enterprises can analyze the electricity consumption data of enterprises to understand the business conditions of enterprises, and thus determine whether the enterprises have financing needs or repayment risks by understanding the business conditions of enterprises. However, in the related art, the method of analyzing the business conditions of enterprises through the electricity consumption data of enterprises has the problem of being unable to effectively discover the abnormal changes in the electricity consumption of enterprises, making it difficult to accurately assess the business risks or financing needs of enterprises.
[0003] Therefore, how to effectively detect changes in corporate electricity consumption, so as to accurately grasp the business conditions of the companies and assess their operating risks or financing needs, has become a technical problem that needs to be urgently solved in the financial field. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose an electricity consumption analysis method, device, computer equipment and computer-readable storage medium, which are intended to effectively discover abnormal changes in the electricity consumption of an enterprise, thereby accurately grasping the operating conditions of the enterprise and evaluating operating risks or financing needs.
[0005] To achieve the above object, a first aspect of an embodiment of the present application provides a method for analyzing electricity consumption, the method comprising:
[0006] Obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated;
[0007] Calculate the month-on-month increment of the electricity consumption to obtain the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated;
[0008] When the month-on-month incremental integral value of the electricity consumption is greater than the preset month-on-month incremental integral threshold, record the duration for which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold;
[0009] When the duration is greater than a preset duration threshold, it is determined that the power consumption of the power user to be evaluated is abnormal.
[0010] In some embodiments, obtaining the month-on-month increase in electricity consumption of the electricity user to be evaluated includes:
[0011] The power consumption of the power user to be evaluated on the i-th day is calculated by subtracting the power consumption of the power user to be evaluated on the i-1th day to obtain the daily power consumption difference of the power user to be evaluated; wherein i is a positive integer greater than 1;
[0012] Divide the daily electricity consumption difference by the electricity consumption of the electricity user to be evaluated on the i-1th day to obtain the daily electricity consumption ratio;
[0013] The month-on-month ratio of daily electricity consumption is used as the month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day.
[0014] In some embodiments, after obtaining the daily electricity consumption ratio by dividing the daily electricity consumption difference by the electricity consumption of the electricity user to be evaluated on the i-1th day, the method further includes:
[0015] Compare the daily power consumption month-on-month ratio with a preset daily power consumption month-on-month increment threshold;
[0016] When the daily month-on-month ratio of electricity consumption is greater than or equal to the daily month-on-month increment threshold of electricity consumption, the daily month-on-month increment threshold of electricity consumption is used as the month-on-month increment of electricity consumption of the electricity user to be evaluated on the i-th day.
[0017] In some embodiments, the month-on-month incremental integral value of electricity consumption includes: a daily month-on-month incremental integral value of electricity consumption;
[0018] The step of calculating the month-on-month increment of the electricity consumption to obtain the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated includes:
[0019] The month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day is superimposed on the month-on-month increase in electricity consumption of the electricity user to be evaluated on the n-th day to obtain the daily month-on-month increase integral value of electricity consumption of the electricity user to be evaluated; wherein n is a positive integer greater than i.
[0020] In some embodiments, the preset month-on-month incremental integral threshold is greater than 0;
[0021] When the month-on-month incremental integral threshold is greater than 0, determining that the power consumption of the power user to be evaluated is abnormal includes:
[0022] Determine that the power consumption trend of the power user to be evaluated is in an increasing state.
[0023] In some embodiments, the method further comprises:
[0024] When the power consumption trend of the power user to be evaluated is in an increasing state and the month-on-month incremental integral value of power consumption is greater than the first level threshold, the operating condition of the power user to be evaluated is determined to be excellent;
[0025] When the power consumption trend of the power user to be evaluated is in an increasing state, the month-on-month incremental integral value of power consumption is less than or equal to the first level threshold, and the month-on-month incremental integral value of power consumption is greater than the second level threshold, it is determined that the operating condition of the power user to be evaluated is good, wherein the second level threshold is less than the first level threshold;
[0026] When the electricity consumption trend of the electricity user to be evaluated is in an increasing state, the month-on-month incremental integral value of electricity consumption is less than or equal to the second level threshold, and the month-on-month incremental integral value of electricity consumption is greater than the third level threshold, it is determined that the operating condition of the electricity user to be evaluated is general, wherein the third level threshold is less than the second level threshold.
[0027] In some embodiments, the preset month-on-month incremental integral threshold is less than 0;
[0028] When the month-on-month incremental integral value of the electricity consumption is greater than a preset month-on-month incremental integral threshold, recording a duration for which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold includes:
[0029] When the month-on-month incremental integral threshold is less than 0 and the absolute value of the month-on-month incremental integral value of the power consumption is greater than the absolute value of the month-on-month incremental integral threshold, 1 is added to the duration of the period during which the month-on-month incremental integral value of the power consumption is greater than the month-on-month incremental integral threshold;
[0030] The determining that the power consumption of the power user to be evaluated is abnormal includes:
[0031] Determine that the power consumption trend of the power user to be evaluated is in a downward state.
[0032] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a power consumption analysis device, the device comprising:
[0033] An acquisition module is used to obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated;
[0034] An increment integral calculation module, used to calculate the month-on-month increment of the electricity consumption to obtain the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated;
[0035] A first analysis module is used to record the duration of the month-on-month incremental integral value of the electricity consumption being greater than the month-on-month incremental integral threshold when the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold;
[0036] The second analysis module is used to determine that the power consumption of the power user to be evaluated is abnormal when the duration is greater than a preset duration threshold.
[0037] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes a computer device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.
[0038] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0039] To achieve the above-mentioned purpose, the fifth aspect of the embodiments of the present application proposes a computer program product, which stores a computer program. When the computer program is executed by a processor, the method described in the first aspect is implemented.
[0040] The electricity consumption analysis method, apparatus, computer equipment, computer-readable storage medium and computer program product proposed in the present application obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated; calculate the month-on-month increase in electricity consumption to obtain the month-on-month increase in electricity consumption integral value of the electricity user to be evaluated; when the month-on-month increase in electricity consumption integral value is greater than a preset month-on-month increase in integral threshold, record the duration of time during which the month-on-month increase in electricity consumption integral value is greater than the month-on-month increase in integral threshold; when the duration is greater than the preset duration threshold, determine that there is an abnormality in the electricity consumption of the electricity user to be evaluated.
[0041] In this way, compared with the method of only setting a power consumption threshold to determine whether an abnormal power consumption has occurred in the power user to be evaluated, the technical solution of the present application obtains the month-on-month increase in power consumption of the power user to be evaluated, thereby unifying the power consumption of different power users to the month-on-month increase standard. This can solve the problem that different power users themselves have different demands for power consumption, which makes it difficult to detect abnormal power consumption of the power user to be evaluated only through the power consumption threshold.
[0042] In addition, the technical solution of the present application further calculates the month-on-month increment of the electricity consumption of the electricity user to be evaluated, obtains the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated, and then compares the month-on-month increment integral value of the electricity consumption with the preset month-on-month increment integral threshold, and when the month-on-month increment integral value of the electricity consumption is greater than the preset month-on-month increment integral threshold, records the duration of the month-on-month increment integral value of the electricity consumption greater than the month-on-month increment integral threshold, and then determines that the electricity consumption of the electricity user to be evaluated is abnormal when the duration is greater than the preset duration threshold. In this way, the technical solution of the present application determines whether there is an abnormal change in electricity consumption of the electricity user to be evaluated by combining the phenomenon that the month-on-month increment integral value of the electricity consumption is greater than the threshold and the duration of the phenomenon, thereby avoiding the problem of erroneous judgment that there is an abnormal change in electricity consumption of the electricity user to be evaluated due to a short-term obvious change in electricity consumption caused by a sharp increase or sharp drop in short-term orders, thereby achieving effective discovery of abnormal electricity consumption of the electricity user to be evaluated by the enterprise, and then accurately grasping the business situation of the enterprise to evaluate the business risk or financing demand. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of the steps of the power consumption analysis method provided in some embodiments of the present application;
[0044] Figure 2 for Figure 1 A detailed flow chart of step S101;
[0045] Figure 3 for Figure 1 Another detailed flow chart of step S101;
[0046] Figure 4 A schematic diagram of the steps of the power consumption analysis method provided in the embodiment of the present application in other embodiments;
[0047] Figure 5 A schematic diagram of a system module of a terminal device involved in the power consumption analysis method provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of a system flow involved in the power consumption analysis method provided in an embodiment of the present application;
[0049] Figure 7 A schematic diagram of the structure of the power consumption analysis device provided in the embodiment of the present application;
[0050] Figure 8 A schematic diagram of the hardware structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0054] First, the overall concept of this application is explained:
[0055] The financing business involving small and medium-sized micro-manufacturing and processing enterprises is becoming increasingly competitive and risky. Financial enterprises usually need to understand the business conditions of enterprises to determine whether the enterprises have financing needs or whether the funds already invested have repayment risks. It is a relatively effective method to analyze whether the business operations of enterprises are normal through the electricity consumption data of enterprises. Therefore, financial institutions or financial enterprises can analyze the electricity consumption data of enterprises to understand the business conditions of enterprises, and thus judge whether the enterprises have financing needs or repayment risks by understanding the business conditions of enterprises. However, in the related art, due to the different electricity consumption of different enterprises, if the method of setting the electricity consumption threshold is used to determine whether the electricity consumption of enterprises has changed, it is impossible to achieve a unified threshold for all enterprises. If each enterprise sets a threshold separately, when the current threshold setting is unreasonable and the threshold needs to be adjusted, each enterprise needs to adjust it once, resulting in a large workload. And more importantly, because it is impossible to set a unified threshold standard, it may lead to unreasonable threshold setting in a single enterprise, and it is impossible to effectively detect the change of electricity consumption of enterprises.
[0056] Therefore, how to effectively detect changes in corporate electricity consumption, so as to accurately grasp the business conditions of the companies and assess their operating risks or financing needs, has become a technical problem that needs to be urgently solved in the financial field.
[0057] In response to this problem, the embodiments of the present application provide a method, device, computer equipment, and computer-readable storage medium for analyzing electricity consumption, which are intended to effectively discover changes in an enterprise's electricity consumption, thereby accurately grasping the enterprise's operating conditions and evaluating operating risks or financing needs. In order to achieve this goal, the present application obtains the month-on-month increase in electricity consumption of the electricity user to be evaluated; calculates the month-on-month increase in electricity consumption to obtain the month-on-month increase in integral value of the electricity user to be evaluated; when the month-on-month increase in electricity consumption is greater than a preset month-on-month increase in integral threshold, records the duration of the month-on-month increase in electricity consumption that is greater than the month-on-month increase in integral threshold; when the duration is greater than the preset duration threshold, determines that the electricity consumption of the electricity user to be evaluated is abnormal.
[0058] In this way, compared with the method of only setting a power consumption threshold to determine whether an abnormal power consumption has occurred in the power user to be evaluated, the technical solution of the present application obtains the month-on-month increase in power consumption of the power user to be evaluated, thereby unifying the power consumption of different power users to the month-on-month increase standard. This can solve the problem that different power users themselves have different demands for power consumption, which makes it difficult to detect abnormal power consumption of the power user to be evaluated only through the power consumption threshold.
[0059] In addition, the technical solution of the present application further calculates the month-on-month increment of the electricity consumption of the electricity user to be evaluated, obtains the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated, and then compares the month-on-month increment integral value of the electricity consumption with the preset month-on-month increment integral threshold, and when the month-on-month increment integral value of the electricity consumption is greater than the preset month-on-month increment integral threshold, records the duration of the month-on-month increment integral value of the electricity consumption greater than the month-on-month increment integral threshold, and then determines that the electricity consumption of the electricity user to be evaluated is abnormal when the duration is greater than the preset duration threshold. In this way, the technical solution of the present application determines whether there is an abnormal change in electricity consumption of the electricity user to be evaluated by combining the phenomenon that the month-on-month increment integral value of the electricity consumption is greater than the threshold and the duration of the phenomenon, thereby avoiding the problem of erroneous judgment that there is an abnormal change in electricity consumption of the electricity user to be evaluated due to a short-term obvious change in electricity consumption caused by a sharp increase or sharp drop in short-term orders, thereby achieving effective discovery of abnormal electricity consumption of the electricity user to be evaluated by the enterprise, and then accurately grasping the business situation of the enterprise to evaluate the business risk or financing demand.
[0060] Based on the overall concept of the present application described above, various specific embodiments of the power consumption analysis method, device, computer equipment and computer-readable storage medium provided in the embodiments of the present application are proposed. First, the power consumption analysis method provided in the embodiments of the present application is described in detail.
[0061] It should be noted that the power consumption analysis method provided in the embodiment of the present application relates to the field of data processing technology. The power consumption analysis method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN) and big data and artificial intelligence platforms and other basic cloud computing services. Cloud servers; software can be applications that implement power consumption analysis methods, etc., but are not limited to the above forms.
[0062] For ease of understanding and explanation, the following text will take the power consumption analysis method provided by the embodiment of the present application as an example to explain the present application in detail. The implementation of the power consumption analysis method provided by the embodiment of the present application in any of the above-mentioned forms of subject application can refer to the process of the terminal device applying the power consumption analysis method described below.
[0063] Please refer to Figure 1 , Figure 1 The schematic diagram of the steps of the power analysis method provided in some embodiments of the present application is as follows. It should be understood that although Figure 1 The execution order of some method steps is shown in the figure, but based on different design requirements of actual applications, the power consumption analysis method provided in the embodiment of the present application can certainly adopt an execution order different from the method steps shown in the figure. That is, Figure 1 The order of the steps in the method shown does not constitute a limitation on the execution logic order of the power consumption analysis method provided in the embodiment of the present application. Figure 1 Reasonable changes in the sequence of steps in the method shown should be included in the scope of protection of the power analysis method provided in the embodiments of the present application.
[0064] like Figure 1 As shown, in some embodiments, the electricity consumption analysis method provided in the embodiments of the present application may include but is not limited to steps S101 to S104.
[0065] Step S101, obtaining the month-on-month increase in electricity consumption of the electricity user to be evaluated.
[0066] It should be noted that the electricity user to be evaluated may be an enterprise, an institution, or even a household, etc. It should be understood that, based on different design requirements of actual applications, in different feasible implementations, the electricity user to be evaluated may of course also be other entities not listed here, and the electricity consumption analysis method provided in the embodiment of the present application is not limited to the specific type of the electricity user to be evaluated.
[0067] In this embodiment, when the terminal device performs power consumption analysis on the power user to be evaluated, it collects power consumption data of the power user to be evaluated and performs calculations based on the collected power consumption data, thereby obtaining the month-on-month increase in power consumption of the power user to be evaluated.
[0068] It should be noted that the terminal device can communicate with a device (such as a smart meter, etc.) used to record electricity consumption data of the electricity user to be evaluated, so as to collect the electricity consumption data of the electricity user to be evaluated through the device.
[0069] In some embodiments, the terminal device can communicate with the device for recording power consumption data of the power user to be evaluated through the power consumption data collection module configured by itself, and then exchange data with the device based on the power consumption data collection module, so as to collect the power consumption data of the power user to be evaluated at a certain frequency (such as once per hour, once per day or other frequencies). Among them, the power consumption data of the power user to be evaluated collected by the terminal device through the power consumption data collection module can include: total power consumption, and power consumption in peak, valley, flat, and sharp time periods.
[0070] In some embodiments, the terminal device may also be configured with an abnormality analysis module. After the terminal device collects the electricity consumption data of the electricity user to be evaluated through the electricity consumption data collection module, the electricity consumption data collection module transmits the electricity consumption data to the abnormality analysis module, and the abnormality analysis module calculates the electricity consumption data to obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated.
[0071] It should be noted that the terminal device can use a pre-trained anomaly analysis module to calculate the electricity consumption data through the anomaly analysis module, so as to obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated. Among them, the terminal device can use the electricity consumption of the electricity user to be evaluated every day as sample data for model training in advance through the anomaly analysis module. For example, the terminal device can use the electricity consumption of the electricity user to be evaluated every day as input through the anomaly analysis module, and calculate the difference between the electricity consumption a and the electricity consumption b of two adjacent days through the model, and then divide the difference by the electricity consumption a of the previous day in the electricity consumption of the two adjacent days, so as to divide the difference by the electricity consumption a as the month-on-month increase in electricity consumption of the electricity user to be evaluated.
[0072] Step S102, calculating the month-on-month increase in electricity consumption to obtain a month-on-month increase in electricity consumption integral value of the electricity user to be evaluated.
[0073] In this embodiment, after obtaining the month-on-month increase in electricity consumption of the electricity user to be evaluated, the terminal device further calculates the month-on-month increase in electricity consumption of the electricity user to be evaluated within a period of time (for example, superimposing the month-on-month increase in electricity consumption within a period of time), thereby obtaining the month-on-month increase in electricity consumption integral value of the electricity user to be evaluated.
[0074] In some embodiments, the terminal device can obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated on a daily basis for several consecutive days, and then superimpose the month-on-month increase in electricity consumption of each day to use the superimposed result as the month-on-month increase in electricity consumption integral value of the electricity user to be evaluated.
[0075] In other embodiments, the terminal device may also obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated for several consecutive months on a monthly basis, and then superimpose the month-on-month increase in electricity consumption of each month to use the superimposed result as the integral value of the month-on-month increase in electricity consumption of the electricity user to be evaluated.
[0076] Step S103, when the month-on-month incremental integral value of the electricity consumption is greater than a preset month-on-month incremental integral threshold, record the duration for which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold.
[0077] It should be noted that the preset month-on-month incremental integral threshold is a threshold preset by the terminal device for determining anomalies in the electricity consumption of an enterprise, and the threshold may be greater than 0, or the threshold may be less than 0. By setting the month-on-month incremental integral threshold, the terminal device can determine that there is an abnormal electricity consumption in the electricity user to be evaluated when the month-on-month incremental integral value of the electricity consumption of the electricity user to be evaluated exceeds (exceeding means that when the threshold is greater than 0, the month-on-month incremental integral value of the electricity consumption is greater than the threshold, and when the threshold is less than 0, the month-on-month incremental integral value of the electricity consumption is less than the threshold) the month-on-month incremental integral threshold without considering the time factor.
[0078] In this embodiment, after the terminal device calculates the month-on-month incremental integral value of the electricity consumption of the object to be evaluated, it compares the month-on-month incremental integral value of the electricity consumption with a preset month-on-month incremental integral threshold. If the comparison finds that the month-on-month incremental integral value of the electricity consumption is greater than the preset month-on-month incremental integral threshold, the terminal device records the duration during which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold.
[0079] Step S104: when the duration is greater than a preset duration threshold, it is determined that the power consumption of the power-consuming object to be evaluated is abnormal.
[0080] It should be noted that the preset duration threshold is also the threshold preset by the terminal device for determining the change in the electricity consumption of the enterprise. By setting the month-on-month incremental integral threshold and the duration threshold, the terminal device can determine that the electricity consumption of the electricity user to be evaluated has changed when the month-on-month incremental integral value of the electricity consumption of the electricity user to be evaluated exceeds the month-on-month incremental integral threshold and reaches the preset duration threshold, taking into account the time factor.
[0081] In this embodiment, when the terminal device has pre-set the month-on-month incremental integral threshold and the duration threshold, the terminal device compares the duration of time that the previously recorded month-on-month incremental integral value of electricity consumption is greater than the month-on-month incremental integral threshold with the duration threshold, and if the comparison finds that the duration is greater than the duration threshold, it determines that there is an abnormality in electricity consumption of the electricity user to be evaluated, that is, there is an abnormality in electricity consumption of the electricity user to be evaluated.
[0082] Exemplarily, it is assumed that the pre-set month-on-month incremental integral threshold of the terminal device is 20%, and the pre-set duration threshold of the terminal device is 30 days. In this way, when the terminal device calculates that the month-on-month incremental integral value of the electricity consumption of the electricity user to be evaluated is greater than 20%, and the continuous duration of the month-on-month incremental integral value of the electricity consumption recorded by the terminal device is greater than 20% reaches 30 days, the terminal device can determine that the electricity consumption of the electricity user to be evaluated has increased abnormally. Thereby, the terminal device can further mark the electricity user to be evaluated as an electricity user that may have financing needs or have new financing needs.
[0083] In an embodiment of the present application, when the terminal device performs power consumption analysis on the power consumption object to be evaluated, the power consumption data of the power consumption object to be evaluated is collected, and the power consumption data collected is calculated, so as to obtain the month-on-month increment of the power consumption of the power consumption object to be evaluated. After that, the terminal device calculates the month-on-month increment of the power consumption of the power consumption object to be evaluated within a period of time, so as to obtain the month-on-month increment integral value of the power consumption of the power consumption object to be evaluated. When the comparison finds that the month-on-month increment integral value of the power consumption is greater than the preset month-on-month increment integral threshold, the terminal device records the duration of the month-on-month increment integral value of the power consumption greater than the month-on-month increment integral threshold. Finally, the terminal device compares the duration of the month-on-month increment integral value of the power consumption recorded previously greater than the month-on-month increment integral threshold with the duration threshold, and when the comparison finds that the duration is greater than the duration threshold, it is determined that there is a change in power consumption of the power consumption object to be evaluated, that is, there is an abnormality in the power consumption of the power consumption object to be evaluated.
[0084] In this way, compared with the method of only setting a power consumption threshold to determine whether an abnormal power consumption has occurred in the power user to be evaluated, the technical solution of the present application obtains the month-on-month increase in power consumption of the power user to be evaluated, thereby unifying the power consumption of different power users to the month-on-month increase standard. This can solve the problem that different power users themselves have different demands for power consumption, which makes it difficult to detect abnormal power consumption of the power user to be evaluated only through the power consumption threshold.
[0085] In addition, the technical solution of the present application further calculates the month-on-month increment of the electricity consumption of the electricity user to be evaluated, obtains the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated, and then compares the month-on-month increment integral value of the electricity consumption with the preset month-on-month increment integral threshold, and when the month-on-month increment integral value of the electricity consumption is greater than the preset month-on-month increment integral threshold, records the duration of the month-on-month increment integral value of the electricity consumption greater than the month-on-month increment integral threshold, and then determines that the electricity consumption of the electricity user to be evaluated is abnormal when the duration is greater than the preset duration threshold. In this way, the technical solution of the present application determines whether there is an abnormal change in electricity consumption of the electricity user to be evaluated by combining the phenomenon that the month-on-month increment integral value of the electricity consumption is greater than the threshold and the duration of the phenomenon, thereby avoiding the problem of erroneous judgment that there is an abnormal change in electricity consumption of the electricity user to be evaluated due to a short-term obvious change in electricity consumption caused by a sharp increase or sharp drop in short-term orders, thereby achieving effective discovery of abnormal electricity consumption of the electricity user to be evaluated by the enterprise, and then accurately grasping the business situation of the enterprise to evaluate the business risk or financing demand.
[0086] When the terminal device performs power consumption analysis on the power user to be evaluated on a daily basis, the power consumption of the power user to be evaluated is calculated on each day to obtain the month-on-month increase in power consumption of the power user to be evaluated on each day. For example, the terminal device can calculate the month-on-month increase in power consumption of the power user to be evaluated according to the following formula.
[0087]
[0088] Please refer to Figure 2 , Figure 2 for Figure 1 A detailed flow chart of step S101 in FIG.
[0089] like Figure 2 As shown, in some embodiments, the above step S101, obtaining the month-on-month increase in electricity consumption of the electricity user to be evaluated, may include the following steps S201 to S203.
[0090] Step S201, performing a difference calculation between the electricity consumption of the electricity user to be evaluated on the i-th day and the electricity consumption of the electricity user to be evaluated on the i-1th day, to obtain the daily electricity consumption difference of the electricity user to be evaluated; wherein i is a positive integer greater than 1.
[0091] In this embodiment, after the terminal device collects the electricity consumption data of the electricity user to be evaluated for at least two consecutive days through the electricity consumption data collection module, the terminal device determines the electricity consumption of the electricity user to be evaluated on the i-th day (i is a positive integer greater than 1) and the electricity consumption of the electricity user to be evaluated on the i-1th day from the electricity consumption data of the electricity user to be evaluated for at least two consecutive days through the abnormal analysis module. Then, the terminal device calculates the difference between the electricity consumption of the electricity user to be evaluated on the i-th day and the electricity consumption of the electricity user to be evaluated on the i-1th day through the abnormal analysis module, thereby obtaining the daily electricity consumption difference of the electricity user to be evaluated.
[0092] Step S202: Divide the daily power consumption difference by the power consumption of the power user to be evaluated on the i-1th day to obtain a daily power consumption ratio.
[0093] In this embodiment, after the terminal device calculates the daily electricity consumption difference of the electricity user to be evaluated through the abnormal analysis module, the terminal device further divides the daily electricity consumption difference by the electricity consumption of the electricity user to be evaluated on the i-1th day through the abnormal analysis module, thereby obtaining the month-on-month ratio of daily electricity consumption of the electricity user to be evaluated.
[0094] Step S203: taking the daily electricity consumption ratio as the month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day.
[0095] In this embodiment, after the terminal device divides the daily power consumption difference by the power consumption of the power user to be evaluated on the i-1th day through the abnormal analysis module to obtain the daily power consumption ratio of the power user to be evaluated, the terminal device further uses the daily power consumption ratio as the power consumption increment of the power user to be evaluated on the ith day. At this point, the terminal device has completed the operation of calculating the power consumption increment of the power user to be evaluated through the abnormal analysis module.
[0096] Please refer to Figure 3 , Figure 3 for Figure 1 Another detailed flowchart of step S101 is shown in FIG.
[0097] like Figure 3 As shown, in some embodiments, in the above-mentioned step S202, after the daily electricity consumption difference is divided by the electricity consumption of the electricity user to be evaluated on the i-1th day to obtain the daily electricity consumption ratio, the electricity consumption analysis method provided in the embodiment of the present application may also include steps S301 to S302.
[0098] Step S301, comparing the daily power consumption month-on-month ratio with a preset daily power consumption month-on-month increment threshold.
[0099] It should be noted that the preset daily month-on-month increment threshold of electricity consumption is the maximum value of the month-on-month increment of electricity consumption preset by the terminal device. For example, the terminal device can set the daily month-on-month increment threshold of electricity consumption to 100.
[0100] In this embodiment, after the terminal device calculates the daily power consumption ratio of the power user to be evaluated through the abnormal change analysis module, it further compares the daily power consumption ratio with a preset daily power consumption increment threshold.
[0101] Step S302: When the daily power consumption ratio is greater than or equal to the daily power consumption increment threshold, the daily power consumption increment threshold is used as the power consumption increment of the power user to be evaluated on the i-th day.
[0102] In this embodiment, after the terminal device compares the daily power consumption ratio of the power user to be evaluated with the preset daily power consumption increment threshold, if the terminal device finds that the daily power consumption ratio is less than the preset daily power consumption increment threshold, the terminal device directly uses the daily power consumption ratio as the power consumption increment of the power user to be evaluated on the i-th day. However, if the terminal device finds that the daily power consumption ratio is greater than or equal to the preset daily power consumption increment threshold, the terminal device directly uses the daily power consumption increment threshold as the power consumption increment of the power user to be evaluated on the i-th day.
[0103] In this embodiment, after the terminal device calculates the daily electricity consumption ratio of the electricity user to be evaluated through the abnormal change analysis module, the terminal device further compares the daily electricity consumption ratio with a preset daily electricity consumption increment threshold. Therefore, when the daily electricity consumption ratio is greater than or equal to the preset daily electricity consumption increment threshold, the terminal device uses the daily electricity consumption increment threshold as the daily electricity consumption increment of the electricity user to be evaluated on the i-th day.
[0104] In this way, in the case where the electricity user to be evaluated stops work on the i-1th day, resulting in too low electricity consumption, and resumes work normally on the i-th day, the daily month-on-month increase threshold of electricity consumption can be used as the month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day. This can eliminate the problem of subsequent calculations that deviate significantly from the production and operation status of the electricity user to be evaluated due to the excessively large month-on-month increase in electricity consumption caused by this situation, thereby further improving the accuracy of judging whether there is any abnormal electricity consumption change in the electricity user to be evaluated.
[0105] After the terminal device calculates the month-on-month increase in electricity consumption of the electricity user to be evaluated, it can obtain the daily month-on-month increase integral value of electricity consumption of the electricity user to be evaluated over a continuous period of time by superimposing the month-on-month increase in electricity consumption of the electricity user to be evaluated on each day. For example, the terminal device can use the following formula to calculate the daily month-on-month increase integral value of electricity consumption of the electricity user to be evaluated.
[0106] In some embodiments, the month-on-month increment integral value of electricity consumption includes: the day-on-day month-on-month increment integral value of electricity consumption. In this case, the above step S102, calculating the month-on-month increment of electricity consumption to obtain the month-on-month increment integral value of electricity consumption of the electricity user to be evaluated, may include:
[0107] The month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day is superimposed on the month-on-month increase in electricity consumption of the electricity user to be evaluated on the n-th day to obtain the daily month-on-month increase integral value of electricity consumption of the electricity user to be evaluated; wherein n is a positive integer greater than i.
[0108] In this embodiment, the terminal device can use the formula: daily month-on-month incremental integral value of electricity consumption = The month-on-month increment of electricity consumption on the nth day is used to calculate the daily month-on-month increment integral value of electricity consumption of the electricity user to be evaluated, where n is a positive integer greater than i. That is, the terminal device performs superposition calculations one by one through the month-on-month increment of electricity consumption of the electricity user to be evaluated on the ith day to the month-on-month increment of electricity consumption of the electricity user to be evaluated on the nth day, and uses the result of the superposition calculation as the daily month-on-month increment integral value of electricity consumption of the electricity user to be evaluated.
[0109] When the month-on-month incremental integral threshold preset by the terminal device is greater than 0, if the terminal device finds that the month-on-month incremental integral value of the power consumption of the power user to be evaluated is greater than the month-on-month incremental integral threshold, then the terminal device can determine that the power consumption of the power user to be evaluated is abnormal, that is, the power consumption trend of the power user to be evaluated is in an increasing state. Based on this, the terminal device can further mark the power user to be evaluated as a power user that may have financing needs or has new financing needs.
[0110] In some embodiments, when the month-on-month incremental integral threshold is greater than 0, determining that the power consumption of the power user to be evaluated is abnormal in the above step S104 may include:
[0111] Determine that the power consumption trend of the power user to be evaluated is in an increasing state.
[0112] In this embodiment, when the month-on-month increment integral threshold is greater than 0, after the terminal device calculates the month-on-month increment of the electricity consumption of the electricity user to be evaluated, if the month-on-month increment is greater than 0, and the terminal device finds through comparison that the month-on-month increment is greater than the preset month-on-month increment integral threshold, the terminal device records the duration of the month-on-month increment integral value greater than the month-on-month increment integral threshold, and then when the duration is greater than the preset duration threshold, the terminal device determines that the electricity consumption trend of the electricity user to be evaluated is in an increasing state. In this way, the terminal device can mark the electricity user to be evaluated as an electricity user that may have financing needs or has new financing needs.
[0113] Please refer to Figure 4 , Figure 4 A schematic flowchart of the steps of the electricity consumption analysis method provided in the embodiment of the present application in other embodiments.
[0114] like Figure 4 As shown, in some embodiments, the electricity consumption analysis method provided in the embodiments of the present application may also include but is not limited to steps S401 to S403.
[0115] Step S401, when the power consumption trend of the power user to be evaluated is in an increasing state and the month-on-month incremental integral value of power consumption is greater than the first level threshold, it is determined that the operating conditions of the power user to be evaluated are excellent.
[0116] In this embodiment, after determining that the power consumption trend of the power user to be evaluated is in an increasing state, the terminal device further compares the month-on-month incremental integral value of the power consumption of the power user to be evaluated with the first level threshold, so that when the power consumption trend of the power user to be evaluated is in an increasing state and the month-on-month incremental integral value of the power consumption is found to be greater than the first level threshold (for example, 50%) through comparison, the operating conditions of the power user to be evaluated are determined to be excellent. In this way, the terminal device can mark the power user to be evaluated as a power user that may have a strong financing demand or a strong new financing demand.
[0117] Step S402, when the electricity consumption trend of the electricity user to be evaluated is in an increasing state, the month-on-month incremental integral value of electricity consumption is less than or equal to the first level threshold, and the month-on-month incremental integral value of electricity consumption is greater than the second level threshold, it is determined that the operating condition of the electricity user to be evaluated is good, wherein the second level threshold is less than the first level threshold.
[0118] In this embodiment, after the terminal device determines that the power consumption trend of the power user to be evaluated is in an increasing state, if the power consumption of the power user to be evaluated is compared with the first level threshold, and it is found that the power consumption is less than or equal to the first level threshold, the terminal device further compares the power consumption with a smaller second level threshold (for example, 40%). In this case, when the power consumption trend of the power user to be evaluated is in an increasing state, and the power consumption is found to be greater than the second level threshold through comparison, it is determined that the business situation of the power user to be evaluated is good. In this way, the terminal device can mark the power user to be evaluated as a power user that may have a strong financing demand or a strong new financing demand.
[0119] Step S403, when the electricity consumption trend of the electricity user to be evaluated is in an increasing state, the month-on-month incremental integral value of electricity consumption is less than or equal to the second level threshold, and the month-on-month incremental integral value of electricity consumption is greater than the third level threshold, it is determined that the operating conditions of the electricity user to be evaluated are general, wherein the third level threshold is less than the second level threshold.
[0120] In this embodiment, after the terminal device determines that the power consumption trend of the power user to be evaluated is in a growth state, if the power consumption of the power user to be evaluated is compared with the second level threshold, and it is found that the power consumption is less than or equal to the second level threshold, the terminal device further compares the power consumption with a smaller third level threshold (for example, 30%). In this case, when the power consumption trend of the power user to be evaluated is in a growth state, and the power consumption is found to be greater than the third level threshold through comparison, it is determined that the business situation of the power user to be evaluated is general. In this way, the terminal device can mark the power user to be evaluated as a power user that may have financing needs or may have new financing needs.
[0121] When the month-on-month incremental integral threshold preset by the terminal device is less than 0, if the terminal device finds that the absolute value of the month-on-month incremental integral value of the power consumption of the power user to be evaluated is greater than the absolute value of the month-on-month incremental integral threshold, then the terminal device can determine that the power consumption of the power user to be evaluated is abnormal, that is, the power consumption trend of the power user to be evaluated is in a decreasing state. Based on this, the terminal device can further mark the power user to be evaluated as a power user that may have repayment risks.
[0122] In some embodiments, when the month-on-month incremental integral threshold is less than 0, the above step S103,
[0123] When the month-on-month incremental integral value of the electricity consumption is greater than a preset month-on-month incremental integral threshold, recording the duration for which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold may include:
[0124] When the month-on-month incremental integral threshold is less than 0 and the absolute value of the month-on-month incremental integral value of electricity consumption is greater than the absolute value of the month-on-month incremental integral threshold, 1 is superimposed on the duration of the period during which the month-on-month incremental integral value of electricity consumption is greater than the month-on-month incremental integral threshold.
[0125] In this embodiment, when the month-on-month incremental integral threshold is less than 0, after the terminal device calculates the month-on-month incremental integral value of the power consumption of the power consumption object to be evaluated, if the month-on-month incremental integral value of the power consumption is less than 0, the terminal device further compares the absolute value of the month-on-month incremental integral value of the power consumption with the absolute value of the month-on-month incremental integral threshold, so that when the comparison finds that the absolute value of the month-on-month incremental integral value of the power consumption is greater than the absolute value of the month-on-month incremental integral threshold, the terminal device superimposes 1 on the duration of the month-on-month incremental integral value of the power consumption greater than the month-on-month incremental integral threshold. Then, the terminal device can compare the duration after superimposition calculation with the preset duration threshold, and when the duration is greater than the duration threshold, determine that the power consumption of the power consumption object to be evaluated is abnormal.
[0126] In some embodiments, when the month-on-month incremental integral threshold is less than 0, determining that the power consumption of the power user to be evaluated is abnormal in the above step S104 may further include:
[0127] Determine that the power consumption trend of the power user to be evaluated is in a downward state.
[0128] In this embodiment, when the month-on-month increment integral threshold is less than 0, after the terminal device calculates the month-on-month increment of the electricity consumption of the electricity user to be evaluated, if the month-on-month increment is less than 0, and the terminal device finds through comparison that the absolute value of the month-on-month increment of the electricity consumption is greater than the absolute value of the preset month-on-month increment integral threshold, the terminal device records the duration of the month-on-month increment integral value greater than the month-on-month increment integral threshold, and then when the duration is greater than the preset duration threshold, the terminal device determines that the electricity consumption trend of the electricity user to be evaluated is in a decreasing state. In this way, the terminal device can mark the electricity user to be evaluated as an electricity user that may have repayment risks.
[0129] Next, combine Figure 5 and Figure 6 The preferred embodiment of the power consumption analysis method provided in the embodiment of the present application is proposed. Among them, Figure 5 A schematic diagram of a system module of a terminal device involved in the power consumption analysis method provided in an embodiment of the present application, Figure 6 A schematic diagram of the system flow involved in the electricity consumption analysis method provided in an embodiment of the present application.
[0130] like Figure 5 As shown, the terminal device using the power consumption analysis method provided by the embodiment of the present application may include a threshold setting module and an abnormality analysis module. Among them, the threshold setting module is mainly used to set the month-on-month incremental integral threshold and the time threshold before performing power consumption analysis on the power consumption object to be evaluated. For example, the terminal device can pre-set the month-on-month incremental integral threshold to 20% through the threshold setting module, and set the time threshold to 30 days. In addition, the abnormality analysis module is mainly used to calculate the power consumption data of the power consumption object to be evaluated, so as to obtain the month-on-month increment of the power consumption of the power consumption object to be evaluated (calculate the month-on-month increment of power consumption), and calculate the month-on-month increment of the power consumption of the power consumption object to be evaluated, and obtain the month-on-month incremental integral value of the power consumption of the power consumption object to be evaluated (calculate the month-on-month incremental integral value of power consumption), and by combining the month-on-month incremental integral value of the power consumption of the power consumption object to be evaluated with the time, it is judged whether there is an abnormality in the power consumption of the power consumption object to be evaluated (judgment of abnormal power consumption).
[0131] like Figure 6 As shown, after the terminal device sets the month-on-month increment integral threshold and the setting duration threshold through the threshold setting module, the terminal device first calculates the month-on-month increment of the power consumption of the power user to be evaluated based on the power consumption of the power user to be evaluated every day through the abnormal analysis module. Then, the terminal device further superimposes the month-on-month increment of the power consumption of the power user to be evaluated for n consecutive days through the abnormal analysis module, so as to calculate the month-on-month increment integral value of the power consumption of the power user to be evaluated. Then, the terminal device combines the month-on-month increment integral value of the power consumption of the power user to be evaluated with the duration to determine whether there is an abnormality in the power consumption of the power user to be evaluated, that is, when the month-on-month increment integral value of the power consumption is greater than the month-on-month increment integral threshold, the duration of the month-on-month increment integral value of the power consumption is greater than the month-on-month increment integral threshold is recorded, and then when the duration is greater than the duration threshold, it is determined that the power consumption of the power user to be evaluated is abnormal. Finally, the terminal device can further determine whether the power user to be evaluated has a financing demand or a repayment risk when it is determined that the power consumption of the power user to be evaluated is abnormal.
[0132] Furthermore, an embodiment of the present application also provides a power consumption analysis device that can implement the above-mentioned power consumption analysis method.
[0133] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of the power consumption analysis device provided in the embodiment of the present application. Figure 7As shown, the power consumption analysis device provided in the embodiment of the present application includes: an acquisition module 701, an incremental integral calculation module 702, a first analysis module 703 and a second analysis module 704. Among them:
[0134] An acquisition module 701 is used to acquire the month-on-month increase in electricity consumption of the electricity user to be evaluated;
[0135] The increment integral calculation module 702 is used to calculate the month-on-month increment of the power consumption to obtain the month-on-month increment integral value of the power consumption of the power user to be evaluated;
[0136] The first analysis module 703 is used to record the duration of the month-on-month incremental integral value of the electricity consumption being greater than the month-on-month incremental integral threshold when the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold;
[0137] The second analysis module 704 is used to determine that the power consumption of the power-consuming object to be evaluated is abnormal when the duration is greater than a preset duration threshold.
[0138] In some embodiments, the acquisition module 701 is further used to calculate the difference between the electricity consumption of the electricity user to be evaluated on the i-th day and the electricity consumption of the electricity user to be evaluated on the i-1th day, so as to obtain the daily electricity consumption difference of the electricity user to be evaluated; wherein i is a positive integer greater than 1; divide the daily electricity consumption difference by the electricity consumption of the electricity user to be evaluated on the i-1th day to obtain the day-on-day ratio of daily electricity consumption; and use the day-on-day ratio of daily electricity consumption as the day-on-day increment of electricity consumption of the electricity user to be evaluated on the i-th day.
[0139] In some embodiments, the acquisition module 701 is also used to compare the daily month-on-month electricity consumption ratio with a preset daily month-on-month electricity consumption increment threshold; and, when the daily month-on-month electricity consumption ratio is greater than or equal to the daily month-on-month electricity consumption increment threshold, the daily month-on-month electricity consumption increment threshold is used as the month-on-month electricity consumption increment of the electricity user to be evaluated on the i-th day.
[0140] In some embodiments, the month-on-month incremental integral value of electricity consumption includes: the daily month-on-month incremental integral value of electricity consumption; the incremental integral calculation module 702 is also used to superimpose the month-on-month incremental electricity consumption of the electricity user to be evaluated on the i-th day to the month-on-month incremental electricity consumption of the electricity user to be evaluated on the n-th day to obtain the daily month-on-month incremental electricity consumption of the electricity user to be evaluated; wherein n is a positive integer greater than i.
[0141] In some embodiments, the preset month-on-month incremental integral threshold is greater than 0; when the month-on-month incremental integral threshold is greater than 0, the second analysis module 704 is used to determine that the power consumption trend of the power user to be evaluated is in an increasing state.
[0142] In some embodiments, the power consumption analysis device provided in the embodiments of the present application further includes:
[0143] The third analysis module is used to determine that the operating conditions of the electricity user to be evaluated are excellent when the electricity consumption trend of the electricity user to be evaluated is in an increasing state and the month-on-month incremental integral value of electricity consumption is greater than the first level threshold; determine that the operating conditions of the electricity user to be evaluated are good when the electricity consumption trend of the electricity user to be evaluated is in an increasing state, the month-on-month incremental integral value of electricity consumption is less than or equal to the first level threshold, and the month-on-month incremental integral value of electricity consumption is greater than the second level threshold, wherein the second level threshold is less than the first level threshold; and determine that the operating conditions of the electricity user to be evaluated are general when the electricity consumption trend of the electricity user to be evaluated is in an increasing state, the month-on-month incremental integral value of electricity consumption is less than or equal to the second level threshold, and the month-on-month incremental integral value of electricity consumption is greater than the third level threshold, wherein the third level threshold is less than the second level threshold.
[0144] In some embodiments, the preset month-on-month incremental integral threshold is less than 0; the first analysis module 703 is also used to superimpose 1 on the duration of time that the month-on-month incremental integral value of electricity consumption is greater than the month-on-month incremental integral threshold when the month-on-month incremental integral threshold is less than 0 and the absolute value of the month-on-month incremental integral value of electricity consumption is greater than the absolute value of the month-on-month incremental integral threshold.
[0145] In some embodiments, when the month-on-month incremental integral threshold is less than 0, the second analysis module 704 is further used to determine that the power consumption trend of the power user to be evaluated is in a downward state.
[0146] It should be noted that the specific implementation of the power consumption analysis device provided in the embodiment of the present application is basically the same as the specific implementation of the above-mentioned power consumption analysis method, and will not be repeated here.
[0147] The embodiment of the present application also provides a computer device, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned power consumption analysis method when executing the computer program. The computer device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0148] See also Figure 8 , Figure 8 The hardware structure of a computer device according to another embodiment is shown, and the computer device includes:
[0149] The processor 801 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0150] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the power consumption analysis method of the embodiment of this application;
[0151] Input / output interface 803, used to implement information input and output;
[0152] The communication interface 804 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0153] A bus 805 that transmits information between the various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);
[0154] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .
[0155] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned power consumption analysis method is implemented.
[0156] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0157] An embodiment of the present application also provides a computer program product, which stores a computer program, and when the computer program is executed by a processor, the above-mentioned power consumption analysis method is implemented.
[0158] The power consumption analysis method, power consumption analysis device, computer equipment, computer-readable storage medium, and computer program product provided in the embodiments of the present application unify the power consumption of different power consumption objects to the standard of the month-on-month increment by obtaining the month-on-month increment of the power consumption of the power consumption object to be evaluated, thereby solving the problem that different power consumption objects have different demands for power consumption, which makes it difficult to find that the power consumption of the object to be evaluated is abnormal only by the power consumption threshold. In addition, the month-on-month increment of the power consumption of the power consumption object to be evaluated is further calculated to obtain the month-on-month increment integral value of the power consumption of the power consumption object to be evaluated, and then the month-on-month increment integral value of the power consumption is compared with the preset month-on-month increment integral threshold, and when the month-on-month increment integral value of the power consumption is greater than the preset month-on-month increment integral threshold, the duration of the month-on-month increment integral value of the power consumption is recorded to be greater than the month-on-month increment integral threshold, and then when the duration is greater than the preset duration threshold, it is determined that the power consumption of the power consumption object to be evaluated is abnormal. In this way, the technical solution of the present application combines the phenomenon that the month-on-month incremental integral value of electricity consumption is greater than the threshold value with the duration of the phenomenon to determine whether there is any abnormal electricity consumption change in the electricity user to be evaluated, thereby avoiding the problem of erroneous judgment that there is any abnormal electricity consumption change in the electricity user to be evaluated due to obvious short-term changes in electricity consumption caused by a sharp increase or drop in short-term orders of the electricity user to be evaluated, thereby achieving effective discovery of abnormal electricity consumption in the electricity users to be evaluated by the enterprise, and then accurately grasp the operating conditions of the enterprises to conduct assessments of operating risks or financing needs.
[0159] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0160] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0161] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0162] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0163] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0164] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0165] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0166] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for analyzing electricity consumption, characterized in that: The method comprises: Obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated; Calculate the month-on-month increment of the electricity consumption to obtain the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated; When the month-on-month incremental integral value of the electricity consumption is greater than the preset month-on-month incremental integral threshold, record the duration for which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold; When the duration is greater than a preset duration threshold, it is determined that the power consumption of the power user to be evaluated is abnormal.
2. The method according to claim 1, characterized in that: The step of obtaining the month-on-month increase in electricity consumption of the electricity user to be evaluated includes: The power consumption of the power user to be evaluated on the i-th day is calculated by subtracting the power consumption of the power user to be evaluated on the i-1th day to obtain the daily power consumption difference of the power user to be evaluated; wherein i is a positive integer greater than 1; Divide the daily electricity consumption difference by the electricity consumption of the electricity user to be evaluated on the i-1th day to obtain the daily electricity consumption ratio; The month-on-month ratio of daily electricity consumption is used as the month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day.
3. The method according to claim 2, characterized in that: After obtaining the daily power consumption ratio by dividing the daily power consumption difference by the power consumption of the power user to be evaluated on the i-1th day, the method further includes: Comparing the daily power consumption month-on-month ratio with a preset daily power consumption month-on-month increment threshold; When the daily month-on-month ratio of electricity consumption is greater than or equal to the daily month-on-month increment threshold of electricity consumption, the daily month-on-month increment threshold of electricity consumption is used as the month-on-month increment of electricity consumption of the electricity user to be evaluated on the i-th day.
4. The method according to claim 2, characterized in that: The month-on-month increment integral value of electricity consumption includes: the day-on-day increment integral value of electricity consumption; The step of calculating the month-on-month increment of the electricity consumption to obtain the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated includes: The month-on-month increase in electricity consumption of the electricity user to be evaluated on the i-th day is superimposed on the month-on-month increase in electricity consumption of the electricity user to be evaluated on the n-th day to obtain the daily month-on-month increase integral value of electricity consumption of the electricity user to be evaluated; wherein n is a positive integer greater than i.
5. The method according to any one of claims 1 to 4, characterized in that: The preset month-on-month incremental integral threshold is greater than 0; When the month-on-month incremental integral threshold is greater than 0, determining that the power consumption of the power user to be evaluated is abnormal includes: Determine that the power consumption trend of the power user to be evaluated is in an increasing state.
6. The method according to claim 5, characterized in that: The method further comprises: When the power consumption trend of the power user to be evaluated is in an increasing state and the month-on-month incremental integral value of power consumption is greater than the first level threshold, the operating condition of the power user to be evaluated is determined to be excellent; When the power consumption trend of the power user to be evaluated is in an increasing state, the month-on-month incremental integral value of power consumption is less than or equal to the first level threshold, and the month-on-month incremental integral value of power consumption is greater than the second level threshold, it is determined that the operating condition of the power user to be evaluated is good, wherein the second level threshold is less than the first level threshold; When the electricity consumption trend of the electricity user to be evaluated is in an increasing state, the month-on-month incremental integral value of electricity consumption is less than or equal to the second level threshold, and the month-on-month incremental integral value of electricity consumption is greater than the third level threshold, it is determined that the operating condition of the electricity user to be evaluated is general, wherein the third level threshold is less than the second level threshold.
7. The method according to any one of claims 1 to 4, characterized in that: The preset month-on-month incremental integral threshold is less than 0; When the month-on-month incremental integral value of the electricity consumption is greater than a preset month-on-month incremental integral threshold, recording a duration for which the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold includes: When the month-on-month incremental integral threshold is less than 0 and the absolute value of the month-on-month incremental integral value of the power consumption is greater than the absolute value of the month-on-month incremental integral threshold, 1 is added to the duration of the period during which the month-on-month incremental integral value of the power consumption is greater than the month-on-month incremental integral threshold; The determining that the power consumption of the power user to be evaluated is abnormal includes: Determine that the power consumption trend of the power user to be evaluated is in a downward state.
8. An electricity consumption analysis device, characterized in that: The device comprises: An acquisition module is used to obtain the month-on-month increase in electricity consumption of the electricity user to be evaluated; An increment integral calculation module, used to calculate the month-on-month increment of the electricity consumption to obtain the month-on-month increment integral value of the electricity consumption of the electricity user to be evaluated; A first analysis module is used to record the duration of the month-on-month incremental integral value of the electricity consumption being greater than the month-on-month incremental integral threshold when the month-on-month incremental integral value of the electricity consumption is greater than the month-on-month incremental integral threshold; The second analysis module is used to determine that the power consumption of the power user to be evaluated is abnormal when the duration is greater than a preset duration threshold.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the electricity consumption analysis method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the electricity consumption analysis method according to any one of claims 1 to 7 is implemented.
