Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 is the implementation process schematic diagram for the electric power metering method that one embodiment of the invention provides, for ease of description, only
Show part related to the embodiment of the present invention.The executing subject of the embodiment of the present invention can be server.As shown in Figure 1,
This method may comprise steps of:
Step S101: the use for the intelligent power equipment that the corresponding terminal device of each user in predeterminable area is sent is received
Power information.
Wherein, server divides region according to certain rules in advance, that is, presets which user belongs to the same area.
For example, the user that same cell can be set belongs to the same area.User refers to power consumer, can distinguish difference with user number
User, each user has a corresponding terminal device, and terminal device can store information and processing sequentially in time
Information etc..
Each user can have multiple intelligent power equipment, and intelligent power equipment, which refers to, can automatically record itself electricity consumption
The electrical equipment of information.For example, intelligent power equipment may include detection module, detection module is used to detect intelligent power equipment
Start time, shut-in time and electricity consumption duration etc..The intelligent power equipment that each user has can be corresponding with the user
Terminal device be communicatively coupled, the terminal device can be sent in real time by the power information of record, which can
To store the power information sequentially in time, and by the power information broadcast each terminal device in notice predeterminable area and
After server, each terminal device and server receive the power information, the power information is stored sequentially in time.
Terminal device and server all possess timestamp, timestamp when storing information sequentially in time every time automatically
It can be detail time when storage information, when terminal device and server modify the information of itself storage, after saving modification
Information can also possess timestamp, i.e. modification time, the random modification information of user can be prevented in this way by being arranged.
In embodiments of the present invention, server receives the intelligence that the corresponding terminal device of each user in predeterminable area is sent
The power information of energy electrical equipment, and the power information is stored sequentially in time.Wherein, the corresponding terminal of each user is set
The power information for the intelligent power equipment that preparation is sent can be the power information of multiple intelligent power equipment.Intelligent power equipment
Power information may include starting the electricity consumption time and terminating the electricity consumption time, or, starting electricity consumption time and electricity consumption duration.
Step S102: determining the electricity consumption of each user within a preset time in predeterminable area according to power information, and
Electricity consumption is stored sequentially in time.
In embodiments of the present invention, the facility information after the audit of all intelligent power equipment is prestored in server is examined
Facility information after core may include the letters such as device identification, device model, device class, family number belonging to rated power and equipment
Breath.
Server can determine the corresponding intelligent power equipment of each user within a preset time according to the power information
Electricity consumption time span, which obtains the intelligent power equipment multiplied by the rated power of the intelligent power equipment and exists
The summation of electricity consumption in preset time, the electricity consumption of the corresponding intelligent power equipment of each user within a preset time is each
The electricity consumption of user within a preset time.Wherein, preset time can be set according to the actual situation, for example, can be set
For some moon.
Server stores each user sequentially in time and exists after determining the electricity consumption of each user within a preset time
Electricity consumption in preset time possesses timestamp, that is, the time stored when storing electricity consumption.
Step S103: electricity consumption is broadcasted into each terminal device in notice predeterminable area, electricity consumption is used to indicate default
Each terminal device in region stores electricity consumption sequentially in time.
In embodiments of the present invention, electricity consumption broadcast notice predeterminable area of the server by each user within a preset time
Interior each terminal device, each terminal device are pressed after receiving the electricity consumption of each user within a preset time
The electricity consumption of each user within a preset time is stored according to time sequencing.
The electricity consumption of each user within a preset time can also be sent respectively to each user corresponding end by server
End equipment, terminal device stores the electricity consumption after receiving electricity consumption sequentially in time, and the electricity consumption is broadcasted and is led to
Each terminal device in predeterminable area is known, so that each terminal device stores the electricity consumption sequentially in time.That is server
The electricity consumption of user A within a preset time is sent to the corresponding terminal device of user A, the corresponding terminal device of user A according to
Time sequencing stores the electricity consumption, and the electricity consumption is broadcasted each terminal device in notice predeterminable area, so that each end
End equipment stores the electricity consumption sequentially in time.
Seen from the above description, the intelligent power equipment that the embodiment of the present invention is sent automatically by receiving each terminal device
Power information, the electricity consumption of each user within a preset time is calculated by power information, and broadcast the institute in notification area
There is terminal device to save the electricity consumption, can be realized each terminal device and server all in accordance with time sequencing and store electricity consumption,
Even if user modifies the electricity consumption of its corresponding terminal device storage, server can also be by the information of oneself storage and other
The information of terminal device storage guarantees the accuracy of the electricity consumption of the user, may be implemented server and each terminal device it
Between supervise mutually, improve electricity consumption statistical accuracy, and the use of counting user can be realized without ammeter in the embodiment of the present invention
Electricity.
Fig. 2 be another embodiment of the present invention provides electric power metering method implementation process schematic diagram.As shown in Fig. 2,
On the basis of above-described embodiment, after step s 103, can with the following steps are included:
Step S201: the electricity consumption error message that target terminal equipment is sent is received, electricity consumption error message includes target
Each terminal device in electricity consumption and predeterminable area is to the judgement of target electricity consumption as a result, target terminal equipment is predeterminable area
Any one in interior terminal device.
In embodiments of the present invention, the terminal device for sending electricity consumption error message is known as target terminal equipment, target
Terminal device can be any one in the terminal device in predeterminable area;The electricity consumption mistake that target terminal equipment is sent
The electricity consumption for including in information is known as target electricity consumption.
Each user can check the use of the intelligent power equipment of each user in its affiliated area by terminal device
The electricity consumption of facility information and each user within a preset time after power information and audit, and can be according to each user
Intelligent power equipment power information and the facility information after audit judge that the electricity consumption of each user within a preset time is
It is no accurate.
When the corresponding user of target terminal equipment has found target electricity consumption mistake, target electricity consumption can be broadcasted and be notified
Each terminal device in predeterminable area;Each terminal device in predeterminable area after receiving target electricity consumption, according to
The power information of the corresponding intelligent power equipment of the target electricity consumption that each terminal device prestores and the facility information after audit are sentenced
Whether disconnected target electricity consumption is implicitly present in mistake, and will determine that result is sent to target terminal equipment;Target terminal equipment receives
After the judgement result sent to each terminal device, each terminal device in target electricity consumption and predeterminable area uses target
The judgement result (i.e. electricity consumption error message) of electricity is sent to server;Server receives the electricity consumption that target terminal equipment is sent
Measure error message.
Step S202: according to judgement as a result, judging whether that the terminal device confirmation target electricity consumption more than preset ratio has
Accidentally.
Server is after the electricity consumption error message for receiving the transmission of target terminal equipment, according to each of in predeterminable area
Terminal device is to the judgement of the target electricity consumption as a result, judging whether that the terminal device confirmation target for having more than preset ratio is used
Electricity is wrong.Preset ratio can be arranged according to the actual situation, such as can be set to 50%, 60% or 80% etc..It is more than
Preset ratio refers to that the quantity of the wrong terminal device of confirmation target electricity consumption accounts for the total quantity of the terminal device in predeterminable area
Ratio be more than preset ratio.
Step S203: if wrong more than the terminal device of preset ratio confirmation target electricity consumption, according to target electricity consumption
Whether corresponding power information confirmation target electricity consumption is wrong.
If wrong more than the terminal device of preset ratio confirmation target electricity consumption, according to the corresponding user of target electricity consumption
The terminal device power information of intelligent power equipment sent and the audit of the intelligent power equipment prestored after equipment letter
Whether breath confirmation target electricity consumption is wrong.
If the terminal device confirmation target electricity consumption for being less than preset ratio is wrong, and target electricity consumption broadcast notice is pre-
If each terminal device in region, so that whether each terminal device to reaffirm target electricity consumption wrong, if there are still ends
Whether end equipment confirms that target electricity consumption is wrong, then had according to the corresponding power information confirmation target electricity consumption of target electricity consumption
Accidentally.
Step S204: if wrong according to the corresponding power information confirmation target electricity consumption of target electricity consumption, target is modified
Electricity consumption obtains modified target electricity consumption, and stores modified target electricity consumption sequentially in time.
In embodiments of the present invention, if server confirmation target electricity consumption is wrong, target electricity consumption is modified, is modified
Target electricity consumption afterwards, and modified target electricity consumption is stored sequentially in time.
If server confirms that target electricity consumption is errorless, target electricity consumption is broadcasted into each terminal in notice predeterminable area
Equipment, so that each terminal device reaffirms whether target electricity consumption is wrong, if there are still terminal devices to confirm target electricity consumption
It measures wrong, then applies for that manpower intervention is confirmed.
Step S205: modified target electricity consumption is broadcasted into each terminal device in notice predeterminable area, after modification
Target electricity consumption be used to indicate each terminal device in predeterminable area and store modified target electricity consumption sequentially in time
Amount.
In embodiments of the present invention, modified target electricity consumption is broadcasted each end in notice predeterminable area by server
End equipment, each terminal device in predeterminable area are deposited sequentially in time after receiving modified target electricity consumption
Store up modified target electricity consumption.
Seen from the above description, the embodiment of the present invention can be by supervising mutually, to protect between server and terminal device
Demonstrate,prove the accuracy of electricity consumption.
As further embodiment of this invention, in the intelligence for receiving the corresponding terminal device transmission of each user in predeterminable area
After the power information of energy electrical equipment, further includes:
The supply load of each user in predeterminable area is determined according to power information, and storage power supply sequentially in time
Load;
Supply load is broadcasted into each terminal device in notice predeterminable area, supply load is used to indicate in predeterminable area
Each terminal device store supply load sequentially in time.
In embodiments of the present invention, server can determine the corresponding intelligent power of current each user according to power information
Equipment whether in electricity consumption, can by current each user it is corresponding just the rated power of the intelligent power equipment of electricity consumption respectively into
Row summation obtains the supply load of each user, and stores supply load sequentially in time.Power supply company can be according to power supply
Load is powered.
The supply load of each user can be broadcasted each terminal device in notice predeterminable area, preset areas by server
Each terminal device in domain stores sequentially in time after receiving the supply load of each user of server transmission
The supply load of each user.
Fig. 3 is the implementation process schematic diagram for the electric power metering method that further embodiment of this invention provides.As shown in figure 3,
On the basis of above-described embodiment, before step S101, can with the following steps are included:
Step S301: the facility information for the intelligent power equipment that receiving terminal apparatus is sent, and whether judge facility information
It is wrong.
In embodiments of the present invention, the facility information of corresponding intelligent power equipment is sent service by terminal device
Device;The facility information of the intelligent power equipment of each model of each type is prestored in server, it can be according to the intelligence prestored
The facility information of electrical equipment judges whether the facility information for the intelligent power equipment that terminal device is sent is wrong.Wherein, terminal
The facility information for the intelligent power equipment that equipment is sent may include: belonging to device model, device class, rated power and equipment
The information such as family number.
Step S302: if it is determined that facility information is errorless, then it is intelligent power equipment generating device mark, device identification is added
It is added in facility information, the facility information after being audited, and the facility information after storage audit sequentially in time.
Specifically, if server determines that the facility information for the intelligent power equipment that terminal device is sent is errorless, for the intelligence
Energy electrical equipment generating device mark, and device identification is added in the facility information of the intelligent power equipment, it is audited
Facility information afterwards, and the facility information after storage audit sequentially in time.Wherein, device identification can be since 1 according to
Secondary incremental natural number.
If server determines that the facility information for the intelligent power equipment that terminal device is sent is wrong, the equipment of mistake is believed
Breath sends back terminal device, so that the facility information of terminal device modification mistake, and clothes are sent by modified facility information
Business device, is audited again, until the facility information for the intelligent power equipment that confirmation terminal device is sent is errorless.
Step S303: by each terminal device in the facility information broadcast notice predeterminable area after audit, after audit
Facility information is used to indicate each terminal device in predeterminable area and stores the facility information after audit sequentially in time.
In embodiments of the present invention, the facility information broadcast after audit is notified each terminal in predeterminable area by server
Equipment, each terminal device in predeterminable area is after receiving the facility information after audit, storage audit sequentially in time
Facility information afterwards.
Server only can also send corresponding terminal device for the device identification of generation, and corresponding terminal device is connecing
After receiving device identification, device identification is added in the facility information of corresponding intelligent power equipment, setting after being audited
Standby information, and by each terminal device in the facility information broadcast notice predeterminable area after audit, so that in predeterminable area
Each terminal device stores the facility information after audit sequentially in time.
Seen from the above description, being stored with each user in each terminal device in server and predeterminable area has
Intelligent power equipment audit after facility information.
As further embodiment of this invention, facility information includes the rated power of intelligent power equipment;
And sequentially in time storage audit after facility information after, further includes:
Predeterminable area is determined according to the rated power of the corresponding intelligent power equipment of all terminal devices in predeterminable area
Total supply load, and store total supply load sequentially in time.
Total supply load is broadcasted into each terminal device in notice predeterminable area, total supply load is used to indicate in default
Each terminal device store total supply load sequentially in time.
In embodiments of the present invention, server sets the corresponding all intelligent powers of all terminal devices in predeterminable area
Standby rated power is summed, and obtains total supply load of predeterminable area, and store total supply load sequentially in time.Clothes
Total supply load is broadcasted each terminal device in notice predeterminable area by business device, and each terminal device in predeterminable area is connecing
After receiving total supply load, total supply load is stored sequentially in time.Power supply company can be supplied according to total supply load
Electricity.
Seen from the above description, server and each terminal device are stored with the power supply of total supply load and each user
Load, in the case where intelligent power equipment is constant, total supply load is also constant, if the supply load of some user is more than
The rated power summation of its corresponding intelligent power equipment, then other users may just will appear the not enough situation of electricity, because
This, each terminal device can be according to the facility information after the audit of the corresponding intelligent power equipment of each terminal device of storage
Real-time oversight is carried out to the supply load of each user, prevents above situation, simultaneously, it can be ensured that each reporting of user
The accuracy of the information of intelligent power equipment.
Fig. 4 be one embodiment of the invention provide electric power metering system schematic block diagram, for ease of description, only show with
The relevant part of the embodiment of the present invention.
In embodiments of the present invention, electric power metering system 4 includes:
Power information receiving module 41, the intelligence sent for receiving the corresponding terminal device of each user in predeterminable area
The power information of energy electrical equipment;
Electricity consumption determining module 42, for determining each user in predeterminable area within a preset time according to power information
Electricity consumption, and store electricity consumption sequentially in time;
Electricity consumption broadcast module 43, for electricity consumption to be broadcasted to each terminal device in notice predeterminable area, electricity consumption
The each terminal device being used to indicate in predeterminable area stores electricity consumption sequentially in time.
Optionally, electric power metering system 4 further include:
Error message receiving module, for receiving the electricity consumption error message of target terminal equipment transmission, electricity consumption mistake
Information include each terminal device in target electricity consumption and predeterminable area to the judgement of target electricity consumption as a result, target terminal is set
Any one in the standby terminal device in predeterminable area;
First judgment module, for according to determine as a result, judge whether more than preset ratio terminal device confirm target
Electricity consumption is wrong;
Confirmation module is used if the terminal device confirmation target electricity consumption for being more than preset ratio is wrong according to target
Whether the corresponding power information confirmation target electricity consumption of electricity is wrong;
Modified module, if being modified for wrong according to the corresponding power information confirmation target electricity consumption of target electricity consumption
Target electricity consumption obtains modified target electricity consumption, and stores modified target electricity consumption sequentially in time;
Broadcast module is modified, is set for modified target electricity consumption to be broadcasted each terminal in notice predeterminable area
It is standby, modified target electricity consumption be used to indicate each terminal device in predeterminable area store sequentially in time it is modified
Target electricity consumption.
Optionally, electric power metering system 4 further include:
Supply load determining module, for determining the supply load of each user in predeterminable area according to power information,
And supply load is stored sequentially in time;
Supply load broadcast module, for supply load to be broadcasted to each terminal device in notice predeterminable area, power supply
Load is used to indicate each terminal device in predeterminable area and stores supply load sequentially in time.
Optionally, electric power metering system 4 further include:
Facility information receiving module for the facility information for the intelligent power equipment that receiving terminal apparatus is sent, and judges
Whether facility information is wrong;
Device identification generation module, is used for if it is determined that facility information is errorless, then is intelligent power equipment generating device mark,
Device identification is added in facility information, the facility information after being audited, and setting after storage audit sequentially in time
Standby information;
Facility information broadcast module, for setting each terminal in the facility information broadcast notice predeterminable area after audit
Standby, the facility information after audit is used to indicate each terminal device in predeterminable area and stores setting after auditing sequentially in time
Standby information.
Optionally, facility information includes the rated power of intelligent power equipment;
Electric power metering system 4 further include:
Total supply load determining module, for according to the corresponding intelligent power equipment of all terminal devices in predeterminable area
Rated power determine total supply load of predeterminable area, and store total supply load sequentially in time;
Total supply load broadcast module, for total supply load to be broadcasted to each terminal device in notice predeterminable area,
Total supply load is used to indicate each terminal device in presetting and stores total supply load sequentially in time.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of the electric power metering system is divided into different functional unit or module, with
Complete all or part of function described above.Each functional unit in embodiment, module can integrate single in a processing
In member, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units, on
It states integrated unit both and can take the form of hardware realization, can also realize in the form of software functional units.In addition, each
Functional unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.On
The specific work process for stating unit in device, module, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein
It states.
Fig. 5 is the schematic block diagram for the server that one embodiment of the invention provides.As shown in figure 5, the server 5 of the embodiment
Include: one or more processors 50, memory 51 and is stored in the memory 51 and can be on the processor 50
The computer program 52 of operation.The processor 50 realizes above-mentioned each electric power metering method when executing the computer program 52
Step in embodiment, such as step S101 to S103 shown in FIG. 1.Alternatively, the processor 50 executes the computer journey
The function of each module/unit in above-mentioned electric power metering system embodiment, such as the function of module 41 to 43 shown in Fig. 4 are realized when sequence 52
Energy.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the server 5 is described.For example, the computer program 52 can be divided
At power information receiving module, electricity consumption determining module and electricity consumption broadcast module, the concrete function of modules is as follows:
Power information receiving module, the intelligence sent for receiving the corresponding terminal device of each user in predeterminable area
The power information of electrical equipment;
Electricity consumption determining module, for determining each user in predeterminable area within a preset time according to power information
Electricity consumption, and electricity consumption is stored sequentially in time;
Electricity consumption broadcast module, for electricity consumption to be broadcasted to each terminal device in notice predeterminable area, electricity consumption is used
Electricity consumption is stored sequentially in time in each terminal device in instruction predeterminable area.
Other modules or unit can refer to the description in embodiment shown in Fig. 4, and details are not described herein.
The server can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Institute
It states server 5 and includes but are not limited to processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 is only to service
One example of device, does not constitute the restriction to server 5, may include than illustrating more or fewer components, or combination
Certain components or different components, such as the server 5 can also be set including input equipment, output equipment, network insertion
Standby, bus etc..
The processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the server, such as the hard disk or memory of server.Institute
The plug-in type hard disk being equipped on the External memory equipment that memory 51 is also possible to the server, such as the server is stated,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, the memory 51 can also both include the internal storage unit of server or set including external storage
It is standby.The memory 51 is for other programs and data needed for storing the computer program 52 and the server.Institute
Stating memory 51 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed electric power metering system and method, Ke Yitong
Other modes are crossed to realize.For example, electric power metering system embodiment described above is only schematical, for example, described
The division of module or unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as more
A unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another
Point, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device or
The INDIRECT COUPLING or communication connection of unit can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, 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 described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.