[go: up one dir, main page]

CN109191701B - Electric power metering method, system and server - Google Patents

Electric power metering method, system and server Download PDF

Info

Publication number
CN109191701B
CN109191701B CN201811057381.1A CN201811057381A CN109191701B CN 109191701 B CN109191701 B CN 109191701B CN 201811057381 A CN201811057381 A CN 201811057381A CN 109191701 B CN109191701 B CN 109191701B
Authority
CN
China
Prior art keywords
preset area
information
terminal device
power consumption
equipment
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
CN201811057381.1A
Other languages
Chinese (zh)
Other versions
CN109191701A (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 Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
State Grid Hebei Energy Technology Service Co Ltd
Marketing Service Center of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
State Grid Hebei Energy Technology Service 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 Corp of China SGCC, Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd, State Grid Hebei Energy Technology Service Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201811057381.1A priority Critical patent/CN109191701B/en
Publication of CN109191701A publication Critical patent/CN109191701A/en
Application granted granted Critical
Publication of CN109191701B publication Critical patent/CN109191701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/12Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity in which metering is on a time basis
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Human Resources & Organizations (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is suitable for the technical field of metering, and discloses a power metering method, a system and a server, wherein the power metering method comprises the following steps: receiving power utilization information of intelligent power utilization equipment sent by terminal equipment corresponding to each user in a preset area; determining the electricity consumption of each user in a preset area within preset time according to the electricity consumption information, and storing the electricity consumption according to the time sequence; and broadcasting the power consumption to each terminal device in the preset area, wherein the power consumption is used for indicating each terminal device in the preset area to store the power consumption according to the time sequence. The invention can solve the problem of error electric power metering caused by manual modification of the records of the electric meter in the prior art, can realize that each terminal device and the server store the electric power consumption according to the time sequence, and even if a user modifies the electric power consumption stored by the corresponding terminal device, the server can also ensure the accuracy of the electric power consumption of the user through the stored information of the server and the information stored by other terminal devices.

Description

电力计量方法、系统及服务器Electric power metering method, system and server

技术领域technical field

本发明属于计量技术领域,尤其涉及一种电力计量方法、系统及服务器。The invention belongs to the technical field of measurement, and in particular relates to a power measurement method, system and server.

背景技术Background technique

随着社会及生活用电负荷的不断增加,电力客户对供电可靠性的要求也在不断提高。With the continuous increase of social and domestic electricity load, the requirements of power customers for the reliability of power supply are also increasing.

目前,电力计量主要通过电表记录每个电力用户的电力使用情况,通过人工抄表或者电表自动上报来获取每个电力用户的用电情况。但是,由于无法防止电力用户人为地修改电表记录,容易造成电表记录不准确,导致电力计量有误。At present, electricity metering mainly records the electricity consumption of each electricity user through the electricity meter, and obtains the electricity consumption of each electricity user through manual meter reading or automatic report of the electricity meter. However, since it is impossible to prevent the power user from manually modifying the records of the power meter, it is easy to cause inaccurate records of the power meter, resulting in incorrect power measurement.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种电力计量方法、系统及服务器,以解决现有技术中由于人为修改电表记录而导致的电力计量有误的问题。In view of this, embodiments of the present invention provide a power metering method, system, and server to solve the problem of incorrect power metering in the prior art due to manual modification of the records of the power meter.

本发明实施例的第一方面提供了一种电力计量方法,包括:A first aspect of the embodiments of the present invention provides a power metering method, including:

接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息;Receive the power consumption information of the smart electrical equipment sent by the terminal equipment corresponding to each user in the preset area;

根据用电信息确定预设区域内的每个用户在预设时间内的用电量,并按照时间顺序存储用电量;Determine the electricity consumption of each user in the preset area within the preset time according to the electricity consumption information, and store the electricity consumption in chronological order;

将用电量广播通知预设区域内的每个终端设备,用电量用于指示预设区域内的每个终端设备按照时间顺序存储用电量。The power consumption is broadcast to each terminal device in the preset area, and the power consumption is used to instruct each terminal device in the preset area to store the power consumption in chronological order.

本发明实施例的第二方面提供了一种电力计量系统,包括:A second aspect of the embodiments of the present invention provides a power metering system, including:

用电信息接收模块,用于接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息;A power consumption information receiving module, configured to receive the power consumption information of the intelligent power consumption equipment sent by the terminal equipment corresponding to each user in the preset area;

用电量确定模块,用于根据用电信息确定预设区域内的每个用户在预设时间内的用电量,并按照时间顺序存储用电量;The electricity consumption determination module is used to determine the electricity consumption of each user in the preset area within the preset time according to the electricity consumption information, and store the electricity consumption in chronological order;

用电量广播模块,用于将用电量广播通知预设区域内的每个终端设备,用电量用于指示预设区域内的每个终端设备按照时间顺序存储用电量。The power consumption broadcast module is used to broadcast the power consumption to each terminal device in the preset area, and the power consumption is used to instruct each terminal device in the preset area to store the power consumption in chronological order.

本发明实施例的第三方面提供了一种服务器,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如第一方面所述的电力计量方法的步骤。A third aspect of the embodiments of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the power as described in the first aspect when the processor executes the computer program The steps of the measurement method.

本发明实施例的第四方面提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被一个或多个处理器执行时实现如第一方面所述的电力计量方法的步骤。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, implements the power metering method according to the first aspect A step of.

本发明实施例与现有技术相比存在的有益效果是:本发明实施例首先接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息,然后根据用电信息确定预设区域内的每个用户在预设时间内的用电量,并按照时间顺序存储用电量,最后将用电量广播通知预设区域内的每个终端设备,用电量用于指示预设区域内的每个终端设备按照时间顺序存储用电量,本发明实施例通过接收各个终端设备自动发送的智能用电设备的用电信息,通过用电信息计算每个用户在预设时间内的用电量,并广播通知区域内的所有终端设备保存该用电量,能够实现每个终端设备及服务器都按照时间顺序存储用电量,即使用户修改其对应的终端设备存储的用电量,服务器也可以通过自己存储的信息和其它终端设备存储的信息来保证该用户的用电量的准确性。Compared with the prior art, the embodiment of the present invention has the beneficial effect that: the embodiment of the present invention firstly receives the power consumption information of the smart electrical equipment sent by the terminal equipment corresponding to each user in the preset area, and then according to the power consumption information Determine the power consumption of each user in the preset area within the preset time, store the power consumption in chronological order, and finally broadcast the power consumption to each terminal device in the preset area, and the power consumption is used for Instructs each terminal device in the preset area to store the power consumption in chronological order. In this embodiment of the present invention, by receiving the power consumption information of the smart power consumption device automatically sent by each terminal device, the power consumption information is used to calculate the preset power consumption of each user. The power consumption within a certain period of time is broadcast and notified to all terminal devices in the area to save the power consumption, so that each terminal device and server can store the power consumption in chronological order, even if the user modifies the stored power consumption of the corresponding terminal device. The server can also ensure the accuracy of the user's power consumption through the information stored by itself and the information stored by other terminal devices.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明一实施例提供的电力计量方法的实现流程示意图;FIG. 1 is a schematic diagram of an implementation flow of a power metering method provided by an embodiment of the present invention;

图2是本发明另一实施例提供的电力计量方法的实现流程示意图;FIG. 2 is a schematic flowchart of an implementation of a power metering method provided by another embodiment of the present invention;

图3是本发明又一实施例提供的电力计量方法的实现流程示意图;FIG. 3 is a schematic diagram of an implementation flowchart of a power metering method provided by another embodiment of the present invention;

图4是本发明一实施例提供的电力计量系统的示意框图;4 is a schematic block diagram of a power metering system provided by an embodiment of the present invention;

图5是本发明一实施例提供的服务器的示意框图。FIG. 5 is a schematic block diagram of a server provided by an embodiment of the present invention.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, the following specific embodiments are used for description.

图1是本发明一实施例提供的电力计量方法的实现流程示意图,为了便于说明,仅示出了与本发明实施例相关的部分。本发明实施例的执行主体可以是服务器。如图1所示,该方法可以包括以下步骤:FIG. 1 is a schematic flowchart of an implementation of a power metering method provided by an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown. The execution body of the embodiment of the present invention may be a server. As shown in Figure 1, the method may include the following steps:

步骤S101:接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息。Step S101: Receive power consumption information of an intelligent electrical device sent by a terminal device corresponding to each user in a preset area.

其中,服务器预先按照一定的规则划分区域,即预先设置哪些用户属于同一区域。例如,可以设置同一小区的用户属于同一区域。用户是指电力用户,可以用户号来区分不同的用户,每个用户具有一个对应的终端设备,终端设备可以按照时间顺序存储信息和处理信息等。The server divides the area according to certain rules in advance, that is, pre-sets which users belong to the same area. For example, users in the same cell can be set to belong to the same area. Users refer to power users. Different users can be distinguished by user numbers. Each user has a corresponding terminal device. The terminal device can store information and process information in chronological order.

每个用户可以具有多个智能用电设备,智能用电设备是指可以自动记录自身用电信息的用电设备。例如,智能用电设备可以包括检测模块,检测模块用来检测智能用电设备启动时间、关闭时间和用电时长等等。每个用户具有的智能用电设备都可以与该用户对应的终端设备进行通信连接,可以将记录的用电信息实时发送到该终端设备,该终端设备可以按照时间顺序存储该用电信息,并将该用电信息广播通知预设区域内的每个终端设备和服务器,每个终端设备和服务器接收到该用电信息后,按照时间顺序存储该用电信息。Each user may have multiple smart electrical appliances, and an intelligent electrical appliance refers to an electrical appliance that can automatically record its own electrical consumption information. For example, the smart electrical device may include a detection module, and the detection module is used to detect the start-up time, the shutdown time, the power consumption duration, and the like of the smart electrical device. The smart electrical equipment owned by each user can communicate with the terminal equipment corresponding to the user, and can send the recorded electrical consumption information to the terminal equipment in real time. The terminal equipment can store the electrical consumption information in chronological order, and The power consumption information is broadcast to each terminal device and server in the preset area, and each terminal device and server stores the power consumption information in chronological order after receiving the power consumption information.

终端设备和服务器在每次按照时间顺序存储信息时,都自动赋有时间戳,时间戳可以是存储信息时的详细时间,当终端设备和服务器修改自身存储的信息时,保存修改后的信息也会赋有时间戳,即修改时间,这样设置可以防止用户随意修改信息。Each time the terminal device and the server store information in chronological order, they are automatically assigned a timestamp. The timestamp can be the detailed time when the information is stored. When the terminal device and the server modify the information stored by themselves, the modified information will also be saved. Endowed with a timestamp, that is, the modification time, this setting can prevent users from modifying the information at will.

在本发明实施例中,服务器接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息,并按照时间顺序存储所述用电信息。其中,每个用户对应的终端设备发送的智能用电设备的用电信息可以是多个智能用电设备的用电信息。智能用电设备的用电信息可以包括开始用电时间和结束用电时间,或,开始用电时间和用电时长。In the embodiment of the present invention, the server receives the power consumption information of the smart electrical equipment sent by the terminal equipment corresponding to each user in the preset area, and stores the power consumption information in chronological order. The power consumption information of the smart electrical device sent by the terminal device corresponding to each user may be the power consumption information of a plurality of smart electrical devices. The electricity consumption information of the smart electrical device may include the start time and end time of electricity consumption, or the start time and duration of electricity consumption.

步骤S102:根据用电信息确定预设区域内的每个用户在预设时间内的用电量,并按照时间顺序存储用电量。Step S102: Determine the power consumption of each user in the preset area within the preset time according to the power consumption information, and store the power consumption in chronological order.

在本发明实施例中,服务器中预存有所有智能用电设备的审核后的设备信息,审核后的设备信息可以包括设备标识、设备型号、设备类别、额定功率和设备所属的户号等信息。In the embodiment of the present invention, the server pre-stores the audited device information of all smart electrical devices, and the audited device information may include information such as device identification, device model, device category, rated power, and the account number to which the device belongs.

服务器可以根据所述用电信息确定每个用户对应的智能用电设备在预设时间内的用电时间长度,该用电时间长度乘以该智能用电设备的额定功率得到该智能用电设备在预设时间内的用电量,每个用户对应的智能用电设备在预设时间内的用电量的总和为每个用户在预设时间内的用电量。其中,预设时间可以根据实际情况进行设定,例如,可以设置为某个月。The server may determine, according to the power consumption information, the power consumption time length of each user's corresponding smart electrical equipment within a preset time, and multiply the power consumption time length by the rated power of the smart electrical equipment to obtain the smart electrical equipment The power consumption within the preset time, the sum of the power consumption of the smart electrical equipment corresponding to each user within the preset time is the power consumption of each user within the preset time. The preset time can be set according to the actual situation, for example, can be set as a certain month.

服务器在确定每个用户在预设时间内的用电量后,按照时间顺序存储每个用户在预设时间内的用电量,存储用电量时赋有时间戳,即存储的时间。After determining the power consumption of each user within the preset time, the server stores the power consumption of each user within the preset time in chronological order, and stores the power consumption with a time stamp, that is, the storage time.

步骤S103:将用电量广播通知预设区域内的每个终端设备,用电量用于指示预设区域内的每个终端设备按照时间顺序存储用电量。Step S103 : broadcasting the power consumption to each terminal device in the preset area, and the power consumption is used to instruct each terminal device in the preset area to store the power consumption in chronological order.

在本发明实施例中,服务器将每个用户在预设时间内的用电量广播通知预设区域内的每个终端设备,每个终端设备在接收到所述每个用户在预设时间内的用电量之后,按照时间顺序存储所述每个用户在预设时间内的用电量。In this embodiment of the present invention, the server broadcasts a notification to each terminal device in a preset area of the electricity consumption of each user within a preset time, and each terminal device receives the power consumption of each user within a preset time. After the amount of electricity consumed, the electricity consumption of each user within the preset time is stored in chronological order.

服务器也可以将每个用户在预设时间内的用电量分别发送给每个用户对应的终端设备,终端设备在接收到用电量之后,按照时间顺序存储该用电量,并将该用电量广播通知预设区域内的每个终端设备,以使每个终端设备按照时间顺序存储该用电量。即服务器将用户A在预设时间内的用电量发送给用户A对应的终端设备,用户A对应的终端设备按照时间顺序存储该用电量,并将该用电量广播通知预设区域内的每个终端设备,以使每个终端设备按照时间顺序存储该用电量。The server can also send the power consumption of each user within the preset time to the corresponding terminal device of each user. After receiving the power consumption, the terminal device stores the power consumption in chronological order, and stores the power consumption in the chronological order. The power broadcast notifies each terminal device in the preset area, so that each terminal device stores the power consumption in chronological order. That is, the server sends the power consumption of user A within the preset time to the terminal device corresponding to user A, the terminal device corresponding to user A stores the power consumption in chronological order, and broadcasts the power consumption to the preset area. each terminal device, so that each terminal device stores the power consumption in chronological order.

由上述描述可知,本发明实施例通过接收各个终端设备自动发送的智能用电设备的用电信息,通过用电信息计算每个用户在预设时间内的用电量,并广播通知区域内的所有终端设备保存该用电量,能够实现每个终端设备及服务器都按照时间顺序存储用电量,即使用户修改其对应的终端设备存储的用电量,服务器也可以通过自己存储的信息和其它终端设备存储的信息来保证该用户的用电量的准确性,可以实现服务器与各个终端设备之间互相监督,提高用电量统计的准确性,且本发明实施例无需电表即可实现统计用户的用电量。It can be seen from the above description that the embodiment of the present invention receives the power consumption information of the smart power consumption equipment automatically sent by each terminal device, calculates the power consumption of each user within a preset time through the power consumption information, and broadcasts the information in the notification area. All terminal devices save the power consumption, so that each terminal device and server can store the power consumption in chronological order. Even if the user modifies the power consumption stored by the corresponding terminal device, the server can also use the information stored by itself and other The information stored in the terminal device can ensure the accuracy of the user's electricity consumption, which can realize mutual supervision between the server and each terminal device, and improve the accuracy of electricity consumption statistics. of electricity consumption.

图2是本发明另一实施例提供的电力计量方法的实现流程示意图。如图2所示,在上述实施例的基础上,在步骤S103之后,还可以包括以下步骤:FIG. 2 is a schematic flowchart of an implementation of a power metering method provided by another embodiment of the present invention. As shown in FIG. 2, on the basis of the above-mentioned embodiment, after step S103, the following steps may also be included:

步骤S201:接收目标终端设备发送的用电量错误信息,用电量错误信息包括目标用电量和预设区域内的每个终端设备对目标用电量的判定结果,目标终端设备为预设区域内的终端设备中的任意一个。Step S201: Receive the power consumption error information sent by the target terminal device, the power consumption error information includes the target power consumption and the determination result of the target power consumption by each terminal device in the preset area, and the target terminal device is a preset Any one of the terminal devices in the area.

在本发明实施例中,将发送用电量错误信息的终端设备称为目标终端设备,目标终端设备可以是预设区域内的终端设备中的任意一个;将目标终端设备发送的用电量错误信息中包括的用电量称为目标用电量。In this embodiment of the present invention, a terminal device that sends power consumption error information is called a target terminal device, and the target terminal device can be any terminal device in a preset area; the power consumption error sent by the target terminal device is called a target terminal device. The electricity consumption included in the information is called the target electricity consumption.

每个用户可以通过终端设备查看其所属区域内的每个用户的智能用电设备的用电信息和审核后的设备信息,以及每个用户在预设时间内的用电量,并可以根据每个用户的智能用电设备的用电信息和审核后的设备信息判断每个用户在预设时间内的用电量是否准确。Each user can view the power consumption information and audited device information of each user's smart electrical equipment in their area through the terminal device, as well as the power consumption of each user within a preset time, and can be based on each user's power consumption information. The power consumption information of each user's smart electrical equipment and the reviewed device information determine whether the power consumption of each user within a preset time is accurate.

当目标终端设备对应的用户发现目标用电量错误时,可以将目标用电量广播通知预设区域内的每个终端设备;预设区域内的每个终端设备在接收到目标用电量之后,根据每个终端设备预存的目标用电量对应的智能用电设备的用电信息和审核后的设备信息判断目标用电量是否确实存在错误,并将判定结果发送到目标终端设备;目标终端设备接收到各个终端设备发送的判定结果后,将目标用电量和预设区域内的每个终端设备对目标用电量的判定结果(即用电量错误信息)发送到服务器;服务器接收目标终端设备发送的用电量错误信息。When the user corresponding to the target terminal device finds that the target power consumption is wrong, it can broadcast the target power consumption to each terminal device in the preset area; after each terminal device in the preset area receives the target power consumption , according to the power consumption information of the intelligent power consumption device corresponding to the target power consumption pre-stored by each terminal device and the reviewed device information to determine whether there is indeed an error in the target power consumption, and send the judgment result to the target terminal device; the target terminal After the device receives the judgment result sent by each terminal device, it sends the target power consumption and the judgment result of each terminal device in the preset area on the target power consumption (ie, power consumption error information) to the server; the server receives the target power consumption. The power consumption error message sent by the terminal device.

步骤S202:根据判定结果,判断是否超过预设比例的终端设备确认目标用电量有误。Step S202 : According to the determination result, it is determined whether the terminal device exceeding the preset ratio confirms that the target power consumption is wrong.

服务器在接收到目标终端设备发送的用电量错误信息后,根据预设区域内的每个终端设备对所述目标用电量的判定结果,判断是否有超过预设比例的终端设备确认目标用电量有误。预设比例可以根据实际情况设置,例如可以设置为50%、60%或80%等等。超过预设比例是指确认目标用电量有误的终端设备的数量占预设区域内的终端设备的总数量的比例超过预设比例。After receiving the power consumption error information sent by the target terminal device, the server determines whether there are more than the preset proportion of terminal devices confirming the target power consumption according to the judgment result of each terminal device in the preset area on the target power consumption. The power is wrong. The preset ratio can be set according to the actual situation, for example, it can be set to 50%, 60% or 80% and so on. Exceeding the preset ratio means that the ratio of the number of terminal devices with incorrect target power consumption to the total number of terminal devices in the preset area exceeds the preset ratio.

步骤S203:若超过预设比例的终端设备确认目标用电量有误,则根据目标用电量对应的用电信息确认目标用电量是否有误。Step S203 : if the terminal device exceeding the preset ratio confirms that the target power consumption is incorrect, then confirms whether the target power consumption is incorrect according to the power consumption information corresponding to the target power consumption.

若超过预设比例的终端设备确认目标用电量有误,则根据目标用电量对应的用户的终端设备发送的智能用电设备的用电信息和预存的该智能用电设备的审核后的设备信息确认目标用电量是否有误。If the terminal device exceeding the preset ratio confirms that the target power consumption is incorrect, the power consumption information of the smart power consumption device sent by the user's terminal device corresponding to the target power consumption and the pre-stored review of the smart power consumption device The device information confirms whether the target power consumption is correct.

若未超过预设比例的终端设备确认目标用电量有误,则将目标用电量广播通知预设区域内的每个终端设备,以使每个终端设备重新确认目标用电量是否有误,若仍存在终端设备确认目标用电量有误,则根据目标用电量对应的用电信息确认目标用电量是否有误。If the terminal devices that do not exceed the preset ratio confirm that the target power consumption is wrong, broadcast the target power consumption to each terminal device in the preset area, so that each terminal device can reconfirm whether the target power consumption is wrong. , if there is still a terminal device confirming that the target power consumption is incorrect, then confirm whether the target power consumption is incorrect according to the power consumption information corresponding to the target power consumption.

步骤S204:若根据目标用电量对应的用电信息确认目标用电量有误,则修改目标用电量,得到修改后的目标用电量,并按照时间顺序存储修改后的目标用电量。Step S204: If it is confirmed that the target power consumption is incorrect according to the power consumption information corresponding to the target power consumption, modify the target power consumption, obtain the modified target power consumption, and store the modified target power consumption in chronological order .

在本发明实施例中,若服务器确认目标用电量有误,则修改目标用电量,得到修改后的目标用电量,并按照时间顺序存储修改后的目标用电量。In the embodiment of the present invention, if the server confirms that the target power consumption is incorrect, the server modifies the target power consumption, obtains the modified target power consumption, and stores the modified target power consumption in chronological order.

若服务器确认目标用电量无误,则将目标用电量广播通知预设区域内的每个终端设备,以使每个终端设备重新确认目标用电量是否有误,若仍存在终端设备确认目标用电量有误,则申请人工介入进行确认。If the server confirms that the target power consumption is correct, it will broadcast the target power consumption to each terminal device in the preset area, so that each terminal device can re-confirm whether the target power consumption is correct. If the power consumption is wrong, apply for manual intervention for confirmation.

步骤S205:将修改后的目标用电量广播通知预设区域内的每个终端设备,修改后的目标用电量用于指示预设区域内的每个终端设备按照时间顺序存储修改后的目标用电量。Step S205 : broadcast the modified target power consumption to each terminal device in the preset area, and the modified target power consumption is used to instruct each terminal device in the preset area to store the modified target in chronological order. energy used.

在本发明实施例中,服务器将修改后的目标用电量广播通知预设区域内的每个终端设备,预设区域内的每个终端设备在接收到修改后的目标用电量之后,按照时间顺序存储修改后的目标用电量。In the embodiment of the present invention, the server broadcasts the modified target power consumption to each terminal device in the preset area, and each terminal device in the preset area receives the modified target power consumption according to the The modified target power usage is stored in chronological order.

由上述描述可知,本发明实施例可以通过服务器与终端设备之间互相监督,来保证用电量的准确性。It can be seen from the above description that the embodiment of the present invention can ensure the accuracy of power consumption through mutual supervision between the server and the terminal device.

作为本发明又一实施例,在接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息之后,还包括:As another embodiment of the present invention, after receiving the power consumption information of the smart electrical equipment sent by the terminal equipment corresponding to each user in the preset area, the method further includes:

根据用电信息确定预设区域内的每个用户的供电负荷,并按照时间顺序存储供电负荷;Determine the power supply load of each user in the preset area according to the power consumption information, and store the power supply load in chronological order;

将供电负荷广播通知预设区域内的每个终端设备,供电负荷用于指示预设区域内的每个终端设备按照时间顺序存储供电负荷。The power supply load is broadcast to each terminal device in the preset area, and the power supply load is used to instruct each terminal device in the preset area to store the power supply load in chronological order.

在本发明实施例中,服务器可以根据用电信息确定当前每个用户对应的智能用电设备是否在用电,可以将当前每个用户对应的正在用电的智能用电设备的额定功率分别进行求和得到每个用户的供电负荷,并按照时间顺序存储供电负荷。供电公司可以根据供电负荷进行供电。In this embodiment of the present invention, the server may determine whether the current smart electrical device corresponding to each user is using electricity according to the power consumption information, and may calculate the rated power of the current smart electrical device corresponding to each user that is currently using electricity. The power supply load of each user is obtained by summing, and the power supply load is stored in chronological order. The power supply company can supply power according to the power supply load.

服务器可以将每个用户的供电负荷广播通知预设区域内的每个终端设备,预设区域内的每个终端设备在接收到服务器发送的每个用户的供电负荷之后,按照时间顺序存储每个用户的供电负荷。The server can broadcast the power supply load of each user to each terminal device in the preset area. After receiving the power supply load of each user sent by the server, each terminal device in the preset area stores each user's power supply load in chronological order. User's power supply load.

图3是本发明又一实施例提供的电力计量方法的实现流程示意图。如图3所示,在上述实施例的基础上,在步骤S101之前,还可以包括以下步骤:FIG. 3 is a schematic flowchart of an implementation of a power metering method provided by another embodiment of the present invention. As shown in FIG. 3, on the basis of the above-mentioned embodiment, before step S101, the following steps may also be included:

步骤S301:接收终端设备发送的智能用电设备的设备信息,并判断设备信息是否有误。Step S301: Receive the device information of the smart electrical device sent by the terminal device, and determine whether the device information is incorrect.

在本发明实施例中,终端设备将与其对应的智能用电设备的设备信息发送到服务器;服务器中预存有各个类型各个型号的智能用电设备的设备信息,可以根据预存的智能用电设备的设备信息判断终端设备发送的智能用电设备的设备信息是否有误。其中,终端设备发送的智能用电设备的设备信息可以包括:设备型号、设备类别、额定功率和设备所属的户号等信息。In the embodiment of the present invention, the terminal device sends the device information of the corresponding smart electrical device to the server; the server pre-stores the device information of various types and models of smart electrical devices, and can be based on the pre-stored smart electrical devices. The device information determines whether the device information of the smart electrical device sent by the terminal device is incorrect. The device information of the smart electrical device sent by the terminal device may include information such as device model, device type, rated power, and the account number to which the device belongs.

步骤S302:若判定设备信息无误,则为智能用电设备生成设备标识,将设备标识添加到设备信息中,得到审核后的设备信息,并按照时间顺序存储审核后的设备信息。Step S302: If it is determined that the device information is correct, generate a device identifier for the smart electrical device, add the device identifier to the device information, obtain the reviewed device information, and store the reviewed device information in chronological order.

具体地,若服务器判定终端设备发送的智能用电设备的设备信息无误,则为该智能用电设备生成设备标识,并将设备标识添加到该智能用电设备的设备信息中,得到审核后的设备信息,并按照时间顺序存储审核后的设备信息。其中,设备标识可以是从1开始依次递增的自然数。Specifically, if the server determines that the device information of the smart electrical device sent by the terminal device is correct, it generates a device identifier for the smart electrical device, and adds the device identifier to the device information of the smart electrical device. device information, and store the audited device information in chronological order. Wherein, the device identifier may be a natural number that increases sequentially from 1.

若服务器判定终端设备发送的智能用电设备的设备信息有误,则将错误的设备信息发送回终端设备,以使终端设备修改错误的设备信息,并将修改后的设备信息发送到服务器,进行重新审核,直到确认终端设备发送的智能用电设备的设备信息无误。If the server determines that the device information of the smart electrical device sent by the terminal device is wrong, it will send the wrong device information back to the terminal device, so that the terminal device can modify the wrong device information, and send the modified device information to the server for processing. Re-examine until it is confirmed that the device information of the smart electrical device sent by the terminal device is correct.

步骤S303:将审核后的设备信息广播通知预设区域内的每个终端设备,审核后的设备信息用于指示预设区域内的每个终端设备按照时间顺序存储审核后的设备信息。Step S303: Broadcasting the audited device information to each terminal device in the preset area, and the audited device information is used to instruct each terminal device in the preset area to store the audited device information in chronological order.

在本发明实施例中,服务器将审核后的设备信息广播通知预设区域内的每个终端设备,预设区域内的每个终端设备在接收到审核后的设备信息后,按照时间顺序存储审核后的设备信息。In this embodiment of the present invention, the server broadcasts the audited device information to each terminal device in the preset area, and each terminal device in the preset area stores the audited device information in chronological order after receiving the audited device information. After the device information.

服务器也可以只将生成的设备标识发送到对应的终端设备,对应的终端设备在接收到设备标识后,将设备标识添加到对应的智能用电设备的设备信息中,得到审核后的设备信息,并将审核后的设备信息广播通知预设区域内的每个终端设备,以使预设区域内的每个终端设备按照时间顺序存储审核后的设备信息。The server may also only send the generated device identification to the corresponding terminal device. After receiving the device identification, the corresponding terminal device adds the device identification to the device information of the corresponding smart electrical device to obtain the reviewed device information. And broadcast the audited device information to each terminal device in the preset area, so that each terminal device in the preset area stores the audited device information in chronological order.

由上述描述可知,服务器和预设区域内的每个终端设备中都存储有每个用户具有的智能用电设备的审核后的设备信息。As can be seen from the above description, the server and each terminal device in the preset area store the reviewed device information of the smart electrical device owned by each user.

作为本发明又一实施例,设备信息包括智能用电设备的额定功率;As another embodiment of the present invention, the device information includes the rated power of the smart electrical device;

在并按照时间顺序存储审核后的设备信息之后,还包括:After and chronologically storing the audited device information, it also includes:

根据预设区域内的所有终端设备对应的智能用电设备的额定功率确定预设区域的总供电负荷,并按照时间顺序存储总供电负荷。The total power supply load of the preset area is determined according to the rated power of the intelligent electrical equipment corresponding to all terminal devices in the preset area, and the total power supply load is stored in chronological order.

将总供电负荷广播通知预设区域内的每个终端设备,总供电负荷用于指示预设内的每个终端设备按照时间顺序存储总供电负荷。The total power supply load is broadcast to each terminal device in the preset area, and the total power supply load is used to instruct each terminal device in the preset to store the total power supply load in chronological order.

在本发明实施例中,服务器对预设区域内的所有终端设备对应的所有智能用电设备的额定功率进行求和,得到预设区域的总供电负荷,并按照时间顺序存储总供电负荷。服务器将总供电负荷广播通知预设区域内的每个终端设备,预设区域内的每个终端设备在接收到总供电负荷后,按照时间顺序存储总供电负荷。供电公司可以根据总供电负荷进行供电。In the embodiment of the present invention, the server sums the rated powers of all intelligent electrical devices corresponding to all terminal devices in the preset area, obtains the total power supply load of the preset area, and stores the total power supply load in chronological order. The server broadcasts the total power supply load to each terminal device in the preset area, and each terminal device in the preset area stores the total power supply load in chronological order after receiving the total power supply load. The power supply company can supply power according to the total power supply load.

由上述描述可知,服务器和每个终端设备均存储有总供电负荷和每个用户的供电负荷,在智能用电设备不变的情况下,总供电负荷也是不变的,若某个用户的供电负荷超过其对应的智能用电设备的额定功率总和,那么其他用户可能就会出现电不够用的情况,因此,各个终端设备可以根据存储的每个终端设备对应的智能用电设备的审核后的设备信息对各个用户的供电负荷进行实时监督,防止出现上述情况,同时,可以确保每个用户上报的智能用电设备的信息的准确性。It can be seen from the above description that the server and each terminal device store the total power supply load and the power supply load of each user. Under the condition that the intelligent electrical equipment remains unchanged, the total power supply load is also unchanged. If the load exceeds the sum of the rated power of the corresponding smart electrical equipment, other users may have insufficient power. Therefore, each terminal device can The equipment information monitors the power supply load of each user in real time to prevent the above situation, and at the same time, it can ensure the accuracy of the information of the smart electrical equipment reported by each user.

图4是本发明一实施例提供的电力计量系统的示意框图,为了便于说明,仅示出与本发明实施例相关的部分。FIG. 4 is a schematic block diagram of a power metering system provided by an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.

在本发明实施例中,电力计量系统4包括:In this embodiment of the present invention, the power metering system 4 includes:

用电信息接收模块41,用于接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息;The power consumption information receiving module 41 is used for receiving the power consumption information of the intelligent power consumption equipment sent by the terminal equipment corresponding to each user in the preset area;

用电量确定模块42,用于根据用电信息确定预设区域内的每个用户在预设时间内的用电量,并按照时间顺序存储用电量;The electricity consumption determination module 42 is used to determine the electricity consumption of each user in the preset area within the preset time according to the electricity consumption information, and store the electricity consumption in chronological order;

用电量广播模块43,用于将用电量广播通知预设区域内的每个终端设备,用电量用于指示预设区域内的每个终端设备按照时间顺序存储用电量。The power consumption broadcasting module 43 is used to broadcast the power consumption to each terminal device in the preset area, and the power consumption is used to instruct each terminal device in the preset area to store the power consumption in chronological order.

可选地,电力计量系统4还包括:Optionally, the power metering system 4 further includes:

错误信息接收模块,用于接收目标终端设备发送的用电量错误信息,用电量错误信息包括目标用电量和预设区域内的每个终端设备对目标用电量的判定结果,目标终端设备为预设区域内的终端设备中的任意一个;The error information receiving module is used to receive the power consumption error information sent by the target terminal device. The power consumption error information includes the target power consumption and the judgment result of each terminal device in the preset area on the target power consumption. The target terminal The device is any one of the terminal devices in the preset area;

第一判断模块,用于根据判定结果,判断是否超过预设比例的终端设备确认目标用电量有误;a first judging module, configured to judge, according to the judging result, whether the terminal equipment exceeding the preset ratio confirms that the target electricity consumption is wrong;

确认模块,用于若超过预设比例的终端设备确认目标用电量有误,则根据目标用电量对应的用电信息确认目标用电量是否有误;The confirmation module is used to confirm whether the target power consumption is incorrect according to the power consumption information corresponding to the target power consumption if the terminal equipment exceeding the preset ratio confirms that the target power consumption is incorrect;

修改模块,用于若根据目标用电量对应的用电信息确认目标用电量有误,则修改目标用电量,得到修改后的目标用电量,并按照时间顺序存储修改后的目标用电量;The modification module is used to modify the target power consumption if it is confirmed that the target power consumption is incorrect according to the power consumption information corresponding to the target power consumption, obtain the modified target power consumption, and store the modified target power consumption in chronological order. power;

修改广播模块,用于将修改后的目标用电量广播通知预设区域内的每个终端设备,修改后的目标用电量用于指示预设区域内的每个终端设备按照时间顺序存储修改后的目标用电量。The modified broadcast module is used to broadcast the modified target power consumption to each terminal device in the preset area, and the modified target power consumption is used to instruct each terminal device in the preset area to store the modification in chronological order. target power consumption.

可选地,电力计量系统4还包括:Optionally, the power metering system 4 further includes:

供电负荷确定模块,用于根据用电信息确定预设区域内的每个用户的供电负荷,并按照时间顺序存储供电负荷;The power supply load determination module is used to determine the power supply load of each user in the preset area according to the power consumption information, and store the power supply load in chronological order;

供电负荷广播模块,用于将供电负荷广播通知预设区域内的每个终端设备,供电负荷用于指示预设区域内的每个终端设备按照时间顺序存储供电负荷。The power supply load broadcasting module is used to broadcast the power supply load to each terminal device in the preset area, and the power supply load is used to instruct each terminal device in the preset area to store the power supply load in chronological order.

可选地,电力计量系统4还包括:Optionally, the power metering system 4 further includes:

设备信息接收模块,用于接收终端设备发送的智能用电设备的设备信息,并判断设备信息是否有误;The device information receiving module is used to receive the device information of the intelligent electrical equipment sent by the terminal device, and determine whether the device information is wrong;

设备标识生成模块,用于若判定设备信息无误,则为智能用电设备生成设备标识,将设备标识添加到设备信息中,得到审核后的设备信息,并按照时间顺序存储审核后的设备信息;The device identification generation module is used to generate a device identification for the smart electrical equipment if it is determined that the device information is correct, add the device identification to the device information, obtain the audited device information, and store the audited device information in chronological order;

设备信息广播模块,用于将审核后的设备信息广播通知预设区域内的每个终端设备,审核后的设备信息用于指示预设区域内的每个终端设备按照时间顺序存储审核后的设备信息。The equipment information broadcasting module is used to broadcast the audited equipment information to each terminal device in the preset area, and the audited equipment information is used to instruct each terminal device in the preset area to store the audited equipment in chronological order. information.

可选地,设备信息包括智能用电设备的额定功率;Optionally, the device information includes the rated power of the smart electrical device;

电力计量系统4还包括:The power metering system 4 also includes:

总供电负荷确定模块,用于根据预设区域内的所有终端设备对应的智能用电设备的额定功率确定预设区域的总供电负荷,并按照时间顺序存储总供电负荷;The total power supply load determination module is used to determine the total power supply load of the preset area according to the rated power of the intelligent electrical equipment corresponding to all terminal devices in the preset area, and store the total power supply load in chronological order;

总供电负荷广播模块,用于将总供电负荷广播通知预设区域内的每个终端设备,总供电负荷用于指示预设内的每个终端设备按照时间顺序存储总供电负荷。The total power supply load broadcasting module is used to broadcast the total power supply load to each terminal device in the preset area, and the total power supply load is used to instruct each terminal device in the preset to store the total power supply load in chronological order.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述电力计量系统的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述装置中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the power metering system into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above apparatus, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.

图5是本发明一实施例提供的服务器的示意框图。如图5所示,该实施例的服务器5包括:一个或多个处理器50、存储器51以及存储在所述存储器51中并可在所述处理器50上运行的计算机程序52。所述处理器50执行所述计算机程序52时实现上述各个电力计量方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,所述处理器50执行所述计算机程序52时实现上述电力计量系统实施例中各模块/单元的功能,例如图4所示模块41至43的功能。FIG. 5 is a schematic block diagram of a server provided by an embodiment of the present invention. As shown in FIG. 5 , the server 5 of this embodiment includes: one or more processors 50 , a memory 51 , and a computer program 52 stored in the memory 51 and executable on the processor 50 . When the processor 50 executes the computer program 52 , the steps in each of the above-mentioned embodiments of the power metering method are implemented, for example, steps S101 to S103 shown in FIG. 1 . Alternatively, when the processor 50 executes the computer program 52, the functions of the modules/units in the above-mentioned embodiments of the power metering system, for example, the functions of the modules 41 to 43 shown in FIG. 4 are implemented.

示例性地,所述计算机程序52可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器51中,并由所述处理器50执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序52在所述服务器5中的执行过程。例如,所述计算机程序52可以被分割成用电信息接收模块、用电量确定模块和用电量广播模块,各个模块的具体功能如下:Exemplarily, the computer program 52 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 51 and executed by the processor 50 to complete the this application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 52 in the server 5 . For example, the computer program 52 can be divided into a power consumption information receiving module, a power consumption determining module and a power consumption broadcasting module, and the specific functions of each module are as follows:

用电信息接收模块,用于接收预设区域内的每个用户对应的终端设备发送的智能用电设备的用电信息;A power consumption information receiving module, configured to receive the power consumption information of the intelligent power consumption equipment sent by the terminal equipment corresponding to each user in the preset area;

用电量确定模块,用于根据用电信息确定预设区域内的每个用户在预设时间内的用电量,并按照时间顺序存储用电量;The electricity consumption determination module is used to determine the electricity consumption of each user in the preset area within the preset time according to the electricity consumption information, and store the electricity consumption in chronological order;

用电量广播模块,用于将用电量广播通知预设区域内的每个终端设备,用电量用于指示预设区域内的每个终端设备按照时间顺序存储用电量。The power consumption broadcast module is used to broadcast the power consumption to each terminal device in the preset area, and the power consumption is used to instruct each terminal device in the preset area to store the power consumption in chronological order.

其它模块或者单元可参照图4所示的实施例中的描述,在此不再赘述。For other modules or units, reference may be made to the description in the embodiment shown in FIG. 4 , and details are not described herein again.

所述服务器可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述服务器5包括但不仅限于处理器50、存储器51。本领域技术人员可以理解,图5仅仅是服务器的一个示例,并不构成对服务器5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述服务器5还可以包括输入设备、输出设备、网络接入设备、总线等。The server may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The server 5 includes but is not limited to a processor 50 and a memory 51 . Those skilled in the art can understand that FIG. 5 is only an example of a server, and does not constitute a limitation on the server 5. It may include more or less components than the one shown in the figure, or combine some components, or different components, such as The server 5 may also include input devices, output devices, network access devices, buses, and the like.

所述处理器50可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 50 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器51可以是所述服务器的内部存储单元,例如服务器的硬盘或内存。所述存储器51也可以是所述服务器的外部存储设备,例如所述服务器上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(FlashCard)等。进一步地,所述存储器51还可以既包括服务器的内部存储单元也包括外部存储设备。所述存储器51用于存储所述计算机程序52以及所述服务器所需的其他程序和数据。所述存储器51还可以用于暂时地存储已经输出或者将要输出的数据。The memory 51 may be an internal storage unit of the server, such as a hard disk or a memory of the server. The memory 51 may also be an external storage device of the server, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card equipped on the server. (FlashCard) etc. Further, the memory 51 may also include both an internal storage unit of the server and an external storage device. The memory 51 is used to store the computer program 52 and other programs and data required by the server. The memory 51 can also be used to temporarily store data that has been output or will be output.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

在本申请所提供的实施例中,应该理解到,所揭露的电力计量系统和方法,可以通过其它的方式实现。例如,以上所描述的电力计量系统实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed power metering system and method may be implemented in other ways. For example, the embodiments of the power metering system described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or Components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Excluded are electrical carrier signals and telecommunication signals.

以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it is still possible to implement the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.

Claims (8)

1. A method of power metering, comprising:
receiving power utilization information of intelligent power utilization equipment sent by terminal equipment corresponding to each user in a preset area; the preset area comprises all power users in the preset area;
determining the electricity consumption of each user in the preset area within preset time according to the electricity consumption information, and storing the electricity consumption according to the time sequence;
broadcasting the electricity consumption to each terminal device in the preset area, wherein the electricity consumption is used for indicating each terminal device in the preset area to store the electricity consumption according to a time sequence;
before the receiving the power consumption information of the intelligent power consumption device sent by the terminal device corresponding to each user in the preset area, the method further includes:
receiving equipment information of intelligent electric equipment sent by terminal equipment, and judging whether the equipment information is wrong or not;
if the equipment information is judged to be correct, generating an equipment identifier for the intelligent electric equipment, adding the equipment identifier into the equipment information to obtain the equipment information after the examination, and storing the equipment information after the examination according to a time sequence;
broadcasting and informing each terminal device in the preset area of the checked device information, wherein the checked device information is used for indicating each terminal device in the preset area to store the checked device information according to a time sequence;
the equipment information comprises rated power of the intelligent electric equipment;
after the storing the checked device information according to the time sequence, the method further comprises:
determining the total power supply load of the preset area according to the rated power of the intelligent electric equipment corresponding to all the terminal equipment in the preset area, and storing the total power supply load according to the time sequence;
and broadcasting the total power supply load to each terminal device in the preset area, wherein the total power supply load is used for indicating each terminal device in the preset area to store the total power supply load according to a time sequence.
2. The power metering method according to claim 1, further comprising, after the broadcasting the used power amount to each terminal device within the preset area:
receiving power consumption error information sent by target terminal equipment, wherein the power consumption error information comprises target power consumption and a judgment result of each terminal equipment in the preset area on the target power consumption, and the target terminal equipment is any one of the terminal equipment in the preset area;
judging whether the terminal equipment exceeding a preset proportion determines that the target power consumption is wrong or not according to the judgment result;
if the terminal equipment exceeding the preset proportion confirms that the target electricity consumption is wrong, confirming whether the target electricity consumption is wrong or not according to the electricity consumption information corresponding to the target electricity consumption;
if the target electricity consumption is determined to be wrong according to the electricity consumption information corresponding to the target electricity consumption, modifying the target electricity consumption to obtain modified target electricity consumption, and storing the modified target electricity consumption according to a time sequence;
and broadcasting and informing each terminal device in the preset area of the modified target electricity consumption, wherein the modified target electricity consumption is used for indicating each terminal device in the preset area to store the modified target electricity consumption according to a time sequence.
3. The power metering method according to claim 1, further comprising, after receiving the power consumption information of the intelligent power consumption device transmitted by the terminal device corresponding to each user in the preset area:
determining the power supply load of each user in the preset area according to the power utilization information, and storing the power supply loads according to a time sequence;
and broadcasting the power supply load to each terminal device in the preset area, wherein the power supply load is used for indicating each terminal device in the preset area to store the power supply load according to a time sequence.
4. An electricity metering system, comprising:
the power utilization information receiving module is used for receiving the power utilization information of the intelligent power utilization equipment, which is sent by the terminal equipment corresponding to each user in the preset area; the preset area comprises all power users in the preset area;
the power consumption determining module is used for determining the power consumption of each user in the preset area within the preset time according to the power consumption information and storing the power consumption according to the time sequence;
the power consumption broadcasting module is used for broadcasting the power consumption to each terminal device in the preset area, and the power consumption is used for indicating each terminal device in the preset area to store the power consumption according to a time sequence;
the device information receiving module is used for receiving the device information of the intelligent electric equipment sent by the terminal equipment and judging whether the device information is wrong;
the equipment identifier generation module is used for generating equipment identifiers for the intelligent electric equipment if the equipment information is judged to be correct, adding the equipment identifiers into the equipment information to obtain the checked equipment information, and storing the checked equipment information according to a time sequence;
the equipment information broadcasting module is used for broadcasting and informing each terminal equipment in the preset area of the checked equipment information, and the checked equipment information is used for indicating each terminal equipment in the preset area to store the checked equipment information according to a time sequence; the equipment information comprises rated power of the intelligent electric equipment;
the total power supply load determining module is used for determining the total power supply load of the preset area according to the rated power of the intelligent electric equipment corresponding to all the terminal equipment in the preset area and storing the total power supply load according to the time sequence;
and the total power supply load broadcasting module is used for broadcasting and informing each terminal device in the preset area of the total power supply load, and the total power supply load is used for indicating each terminal device in the preset area to store the total power supply load according to a time sequence.
5. The power metering system of claim 4, further comprising:
the system comprises an error information receiving module, a power consumption error information sending module and a power consumption error information sending module, wherein the power consumption error information comprises target power consumption and a judgment result of each terminal device in a preset area on the target power consumption, and the target terminal device is any one of the terminal devices in the preset area;
the first judgment module is used for judging whether the terminal equipment exceeding a preset proportion determines that the target power consumption is wrong or not according to the judgment result;
the confirming module is used for confirming whether the target electricity consumption is wrong or not according to the electricity utilization information corresponding to the target electricity consumption if the terminal equipment exceeding the preset proportion confirms that the target electricity consumption is wrong;
the modification module is used for modifying the target electricity consumption to obtain the modified target electricity consumption if the target electricity consumption is determined to be wrong according to the electricity consumption information corresponding to the target electricity consumption, and storing the modified target electricity consumption according to the time sequence;
and the modified broadcast module is used for broadcasting and informing each terminal device in the preset area of the modified target electricity consumption, and the modified target electricity consumption is used for indicating each terminal device in the preset area to store the modified target electricity consumption according to the time sequence.
6. The power metering system of claim 4, further comprising:
the power supply load determining module is used for determining the power supply load of each user in the preset area according to the power utilization information and storing the power supply load according to a time sequence;
and the power supply load broadcasting module is used for broadcasting and informing each terminal device in the preset area of the power supply load, and the power supply load is used for indicating each terminal device in the preset area to store the power supply load according to a time sequence.
7. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the power metering method according to any one of claims 1 to 3 are implemented when the computer program is executed by the processor.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by one or more processors, implements the steps of the power metering method according to any one of claims 1 to 3.
CN201811057381.1A 2018-09-11 2018-09-11 Electric power metering method, system and server Active CN109191701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811057381.1A CN109191701B (en) 2018-09-11 2018-09-11 Electric power metering method, system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811057381.1A CN109191701B (en) 2018-09-11 2018-09-11 Electric power metering method, system and server

Publications (2)

Publication Number Publication Date
CN109191701A CN109191701A (en) 2019-01-11
CN109191701B true CN109191701B (en) 2020-12-08

Family

ID=64910141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811057381.1A Active CN109191701B (en) 2018-09-11 2018-09-11 Electric power metering method, system and server

Country Status (1)

Country Link
CN (1) CN109191701B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115021395B (en) * 2022-04-07 2024-07-19 南方电网数字电网研究院有限公司 Method and device for processing electricity consumption, intelligent ammeter and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2727847Y (en) * 2004-06-09 2005-09-21 李世学 Intelligent power supplying and electricity stolen proofing network management system
JP2006060355A (en) * 2004-08-18 2006-03-02 Matsushita Electric Ind Co Ltd Device program update system and method
CN201910962U (en) * 2011-01-07 2011-07-27 蒋正坤 Lighting control device for auxiliary device of high-speed railway
CN103954816A (en) * 2014-04-30 2014-07-30 国网上海市电力公司 Inelegant remote anti-electricity-stealing inspection method
CN203871698U (en) * 2014-06-16 2014-10-08 许昌学院 Electric energy control device
CN204177865U (en) * 2014-11-25 2015-02-25 国家电网公司 A kind of electricity-measuring meter with earth leakage detection functions
CN104868326A (en) * 2015-05-28 2015-08-26 深圳华淩科技有限公司 Smart socket system for monitoring and controlling load electric appliances and control method thereof
CN107577152A (en) * 2017-08-30 2018-01-12 苏州麦喆思科电子有限公司 A kind of smart home power consumption control system based on civil power
CN107919706A (en) * 2017-11-27 2018-04-17 江阴长仪集团有限公司 The wireless interconnected charging pile and cell phone application charge control method of a kind of intelligent control

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2727847Y (en) * 2004-06-09 2005-09-21 李世学 Intelligent power supplying and electricity stolen proofing network management system
JP2006060355A (en) * 2004-08-18 2006-03-02 Matsushita Electric Ind Co Ltd Device program update system and method
CN201910962U (en) * 2011-01-07 2011-07-27 蒋正坤 Lighting control device for auxiliary device of high-speed railway
CN103954816A (en) * 2014-04-30 2014-07-30 国网上海市电力公司 Inelegant remote anti-electricity-stealing inspection method
CN203871698U (en) * 2014-06-16 2014-10-08 许昌学院 Electric energy control device
CN204177865U (en) * 2014-11-25 2015-02-25 国家电网公司 A kind of electricity-measuring meter with earth leakage detection functions
CN104868326A (en) * 2015-05-28 2015-08-26 深圳华淩科技有限公司 Smart socket system for monitoring and controlling load electric appliances and control method thereof
CN107577152A (en) * 2017-08-30 2018-01-12 苏州麦喆思科电子有限公司 A kind of smart home power consumption control system based on civil power
CN107919706A (en) * 2017-11-27 2018-04-17 江阴长仪集团有限公司 The wireless interconnected charging pile and cell phone application charge control method of a kind of intelligent control

Also Published As

Publication number Publication date
CN109191701A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN108197156A (en) The abnormal electricity data restorative procedure and terminal device of power information acquisition system
CN108181546B (en) Distribution network fault locating method, locating device and terminal equipment
CN109377389A (en) A kind of payment based reminding method, server and computer readable storage medium
CN108469725A (en) Clock calibration method and terminal device
CN108629660A (en) A kind of shared charger baby based on mobile terminal electricity leases configuration method, device and its system
CN107944731A (en) The method for building up and device of typical project cost template
CN109733233B (en) Charging pile power supply method, device and system, charging pile and storage medium
CN112100081B (en) Upgrade test method and device based on double-core intelligent electric meter and computer equipment
CN109191701B (en) Electric power metering method, system and server
CN115905927A (en) Method, device, electronic device, and storage medium for identifying users with abnormal electricity consumption
CN112541841A (en) Method and device for simulating past and future data and terminal equipment
CN107291514A (en) Method and device for unloading application program and terminal equipment
CN110610758A (en) Method, device and equipment for dynamically allocating medical cost of department
CN108011941B (en) Content push method, device, server and storage medium
CN113793090B (en) Distribution method, distribution device, terminal and storage medium for electric power metering appliance
CN117251319A (en) Power failure analysis method and device, electronic equipment and readable storage medium
CN113112158B (en) Device usage data processing method and device, storage medium and electronic device
CN108649654A (en) Charging method and device and terminal equipment
JP7230216B2 (en) How to determine the shared service index based on the communication certificate sharing service
CN109271188A (en) A kind of CPLD upgrade method and relevant apparatus
CN116245640A (en) Stock deviation value determining method, device, equipment and storage medium
CN114924545A (en) Test method, device, test equipment and medium for primary frequency modulation device
CN112232853B (en) Conversion rate calculation method and device, storage medium, and electronic device
CN109116775B (en) Energy consumption management method and device for electrical equipment, storage medium and electrical equipment
CN115225982A (en) Data transmission method and device of distributed energy transaction system

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
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210927

Address after: 050021 No. 238 South Sports street, Hebei, Shijiazhuang

Patentee after: STATE GRID HEBEI ELECTRIC POWER Research Institute

Patentee after: Marketing service center of State Grid Hebei Electric Power Co.,Ltd.

Patentee after: STATE GRID CORPORATION OF CHINA

Patentee after: STATE GRID HEBEI ENERGY TECHNOLOGY SERVICE Co.,Ltd.

Address before: 050011 no.238, TIYU South Street, Yuhua District, Shijiazhuang City, Hebei Province

Patentee before: STATE GRID HEBEI ELECTRIC POWER Research Institute

Patentee before: STATE GRID CORPORATION OF CHINA

Patentee before: STATE GRID HEBEI ENERGY TECHNOLOGY SERVICE Co.,Ltd.