CN116703190B - Power consumption information processing method, device, electronic equipment and computer readable medium - Google Patents

Power consumption information processing method, device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN116703190B
CN116703190B CN202211543390.8A CN202211543390A CN116703190B CN 116703190 B CN116703190 B CN 116703190B CN 202211543390 A CN202211543390 A CN 202211543390A CN 116703190 B CN116703190 B CN 116703190B
Authority
CN
China
Prior art keywords
electricity consumption
electricity
information
user
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211543390.8A
Other languages
Chinese (zh)
Other versions
CN116703190A (en
Inventor
王汝英
尹洪苓
徐秀敏
石新满
邵祥
单佳鑫
刘海涛
张启立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Information and Telecommunication Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Information and Telecommunication Co Ltd, Beijing Guodiantong Network Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202211543390.8A priority Critical patent/CN116703190B/en
Publication of CN116703190A publication Critical patent/CN116703190A/en
Application granted granted Critical
Publication of CN116703190B publication Critical patent/CN116703190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present disclosure disclose a power consumption information processing method, apparatus, electronic device, and computer readable medium. One embodiment of the method comprises the following steps: acquiring a power utilization information set; determining a user electricity consumption marking value; each piece of electricity consumption information with the empty user electricity consumption is selected from the electricity consumption information group, and a null value marking value of the user electricity consumption is determined; selecting each piece of electricity consumption information, which is included in the electricity consumption information group and meets the second preset electricity consumption condition, from the electricity consumption information group, and determining a negative value marking value of the electricity consumption of the user; determining a user electricity consumption data missing mark value; for each piece of electricity information in the electricity information group, acquiring historical electricity information of the application information, and determining an electricity information dynamic mark value of a user; determining a user electricity consumption mark value; and controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user. This embodiment reduces waste of power resources.

Description

Power consumption information processing method, device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, an apparatus, an electronic device, and a computer readable medium for processing electricity consumption.
Background
When the electricity user transmits electricity, whether to transmit the electric power resource to the electricity user can be determined by marking the electricity user. At present, when marking an electricity user, the following modes are commonly adopted: and obtaining electricity consumption data of the electricity consumption user, and marking the electricity consumption user by using a pre-trained linear regression model as an electricity consumption data marking model according to the electricity consumption data.
However, when the user of electricity is marked in the above manner, there are often the following technical problems:
First, when the linear regression model is used to mark the power consumption user, the linear regression model can not accurately determine the abnormal power consumption user due to abnormal power consumption data (for example, the power consumption data is larger or the power consumption data is smaller), so that power resources are transmitted to the abnormal power consumption user, and the power resources are wasted.
Secondly, the electricity consumption data of the electricity consumption user is sensitive data, in the process of marking the electricity consumption user, the situation of leakage exists in the electricity consumption data, but the electricity consumption data (for example, the electricity consumption quantity) included in the electricity consumption information of the electricity consumption user is not desensitized, so that the electricity consumption data of the electricity consumption user is leaked, and the safety of storing the electricity consumption data is lower;
thirdly, the electricity consumption data of the electricity consumption user is sensitive data, after the linear regression model is used for marking the electricity consumption user, the stored electricity consumption data of the electricity consumption user is not encrypted, other devices can directly access the unencrypted electricity consumption data, leakage of the electricity consumption data is caused, and the safety of the stored electricity consumption data is lower.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose power consumption information processing methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an electricity consumption information processing method, the method including: in response to detecting that a user with abnormal electricity consumption exists, and the current time is a first preset processing time, obtaining an electricity consumption information group set, wherein the electricity consumption information in the electricity consumption information group set comprises: user codes, wherein the electricity consumption groups in the electricity consumption group set correspond to the user codes; for each of the above-described electricity usage information groups, the following processing steps are performed: each of the electricity consumption information sets, including the electricity consumption of the user meeting the first preset electricity consumption condition, is selected from the electricity consumption information sets to serve as a first target electricity consumption information set, and a user electricity consumption marking value is determined according to the first target electricity consumption information set and the electricity consumption information sets; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; selecting each of the power consumption of the user, which is included in the power consumption information group and meets the second preset power consumption condition, as a third target power consumption information set, and determining a negative value marking value of the power consumption of the user according to the third target power consumption information set and the power consumption information group; determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group; for each piece of electricity information in the electricity information group, acquiring historical electricity information corresponding to the electricity information, and determining an electricity information dynamic mark value of a user according to the historical electricity information and the electricity information; determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user; and controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user.
In a second aspect, some embodiments of the present disclosure provide an electricity consumption information processing apparatus, the apparatus including: an obtaining unit, configured to obtain a set of electricity information sets in response to detecting that a user with abnormal electricity exists, where a current time is a first preset processing time, where electricity information in an electricity information set in the set of electricity information sets includes: user codes, wherein the electricity consumption groups in the electricity consumption group set correspond to the user codes; a processing unit configured to execute, for each of the electricity consumption groups in the electricity consumption group set, the following processing steps: each of the electricity consumption information sets, including the electricity consumption of the user meeting the first preset electricity consumption condition, is selected from the electricity consumption information sets to serve as a first target electricity consumption information set, and a user electricity consumption marking value is determined according to the first target electricity consumption information set and the electricity consumption information sets; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; selecting each of the power consumption of the user, which is included in the power consumption information group and meets the second preset power consumption condition, as a third target power consumption information set, and determining a negative value marking value of the power consumption of the user according to the third target power consumption information set and the power consumption information group; determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group; for each piece of electricity information in the electricity information group, acquiring historical electricity information corresponding to the electricity information, and determining an electricity information dynamic mark value of a user according to the historical electricity information and the electricity information; determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user; and the control unit is configured to control the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power utilization mark value of each user.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantages: by the electricity consumption information processing method of some embodiments of the present disclosure, waste of electric power resources can be reduced. Specifically, the reason why the waste of the power resource is caused is that: when a linear regression model is used for marking electricity users, the linear regression model may cause lower accuracy of marking the electricity users due to abnormal electricity data (for example, larger electricity data or smaller electricity data), and may cause power resources to be transmitted to the abnormally marked users, so that the power resources are wasted. Based on this, in the electricity consumption information processing method of some embodiments of the present disclosure, first, in response to detecting that there is an abnormal electricity consumption user, and the current time is a first preset processing time, an electricity consumption information group set is acquired. Thus, the electricity utilization information of each electricity utilization user in a certain historical time period can be acquired. Then, for each of the above-described electricity consumption information groups, the following processing steps are performed: firstly, selecting each piece of electricity consumption information, including the electricity consumption of the user, meeting a first preset electricity consumption condition from the electricity consumption information group as a first target electricity consumption information set, and determining a user electricity consumption marking value according to the first target electricity consumption information set and the electricity consumption information group; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; and selecting each power consumption of the user, which is included in the power consumption information group and meets the second preset power consumption condition, as a third target power consumption information set, and determining a negative value marking value of the power consumption of the user according to the third target power consumption information set and the power consumption information group. Thus, the user power consumption null value and the power consumption negative value can be marked by different marking values. And secondly, determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group. Thus, the tag value may be used to characterize whether the data is missing for the user. Thirdly, acquiring historical electricity information corresponding to the electricity information for each piece of electricity information in the electricity information group, and determining an electricity information dynamic mark value of a user according to the historical electricity information and the electricity information; and determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user. Thus, the user's electricity usage information over a certain historical period of time may be characterized by the user electricity usage flag value. And finally, controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user. Therefore, according to the user electricity consumption mark value, whether electricity is transmitted to the electricity consumption user or not can be accurately determined. And the waste of power resources is reduced.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of some embodiments of an electricity usage information processing method according to the present disclosure;
FIG. 2 is a schematic diagram of the structure of some embodiments of an electricity usage processing device according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates a flow 100 of some embodiments of a power consumption information processing method according to the present disclosure. The electricity consumption information processing method comprises the following steps:
And step 101, acquiring a power utilization information set in response to the fact that the abnormal power utilization user exists and the current time is the first preset processing time.
In some embodiments, an executing body (e.g., a computing device) of the electricity usage information processing method may obtain the set of electricity usage information sets in response to detecting that a user of abnormal electricity usage is present, and the current time is a first preset processing time. Wherein, the electricity consumption group in the electricity consumption group set corresponds to the user code. The abnormal electricity consumption user may be a user whose electricity consumption amount recorded by the electricity transmission recording device is smaller than the actually used electricity consumption amount. The power transmission recording device may be a device for recording the power consumption of the user. For example, the power transmission device may be a smart meter. In practice, whether a user with abnormal electricity use exists can be determined by detecting the total power transmission amount of the user and the power consumption amount of each user within a preset detection duration, and responding to the fact that the total power transmission amount of the user is larger than the sum of the power consumption amounts of each user. Here, the user power consumption of each user may be determined by detecting the power transmission recording apparatuses of the respective users associated therewith. The user code may uniquely characterize a user. The electricity information in the electricity information group set includes, but is not limited to: the electricity consumption of the user, the uploading time of the electricity consumption information and the uploading times of the electricity consumption information. The first preset processing time may be a preset time point for acquiring the electricity information set. For example, the first preset processing time may be eight am points of the first day of each month. The electricity consumption information group in the electricity consumption information group set may be an electricity consumption information group of a certain user in a certain historical period. The above-described history period may be a period before the first preset processing time. Here, the above-described history period may be divided into a plurality of time periods. The time period may be a preset duration. Here, the time period may include a duration that is an integer multiple of 1 day. For example, the history period may be 30 days to the first preset processing time before the first preset processing time, the period of time may be 1 day, and the preset period of time includes 30 periods of time. The user electricity consumption may be an electricity consumption of the user during a certain period of time in the history period. The electricity information uploading time may be a time of uploading the electricity information in a certain time period. The number of times of uploading the electricity information may be the number of times of uploading the electricity information in the same time period.
Optionally, after step 101, for each of the above-mentioned sets of electricity information, the following desensitization step is performed:
and a first desensitization step, wherein the electricity consumption of each user included in each electricity consumption information in the electricity consumption information group is determined as a user electricity consumption collection.
In some embodiments, the executing body may determine each user power consumption included in each power consumption information group as a set of user power consumption.
And a second desensitizing step, according to the user electricity consumption collection, determining the average value of the electricity consumption of each user included in the user electricity consumption collection as the electricity consumption average value, and determining the variance of the electricity consumption of each user included in the user electricity consumption collection as the electricity consumption variance.
In some embodiments, the executing body may determine, according to the user electricity consumption set, a mean value of the electricity consumption of each user included in the user electricity consumption set as an electricity consumption mean value, and determine, as the electricity consumption variance, a variance of the electricity consumption of each user included in the user electricity consumption set.
And a third desensitizing step of determining desensitized electricity consumption according to the user electricity consumption, the electricity consumption variance and the electricity consumption mean value included in the electricity consumption information for each piece of electricity consumption information in the electricity consumption information group, and replacing the user electricity consumption included in the electricity consumption information with the desensitized electricity consumption to generate replaced electricity consumption information as electricity consumption information.
In some embodiments, for each electricity consumption information in the electricity consumption information group, a desensitized electricity consumption is determined according to the electricity consumption of the user, the electricity consumption variance, and the electricity consumption average value, where the electricity consumption of the user is included in the electricity consumption information group, and the electricity consumption of the user is replaced by the desensitized electricity consumption, so as to generate the replaced electricity consumption information as the electricity consumption information.
In practice, the execution subject may determine the desensitization power consumption by the following formula:
Where Des represents the amount of desensitized electricity. Power represents the amount of Power used by the user. Mu represents the average value of the electricity consumption. θ represents the power consumption variance. Alpha represents a first constant, beta represents a second constant, and lambda represents a third constant. Here, the setting of the first constant, the second constant, and the third constant is not limited, and may be a constant obtained by experiment.
Here, the individual user electricity consumption amounts included in the individual electricity consumption groups may be desensitized to values between (-1, 1) by the average value of the individual user electricity consumption amounts included in the individual electricity consumption amounts and the variance of the individual user electricity consumption amounts. And in response to the user electricity consumption being smaller than the average value, the difference between the user electricity consumption and the average value is negative, so that the desensitized user electricity consumption may be negative. Above-mentionedThe standard deviation of the power consumption of each user can be represented. The first constant α may characterize a translation factor. The second constant β may characterize the scale factor. The third constant λ may be a constant for avoiding a divisor of 0. The first constant and the second constant are used for desensitizing the user electricity consumption to be distributed between (-1, 1), and reducing the difference value between the desensitized user electricity consumption, so as to avoid the fact that the desensitized user electricity consumption is distributed between (-1, 1) due to the fact that the user electricity consumption is larger or smaller.
As an example, the electricity consumption amount of each user included in the electricity consumption information group may be [100, 130, 150, 120], and the average value of the electricity consumption amounts is 125. The electricity consumption variance is 325. The first constant may be 0.1, the second constant may be 0.5, and the third constant may be 1. The individual user electricity consumption amounts 100, 130, 150, 120 comprised by the electricity consumption group may be desensitized to [ -0.59, -0.03,0.59,0.07].
The optional technical content in step 101 is taken as an invention point of the disclosure, which solves the technical problem mentioned in the background art, namely, the electricity consumption data of the electricity consumption user is sensitive data, in the process of marking the electricity consumption user, the electricity consumption information is leaked, but the electricity consumption data (for example, electricity consumption) included in the electricity consumption information of the electricity consumption user is not desensitized, so that the electricity consumption data of the electricity consumption user is leaked, and the security of the stored electricity consumption data is lower. Factors causing leakage of electricity consumption data of electricity consumption users and low security of stored electricity consumption information are often as follows: the electricity consumption data of the electricity consumption user is sensitive data, in the process of marking the electricity consumption user, the electricity consumption is leaked, but the electricity consumption data (for example, the electricity consumption amount) included in the electricity consumption data of the electricity consumption user is not desensitized, so that the electricity consumption data of the electricity consumption user is leaked, and the safety of storing the electricity consumption data is lower. If the above factors are solved, the effects of avoiding the leakage of electricity consumption data of electricity consumption users and improving the safety of stored electricity consumption information can be achieved. To achieve this effect, first, for each of the above-described electricity consumption information groups in the electricity consumption information group set, the following desensitization step is performed: firstly, determining the power consumption of each user included in each power consumption information in the power consumption information group as a power consumption collection of the user; and according to the user electricity consumption set, determining the average value of the electricity consumption of each user included in the user electricity consumption set as the electricity consumption average value, and determining the variance of the electricity consumption of each user included in the user electricity consumption set as the electricity consumption variance. Thus, the variance and the mean value of the power consumption of each user in the power consumption collection of the user can be determined through the power consumption collection of the user. And secondly, for each piece of electricity consumption information in the electricity consumption information group, determining desensitized electricity consumption according to the user electricity consumption included in the electricity consumption information, the electricity consumption variance and the electricity consumption average value, and replacing the user electricity consumption included in the electricity consumption information with the desensitized electricity consumption to generate replaced electricity consumption information as the electricity consumption information. Therefore, the power consumption of each user can be desensitized according to the variance and the mean value of the power consumption of each user, and when the power consumption is leaked, the power consumption data in the power consumption cannot be determined, so that the power consumption data of the power consumption user can be prevented from being leaked, and the safety of storing the power consumption data is improved.
Step 102, for each of the electricity information groups in the electricity information group set, performing the following processing steps:
And 1021, selecting each piece of electricity consumption information, including the electricity consumption of the user, meeting the first preset electricity consumption condition from the electricity consumption information group as a first target electricity consumption information set, and determining a user electricity consumption mark value according to the first target electricity consumption information set and the electricity consumption information group.
In some embodiments, the executing body may select, from the electricity consumption information group, each of the electricity consumption information including the user electricity consumption meeting the first preset electricity consumption condition as the first target electricity consumption information set, and determine the user electricity consumption flag value according to the first target electricity consumption information set and the electricity consumption information group. The first preset power consumption condition may be that a user power consumption included in the power consumption is a preset power consumption. The preset power consumption may be a preset power consumption of a user. For example, the preset power consumption may be 0. In practice, first, the executing body may determine a ratio of the number of the first target electricity consumption information included in the first target electricity consumption information set to the number of the electricity consumption information included in the electricity consumption information set as a preset electricity consumption ratio. Second, the executing body may obtain the preset electricity consumption ratio mapping information set corresponding to the preset electricity consumption ratio from the target database through wired connection or wireless connection. The target database may be a database storing a set of preset electricity consumption ratio mapping information. The preset electricity consumption ratio mapping information in the preset electricity consumption ratio mapping information set comprises a mapping range and a mapping value. The map range may be a range of a preset power consumption ratio that is preset. In practice, 0 to 100% may be divided into the respective mapping ranges included in the above-described preset electricity consumption ratio mapping information set. Here, the size of each of the divided map ranges is not limited, and may be determined experimentally. Third, for each preset power consumption ratio mapping information in the preset power consumption ratio mapping information set, in response to the preset power consumption ratio being in a mapping range included in the preset power consumption ratio mapping information, the executing body may determine a mapping value included in the preset power consumption ratio mapping information as a user power consumption flag value.
Step 1022, selecting each piece of electricity consumption information with empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining the empty value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group.
In some embodiments, the executing body may select each of the electricity consumption information sets including the user electricity consumption that is empty from the electricity consumption information set as the second target electricity consumption information set, and determine the user electricity consumption empty value flag value according to the second target electricity consumption information set and the electricity consumption information set. In practice, the executing body may determine, as the electricity consumption null value ratio, a ratio of the number of the second target electricity consumption information included in the second target electricity consumption information set to the number of the electricity consumption information included in the electricity consumption information set. And secondly, the execution main body can acquire the electricity consumption null value mapping information set corresponding to the electricity consumption null value ratio from the terminal equipment in a wired connection or wireless connection mode. The power consumption null value mapping information in the power consumption null value mapping information set comprises a power consumption null value mapping range and a power consumption null value mapping value. The power consumption null value map range may be a preset power consumption null value range. In practice, 0 to 100% may be divided into respective power consumption null value map ranges included in the above-described power consumption null value map information set. Here, the size of each divided power consumption null value map range is not limited, and may be determined experimentally. Third, for each power consumption null value mapping information in the power consumption null value mapping information set, in response to the power consumption null value being in a power consumption null value mapping range included in the power consumption null value mapping information, the execution body may determine a power consumption null value mapping value included in the power consumption null value mapping information as a user power consumption null value flag value.
Step 1023, selecting each piece of electricity consumption information, including the electricity consumption of the user meeting the second preset electricity consumption condition, from the electricity consumption information group as a third target electricity consumption information set, and determining a negative value marking value of the electricity consumption of the user according to the third target electricity consumption information set and the electricity consumption information group.
In some embodiments, the executing body may select, from the electricity consumption information group, each of the electricity consumption information including the user electricity consumption meeting the second preset electricity consumption condition as a third target electricity consumption information set, and determine a negative sign value of the user electricity consumption according to the third target electricity consumption information set and the electricity consumption information group. The second preset power consumption condition may be that the power consumption of the user included in the power consumption information is a negative value. In practice, the first executing body may determine a ratio of the number of the third target electricity consumption information included in the third target electricity consumption information set to the number of the electricity consumption information included in the electricity consumption information group as a negative electricity consumption value ratio. Second, the executing body may obtain the electricity consumption negative value mapping information set corresponding to the electricity consumption negative value ratio from the terminal device through wired connection or wireless connection. The negative electricity consumption map information in the negative electricity consumption map information set includes a negative electricity consumption map range and a negative electricity consumption map value. The power consumption negative value map range may be a range of a preset power consumption negative value. In practice, 0 to 100% may be divided into respective power consumption negative value map ranges included in the above-described power consumption negative value map information set. Here, the size of each divided power consumption negative value map range is not limited, and may be determined experimentally. Third, for each of the power consumption negative value map information in the power consumption negative value map information set, the execution body may determine a power consumption negative value map value included in the power consumption negative value map information as a user power consumption negative value flag value in response to the power consumption negative value being in a power consumption negative value map range included in the power consumption negative value map information.
Step 1024, determining the user power consumption data missing flag value according to the amount of power consumption information included in the power consumption information group and the power consumption information group.
In some embodiments, the executing body may determine the user electricity consumption data missing flag value according to the number of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group.
In practice, the execution subject may determine the user electricity consumption data absence flag value by:
And determining the electricity uploading duration according to the uploading time of each piece of electricity information included in the electricity information group. The electricity uploading time length comprises at least one preset time length. In practice, the executing body may determine, as the electricity uploading duration, the electricity information uploading time that is farthest from the first preset processing time, and the duration between the electricity information uploading times that are closest to the first preset processing time, from the respective electricity information uploading times. The preset duration may be a preset duration that is the same as the duration characterized by the time period.
And secondly, determining the ratio of the quantity of the electricity consumption information included in the electricity consumption information group to the quantity of the preset duration included in the electricity consumption uploading duration as a user electricity consumption data missing value.
And thirdly, determining a user electricity consumption data missing mark value according to the user electricity consumption data missing value. In practice, first, in response to the user electricity consumption data missing value being greater than or equal to a preset missing value, the execution body may determine the first preset flag value as the user electricity consumption data missing flag value. Second, in response to the user power consumption data missing value being smaller than the preset missing value, the execution body may determine a second preset flag value as the user power consumption data missing flag value. The first preset flag value may be a preset flag value. For example, the first preset flag value may be 1. The second preset flag value may be a preset flag value different from the first preset flag value. For example, the second preset flag value may be 0.
Step 1025, for each electricity information in the electricity information group, obtaining historical electricity information of the applied electricity information, and determining a user electricity information dynamic tag value according to the historical electricity information and the electricity information.
In some embodiments, the executing entity may obtain, for each electricity information in the electricity information group, historical electricity information corresponding to the electricity information, and determine a user electricity usage index value according to the historical electricity information and the electricity information. The historical electricity consumption information may be electricity consumption information uploaded before the electricity consumption information uploading time included in the electricity consumption information, and a duration between the electricity consumption information uploading time included in the historical electricity consumption information and the uploading time included in the electricity consumption information may be a preset historical duration. The preset history period may be a preset period. For example, the preset history period may be one year, and the electricity consumption information uploading time included in the electricity consumption information may be 2015, 11, 5, and then the electricity consumption information uploading time included in the history electricity consumption information may be 2014, 11, 5. In practice, first, the executing body may determine a ratio of the user electricity consumption included in the electricity consumption information to the user electricity consumption included in the historical electricity consumption information as a historical electricity consumption ratio. Second, the executing body may determine the first preset flag value as the user electricity consumption flag value in response to the historical electricity consumption ratio not being within the preset historical electricity consumption ratio range. The preset historical power consumption ratio range may be a preset historical power consumption ratio range. Third, the executing body may determine a second preset flag value as the user electricity consumption flag value in response to the historical electricity consumption ratio being within the preset historical electricity consumption ratio range.
And 1026, determining the user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user.
In some embodiments, the executing entity may determine the user electricity consumption flag value according to the user electricity consumption flag value, the user electricity consumption null flag value, the user electricity consumption negative flag value, the user electricity consumption data missing flag value, and the determined individual user electricity consumption electric power flag values. In practice, the execution subject may determine, as the user electricity consumption flag value, a sum of the user electricity consumption flag value, the user electricity consumption null flag value, the user electricity consumption negative value flag value, the user electricity consumption data loss flag value, and the determined individual user electricity consumption electric power flag values.
Optionally, after step 1026, for each of the above-described electricity information groups, the following determination step is performed:
And a first determining step of determining the electricity consumption information as first abnormal electricity consumption information in response to the electricity consumption information uploading time included in the electricity consumption information not meeting a preset uploading condition.
In some embodiments, the executing body may determine the electricity consumption information as the first abnormal electricity consumption information in response to the electricity consumption information upload time included in the electricity consumption information not meeting a preset upload condition. The preset uploading condition is that the uploading time of the electricity utilization information is not in a preset uploading time period. The preset uploading time period may be a preset time period for uploading user information. For example, the preset uploading time period may be 8 to 12 points in the morning.
And a second determining step of determining the electricity consumption information as second abnormal electricity consumption information in response to the electricity consumption information including the electricity consumption information having the uploading number greater than the preset uploading number.
In some embodiments, the executing body may determine the electricity consumption information as the second abnormal electricity consumption information in response to the electricity consumption information including the electricity consumption information uploading number greater than a preset uploading number. The preset uploading frequency may be preset times of uploading the electricity information in a preset uploading time period.
Optionally, after step 1026, an electricity consumption time efficiency flag value is determined according to the determined first abnormal electricity consumption information, the determined second abnormal information, and the electricity consumption group.
In some embodiments, the executing body may determine the electricity consumption time period flag value according to the determined first abnormal electricity consumption information, the determined second abnormal information, and the electricity consumption group. In practice, first, the sum of the number of the above-described respective first abnormal electricity consumption information and the number of the above-described respective second abnormal information is determined as the abnormal information number. And secondly, determining the ratio of the quantity of the abnormal information to the quantity of the electricity consumption information included in the electricity consumption information group as an electricity consumption information time effect marking value.
Optionally, after step 1026, in response to the electricity consumption time efficiency flag value being greater than or equal to a preset time efficiency flag value threshold, electricity consumption time efficiency alarm information is sent to the user terminal corresponding to the electricity consumption group.
In some embodiments, the executing body may send the electricity consumption information aging alert information to the user terminal corresponding to the electricity consumption information group in response to the electricity consumption information aging flag value being greater than or equal to a preset aging flag value threshold. The user terminal corresponding to the electricity consumption information group may be a user terminal that uploads the electricity consumption information group. The electricity consumption aging warning information may be preset aging warning information. For example, the electricity consumption information may be "electricity consumption information is poor, please note the electricity consumption information uploading time".
And 103, controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user.
In some embodiments, the executing entity may control the associated power transmission device to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption flag value for each user. In practice, for each of the determined user electricity consumption flag values, determining a user code corresponding to the user electricity consumption flag value in response to the user electricity consumption flag value being equal to or greater than a preset flag value, and controlling an associated power transmission device to stop transmitting power to the user corresponding to the user code. The power transmission device may be an intelligent power supply system.
Optionally, after step 103, regional information corresponding to the set of electricity consumption information is acquired.
In some embodiments, the executing entity may acquire the region information corresponding to the set of electricity consumption information from the terminal device through a wired connection or a wireless connection. The region information may be region information of each user corresponding to the electricity consumption group set. The above-mentioned zone information includes zone names and zone user numbers. The regional name may be a name of a first-level administrative area where each user corresponding to the electricity consumption information group set is located. For example, the geographical name may be Beijing city. The above-mentioned regional user number may be the user number corresponding to the first-level administrative area stored in advance. For example, the number of regional users may be 30.
Optionally, after step 103, a ratio of the number of the electricity consumption information groups included in the electricity consumption information group set to the number of the regional users included in the regional information is determined as an electricity consumption information uploading rate.
In some embodiments, the executing entity may determine a ratio of the number of the electricity consumption information groups included in the electricity consumption information group set to the number of the regional users included in the regional information as the electricity consumption information uploading rate.
Optionally, after step 103, in response to the electricity consumption information uploading rate being smaller than a preset uploading rate threshold, electricity consumption information uploading alarm information is sent to the user terminal corresponding to the electricity consumption information group.
In some embodiments, the executing body may send the electricity consumption information uploading alert information to the user terminal corresponding to the electricity consumption information group in response to the electricity consumption information uploading rate being less than a preset uploading rate threshold. The preset uploading rate threshold may be a preset lowest threshold of uploading rate of electricity information. The electricity consumption information uploading alarm information can be alarm information used for representing that the electricity consumption information uploading rate is low. For example, the electricity consumption information uploading alarm information may be "the electricity consumption information uploading rate is low".
Optionally, after step 103, an encryption key and a decryption key are generated.
In some embodiments, the execution body may generate an encryption key and a decryption key. In practice, the execution subject may generate the encryption key and the decryption key by a random number generation method.
Optionally, after step 103, the set of electricity consumption information is encrypted according to the encryption key to generate an encrypted set of electricity consumption information.
In some embodiments, the executing body may encrypt the set of electricity consumption information according to the encryption key to generate an encrypted set of electricity consumption information. In practice, the executing entity may encrypt the set of electricity consumption information with a random number using the encryption key to generate an encrypted set of electricity consumption information.
Optionally, after step 103, in response to receiving a decryption request for the above-mentioned encrypted electricity consumption information group set, a target decryption key sent by the target terminal is received.
In some embodiments, the executing entity may receive the target decryption key sent by the target terminal in response to receiving a decryption request for the encrypted set of electricity consumption information. The decryption request may be a decryption request sent by the target terminal. The target terminal may be a terminal having access to the encrypted electricity consumption group set authority
Optionally, after step 103, the set of encrypted electricity consumption groups is decrypted according to the target decryption key and the decryption key.
In some embodiments, the executing entity may decrypt the set of encrypted power consumption information according to the target decryption key and the decryption key. In practice, first, in response to the target decryption key being the same as the decryption key, the set of encrypted electricity usage groups is decrypted using the decryption key. Second, in response to the target decryption key being different from the decryption key, a decryption error message is sent to the target terminal. The decryption error information may indicate that a target decryption key sent by the target terminal is different from the decryption key. For example, the decryption error information may be "decryption failed, please re-input the decryption key".
The optional technical content in the step 103 is taken as an invention point of the disclosure, so that the technical problem mentioned in the background art, namely, the third "electricity consumption data of the electricity consumption user is sensitive data, after the linear regression model is used for marking the electricity consumption user, the stored electricity consumption data of the electricity consumption user is not encrypted, other devices can directly access the unencrypted electricity consumption data, leakage of the electricity consumption data is caused, and the security of the stored electricity consumption data is lower. Factors causing leakage of electricity consumption data and low safety of stored electricity consumption information are often as follows: after the linear regression model is used for marking the electricity consumption user, the stored electricity consumption data of the electricity consumption user is not encrypted, other equipment can directly access the unencrypted electricity consumption data, so that leakage of the electricity consumption data is caused, and the safety of the stored electricity consumption data is lower. If the above factors are solved, the effects of avoiding leakage of electricity consumption data and improving the safety of stored electricity consumption information can be achieved. To achieve this, first, an encryption key and a decryption key are generated. Thus, data support is provided for encrypting the set of electricity usage groups. And secondly, carrying out encryption processing on the electricity consumption information group set according to the encryption key so as to generate an encrypted electricity consumption information group set. Thus, the electricity usage information group can be encrypted using the encryption key. Then, in response to receiving a decryption request for the encrypted electricity consumption group set, a target decryption key transmitted by the target terminal is received. Thus, it is possible to determine whether to decrypt the encrypted set of electricity usage information based on the target decryption key. And finally, decrypting the encrypted electricity consumption information group set according to the target decryption key and the decryption key. Therefore, the electricity consumption data leakage can be avoided through encrypting the electricity consumption information group, and the safety of storing the electricity consumption data is improved.
The above embodiments of the present disclosure have the following advantages: by the electricity consumption information processing method of some embodiments of the present disclosure, waste of electric power resources can be reduced. Specifically, the reason why the waste of the power resource is caused is that: when a linear regression model is used for marking electricity users, the linear regression model may cause lower accuracy of marking the electricity users due to abnormal electricity data (for example, larger electricity data or smaller electricity data), and may cause power resources to be transmitted to the abnormally marked users, so that the power resources are wasted. Based on this, in the electricity consumption information processing method of some embodiments of the present disclosure, first, in response to detecting that there is an abnormal electricity consumption user, and the current time is a first preset processing time, an electricity consumption information group set is acquired. Thus, the electricity utilization information of each electricity utilization user in a certain historical time period can be acquired. Then, for each of the above-described electricity consumption information groups, the following processing steps are performed: firstly, selecting each piece of electricity consumption information, including the electricity consumption of the user, meeting a first preset electricity consumption condition from the electricity consumption information group as a first target electricity consumption information set, and determining a user electricity consumption marking value according to the first target electricity consumption information set and the electricity consumption information group; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; and selecting each power consumption of the user, which is included in the power consumption information group and meets the second preset power consumption condition, as a third target power consumption information set, and determining a negative value marking value of the power consumption of the user according to the third target power consumption information set and the power consumption information group. Thus, the user power consumption null value and the power consumption negative value can be marked by different marking values. And secondly, determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group. Thus, the tag value may be used to characterize whether the data is missing for the user. Thirdly, acquiring historical electricity information corresponding to the electricity information for each piece of electricity information in the electricity information group, and determining an electricity information dynamic mark value of a user according to the historical electricity information and the electricity information; and determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user. Thus, the user's electricity usage information over a certain historical period of time may be characterized by the user electricity usage flag value. And finally, controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user. Therefore, according to the user electricity consumption mark value, whether electricity is transmitted to the electricity consumption user or not can be accurately determined. And the waste of power resources is reduced.
With further reference to fig. 2, as an implementation of the method shown in the above figures, the present disclosure provides embodiments of an electricity consumption information processing apparatus, which correspond to those method embodiments shown in fig. 1, and which may be applied in particular in various electronic devices.
As shown in fig. 2, the electricity consumption information processing apparatus 200 of some embodiments includes: an acquisition unit 201, a processing unit 202, and a control unit 203. Wherein the obtaining unit 201 is configured to obtain, in response to detecting that the abnormal electricity usage user exists, an electricity usage information group set, where the current time is a first preset processing time, and electricity usage information in the electricity usage information group set includes: user codes, wherein the electricity consumption groups in the electricity consumption group set correspond to the user codes; the processing unit 202 is configured to perform the following processing steps for each of the above-mentioned sets of electricity usage groups: each of the electricity consumption information sets, including the electricity consumption of the user meeting the first preset electricity consumption condition, is selected from the electricity consumption information sets to serve as a first target electricity consumption information set, and a user electricity consumption marking value is determined according to the first target electricity consumption information set and the electricity consumption information sets; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; selecting each of the power consumption of the user, which is included in the power consumption information group and meets the second preset power consumption condition, as a third target power consumption information set, and determining a negative value marking value of the power consumption of the user according to the third target power consumption information set and the power consumption information group; determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group; for each piece of electricity information in the electricity information group, acquiring historical electricity information corresponding to the electricity information, and determining an electricity information dynamic mark value of a user according to the historical electricity information and the electricity information; determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user; the control unit 203 is configured to control the associated power transmission apparatus to perform power transmission processing to each user corresponding to each user code corresponding to the determined each user power consumption flag value.
It will be appreciated that the elements described in the electricity usage information processing apparatus 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and advantages described above for the method are equally applicable to the power consumption information processing apparatus 200 and the units contained therein, and are not described herein.
Referring now to fig. 3, a schematic diagram of an electronic device 300 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 3 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 305 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 3 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 309, or from storage device 308, or from ROM 302. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to detecting that a user with abnormal electricity consumption exists, and the current time is a first preset processing time, obtaining an electricity consumption information group set, wherein the electricity consumption information in the electricity consumption information group set comprises: and the user codes are corresponding to the electricity consumption groups in the electricity consumption group set. For each of the above-described electricity usage information groups, the following processing steps are performed: each of the electricity consumption information sets, including the electricity consumption of the user meeting the first preset electricity consumption condition, is selected from the electricity consumption information sets to serve as a first target electricity consumption information set, and a user electricity consumption marking value is determined according to the first target electricity consumption information set and the electricity consumption information sets; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; selecting each of the power consumption of the user, which is included in the power consumption information group and meets the second preset power consumption condition, as a third target power consumption information set, and determining a negative value marking value of the power consumption of the user according to the third target power consumption information set and the power consumption information group; determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group; for each piece of electricity information in the electricity information group, acquiring historical electricity information corresponding to the electricity information, and determining an electricity information dynamic mark value of a user according to the historical electricity information and the electricity information; and determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data missing marking value and the determined electric wave dynamic marking value of each user. And controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes an acquisition unit, a processing unit, and a control unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the acquisition unit may also be described as "a unit that acquires a set of electricity information sets in response to detecting that there is an abnormal electricity usage user and the current time is a first preset processing time".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (7)

1. A method of electricity usage information processing, comprising:
in response to detecting that a user with abnormal electricity consumption exists, and the current time is a first preset processing time, obtaining an electricity consumption information group set, wherein the electricity consumption information in the electricity consumption information group set comprises: the user code and the electricity information uploading time are used, and the electricity information group in the electricity information group set corresponds to the user code;
For each of the set of electricity usage information sets, performing the following processing steps:
Each piece of electricity consumption which is contained in the electricity consumption information group and meets a first preset electricity consumption condition is selected as a first target electricity consumption information set, and a user electricity consumption marking value is determined according to the first target electricity consumption information set and the electricity consumption information group;
Selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group;
each piece of electricity consumption which is contained in the electricity consumption information group and meets the second preset electricity consumption condition is selected as a third target electricity consumption information set, and a negative value marking value of the electricity consumption of the user is determined according to the third target electricity consumption information set and the electricity consumption information group;
determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group;
For each piece of electricity information in the electricity information group, acquiring historical electricity information corresponding to the electricity information, and determining an electricity information mark value of a user according to the historical electricity information and the electricity information;
Determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data deletion marking value and the determined electric wave movement marking value of each user;
Controlling the associated power transmission equipment to perform power transmission processing on each user corresponding to each user code corresponding to the determined power consumption mark value of each user;
The determining a user electricity consumption data missing mark value according to the number of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group comprises the following steps:
determining electricity uploading time length according to the uploading time of each piece of electricity information included in each piece of electricity information in the electricity information group, wherein the electricity uploading time length comprises at least one preset time length;
Determining the ratio of the number of the electricity consumption information included in the electricity consumption information group to the number of the preset duration included in the electricity consumption uploading duration as a user electricity consumption data missing value;
And determining a user electricity consumption data missing mark value according to the user electricity consumption data missing value.
2. The method of claim 1, wherein the electricity usage information in the electricity usage information group set further comprises a number of electricity usage information uploads; and
The processing step further comprises:
for each of the electricity usage information in the electricity usage information group, performing the determining step of:
determining the electricity consumption information as first abnormal electricity consumption information in response to the electricity consumption information uploading time included in the electricity consumption information does not meet a preset uploading condition, wherein the preset uploading condition is that the electricity consumption information uploading time is not in a preset uploading time period;
Determining the electricity consumption information as second abnormal electricity consumption information in response to the electricity consumption information uploading times which are included in the electricity consumption information are larger than preset uploading times;
Determining an electricity consumption time efficiency marking value according to the determined first abnormal electricity consumption information, the determined second abnormal information and the electricity consumption information group;
and responding to the electricity consumption time efficiency marking value being larger than or equal to a preset time efficiency marking value threshold value, and sending electricity consumption time efficiency warning information to the user terminal corresponding to the electricity consumption information group.
3. The method of claim 1, wherein the method further comprises:
Obtaining region information corresponding to the electricity information group set, wherein the region information comprises region names and region user numbers;
Determining the ratio of the number of the electricity consumption information groups included in the electricity consumption information group set to the number of the regional users included in the regional information as an electricity consumption information uploading rate;
and transmitting electricity information uploading alarm information to the user terminal corresponding to the electricity information group in response to the electricity information uploading rate being smaller than a preset uploading rate threshold.
4. The method of claim 1, wherein said determining a user electricity usage signature value from said historical electricity usage information and said electricity usage information comprises:
determining the ratio of the user electricity consumption included in the electricity consumption and the user electricity consumption included in the historical electricity consumption as a historical electricity consumption ratio;
Determining a first preset mark value as a user electricity consumption wave mark value in response to the historical electricity consumption ratio not being in a preset historical electricity consumption ratio range;
And determining a second preset mark value as a user electricity consumption wave mark value in response to the historical electricity consumption ratio being in the preset historical electricity consumption ratio range.
5. An electricity consumption information processing apparatus comprising:
An obtaining unit, configured to obtain a set of electricity information sets in response to detecting that a user with abnormal electricity exists, and the current time is a first preset processing time, where the electricity information in the electricity information set in the electricity information sets includes: the user code and the electricity information uploading time are used, and the electricity information group in the electricity information group set corresponds to the user code;
A processing unit configured to perform, for each of the electricity usage groups in the electricity usage group set, the following processing steps: each piece of electricity consumption which is contained in the electricity consumption information group and meets a first preset electricity consumption condition is selected as a first target electricity consumption information set, and a user electricity consumption marking value is determined according to the first target electricity consumption information set and the electricity consumption information group; selecting each piece of electricity consumption information with the empty user electricity consumption from the electricity consumption information group as a second target electricity consumption information set, and determining a null value marking value of the user electricity consumption according to the second target electricity consumption information set and the electricity consumption information group; each piece of electricity consumption which is contained in the electricity consumption information group and meets the second preset electricity consumption condition is selected as a third target electricity consumption information set, and a negative value marking value of the electricity consumption of the user is determined according to the third target electricity consumption information set and the electricity consumption information group; determining a user electricity consumption data missing mark value according to the quantity of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group; for each piece of electricity information in the electricity information group, acquiring historical electricity information corresponding to the electricity information, and determining an electricity information mark value of a user according to the historical electricity information and the electricity information; determining a user electricity consumption marking value according to the user electricity consumption marking value, the user electricity consumption null marking value, the user electricity consumption negative marking value, the user electricity consumption data deletion marking value and the determined electric wave movement marking value of each user;
A control unit configured to control the associated power transmission device to perform power transmission processing to each user corresponding to each user code corresponding to the determined power consumption flag value of each user;
The determining a user electricity consumption data missing mark value according to the number of the electricity consumption information included in the electricity consumption information group and the electricity consumption information group comprises the following steps:
determining electricity uploading time length according to the uploading time of each piece of electricity information included in each piece of electricity information in the electricity information group, wherein the electricity uploading time length comprises at least one preset time length;
Determining the ratio of the number of the electricity consumption information included in the electricity consumption information group to the number of the preset duration included in the electricity consumption uploading duration as a user electricity consumption data missing value;
And determining a user electricity consumption data missing mark value according to the user electricity consumption data missing value.
6. An electronic device, comprising:
One or more processors;
a storage device having one or more programs stored thereon;
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1 to 4.
7. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1 to 4.
CN202211543390.8A 2022-12-02 2022-12-02 Power consumption information processing method, device, electronic equipment and computer readable medium Active CN116703190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211543390.8A CN116703190B (en) 2022-12-02 2022-12-02 Power consumption information processing method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211543390.8A CN116703190B (en) 2022-12-02 2022-12-02 Power consumption information processing method, device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN116703190A CN116703190A (en) 2023-09-05
CN116703190B true CN116703190B (en) 2024-06-28

Family

ID=87824520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211543390.8A Active CN116703190B (en) 2022-12-02 2022-12-02 Power consumption information processing method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN116703190B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508275A (en) * 2020-12-07 2021-03-16 国网湖南省电力有限公司 Power distribution network line load prediction method and equipment based on clustering and trend indexes
CN113609113A (en) * 2021-08-02 2021-11-05 国家电网有限公司客户服务中心 User information generation method and device based on power data and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005304439A (en) * 2004-04-26 2005-11-04 Sanyo Electric Co Ltd Centralized control system of specimen-preserving apparatus
US9542510B2 (en) * 2013-08-07 2017-01-10 International Business Machines Corporation Detecting appliances in a building from coarse grained meter data with partial label
US20190086234A1 (en) * 2017-09-18 2019-03-21 Elutions IP Holdings S.à.r.l. Systems and methods for displaying resource savings
CN108416693A (en) * 2018-02-01 2018-08-17 东华大学 A kind of multiplexing electric abnormality Activity recognition method based on fuzzy neural network
WO2019197716A1 (en) * 2018-04-11 2019-10-17 Teknologian Tutkimuskeskus Vtt Oy Electronic label apparatus, inductive base station, electronic label system and method of locating electronic label apparatus
CN114580795B (en) * 2022-05-06 2022-08-16 四川瑞康智慧能源有限公司 Electric quantity prediction method considering power failure shunting and related equipment
CN115081946A (en) * 2022-07-25 2022-09-20 国网信息通信产业集团有限公司 Power consumption regulation and control method, system, device, electronic equipment and computer medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508275A (en) * 2020-12-07 2021-03-16 国网湖南省电力有限公司 Power distribution network line load prediction method and equipment based on clustering and trend indexes
CN113609113A (en) * 2021-08-02 2021-11-05 国家电网有限公司客户服务中心 User information generation method and device based on power data and electronic equipment

Also Published As

Publication number Publication date
CN116703190A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN115599640B (en) Abnormal supply end warning method, electronic device and medium
CN113032818B (en) Task encryption method and device, electronic equipment and computer readable medium
US20230198771A1 (en) Systems and methods for providing secure internet of things data notifications using blockchain
CN115640285B (en) Power abnormality information transmission method, device, electronic equipment and medium
CN113656825B (en) Text watermark embedding method, text tampering detection method, text watermark embedding device, text tampering detection device and electronic equipment
CN114629902A (en) Sharing data between different service providers at edge level through collaboration channels
CN113837324A (en) Electric quantity data monitoring method and system, storage medium and electronic equipment
CN116703190B (en) Power consumption information processing method, device, electronic equipment and computer readable medium
CN116720202B (en) Service information detection method, device, electronic equipment and computer readable medium
CN112329044A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN117033442A (en) Data aggregation method and device, storage medium and electronic equipment
CN110727558A (en) Information prompting method and device, storage medium and electronic equipment
CN116187716A (en) Agricultural equipment scheduling method, apparatus, electronic equipment and computer readable medium
CN116519095A (en) Instrument state diagnosis and response method, device, equipment and storage medium
US20230418470A1 (en) Data processing method and apparatus, and electronic device
CN114003188B (en) Information encryption display method, device, electronic equipment and computer readable medium
CN116702168B (en) Method, device, electronic equipment and computer readable medium for detecting supply end information
CN111163156A (en) Data processing method, device and storage medium based on block chain
CN115378743B (en) Information encryption transmission method, device, equipment and medium
CN116578427B (en) Resource device scheduling method, electronic device and computer readable medium
CN117909957B (en) Login request processing method, login request processing device, electronic equipment and computer readable medium
CN116702169B (en) Data encryption migration method, electronic device and computer readable medium
CN115842819B (en) Automatic driving system test data downloading method, device and equipment
CN112468470B (en) Data transmission method and device and electronic equipment
CN117557403A (en) Power equipment power-off method, device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant