CN114282618A - Method, device, equipment and medium for determining user information with abnormal electricity utilization - Google Patents

Method, device, equipment and medium for determining user information with abnormal electricity utilization Download PDF

Info

Publication number
CN114282618A
CN114282618A CN202111626721.XA CN202111626721A CN114282618A CN 114282618 A CN114282618 A CN 114282618A CN 202111626721 A CN202111626721 A CN 202111626721A CN 114282618 A CN114282618 A CN 114282618A
Authority
CN
China
Prior art keywords
user information
user
power consumption
monitored
electricity consumption
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.)
Pending
Application number
CN202111626721.XA
Other languages
Chinese (zh)
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.)
Guangdong Power Grid Co Ltd
Huizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Huizhou Power Supply Bureau of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Huizhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202111626721.XA priority Critical patent/CN114282618A/en
Publication of CN114282618A publication Critical patent/CN114282618A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for determining user information with abnormal power utilization. The method comprises the following steps: acquiring the power consumption of at least one user to be monitored in a target monitoring time period; determining whether the power consumption comprises abnormal power consumption of rate types except the rate type corresponding to the target monitoring time period; if the electricity consumption comprises the abnormal electricity consumption, determining a user identifier of a user to be monitored corresponding to the abnormal electricity consumption; and determining user information corresponding to the user identification from a pre-constructed user information storage view. According to the technical scheme of the embodiment of the invention, the technical problems of higher troubleshooting difficulty and lower working efficiency in the existing method for determining each user with abnormal electricity utilization data are solved, and the users with abnormal electricity utilization data can be determined more quickly and accurately, so that the technical effects of reducing the troubleshooting difficulty and improving the working efficiency are achieved.

Description

用电异常的用户信息确定方法、装置、设备及介质Method, device, equipment and medium for determining user information of abnormal electricity consumption

技术领域technical field

本发明实施例涉及数据处理技术领域,尤其涉及一种用电异常的用户信息确定方法、装置、设备及介质。Embodiments of the present invention relate to the technical field of data processing, and in particular, to a method, apparatus, device, and medium for determining user information with abnormal power consumption.

背景技术Background technique

目前,国家致力于推行阶梯电价和分时计费政策,从而促进节能减排和保护环境。然而,采用阶梯电价和分时计费政策会产生大量的用电数据。由于用电量数据的数据量较多,因此,用户的用电数据监控处理的工作面临巨大的挑战。At present, the state is committed to implementing tiered electricity prices and time-of-use billing policies to promote energy conservation, emission reduction and environmental protection. However, the adoption of tiered tariffs and time-of-use billing policies generates a large amount of electricity consumption data. Due to the large amount of electricity consumption data, the monitoring and processing of electricity consumption data of users faces enormous challenges.

现有技术中,通常采用人工的方式确定用电数据存在异常的各用户,需要工作人员针对每个用户每条用电数据进行数据排查处理。然而,采用这种方式不仅需要花费较多的人力和物力,而且还存在排查难度较高、无法快速定位异常用电的用户以及工作效率较低的问题。In the prior art, each user whose electricity consumption data is abnormal is usually determined manually, and a staff member is required to perform data investigation and processing for each piece of electricity consumption data of each user. However, using this method not only requires more manpower and material resources, but also has the problems of high difficulty in troubleshooting, inability to quickly locate users with abnormal power consumption, and low work efficiency.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种用电异常的用户信息确定方法、装置、设备及介质,以实现更加快速准确的确定用电数据存在异常的用户,从而达到降低了排查难度、更加快速定位异常用电的用户以及提升了工作效率的技术效果。Embodiments of the present invention provide a method, device, equipment and medium for determining user information with abnormal power consumption, so as to more quickly and accurately determine users with abnormal power consumption data, thereby reducing the difficulty of investigation and locating abnormal users more quickly. Users of electricity and the technical effect of improving work efficiency.

第一方面,本发明实施例提供了一种用电异常的用户信息确定方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for determining user information of abnormal electricity consumption, the method comprising:

获取至少一个待监测用户在目标监测时间段内的用电量;Obtain the electricity consumption of at least one user to be monitored during the target monitoring time period;

确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;determining whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period;

如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;If the power consumption includes the abnormal power consumption, determining the user identifier of the user to be monitored corresponding to the abnormal power consumption;

从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。User information corresponding to the user identification is determined from a pre-built user information storage view.

第二方面,本发明实施例还提供了一种用电异常的用户信息确定装置,该装置包括:In a second aspect, an embodiment of the present invention also provides a device for determining user information with abnormal power consumption, the device comprising:

用电量获取模块,用于获取至少一个待监测用户在目标监测时间段内的用电量;an electricity consumption acquisition module, used to acquire the electricity consumption of at least one user to be monitored during the target monitoring time period;

异常用电量确定模块,用于确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;an abnormal power consumption determination module, configured to determine whether the power consumption includes abnormal power consumption of a rate type other than the rate type corresponding to the target monitoring time period;

用户标识确定模块,用于如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;a user identification determination module, configured to determine the user identification of the user to be monitored corresponding to the abnormal power consumption if the power consumption includes the abnormal power consumption;

用户信息确定模块,用于从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。A user information determination module, configured to determine user information corresponding to the user identification from a pre-built user information storage view.

第三方面,本发明实施例还提供了一种电子设备,该电子设备包括:In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;

当所述程序被所述处理器执行,使得所述处理器实现如本发明任意实施例所提供的用电异常的用户信息确定方法。When the program is executed by the processor, the processor implements the method for determining user information of abnormal power consumption provided by any embodiment of the present invention.

第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明任意实施例所提供的用电异常的用户信息确定方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the user information determination of abnormal power consumption as provided by any embodiment of the present invention method.

本发明实施例的技术方案,通过获取至少一个待监测用户在目标监测时间段内的用电量。进而可以确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。如果用电量包括异常用电量,则可以确定异常用电量所对应的待监测用户的用户标识。进而可以从预先构建的用户信息存储视图中确定与用户标识对应的用户信息,解决了现有的确定用电数据存在异常的各用户的方法不仅需要花费较多的人力和物力资源,而且还存在异常数据排查难度较高以及工作效率较低的技术问题,实现了更加快速有效准确的确定用电数据存在异常的各用户,从而达到降低了排查难度、更加快速的定位用电异常的用户以及提升了工作效率的技术效果。The technical solution of the embodiment of the present invention is to obtain the electricity consumption of at least one user to be monitored in the target monitoring time period. Further, it can be determined whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period. If the power consumption includes abnormal power consumption, the user identifier of the user to be monitored corresponding to the abnormal power consumption can be determined. Furthermore, the user information corresponding to the user ID can be determined from the pre-built user information storage view, which solves the problem that the existing method of determining each user with abnormal power consumption data not only requires more human and material resources, but also has problems. The technical problems of high difficulty in troubleshooting abnormal data and low work efficiency have realized a more rapid, effective and accurate determination of each user with abnormal power consumption data, thereby reducing the difficulty of troubleshooting, more quickly locating users with abnormal power consumption, and improving The technical effect of work efficiency.

附图说明Description of drawings

为了更加清楚地说明本发明示例性实施例的技术方案,下面对描述实施例中所需要用到的附图做一简单介绍。显然,所介绍的附图只是本发明所要描述的一部分实施例的附图,而不是全部的附图,对于本领域普通技术人员,在不付出创造性劳动的前提下,还可以根据这些附图得到其他的附图。In order to illustrate the technical solutions of the exemplary embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in describing the embodiments. Obviously, the introduced drawings are only a part of the drawings of the embodiments to be described in the present invention, rather than all drawings. For those of ordinary skill in the art, without creative work, they can also obtain the drawings according to these drawings. Additional drawings.

图1是本发明实施例一提供的一种用电异常的用户信息确定方法的流程示意图;FIG. 1 is a schematic flowchart of a method for determining user information with abnormal power consumption according to Embodiment 1 of the present invention;

图2是本发明实施例二提供的一种用电异常的用户信息确定方法的流程示意图;2 is a schematic flowchart of a method for determining user information with abnormal power consumption provided by Embodiment 2 of the present invention;

图3是本发明实施例三提供的一种用电异常的用户信息确定装置的结构示意图;3 is a schematic structural diagram of an apparatus for determining user information with abnormal power consumption provided by Embodiment 3 of the present invention;

图4是本发明实施例四提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

实施例一Example 1

图1是本发明实施例一提供的一种用电异常的用户信息确定方法的流程示意图,本实施例可适用于通过确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量,进而可以确定用电数据存在异常的各用户的情况,该方法可以由用电异常的用户信息确定装置来执行,用电异常的用户信息确定装置可通过软件和/或硬件方式实现,可集成于诸如计算机或者服务器等的电子设备中。FIG. 1 is a schematic flowchart of a method for determining user information of abnormal electricity consumption provided by Embodiment 1 of the present invention. This embodiment is applicable to determining whether the electricity consumption includes a rate type other than the rate type corresponding to the target monitoring time period. The abnormal electricity consumption of the tariff type, and then the situation of each user with abnormal electricity consumption data can be determined. This method can be executed by the user information determination device with abnormal electricity consumption. /Or implemented in hardware, and can be integrated into electronic devices such as computers or servers.

如图1所示,本实施例的方法包括:As shown in Figure 1, the method of this embodiment includes:

S110、获取至少一个待监测用户在目标监测时间段内的用电量。S110. Acquire the power consumption of at least one user to be monitored in the target monitoring time period.

其中,待监测用户可以理解为当前时刻需要进行用电量监测的用户。目标监测时间段可以是当前时刻需要监测的时间段。可选的,目标监测时间段可以是分时电价计费所划分的尖峰时段、峰时段、谷时段和平时段中的任一时间段。Among them, the user to be monitored can be understood as a user who needs to monitor the electricity consumption at the current moment. The target monitoring time period may be the time period that needs to be monitored at the current moment. Optionally, the target monitoring time period may be any time period in a peak period, a peak period, a valley period and a normal period divided by the time-of-use electricity price billing.

具体的,确定目标监测时间段。在确定目标监测时间段后,可以获取一个或多个待监测用户在目标监测时间段内的用电量。Specifically, the target monitoring time period is determined. After the target monitoring time period is determined, the electricity consumption of one or more users to be monitored in the target monitoring time period may be obtained.

需要说明的是,尖峰时段、峰时段、谷时段和平时段是根据不同电价将一天24小时划分为若干时段(参见表一)。It should be noted that the peak period, peak period, valley period and peace period are divided into several periods of 24 hours a day according to different electricity prices (see Table 1).

表一Table I

Figure BDA0003439853570000051
Figure BDA0003439853570000051

可选的,通过下述方式获取待监测用户在目标监测时间段内的用电量:Optionally, the power consumption of the user to be monitored during the target monitoring time period is obtained in the following manner:

从用于存储用电量的系统(如,电网计量自动化系统)中获取至少一个待监测用户在目标监测时间段内的用电量。需要说明的是,获取至少一个待监测用户在目标监测时间段内的用电量的方式有多种,具体获取方式在此不做限定。The electricity consumption of at least one user to be monitored in the target monitoring time period is obtained from a system for storing electricity consumption (eg, a grid metering automation system). It should be noted that, there are various ways to obtain the power consumption of at least one user to be monitored during the target monitoring time period, and the specific obtaining way is not limited herein.

S120、确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。S120. Determine whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period.

其中,费率类型可以理解为不同时间段所对应的电价,即,尖峰时段、峰时段、谷时段和平时段所对应的电价。异常用电量可以是除目标监测时间段对应的费率类型之外的费率类型的用电量。Among them, the tariff type can be understood as the electricity price corresponding to different time periods, that is, the electricity price corresponding to the peak period, the peak period, the valley period and the normal period. The abnormal electricity consumption may be electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period.

具体的,在获取用电量后,可以基于预先设定的时间段和费率类型之间的对应关系,确定目标监测时间段所对应的费率类型。进而可以确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的用电量,也就是确定获取的用电量中是否存在异常用电量。Specifically, after the electricity consumption is acquired, the rate type corresponding to the target monitoring time period may be determined based on the corresponding relationship between the preset time period and the rate type. Further, it can be determined whether the electricity consumption includes electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period, that is, it is determined whether there is abnormal electricity consumption in the obtained electricity consumption.

可选的,通过下述方式确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量:Optionally, determine whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period in the following manner:

如果用电量超过预设用电阈值,则确定超过预设用电阈值的用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。If the power consumption exceeds the preset power consumption threshold, it is determined whether the power consumption exceeding the preset power consumption threshold includes abnormal power consumption of a rate type other than the rate type corresponding to the target monitoring time period.

其中,预设的用电阈值可以是根据实际需求设定的,其具体数据在此不做限定,例如,可以是0.01、0.02或0.03等。The preset power consumption threshold may be set according to actual needs, and the specific data thereof is not limited here, for example, it may be 0.01, 0.02, or 0.03, and the like.

具体的,预先设置用电阈值。在获取用电量后,可以将获取到的用电量和预先设置的用电阈值进行比较。如果用电量超过预设用电阈值,则可以确定超过预设用电阈值的用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。Specifically, the power consumption threshold is preset. After the power consumption is obtained, the obtained power consumption can be compared with a preset power consumption threshold. If the power consumption exceeds the preset power consumption threshold, it may be determined whether the power consumption exceeding the preset power consumption threshold includes abnormal power consumption of a rate type other than the rate type corresponding to the target monitoring time period.

S130、如果用电量包括异常用电量,则确定异常用电量所对应的待监测用户的用户标识。S130. If the power consumption includes abnormal power consumption, determine the user identifier of the user to be monitored corresponding to the abnormal power consumption.

其中,用户标识可以用于确定待监测用户的用户信息。用户标识可以包括待监测用户的用户编号、用户名以及用户类型中的至少一种。The user identifier may be used to determine user information of the user to be monitored. The user identification may include at least one of a user ID, a user name, and a user type of the user to be monitored.

具体的,如果获取到的用电量存在异常用电量,则可以确定异常用电量所对应的待监测用户。进而可以确定待监测用户的用户标识。Specifically, if there is abnormal power consumption in the acquired power consumption, the user to be monitored corresponding to the abnormal power consumption can be determined. Further, the user identifier of the user to be monitored can be determined.

S140、从预先构建的用户信息存储视图中确定与用户标识对应的用户信息。S140. Determine user information corresponding to the user identifier from a pre-built user information storage view.

其中,用户信息存储视图可以是用于存储用户信息的数据库视图。用户信息可以包括用户编号、用户名称、用户类型、合同容量、管理单位等。The user information storage view may be a database view for storing user information. User information may include user ID, user name, user type, contract capacity, management unit, and the like.

具体的,预先构建用户信息存储视图。在确定异常用电量所对应的待监测用户的用户标识后,可以从预先构建的用户信息存储视图中确定与用户标识对应的用户信息。Specifically, a user information storage view is pre-built. After the user identification of the user to be monitored corresponding to the abnormal power consumption is determined, the user information corresponding to the user identification may be determined from a pre-built user information storage view.

可选的,通过下述方式构建用户信息存储视图:Optionally, construct the user information storage view in the following ways:

获取待监测用户信息数据表;基于待监测用户信息数据表和预先定义的用于查询用户信息的数据库查询语句,构建用户信息存储视图。Obtain a user information data table to be monitored; build a user information storage view based on the user information data table to be monitored and a predefined database query statement for querying user information.

其中,待监测用户信息数据表可以理解为用于存储待监测用户信息的数据表。数据库查询语句可以是预先定义的用于查询用户信息的数据库语句。The user information data table to be monitored may be understood as a data table for storing user information to be monitored. The database query statement may be a predefined database statement for querying user information.

具体的,获取待监测用户信息数据表。在获取到待监测用户信息数据表后,可以基于待监测用户信息数据表定义的用于查询用户信息的数据库查询语句。进而可以通过执行预先定义的用于查询用户信息的数据库查询语句构建用户信息存储视图。Specifically, the user information data table to be monitored is obtained. After the user information data table to be monitored is acquired, a database query statement for querying user information defined based on the user information data table to be monitored can be obtained. Furthermore, a user information storage view can be constructed by executing a predefined database query statement for querying user information.

示例性的,待监测用户信息数据表可以为HZ_TOUCUS表,预先定义的用于查询用户信息的数据库查询语句可以为:CREATE VIEW INFO_TOUCUS AS(SELECT DISTINCT YHBH户号,MC户名,HTRL容量,JG县区局,SCH交易户标志FROM HZ_TOUCU);那么,用户信息存储视图可以为INFO_TOUCUS。Exemplarily, the user information data table to be monitored may be the HZ_TOUCUS table, and the predefined database query statement for querying user information may be: CREATE VIEW INFO_TOUCUS AS (SELECT DISTINCT YHBH account number, MC account name, HTRL capacity, JG county Regional Bureau, SCH Trader Flag FROM HZ_TOUCU); then, the user information storage view can be INFO_TOUCUS.

可选的,在获取待监测用户信息数据表之前,还可以包括:创建待监测用户信息数据表的表结构。具体的,可以通过调用预先定义的用于创建待监测用户信息数据表的数据库建表语句,创建待监测用户信息数据表的表结构,这样可以快速有效的创建待监测用户信息数据表的表结构。Optionally, before acquiring the user information data table to be monitored, the method may further include: creating a table structure of the user information data table to be monitored. Specifically, the table structure of the user information data table to be monitored can be created by calling a predefined database table building statement for creating the user information data table to be monitored, so that the table structure of the user information data table to be monitored can be created quickly and effectively .

具体的,预先定义用于创建待监测用户信息数据表的数据库建表语句。在用于创建待监测用户信息数据表的数据库建表语句后,可以通过调用预先定义的用于创建待检测用户信息数据表的数据库建表语句,也就是,可以执行预先定义的用于创建待监测用户信息数据表的数据库建表语句。在执行数据库建表语句后,可以在数据库中创建待监测用户信息数据表的表结构。Specifically, a database table building statement for creating a user information data table to be monitored is pre-defined. After the database table building statement for creating the user information data table to be monitored, the pre-defined database table building statement for creating the user information data table to be detected can be called. The database table creation statement for monitoring the user information data table. After the database table creation statement is executed, the table structure of the user information data table to be monitored can be created in the database.

示例性的,预先定义的用于创建待监测用户信息数据表的数据库建表语句可以是:Exemplarily, the predefined database table building statement for creating the user information data table to be monitored may be:

CREATE TABLE HZ_TOUCUS(用户编号YHBH VARCHAR2(16)not null,用户名称MCVARCHAR2(256),用户类型HTRL NUMBER(16,6),合同容量SCH VARCHAR2(2),管理单位DWVARCHAR2(64),主键PRIMARY KEY(YHBH));通过执行该数据库建表语句,可以创建待监测用户信息数据表(HZ_TOUCUS)的表结构。CREATE TABLE HZ_TOUCUS(user number YHBH VARCHAR2(16) not null, user name MCVARCHAR2(256), user type HTRL NUMBER(16,6), contract capacity SCH VARCHAR2(2), management unit DWVARCHAR2(64), primary key PRIMARY KEY( YHBH)); by executing the database table building statement, the table structure of the user information data table (HZ_TOUCUS) to be monitored can be created.

可选的,通过下述方式获取待监测用户信息数据表:Optionally, obtain the user information data table to be monitored in the following manner:

获取待监测用户的用户信息;通过调用预先定义的用于添加待监测用户的用户信息的数据库添加语句,将待监测用户的用户信息添加至待监测用户信息数据表中。Obtain the user information of the user to be monitored; add the user information of the user to be monitored to the user information data table of the to-be-monitored user by invoking a predefined database adding statement for adding user information of the to-be-monitored user.

具体的,预先定义用于添加待监测用户的用户信息的数据库添加语句。获取待监测用户的用户信息。在获取到待监测用户的用户信息后,可以通过调用预先定义的用于添加待监测用户的用户信息的数据库添加语句,将待监测用户的用户信息添加至待监测用户信息数据表中。Specifically, a database adding statement for adding user information of the user to be monitored is pre-defined. Obtain the user information of the user to be monitored. After acquiring the user information of the user to be monitored, the user information of the user to be monitored can be added to the user information data table of the user to be monitored by invoking a predefined database adding statement for adding user information of the user to be monitored.

需要说明的是,获取待监测用户的用户信息的方式有很多种,具体获取方式在此不做限定,例如,可以从用于存储用户信息的系统中获取待检测用户的用户信息,或者,可以接收待监测用户输入的用户信息。It should be noted that there are many ways to obtain the user information of the user to be monitored, and the specific acquisition method is not limited here. For example, the user information of the user to be detected can be obtained from the system for storing user information, or, you can Receive user information input by the user to be monitored.

本发明实施例的技术方案,通过获取至少一个待监测用户在目标监测时间段内的用电量。进而可以确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。如果用电量包括异常用电量,则可以确定异常用电量所对应的待监测用户的用户标识。进而可以从预先构建的用户信息存储视图中确定与用户标识对应的用户信息,解决了现有的确定用电数据存在异常的各用户的方法不仅需要花费较多的人力和物力资源,而且还存在异常数据排查难度较高以及工作效率较低的技术问题,实现了更加快速有效准确的确定用电数据存在异常的各用户,从而达到降低了排查难度以及提升了工作效率的技术效果。The technical solution of the embodiment of the present invention is to obtain the electricity consumption of at least one user to be monitored in the target monitoring time period. Further, it can be determined whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period. If the power consumption includes abnormal power consumption, the user identifier of the user to be monitored corresponding to the abnormal power consumption can be determined. Furthermore, the user information corresponding to the user ID can be determined from the pre-built user information storage view, which solves the problem that the existing method of determining each user with abnormal power consumption data not only requires more human and material resources, but also has problems. The technical problems of higher difficulty in troubleshooting abnormal data and low work efficiency can be realized more quickly, effectively and accurately to determine the users with abnormal power consumption data, thus achieving the technical effect of reducing the difficulty of troubleshooting and improving work efficiency.

实施例二Embodiment 2

图2是本发明实施例二提供的一种用电异常的用户信息确定方法的流程示意图,在前述实施例的基础上,可选地,所述确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量,包括:通过调用预先定义的用于查询用电量的数据库语句,确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量。FIG. 2 is a schematic flowchart of a method for determining user information of abnormal power consumption according to Embodiment 2 of the present invention. On the basis of the foregoing embodiment, optionally, the determining whether the power consumption includes the addition of the target Monitoring the abnormal electricity consumption of rate types other than the rate type corresponding to the time period includes: by invoking a predefined database statement for querying electricity consumption, determining whether the electricity consumption includes other than the target monitoring Abnormal electricity consumption of a rate type other than the rate type corresponding to the time period.

可选地,在所述从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息之后,所述方法还包括:基于预设标识样式对所述用户信息进行标注,并将标注后的用户信息进行展示。其中,与上述实施例相同或者相应的技术术语在此不再赘述。Optionally, after determining the user information corresponding to the user identification from the pre-built user information storage view, the method further includes: annotating the user information based on a preset identification style, and labeling the user information. After the user information is displayed. Wherein, the technical terms that are the same as or corresponding to the above embodiments are not repeated here.

如图2所示,本实施例的方法具体可包括:As shown in FIG. 2 , the method of this embodiment may specifically include:

S210、获取至少一个待监测用户在目标监测时间段内的用电量。S210: Acquire the power consumption of at least one user to be monitored in the target monitoring time period.

S220、通过调用预先定义的用于查询用电量的数据库语句,确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。S220. Determine whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period by invoking a predefined database statement for querying the electricity consumption.

具体的,预先定义用于查询用电量的数据库语句。在用于查询用电量的数据库语句定义完成后,可以通过调用预先定义的用于查询用电量的数据库语句,也就是,可以执行预先定义的用于查询用电量的数据库语句。在用于查询用电量的数据库语句执行完成后,可以确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。Specifically, a database statement for querying electricity consumption is pre-defined. After the definition of the database statement for querying the electricity consumption is completed, the predefined database statement for querying the electricity consumption can be called, that is, the predefined database statement for querying the electricity consumption can be executed. After the execution of the database statement for querying the electricity consumption is completed, it can be determined whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period.

S230、如果用电量包括异常用电量,则确定异常用电量所对应的待监测用户的用户标识。S230. If the power consumption includes abnormal power consumption, determine the user identifier of the user to be monitored corresponding to the abnormal power consumption.

S240、从预先构建的用户信息存储视图中确定与用户标识对应的用户信息。S240. Determine user information corresponding to the user identifier from a pre-built user information storage view.

S250、基于预设标识样式对用户信息进行标注,并将标注后的用户信息进行展示。S250. Mark the user information based on the preset identification style, and display the marked user information.

其中,预设标识样式可以根据实际需求进行设置,具体样式在此不做限定,例如,可以将用户信息的字体标注为预设颜色的字体(如,红色字体),或者,可以将用于信息的字体标注为粗体,亦或者,可以将用户信息的字体标注下划线。The preset logo style can be set according to actual needs, and the specific style is not limited here. For example, the font of the user information can be marked as a font of a preset color (for example, a red font), or the font used for information can be marked as The font of the user information is marked in bold, or, the font of the user information can be underlined.

具体的,预先设置用户信息的标识样式。在获取与用户标识对应的用户信息后,可以基于预先设置的标识样式对用户信息进行标注处理。在对用户信息标注完成后,可以将标注后的用户信息进行展示。需要说明的是,在本实施例中,通过预先设置的标识样式对用户信息进行标注的好处在于可以更加快速便捷的确定用电数据存在异常的各用户。Specifically, the identification style of the user information is preset. After acquiring the user information corresponding to the user identification, the user information may be marked based on a preset identification style. After the user information is marked, the marked user information can be displayed. It should be noted that, in this embodiment, the advantage of marking the user information through the preset identification style is that each user with abnormal power consumption data can be determined more quickly and conveniently.

本发明实施例的技术方案,通过调用预先定义的用于查询用电量的数据库语句,确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量。以及在所述从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息之后,基于预设标识样式对所述用户信息进行标注,并将标注后的用户信息进行展示,进一步实现了更加快速有效准确的确定用电数据存在异常的各用户,从而达到降低了排查难度以及提升了工作效率的技术效果。The technical solution of the embodiment of the present invention is to determine whether the electricity consumption includes a rate type other than the rate type corresponding to the target monitoring time period by invoking a predefined database statement for querying electricity consumption. Abnormal power consumption. and after the user information corresponding to the user identification is determined from the pre-built user information storage view, the user information is marked based on a preset identification style, and the marked user information is displayed to further achieve In order to more quickly, effectively and accurately determine the users with abnormal power consumption data, the technical effect of reducing the difficulty of investigation and improving work efficiency is achieved.

实施例三Embodiment 3

图3是本发明实施例三提供的一种用电异常的用户信息确定装置的结构示意图,本发明提供了一种用电异常的用户信息确定装置,该装置包括:用电量获取模块310、异常用电量确定模块320、用户标识确定模块330和用户信息确定模块340。3 is a schematic structural diagram of an apparatus for determining user information with abnormal power consumption provided by Embodiment 3 of the present invention. The present invention provides an apparatus for determining user information with abnormal power consumption. The apparatus includes: a power consumption acquisition module 310, Abnormal power consumption determination module 320 , user identification determination module 330 and user information determination module 340 .

其中,用电量获取模块310,用于获取至少一个待监测用户在目标监测时间段内的用电量;异常用电量确定模块320,用于确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;用户标识确定模块330,用于如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;用户信息确定模块340,用于从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。Among them, the electricity consumption acquisition module 310 is used to acquire the electricity consumption of at least one user to be monitored in the target monitoring time period; the abnormal electricity consumption determination module 320 is used to determine whether the electricity consumption includes the power consumption other than the target Monitoring the abnormal power consumption of rate types other than the rate type corresponding to the time period; the user identification determination module 330 is configured to determine the abnormal power consumption if the power consumption includes the abnormal power consumption The corresponding user identifier of the user to be monitored; the user information determination module 340 is configured to determine the user information corresponding to the user identifier from the pre-built user information storage view.

本发明实施例的技术方案,通过用电量获取模块,获取至少一个待监测用户在目标监测时间段内的用电量。进而可以通过异常用电量确定模块,确定用电量是否包含除目标监测时间段对应的费率类型之外的费率类型的异常用电量。通过用户标识确定模块,如果用电量包括异常用电量,则可以确定异常用电量所对应的待监测用户的用户标识。进而可以通过用户信息确定模块,从预先构建的用户信息存储视图中确定与用户标识对应的用户信息,解决了现有的确定用电数据存在异常的各用户的方法不仅需要花费较多的人力和物力资源,而且还存在异常数据排查难度较高以及工作效率较低的技术问题,实现了更加快速有效准确的确定用电数据存在异常的各用户,从而达到降低了排查难度以及提升了工作效率的技术效果。In the technical solution of the embodiment of the present invention, the power consumption of at least one user to be monitored in the target monitoring time period is acquired through the power consumption acquisition module. Further, it can be determined by the abnormal power consumption determination module whether the power consumption includes abnormal power consumption of a rate type other than the rate type corresponding to the target monitoring time period. Through the user identification determining module, if the power consumption includes abnormal power consumption, the user identification of the user to be monitored corresponding to the abnormal power consumption can be determined. Furthermore, the user information corresponding to the user ID can be determined from the pre-built user information storage view through the user information determination module, which solves the problem that the existing method for determining each user with abnormal power consumption data not only requires a lot of manpower and energy. Material resources, and there are technical problems such as high difficulty in troubleshooting abnormal data and low work efficiency, which realizes a more rapid, effective and accurate determination of each user with abnormal power consumption data, thereby reducing the difficulty of troubleshooting and improving work efficiency. technical effect.

可选的,异常用电量确定模块320,用于通过调用预先定义的用于查询用电量的数据库语句,确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量。Optionally, the abnormal electricity consumption determination module 320 is configured to determine whether the electricity consumption includes any other than the tariff type corresponding to the target monitoring time period by invoking a predefined database statement for querying electricity consumption. Unusual electricity usage for a rate type other than that.

可选的,异常用电量确定模块320,用于如果所述用电量超过预设用电阈值,则确定超过所述预设用电阈值的用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量。Optionally, the abnormal power consumption determination module 320 is configured to, if the power consumption exceeds a preset power consumption threshold, determine whether the power consumption exceeding the preset power consumption threshold includes a period other than the target monitoring time period. Abnormal electricity consumption of a rate type other than the corresponding rate type.

可选的,该装置还包括:用户信息存储视图构建模块,用于获取待监测用户信息数据表;基于所述待监测用户信息数据表和预先定义的用于查询用户信息的数据库查询语句,构建所述用户信息存储视图。Optionally, the device further includes: a user information storage view building module for acquiring a user information data table to be monitored; based on the user information data table to be monitored and a predefined database query statement for querying user information, constructing The user information storage view.

可选的,在所述获取待监测用户信息数据表之前,该装置还包括:待监测用户信息数据表创建模块,用于通过调用预先定义的用于创建待监测用户信息数据表的数据库建表语句,创建待监测用户信息数据表的表结构。Optionally, before the acquisition of the user information data table to be monitored, the device further includes: a user information data table creation module to be monitored, for creating a table by calling a predefined database for creating the user information data table to be monitored. statement to create the table structure of the user information data table to be monitored.

可选的,用户信息存储视图构建模块,用于获取待监测用户的用户信息;通过调用预先定义的用于添加待监测用户的用户信息的数据库添加语句,将所述待监测用户的用户信息添加至待监测用户信息数据表中。Optionally, the user information storage view building module is used to obtain the user information of the user to be monitored; the user information of the user to be monitored is added by calling a predefined database adding statement for adding the user information of the user to be monitored. to the user information data table to be monitored.

可选的,在所述从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息之后,该装置还包括:用户信息标注模块,用于基于预设标识样式对所述用户信息进行标注,并将标注后的用户信息进行展示。Optionally, after the user information corresponding to the user identification is determined from the pre-built user information storage view, the device further includes: a user information labeling module, configured to identify the user information based on a preset identification style. Mark and display the marked user information.

上述装置可执行本发明任意实施例所提供的用电异常的用户信息确定方法,具备执行用电异常的用户信息确定方法相应的功能模块和有益效果。The above apparatus can execute the method for determining user information of abnormal power consumption provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to executing the method for determining user information of abnormal power consumption.

值得注意的是,上述用电异常的用户信息确定装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明实施例的保护范围。It is worth noting that the units and modules included in the above-mentioned device for determining user information with abnormal power consumption are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; The specific names of the functional units are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.

实施例四Embodiment 4

图4是本发明实施例四提供的一种电子设备的结构示意图。图4示出了适于用来实现本发明任一实施方式的示例性电子设备12的框图。图4显示的电子设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。设备12典型的是承担配置信息的处理的电子设备。FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present invention. Figure 4 shows a block diagram of an exemplary electronic device 12 suitable for use in implementing any of the embodiments of the present invention. The electronic device 12 shown in FIG. 4 is only an example, and should not impose any limitations on the function and scope of use of the embodiments of the present invention. Device 12 is typically an electronic device that undertakes the processing of configuration information.

如图4所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,存储器28,连接不同组件(包括存储器28和处理单元16)的总线18。As shown in FIG. 4, the electronic device 12 takes the form of a general-purpose computing device. Components of the electronic device 12 may include, but are not limited to, one or more processors or processing units 16 , a memory 28 , and a bus 18 connecting the various components including the memory 28 and the processing unit 16 .

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry StandardArchitecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards Association) , VESA) local bus and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.

电子设备12典型地包括多种计算机可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 12 typically includes a variety of computer-readable media. These media can be any available media that can be accessed by electronic device 12, including both volatile and non-volatile media, removable and non-removable media.

存储器28可以包括易失性存储器形式的计算机装置可读介质,例如随机存取存储器(Random Access Memory,RAM)30和/或高速缓存存储器32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图中未显示,通常称为“硬盘驱动器”)。尽管图中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如只读光盘(Compact Disc-Read Only Memory,CD-ROM)、数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品40,该程序产品40具有一组程序模块42,这些程序模块被配置以执行本发明各实施例的功能。程序产品40,可以存储在例如存储器28中,这样的程序模块42包括但不限于一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。Memory 28 may include computer device readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . Electronic device 12 may further include other removable/non-removable, volatile/non-volatile computer storage media. For example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown, commonly referred to as "hard disk drives"). Although not shown in the figures, magnetic disk drives for reading and writing to removable non-volatile magnetic disks (eg "floppy disks") and removable non-volatile optical disks (eg Compact Disc-Read) may be provided Only Memory, CD-ROM), Digital Video Disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) read and write optical disc drives. In these cases, each drive may be connected to bus 18 through one or more data media interfaces. The memory 28 may include at least one program product 40 having a set of program modules 42 configured to perform the functions of various embodiments of the present invention. Program product 40, which may be stored, for example, in memory 28, such program modules 42 including, but not limited to, one or more application programs, other program modules, and program data, each or some combination of these examples may include a network environment realization. Program modules 42 generally perform the functions and/or methods of the described embodiments of the present invention.

电子设备12也可以与一个或多个外部设备14(例如键盘、鼠标、摄像头等和显示器)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网WideArea Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)装置、磁带驱动器以及数据备份存储装置等。The electronic device 12 may also communicate with one or more external devices 14 (eg, keyboard, mouse, camera, etc., and display), with one or more devices that enable a user to interact with the electronic device 12, and/or with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 22 . Also, the electronic device 12 may communicate with one or more networks (eg, Local Area Network (LAN), Wide Area Network, WAN) and/or public networks such as the Internet through the network adapter 20 . As shown, network adapter 20 communicates with other modules of electronic device 12 via bus 18 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks, RAID) devices, tape drives, and data backup storage devices.

处理单元16通过运行存储在存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明上述实施例所提供的用电异常的用户信息确定方法,该方法包括:The processing unit 16 executes various functional applications and data processing by running the programs stored in the memory 28, for example, to realize the method for determining user information of abnormal power consumption provided by the above-mentioned embodiments of the present invention, and the method includes:

获取至少一个待监测用户在目标监测时间段内的用电量;确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。Obtain the electricity consumption of at least one user to be monitored during the target monitoring period; determine whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring period; if If the power consumption includes the abnormal power consumption, the user ID of the user to be monitored corresponding to the abnormal power consumption is determined; the user information corresponding to the user ID is determined from a pre-built user information storage view .

当然,本领域技术人员可以理解,处理器还可以实现本发明任一实施例所提供的用电异常的用户信息确定方法的技术方案。Of course, those skilled in the art can understand that the processor can also implement the technical solution of the method for determining user information of abnormal power consumption provided by any embodiment of the present invention.

实施例五Embodiment 5

本发明实施例五还提供一种计算机可读存储介质,其上存储有计算机程序,特征在于,该程序被处理器执行时,例如本发明上述实施例所提供的用电异常的用户信息确定方法,该方法包括:Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, for example, the method for determining user information of abnormal power consumption provided by the above-mentioned embodiments of the present invention , the method includes:

获取至少一个待监测用户在目标监测时间段内的用电量;确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。Obtain the electricity consumption of at least one user to be monitored during the target monitoring period; determine whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring period; if If the power consumption includes the abnormal power consumption, the user ID of the user to be monitored corresponding to the abnormal power consumption is determined; the user information corresponding to the user ID is determined from a pre-built user information storage view .

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明实施例操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of embodiments of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, and A conventional procedural programming language - such as the "C" language or similar programming language. 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 (eg, using an Internet service provider through Internet connection).

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (10)

1.一种用电异常的用户信息确定方法,其特征在于,包括:1. a method for determining user information of abnormal electricity consumption, characterized in that, comprising: 获取至少一个待监测用户在目标监测时间段内的用电量;Obtain the electricity consumption of at least one user to be monitored during the target monitoring time period; 确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;determining whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period; 如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;If the power consumption includes the abnormal power consumption, determining the user identifier of the user to be monitored corresponding to the abnormal power consumption; 从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。User information corresponding to the user identification is determined from a pre-built user information storage view. 2.根据权利要求1所述的方法,其特征在于,所述确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量,包括:2 . The method according to claim 1 , wherein the determining whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period, comprising: 2 . : 通过调用预先定义的用于查询用电量的数据库语句,确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量。By invoking a predefined database statement for querying electricity consumption, it is determined whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period. 3.根据权利要求1所述的方法,其特征在于,所述确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量,包括:3 . The method according to claim 1 , wherein the determining whether the electricity consumption includes abnormal electricity consumption of a rate type other than the rate type corresponding to the target monitoring time period, comprising: 3 . : 如果所述用电量超过预设用电阈值,则确定超过所述预设用电阈值的用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量。If the electricity consumption exceeds a preset electricity consumption threshold, determine whether the electricity consumption exceeding the preset electricity consumption threshold includes abnormal usage of a rate type other than the rate type corresponding to the target monitoring time period power. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 获取待监测用户信息数据表;Obtain the user information data sheet to be monitored; 基于所述待监测用户信息数据表和预先定义的用于查询用户信息的数据库查询语句,构建所述用户信息存储视图。The user information storage view is constructed based on the to-be-monitored user information data table and a predefined database query statement for querying user information. 5.根据权利要求4所述的方法,其特征在于,在所述获取待监测用户信息数据表之前,所述方法还包括:5. The method according to claim 4, wherein, before the acquiring the user information data table to be monitored, the method further comprises: 创建待监测用户信息数据表的表结构。Create the table structure of the user information data table to be monitored. 6.根据权利要求4所述的方法,其特征在于,所述获取待监测用户信息数据表,包括:6. The method according to claim 4, wherein the acquiring the user information data table to be monitored comprises: 获取待监测用户的用户信息;Obtain the user information of the user to be monitored; 通过调用预先定义的用于添加待监测用户的用户信息的数据库添加语句,将所述待监测用户的用户信息添加至待监测用户信息数据表中。The user information of the to-be-monitored user is added to the to-be-monitored user information data table by invoking a predefined database adding statement for adding the user information of the to-be-monitored user. 7.根据权利要求1所述的方法,其特征在于,在所述从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息之后,所述方法还包括:7. The method according to claim 1, wherein after the user information corresponding to the user identification is determined from a pre-built user information storage view, the method further comprises: 基于预设标识样式对所述用户信息进行标注,并将标注后的用户信息进行展示。The user information is marked based on a preset identification style, and the marked user information is displayed. 8.一种用电异常的用户信息确定装置,其特征在于,包括:8. A user information determination device for abnormal electricity consumption, characterized in that, comprising: 用电量获取模块,用于获取至少一个待监测用户在目标监测时间段内的用电量;a power consumption acquisition module, used to acquire the power consumption of at least one user to be monitored during the target monitoring time period; 异常用电量确定模块,用于确定所述用电量是否包含除所述目标监测时间段对应的费率类型之外的费率类型的异常用电量;an abnormal power consumption determination module, configured to determine whether the power consumption includes abnormal power consumption of a rate type other than the rate type corresponding to the target monitoring time period; 用户标识确定模块,用于如果所述用电量包括所述异常用电量,则确定所述异常用电量所对应的待监测用户的用户标识;a user identification determination module, configured to determine the user identification of the user to be monitored corresponding to the abnormal power consumption if the power consumption includes the abnormal power consumption; 用户信息确定模块,用于从预先构建的用户信息存储视图中确定与所述用户标识对应的用户信息。A user information determination module, configured to determine user information corresponding to the user identification from a pre-built user information storage view. 9.一种电子设备,其特征在于,所述电子设备,包括:9. An electronic device, characterized in that the electronic device comprises: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序;a storage device for storing one or more programs; 当所述程序被所述处理器执行,使得所述处理器实现如权利要求1-7中任一所述的用电异常的用户信息确定方法。When the program is executed by the processor, the processor implements the method for determining user information of abnormal power consumption according to any one of claims 1-7. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一所述的用电异常的用户信息确定方法。10 . A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method for determining user information of abnormal power consumption according to any one of claims 1-7 is implemented.
CN202111626721.XA 2021-12-28 2021-12-28 Method, device, equipment and medium for determining user information with abnormal electricity utilization Pending CN114282618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111626721.XA CN114282618A (en) 2021-12-28 2021-12-28 Method, device, equipment and medium for determining user information with abnormal electricity utilization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111626721.XA CN114282618A (en) 2021-12-28 2021-12-28 Method, device, equipment and medium for determining user information with abnormal electricity utilization

Publications (1)

Publication Number Publication Date
CN114282618A true CN114282618A (en) 2022-04-05

Family

ID=80876974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111626721.XA Pending CN114282618A (en) 2021-12-28 2021-12-28 Method, device, equipment and medium for determining user information with abnormal electricity utilization

Country Status (1)

Country Link
CN (1) CN114282618A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114707586A (en) * 2022-03-24 2022-07-05 广东电网有限责任公司 A data processing method, device, electronic device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106203832A (en) * 2016-07-12 2016-12-07 亿米特(上海)信息科技有限公司 Intelligent electricity anti-theft analyzes system and the method for analysis
CN108108375A (en) * 2016-11-25 2018-06-01 深圳市创梦天地科技有限公司 A kind of big data extracting method and system
CN111310120A (en) * 2020-02-14 2020-06-19 广东电网有限责任公司 Abnormal electricity utilization user identification method, device, terminal and medium based on big data
CN111414407A (en) * 2020-02-13 2020-07-14 中国平安人寿保险股份有限公司 Data query method, device, computer equipment and storage medium for database
US20200225655A1 (en) * 2016-05-09 2020-07-16 Strong Force Iot Portfolio 2016, Llc Methods, systems, kits and apparatuses for monitoring and managing industrial settings in an industrial internet of things data collection environment
AU2020101900A4 (en) * 2020-08-21 2020-11-05 Qinghu Rising Sunshine Data Technology (Beijing) Co., Ltd. A method, device and equipment for detecting abnormal electric meter
CN112541016A (en) * 2020-11-26 2021-03-23 南方电网数字电网研究院有限公司 Power consumption abnormality detection method, device, computer equipment and storage medium
CN112714368A (en) * 2020-12-07 2021-04-27 南方电网数字电网研究院有限公司 Method and device for prompting abnormal electricity consumption, computer equipment and storage medium
CN113284003A (en) * 2021-04-21 2021-08-20 南方电网数字电网研究院有限公司 Electric power transaction data processing method, device and equipment based on double-core intelligent electric meter

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200225655A1 (en) * 2016-05-09 2020-07-16 Strong Force Iot Portfolio 2016, Llc Methods, systems, kits and apparatuses for monitoring and managing industrial settings in an industrial internet of things data collection environment
CN106203832A (en) * 2016-07-12 2016-12-07 亿米特(上海)信息科技有限公司 Intelligent electricity anti-theft analyzes system and the method for analysis
CN108108375A (en) * 2016-11-25 2018-06-01 深圳市创梦天地科技有限公司 A kind of big data extracting method and system
CN111414407A (en) * 2020-02-13 2020-07-14 中国平安人寿保险股份有限公司 Data query method, device, computer equipment and storage medium for database
CN111310120A (en) * 2020-02-14 2020-06-19 广东电网有限责任公司 Abnormal electricity utilization user identification method, device, terminal and medium based on big data
AU2020101900A4 (en) * 2020-08-21 2020-11-05 Qinghu Rising Sunshine Data Technology (Beijing) Co., Ltd. A method, device and equipment for detecting abnormal electric meter
CN112541016A (en) * 2020-11-26 2021-03-23 南方电网数字电网研究院有限公司 Power consumption abnormality detection method, device, computer equipment and storage medium
CN112714368A (en) * 2020-12-07 2021-04-27 南方电网数字电网研究院有限公司 Method and device for prompting abnormal electricity consumption, computer equipment and storage medium
CN113284003A (en) * 2021-04-21 2021-08-20 南方电网数字电网研究院有限公司 Electric power transaction data processing method, device and equipment based on double-core intelligent electric meter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114707586A (en) * 2022-03-24 2022-07-05 广东电网有限责任公司 A data processing method, device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US8370359B2 (en) Method to perform mappings across multiple models or ontologies
CN111815421B (en) Tax policy processing method and device, terminal equipment and storage medium
WO2019062191A1 (en) Electronic device, method and system for extracting data in data table, and storage medium
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
CN113127478B (en) Analysis method and device for data endogenous blood edge relationship and computer equipment
CN113064897B (en) Method, device, equipment and storage medium for generating business index model
CN112184005B (en) Operation task classification method, device, equipment and storage medium
CN102291257B (en) Network-based terminal resource management method
CN110033242B (en) Working time determining method, device, equipment and medium
CN112667614A (en) A data processing method, device and computer equipment
CN112989151B (en) Data blood relationship display method and device, electronic equipment and storage medium
CN113792138A (en) Report generation method and device, electronic equipment and storage medium
CN114282618A (en) Method, device, equipment and medium for determining user information with abnormal electricity utilization
CN113515413B (en) Data management method and device, electronic equipment and storage medium
CN114676163A (en) A data query method, device, equipment, system and storage medium
CN114358636A (en) Index configuration method, data acquisition method, device, equipment and medium
US9141460B2 (en) Identify failed components during data collection
CN112000491B (en) Application program interface calling method, device, equipment and storage medium
CN114428705A (en) A method, device, device and storage medium for monitoring network data
CN116827817B (en) Data link state monitoring method, device, monitoring system and storage medium
CN118069645A (en) Method, apparatus, device, medium and program product for detecting service data change
CN111913861A (en) Performance test method, device, equipment and medium of Internet of things system
CN110427293A (en) Application processing method, device, equipment and medium
CN114328616A (en) Statistical method and device for power line loss detailed information combining RPA and AI
CN116151262A (en) Entity portrait construction method, device, equipment and storage 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