CN110177131A - A kind of electricity consumption statistical query method based on Internet of Things - Google Patents

A kind of electricity consumption statistical query method based on Internet of Things Download PDF

Info

Publication number
CN110177131A
CN110177131A CN201910346127.1A CN201910346127A CN110177131A CN 110177131 A CN110177131 A CN 110177131A CN 201910346127 A CN201910346127 A CN 201910346127A CN 110177131 A CN110177131 A CN 110177131A
Authority
CN
China
Prior art keywords
electricity consumption
information
time
household electrical
electrical appliance
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.)
Granted
Application number
CN201910346127.1A
Other languages
Chinese (zh)
Other versions
CN110177131B (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.)
Terminus Beijing Technology Co Ltd
Original Assignee
Terminus Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Terminus Beijing Technology Co Ltd filed Critical Terminus Beijing Technology Co Ltd
Priority to CN201910346127.1A priority Critical patent/CN110177131B/en
Publication of CN110177131A publication Critical patent/CN110177131A/en
Application granted granted Critical
Publication of CN110177131B publication Critical patent/CN110177131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

This application discloses a kind of electricity consumption statistical query method based on Internet of Things.The described method includes: household electrical appliance terminal when receiving enabled instruction and out code, sends corresponding starting information and closing information to intelligent electric meter respectively;Intelligent electric meter starts information and closing information based on the received, records the starting time and shut-in time of corresponding household electrical appliance terminal;When reaching preset time point, the electricity consumption of corresponding each household electrical appliance terminal is counted according to the time of record and is sent to corresponding node server;Node server is when the default common recognition mechanism of basis know together to the electricity consumption received and be verified, electricity consumption is saved to information bank platform, and when receiving the electricity consumption inquiry request of client transmission, corresponding electricity consumption is searched in information bank platform and returns to client;Client receiving node server send electricity consumption and display.In the application, effective statistics and the inquiry with electrographic recording and electricity consumption are realized.

Description

A kind of electricity consumption statistical query method based on Internet of Things
Technical field
This application involves internet of things field more particularly to a kind of electricity consumption statistical query methods based on Internet of Things.
Background technique
It is various that there is Internet of Things Network Communication with the continuous development of scientific and technological level and the continuous promotion of people's quality of life The internet of things home appliance equipment of module it is more and more extensive come into each family, such as Internet of Things air-conditioning, Internet of Things air cleaning Device, internet of things refrigerator etc..It is mentioned to household appliance, electricity consumption is also the thing paid close attention to by user.Currently, user is in When the inquiry of front yard electricity consumption, inquiry is typically only capable in total electricity consumption of a period of time (for example, one month), and when user is to this It when total electricity consumption has doubt, but has no data available, this not only allows Utilities Electric Co. difficult, but also user is allowed to nourish complaint;Cause And a kind of effective electricity consumption statistical query method is all necessary either for Utilities Electric Co. or user.
Summary of the invention
To solve the deficiencies in the prior art, the application proposes a kind of electricity consumption statistical query method based on Internet of Things, dress It sets and system
In a first aspect, the application proposes a kind of electricity consumption statistical query method, applied to Internet of Things communication module Household electrical appliance terminal, comprising:
Configuration network;
When receiving enabled instruction, starting information is sent to intelligent electric meter, for the intelligence electricity by the network The table record starting time;
When receiving out code, closing information is sent to intelligent electric meter, for the intelligence electricity by the network Table records the shut-in time.
Second aspect, the application proposes a kind of electricity consumption statistical query method, applied to Internet of Things communication module Intelligent electric meter, comprising:
Configuration network;
The starting information and closing information that each household electrical appliance terminal is sent are received by the network;
According to the starting information and closing information, the starting time and shut-in time of corresponding household electrical appliance terminal are recorded;
When reaching preset time point, corresponding each household electrical appliance terminal is counted according to the starting time and shut-in time Electricity consumption;
The electricity consumption of statistics is sent to corresponding node server, so that the node server is by the electricity consumption It saves to information bank platform.
Optionally, the starting information and closing information include the terminal iidentification of household electrical appliance terminal;
It is corresponding, it is described according to the starting information and closing information, record starting time and the pass of corresponding household electrical appliance terminal Close the time, comprising:
When receive starting information when, obtain the corresponding time and as starting the time, by the starting time with it is described Start the corresponding preservation of terminal iidentification in information;
When receiving closing information, the corresponding time is obtained and as the shut-in time, according in the closing information Terminal iidentification is searched the corresponding starting time, and by shut-in time preservation corresponding with the starting time found, as right That answers household electrical appliance terminal uses electrographic recording.
Optionally, after the Configuration network, further includes: configure the end message of each household electrical appliance terminal, the end message Including terminal iidentification and corresponding rated power;
It is corresponding, the electricity consumption that corresponding household electrical appliance terminal is counted according to the starting time and shut-in time, comprising:
The each of statistics preservation uses electrographic recording, obtains the corresponding one or more electrographic recording of each household electrical appliance terminal;
According to one or more of starting times and shut-in time in electrographic recording, corresponding household electrical appliance terminal is counted Work total duration;
According to one or more of terminal iidentifications in electrographic recording, corresponding rated power is searched;
According to the work total duration and the rated disspation found, the electricity consumption of corresponding household electrical appliance terminal is calculated.
It is optionally, described that the electricity consumption of statistics is sent to corresponding node server, comprising:
Electricity consumption data packet is generated with electrographic recording and the electricity consumption according to described;
The electricity consumption data packet and the device identification of itself are sent to corresponding node server.
The third aspect, the application propose a kind of electricity consumption statistical query method, are applied to node server, comprising:
Receive the electricity consumption that intelligent electric meter is sent;
Common recognition verifying is carried out to the electricity consumption according to default common recognition mechanism, and when being verified, by the electricity consumption It saves to information bank platform;
When receiving the electricity consumption inquiry request of client transmission, corresponding electricity consumption is searched in described information storehouse platform It measures and returns to the client.
Optionally, the electricity consumption for receiving intelligent electric meter and sending, specifically: receive the electricity consumption number that intelligent electric meter is sent According to packet and device identification, the data packet includes using electrographic recording and electricity consumption.
It is optionally, described to save the electricity consumption to information bank platform, specifically: by the electricity consumption data packet and set Standby mark is saved to information bank platform;
It is described to search corresponding electricity consumption in described information storehouse platform and return to the client, comprising: according to institute It states the device identification contained in electricity consumption inquiry request and/or user identifier and searches corresponding data in described information storehouse platform Packet, and the client will be returned to electrographic recording and electricity consumption in the data packet.
Fourth aspect, the application propose a kind of electricity consumption statistical query method, are applied to client, comprising:
Receive electricity consumption query information;
Electricity consumption inquiry request is generated according to the electricity consumption query information, sends the electricity consumption inquiry request to corresponding section Point server;
Receive the electricity consumption that the node server returns and display.
Optionally, described to receive the electricity consumption and display that the node server returns, comprising: to receive the node clothes What business device returned uses electrographic recording and electricity consumption, shows electrographic recording and the electricity consumption.
5th aspect, the application propose a kind of electricity consumption statistic device, comprising:
First configuration module is used for Configuration network;
First receiving module, for receiving instruction;
First Internet of Things communication module, for passing through the net when first receiving module receives enabled instruction Network sends starting information to intelligent electric meter, so that the intelligent electric meter records the starting time;It is also used to receive mould when described first When block receives out code, closing information is sent to intelligent electric meter by the network, is closed so that the intelligent electric meter records Close the time.
6th aspect, the application propose a kind of electricity consumption statistic device, comprising:
Second configuration module is used for Configuration network;
Second Internet of Things communication module, for receiving the starting information and pass that each household electrical appliance terminal is sent by the network Close information;
Logging modle, for according to the starting information and closing information, record starting time of corresponding household electrical appliance terminal with Shut-in time;
Statistical module, for counting corresponding according to the starting time and shut-in time when reaching preset time point The electricity consumption of each household electrical appliance terminal;
First sending module, for the electricity consumption of the statistical module counts to be sent to corresponding node server, with The electricity consumption is saved to information bank platform for the node server.
Optionally, the starting information and closing information include the terminal iidentification of household electrical appliance terminal, and the logging modle is specific For:
When the second Internet of Things communication module receive starting information when, obtain the corresponding time and as starting when Between, by starting time preservation corresponding with the terminal iidentification in the starting information;
When the second Internet of Things communication module receives closing information, obtain the corresponding time and as close when Between, searched corresponding starting time according to the terminal iidentification in the closing information, and by the shut-in time with find Start time corresponding preservation, uses electrographic recording as corresponding household electrical appliance terminal.
Optionally, the configuration module is also used to configure the end message of each household electrical appliance terminal, institute after the network is configured Stating end message includes terminal iidentification and corresponding rated power;
Corresponding, the statistical module is specifically used for:
It counts described each of logging modle preservation and uses electrographic recording, obtain the corresponding one or more electricity consumptions of each household electrical appliance terminal Record;
According to one or more of starting times and shut-in time in electrographic recording, corresponding household electrical appliance terminal is counted Work total duration;
According to one or more of terminal iidentifications in electrographic recording, corresponding rated power is searched;
According to the work total duration and the rated disspation found, the electricity consumption of corresponding household electrical appliance terminal is calculated.
Optionally, first sending module is specifically used for:
Electricity consumption data packet is generated with electrographic recording and the electricity consumption according to described;
The device identification of the electricity consumption data packet and device is sent to corresponding node server.
7th aspect, the application propose a kind of electricity consumption statistical query device, comprising:
Second receiving module, for receiving the electricity consumption of intelligent electric meter transmission;
Authentication module, for carrying out common recognition verifying to the electricity consumption according to default common recognition mechanism;
Preserving module, for when authentication module is verified, the electricity consumption to be saved to information bank platform;
Third receiving module, for receiving the electricity consumption inquiry request of client transmission;
Searching module, when for receiving the electricity consumption inquiry request of client transmission when the third receiving module, in institute It states and searches corresponding electricity consumption in information bank platform;
Second sending module, the electricity consumption for finding searching module return to the client.
Optionally, second receiving module, the electricity consumption data packet and equipment mark sent specifically for receiving intelligent electric meter Know, the data packet includes using electrographic recording and electricity consumption.
Optionally, the preserving module, specifically for saving the data packet to information bank platform;
The searching module, specifically for according to the device identification contained in the electricity consumption inquiry request and/or user's mark Corresponding data packet is searched in knowledge in described information storehouse platform;
Second sending module, specifically in the data packet that finds the searching module with electrographic recording and Electricity consumption returns to the client.
Eighth aspect, the application propose a kind of electricity consumption statistical query device, comprising:
4th receiving module, for receiving electricity consumption query information;
Generation module, for generating electricity consumption inquiry request according to the electricity consumption query information;
Third sending module, for sending the electricity consumption inquiry request to corresponding node server;
Display module is also used to receive the electricity consumption that the node server returns and display.
Optionally, the display module uses electrographic recording and electricity consumption specifically for what the reception node server returned Amount shows electrographic recording and the electricity consumption.
9th aspect, the application propose a kind of electricity consumption statistical query system, comprising: the 5th aspect of the application to the 8th Any device of aspect.
Tenth aspect, the application propose a kind of electricity consumption statistical query equipment, comprising:
One or more processors store the storage device of one or more programs;
When one or more of programs are executed by one or more of processors, such as the application first party is realized Face is to any method of fourth aspect.
Tenth on the one hand, and the application proposes a kind of computer readable storage medium, is stored thereon with computer program, when When the computer program is executed by processor, realize the application first aspect to fourth aspect it is any as described in method.
The advantages of the application, is:
In the application, technology of Internet of things is combined with information bank platform technology, it is whole not only to realize each internet of things home appliance The statistics of the electricity consumption at end, and by saving by electricity consumption, with data such as electrographic recording to information bank platform, ensure data It is authentic and valid, and then realize electricity consumption and the effective query with electrographic recording.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are general for this field Logical technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to this Shen Limitation please.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Attached drawing 1 is a kind of electricity consumption statistical query method process for household electrical appliance terminal according to the application embodiment Figure;
Attached drawing 2 is a kind of electricity consumption statistical query method process for intelligent electric meter according to the application embodiment Figure;
Attached drawing 3 is a kind of electricity consumption statistical query method stream for node server according to the application embodiment Cheng Tu;
Attached drawing 4 is a kind of electricity consumption statistical query method flow chart for client according to the application embodiment;
Attached drawing 5 is a kind of electricity consumption statistical query method flow chart according to the application embodiment;
Attached drawing 6 is the first electricity consumption statistical query device block diagram according to the application embodiment;
Attached drawing 7 is second of electricity consumption statistical query device block diagram according to the application embodiment;
Attached drawing 8 is the third electricity consumption statistical query device block diagram according to the application embodiment;
Attached drawing 9 is the 4th kind of electricity consumption statistical query device block diagram according to the application embodiment.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this in attached drawing Disclosed illustrative embodiments, it being understood, however, that may be realized in various forms the disclosure without that should be illustrated here Embodiment is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can incite somebody to action The scope of the present disclosure is fully disclosed to those skilled in the art.
In the application, technology of Internet of things is combined with information bank platform technology, realizes the effective query of electricity consumption, In, it is related to multiple internet of things home appliance equipment (hereinafter referred to as household electrical appliance terminal) with Internet of Things communication module, multiple intelligence electricity Table, multiple node servers and multiple client;Preferably, an intelligent electric meter is installed by each family, for receiving corresponding family The information that each household electrical appliance terminal in front yard is sent, statistics electrographic recording and electricity consumption are simultaneously sent to corresponding node server;Node Server has the information bank platform nodes of information bank platform access limit, the electricity consumption for sending intelligent electric meter Record and electricity consumption are saved to information bank platform, and provide electricity consumption inquiry knot based on the data in information bank platform for client Fruit;Client is specially the application program that is installed in customer mobile terminal, for for user's operation, and with corresponding node Server carries out data communication, realizes and uses electrographic recording and the inquiry of electricity consumption.Further, a node server corresponding one A or multiple intelligent electric meters and client.Below in the application method, apparatus and system be described in detail.
Embodiment one
According to presently filed embodiment, a kind of electricity consumption statistical query method is proposed, be applied to that there is Internet of Things Network Communication The household electrical appliance terminal of module, as shown in Figure 1, comprising:
Step 101: Configuration network;
Specifically, household electrical appliance terminal receives the network information of user's input, network configuration is carried out, itself is accessed into network, And data communication is carried out by network and intelligent electric meter.
Step 102: when receiving enabled instruction, starting information being sent to intelligent electric meter, for intelligent electricity by network The table record starting time;
Specifically, when receiving enabled instruction from the user, the starting information identified containing own terminal is generated simultaneously It is sent to intelligent electric meter, so that intelligent electric meter records the starting time of itself;Wherein, enabled instruction is specially to open household electrical appliances end End, makes household electrical appliance terminal enter the instruction of working condition;For example, when the user clicks the power supply of Internet of Things air purifier when, the object Air purifier of networking sends starting information to intelligent electric meter.
Further, in step 102, when receiving enabled instruction, further includes: judge whether receive in preset time To out code, it is, terminates, otherwise executes described send by network and start information to the operation of intelligent electric meter;
Wherein, preset time can sets itself, for example, 10 seconds according to demand;By sentencing when receiving enabled instruction Whether out code is received in disconnected preset time, to avoid the case where starting household electrical appliance terminal because of user misoperation.
Step 103: when receiving out code, closing information being sent to intelligent electric meter, for intelligent electricity by network Table records the shut-in time.
Specifically, when receiving out code from the user, the closing information identified containing own terminal is generated simultaneously It is sent to intelligent electric meter, so that intelligent electric meter records the shut-in time of itself;Wherein, out code is specially to close household electrical appliances end End, makes household electrical appliance terminal enter shutdown or the instruction of dormant state by working condition;For example, working as Internet of Things air purifier just At work, user clicks the power supply of Internet of Things air purifier, to make it into off-mode, the Internet of Things air cleaning Device sends closing information to intelligent electric meter.
In the present embodiment, by each internet of things home appliance terminal send in real time itself opening imformation and closing information to Intelligent electric meter, so that intelligent electric meter can record each working condition of each Internet of Things man terminal accordingly, to calculate each Internet of Things The electricity consumption of household electrical appliance terminal, so that user carries out electricity consumption inquiry.
Embodiment two
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query method is applied to have Internet of Things Netcom Believe the intelligent electric meter of module, as shown in Figure 2, comprising:
Step 201: Configuration network;
Specifically, intelligent electric meter receives the network information of user's input, network configuration is carried out, itself is accessed into network, And data communication is carried out with each internet of things home appliance terminal and corresponding node server by network.
Further, after Configuration network, further includes: configure the end message of each household electrical appliance terminal;
Specifically, receiving the terminal iidentification and corresponding rated power of user's input, and by the terminal iidentification and specified function Rate is corresponding to be saved;Alternatively, data communication is carried out with each household electrical appliance terminal according to the network address of each household electrical appliance terminal of user's input, Obtain the terminal iidentification and rated power of each household electrical appliance terminal, and corresponding preservation.
Step 202: the starting information and closing information that each household electrical appliance terminal is sent are received by network;
Wherein, start information and closing information includes the terminal iidentification of household electrical appliance terminal;
Step 203: according to the starting information and closing information of record, recording starting time and the pass of corresponding household electrical appliance terminal Close the time;
According to presently filed embodiment, step 203 includes:
When receive starting information when, obtain the corresponding time and as starting the time, will starting the time and starting information In terminal iidentification corresponding save;
When receiving closing information, the corresponding time is obtained and as the shut-in time, according to the terminal in closing information The identifier lookup corresponding starting time, and by shut-in time preservation corresponding with the starting time found, as corresponding household electrical appliances end Use electrographic recording in end.
Preferably, described to start time preservation corresponding with the terminal iidentification in starting information, comprising: the time will be started It is corresponding with the terminal iidentification in starting information to save to the first memory block;
Corresponding, the terminal iidentification according in closing information searches the corresponding starting time, by the shut-in time with look into The starting time found corresponding preservation uses electrographic recording as corresponding household electrical appliance terminal, comprising: according to the terminal in closing information Mark searches the corresponding starting time in the first memory block, extremely by shut-in time preservation corresponding with the starting time found Electrographic recording is used as corresponding household electrical appliance terminal, and the starting time found is moved in the first memory block in the second memory block It removes.
Storage is distinguished by the way that time and electricity consumption record will be started, is looked into avoid according to the terminal iidentification in closing information When looking for the corresponding starting time, the starting time in electrographic recording will be used as the starting time found, to cause record wrong Accidentally the problem of.
Step 204: corresponding each according to the starting time of record and shut-in time statistics when reaching preset time point The electricity consumption of household electrical appliance terminal;
According to presently filed embodiment, step 204 includes:
Step 204-1: counting each of preservation and use electrographic recording, obtains the corresponding one or more electricity consumptions notes of each household electrical appliance terminal Record;
Specifically, what is stored in the second memory block of statistics is each with electrographic recording, obtain one identified containing same terminal or It is multiple to use electrographic recording, and electrographic recording is used as corresponding household electrical appliance terminal.
Step 204-2: according to the starting time and shut-in time in obtained one or more electrographic recording, statistics pair Answer the work total duration of household electrical appliance terminal;
Specifically, using starting time and the closing in electrographic recording according to this when household electrical appliance terminal corresponding one with electrographic recording Time counts corresponding duration, and the work total duration as the household electrical appliance terminal;
When household electrical appliance terminal corresponds to multiple use electrographic recording, successively according to multiple with each in electrographic recording in electrographic recording The starting time and the shut-in time count corresponding duration, and be added each duration of statistics to obtain the work of the household electrical appliance terminal Total duration.
Step 204-3: according to the terminal iidentification in obtained one or more electrographic recording, the corresponding volume saved is searched Determine power;
Specifically, according to the terminal iidentification in obtained one or more electrographic recording, in the end message pre-saved It is middle to search corresponding rated power.
Step 204-4: according to the work total duration of statistics and the rated disspation found, corresponding household electrical appliance terminal is calculated Electricity consumption.
Specifically, electricity consumption=work total duration * rated power.
It is noted that can also calculate according to demand and each obtain each household electrical appliance terminal with the corresponding electricity consumption of electrographic recording and exist Electricity consumption when each working condition counts corresponding work according to each starting time in electrographic recording and shut-in time Duration, and according to each terminal iidentification in electrographic recording, corresponding rated power is searched in the end message pre-saved, According to the operating time of statistics and the rated power of lookup, corresponding electricity consumption is calculated.
Step 205: the electricity consumption of statistics being sent to corresponding node server, so that node server is by the use Electricity is saved to information bank platform.
Specifically, electricity consumption data packet is generated with the electricity consumption of electrographic recording and statistics according to record, by the electricity consumption data packet Device identification with itself is sent to corresponding node server.
Further, electricity consumption data packet is generated with the electricity consumption of electrographic recording and statistics according to record, comprising:
Electricity consumption data by the corresponding with electricity consumption with electrographic recording of each household electrical appliance terminal, as each household electrical appliance terminal;
The electricity consumption data of each household electrical appliance terminal is packaged to obtain user data package.
In the present embodiment, the starting information and closing information that intelligent electric meter is sent according to each household electrical appliance terminal record each household electrical appliances Each working condition of terminal i.e. starting time and shut-in time, to count the electricity consumption of each household electrical appliance terminal, and is sent to Corresponding node server carries out electricity consumption inquiry for user and provides accurately so that node server is saved to information bank platform Data foundation.
Embodiment three
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query method is applied to node server, As shown in Figure 3, comprising:
Step 301: receiving the electricity consumption that intelligent electric meter is sent;
Specifically, receiving the electricity consumption data packet and device identification that intelligent electric meter is sent, wherein electricity consumption data packet includes each Household electrical appliance terminal uses electrographic recording and electricity consumption.
Step 302: common recognition verifying is carried out to the electricity consumption received according to default common recognition mechanism, and when being verified, The electricity consumption received is saved to information bank platform;
Wherein, presetting common recognition mechanism is preferably that Byzantine failure tolerance equity proves (PBFT) mechanism;
Further, the electricity consumption received is saved to information bank platform, specifically: the data packet received is protected It deposits to information bank platform;
More specifically, data block is generated, the electricity consumption data packet received and device identification are saved to the data of generation Block is simultaneously broadcasted, so that other node servers carry out common recognition verifying, and when being verified, by the data block access information library Platform.
Step 303: when receiving the electricity consumption inquiry request of client transmission, being searched in information bank platform corresponding Electricity consumption simultaneously returns to client.
Specifically, being looked into information bank platform according to the device identification and/or user identifier that contain in electricity consumption inquiry request Corresponding data packet is looked for, and client will be returned to electrographic recording and electricity consumption in data packet.
Further, when having contained only user identifier in inquiry request, node server is according to the user identifier at itself The device identification of corresponding intelligent electric meter is searched in the user data of storage, and according to the device identification found in information bank Corresponding data packet is searched in platform.
Wherein, electricity consumption inquiry request can request daily power consumption inquiry, the inquiry of moon electricity consumption, the inquiry of season electricity consumption etc..
In the present embodiment, the electricity consumption data packet that intelligent electric meter is sent is saved to information bank platform by node server, The authentic and valid of data, but also traceable inquiry are not only ensured;With in the electricity consumption inquiry request for receiving user, base Data in information bank platform return to effective query result for user.
Example IV
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query method is applied to client, such as Fig. 4 It is shown, comprising:
Step 401: receiving electricity consumption query information;
Specifically, receiving the electricity consumption query information of user's input;Wherein, electricity consumption query information includes the inquiry period, user Mark and/or the device identification of intelligent electric meter etc.;Further, the inquiry period can be one day, can also be the moon, season etc..
Step 402: electricity consumption inquiry request is generated according to the electricity consumption query information that receives, send electricity consumption inquiry request to Corresponding node server;
Step 403: receiving node server return electricity consumption and display.
Specifically, receiving node server return with electrographic recording and electricity consumption and show.
In the present embodiment, the query information that client is inputted according to user sends electricity consumption inquiry request to corresponding node Server uses electrographic recording and electricity consumption to search in information bank platform by node server accordingly, and query result is true Effectively.
Embodiment five
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query method, as shown in Figure 5, comprising:
Step 501: household electrical appliance terminal Configuration network, and when receiving enabled instruction and out code, pass through network respectively Corresponding starting information and closing information are sent to intelligent electric meter;
Step 502: intelligent electric meter Configuration network, and the starting information and pass that each household electrical appliance terminal is sent are received by network Close information;
Step 503: intelligent electric meter records opening for corresponding household electrical appliance terminal according to the starting information and closing information received Dynamic time and shut-in time;
Step 504: when reaching preset time point, intelligent electric meter is counted according to the starting time of record and shut-in time The electricity consumption of statistics is sent to corresponding node server by the electricity consumption of corresponding each household electrical appliance terminal;
Step 505: node server receives the electricity consumption that intelligent electric meter is sent, according to default common recognition mechanism to receiving Electricity consumption carry out common recognition verifying, and when being verified, the electricity consumption received is saved to information bank platform;
Step 506: client receives electricity consumption query information, generates electricity consumption inquiry request according to electricity consumption query information, sends Electricity consumption inquiry request gives corresponding node server;
Step 507: node server receives the electricity consumption inquiry request that client is sent, and searches phase in information bank platform The electricity consumption answered sends the electricity consumption found to client;
Step 508: client receiving node server send electricity consumption and display.
In the present embodiment, the implementation method of each step can participate in associated description of the embodiment one into example IV, This is repeated no more.
Embodiment six
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query device, as shown in Figure 6, comprising:
First configuration module 601 is used for Configuration network;
First receiving module 602, for receiving instruction;
First Internet of Things communication module 603, for passing through network when the first receiving module 602 receives enabled instruction Starting information is sent to intelligent electric meter, to energize the ammeter record starting time;It is also used to receive when the first receiving module 602 When out code, closing information is sent to intelligent electric meter, so that intelligent electric meter records the shut-in time by network.
Embodiment seven
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query device includes: as shown in Figure 7
Second configuration module 701 is used for Configuration network;
Second Internet of Things communication module 702, for receiving the starting information and closing that each household electrical appliance terminal is sent by network Information;
Logging modle 703, for according to starting information and closing information, record corresponding household electrical appliance terminal the starting time and Shut-in time;
Statistical module 704, starting time and pass for being recorded when reaching preset time point according to logging modle 703 Close the electricity consumption that the time counts corresponding each household electrical appliance terminal;
First sending module 705, the electricity consumption for counting statistical module 704 are sent to corresponding node server, So that node server saves the electricity consumption to information bank platform.
According to presently filed embodiment, starts information and closing information includes the terminal iidentification of household electrical appliance terminal;
Corresponding, logging modle 703 is specifically used for:
When the second Internet of Things communication module 702 receive starting information when, obtain the corresponding time and as starting when Between, time preservation corresponding with the terminal iidentification in starting information will be started;
When the second Internet of Things communication module 702 receives closing information, obtain the corresponding time and as close when Between, it is searched corresponding starting time according to the terminal iidentification in closing information, and by shut-in time and starting time for finding It is corresponding to save, electrographic recording is used as corresponding household electrical appliance terminal.
According to presently filed embodiment, configuration module 701 is also used to after the network is configured, configure each household electrical appliance terminal End message, wherein end message includes terminal iidentification and corresponding rated power;
Corresponding, statistical module 704 is specifically used for:
The each of the preservation of statistic record module 703 uses electrographic recording, obtains the corresponding one or more electricity consumptions notes of each household electrical appliance terminal Record;
According to one or more of starting times and shut-in time in electrographic recording, corresponding household electrical appliance terminal is counted Work total duration;
According to one or more of terminal iidentifications in electrographic recording, corresponding rated power is searched;
According to the work total duration of statistics and the rated disspation found, the electricity consumption of corresponding household electrical appliance terminal is calculated.
According to presently filed embodiment, the first sending module 705 is specifically used for:
Electricity consumption data packet is generated according to the electricity consumption that the electrographic recording of logging modle 703 and statistical module 704 count;
The device identification of the electricity consumption data packet and device is sent to corresponding node server.
Embodiment eight
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query device, as shown in Figure 8, comprising:
Second receiving module 801, for receiving the electricity consumption of intelligent electric meter transmission;
Authentication module 802, the electricity consumption progress for being received according to common recognition mechanism is preset to the second receiving module 801 Common recognition verifying;
Preserving module 803, the use for when authentication module 802 is verified, the second receiving module 801 to be received Electricity is saved to information bank platform;
Third receiving module 804, for receiving the electricity consumption inquiry request of client transmission;
Searching module 805, when for receiving the electricity consumption inquiry request of client transmission when third receiving module 804, Corresponding electricity consumption is searched in information bank platform;
Second sending module 806, the electricity consumption for finding searching module 805 return to client.
According to presently filed embodiment, the second receiving module 801, the electricity consumption sent specifically for receiving intelligent electric meter Data packet and device identification, wherein electricity consumption data packet includes using electrographic recording and electricity consumption.
According to presently filed embodiment, preserving module 803, specifically for the use for receiving the second receiving module 801 Electric data packet and device identification are saved to information bank platform;
Searching module 805, specifically for being existed according to the device identification and/or user identifier that contain in electricity consumption inquiry request Corresponding data packet is searched in described information storehouse platform;
Second sending module 806, specifically for using electrographic recording and use in the data packet that finds searching module 805 Electricity returns to client.
Embodiment nine
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query device, as shown in Figure 9, comprising:
4th receiving module 901, for receiving electricity consumption query information;
Generation module 902, the electricity consumption query information for being received according to the 4th receiving module 901 generate electricity consumption inquiry Request;
Third sending module 903, the electricity consumption inquiry request for sending the generation of generation module 902 take to corresponding node Business device;
Display module 904 is also used to the electricity consumption of receiving node server return and display.
According to presently filed embodiment, display module 904 is remembered specifically for the electricity consumption that receiving node server returns Record and electricity consumption are simultaneously shown.
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query system, comprising: embodiment six to reality Apply any device of example nine.
According to presently filed embodiment, it is also proposed that a kind of electricity consumption statistical query equipment, comprising: at least one processing Device, at least one storage device;Wherein, the storage device is stored with program code, and said program code can be by the place Manage device execute, realize embodiment one to example IV it is any as described in method.
Further, the storage device may include the readable medium of volatile memory cell form, such as deposit at random Storage unit (RAM) and/or cache memory unit are taken, can further include read-only memory unit (ROM).
According to presently filed embodiment, it is also proposed that a kind of computer readable storage medium is stored thereon with computer journey Sequence (i.e. program product), when the computer program is executed by processor, realize embodiment one to example IV it is any as described in Method.
Further, the computer readable storage medium includes but is not limited to: phase change memory (PRAM), static random It accesses memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only Memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optics, magnetic storage are situated between Matter, this is no longer going to repeat them.
By the description of above embodiment, those skilled in the art is it can be readily appreciated that the embodiments described herein can be with By software realization, can also be realized in such a way that software is in conjunction with necessary hardware.Therefore, according to the embodiment of the present application Technical solution can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can be personal computer, server, mobile terminal or network equipment etc.) executes according to the method for the embodiment of the present invention.
It is described it should be noted that each embodiment in this specification is all made of relevant mode, between each embodiment Same and similar part refers to mutually, and each embodiment focuses on the differences from other embodiments.Especially Its for device embodiment, since it is substantially similar to the method embodiment, so be described relatively simple, related place Illustrate referring to the part of embodiment of the method.
In the application, technology of Internet of things is combined with information bank platform technology, by by each Internet of Things man in family Electric terminals access network, and send starting information and closing information to intelligent electric meter, so that intelligent electric meter record is each by network Each working condition of internet of things home appliance terminal to count use electrographic recording and the electricity consumption of each internet of things home appliance terminal, and is led to It crosses node server to be saved what intelligent electric meter counted with electrographic recording and electricity consumption to information bank platform, thus receiving visitor When the electricity consumption inquiry request that family end is sent, corresponding data are searched in information bank platform.During being somebody's turn to do, not only realize each The statistics of the electricity consumption of household electrical appliance terminal, and by saving by electricity consumption, with data such as electrographic recording to information bank platform, it ensures Data it is authentic and valid, and then realize electricity consumption and the effective query with electrographic recording.
The preferable specific embodiment of the above, only the application, but the protection scope of the application is not limited to This, anyone skilled in the art within the technical scope of the present application, the variation that can readily occur in or replaces It changes, should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be with the protection model of claim Subject to enclosing.

Claims (10)

1. a kind of electricity consumption statistical query method based on Internet of Things, applied to the household electrical appliance terminal with Internet of Things communication module, It is characterised by comprising:
Configuration network;
When receiving enabled instruction, starting information is sent to intelligent electric meter, for intelligent electric meter note by the network The record starting time;
When receiving out code, closing information is sent to intelligent electric meter, for intelligent electric meter note by the network Record the shut-in time.
2. a kind of electricity consumption statistical query method based on Internet of Things, applied to the intelligent electric meter with Internet of Things communication module, It is characterised by comprising:
Configuration network;
The starting information and closing information that each household electrical appliance terminal is sent are received by the network;
According to the starting information and closing information, the starting time and shut-in time of corresponding household electrical appliance terminal are recorded;
When reaching preset time point, the electricity consumption of corresponding each household electrical appliance terminal is counted according to the starting time and shut-in time Amount;
The electricity consumption of statistics is sent to corresponding node server, for the node server by the electricity consumption save to Information bank platform.
3. according to the method described in claim 2, it is characterized in that, the starting information and closing information include household electrical appliance terminal Terminal iidentification;
It is described according to the starting information and closing information, record the starting time and shut-in time of corresponding household electrical appliance terminal, comprising:
When receive starting information when, obtain the corresponding time and as starting the time, by the starting time and the starting The corresponding preservation of terminal iidentification in information;
When receiving closing information, the corresponding time is obtained and as the shut-in time, according to the terminal in the closing information The identifier lookup corresponding starting time, and by shut-in time preservation corresponding with the starting time found, as corresponding family Electric terminals use electrographic recording.
4. according to the method described in claim 3, it is characterized in that, after the Configuration network, further includes: it is whole to configure each household electrical appliances The end message at end, the end message include terminal iidentification and corresponding rated power;
The electricity consumption that corresponding household electrical appliance terminal is counted according to the starting time and shut-in time, comprising:
The each of statistics preservation uses electrographic recording, obtains the corresponding one or more electrographic recording of each household electrical appliance terminal;
According to one or more of starting times and shut-in time in electrographic recording, the work for counting corresponding household electrical appliance terminal is total Duration;
According to one or more of terminal iidentifications in electrographic recording, corresponding rated power is searched;
According to the work total duration and the rated disspation found, the electricity consumption of corresponding household electrical appliance terminal is calculated.
5. according to the method described in claim 3, it is characterized in that, described be sent to corresponding node clothes for the electricity consumption of statistics Business device, comprising:
Electricity consumption data packet is generated with electrographic recording and the electricity consumption according to described;
The electricity consumption data packet and the device identification of itself are sent to corresponding node server.
6. a kind of electricity consumption statistical query method based on Internet of Things is applied to node server characterized by comprising
Receive the electricity consumption that intelligent electric meter is sent;
Common recognition verifying is carried out to the electricity consumption according to default common recognition mechanism, and when being verified, the electricity consumption is saved To information bank platform;
When receiving the electricity consumption inquiry request of client transmission, corresponding electricity consumption is searched in described information storehouse platform and is returned Back to the client.
7. according to the method described in claim 6, it is characterized in that, it is described receive intelligent electric meter send electricity consumption, specifically: The electricity consumption data packet and device identification that intelligent electric meter is sent are received, the data packet includes using electrographic recording and electricity consumption.
8. the method according to the description of claim 7 is characterized in that described save the electricity consumption to information bank platform, tool Body are as follows: save the electricity consumption data packet and device identification to information bank platform;
It is described to search corresponding electricity consumption in described information storehouse platform and return to the client, comprising: according to the use Corresponding data packet is searched in the device identification and/or user identifier contained in electric inquiry request in described information storehouse platform, and The client will be returned to electrographic recording and electricity consumption in the data packet.
9. a kind of electricity consumption statistical query method based on Internet of Things is applied to client characterized by comprising
Receive electricity consumption query information;
Electricity consumption inquiry request is generated according to the electricity consumption query information, sends the electricity consumption inquiry request to corresponding node serve Device;
Receive the electricity consumption that the node server returns and display.
10. according to the method described in claim 9, it is characterized in that, the electricity consumption for receiving the node server and returning And show, comprising: receive the node server return uses electrographic recording and electricity consumption, shows electrographic recording and the electricity consumption Amount.
CN201910346127.1A 2019-04-26 2019-04-26 Electricity consumption statistical query method based on Internet of things Active CN110177131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910346127.1A CN110177131B (en) 2019-04-26 2019-04-26 Electricity consumption statistical query method based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910346127.1A CN110177131B (en) 2019-04-26 2019-04-26 Electricity consumption statistical query method based on Internet of things

Publications (2)

Publication Number Publication Date
CN110177131A true CN110177131A (en) 2019-08-27
CN110177131B CN110177131B (en) 2020-06-26

Family

ID=67690177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910346127.1A Active CN110177131B (en) 2019-04-26 2019-04-26 Electricity consumption statistical query method based on Internet of things

Country Status (1)

Country Link
CN (1) CN110177131B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039664A (en) * 2020-08-31 2020-12-04 宁夏隆基宁光仪表股份有限公司 Data communication method and system suitable for intelligent electric meter
CN113743755A (en) * 2021-08-24 2021-12-03 安特仪表集团有限公司 Data supervision method, ammeter, system and storage medium of multifunctional ammeter
CN114513521A (en) * 2021-12-28 2022-05-17 德明尚品科技集团有限公司 Block chain-based household electricity data management method and system
CN117032590A (en) * 2023-10-08 2023-11-10 青岛鼎信通讯股份有限公司 Storage system and method for dynamic data in event record of electric energy meter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559870A (en) * 1995-06-30 1996-09-24 Scientific-Atlanta, Inc. Method and apparatus for providing information to a subscriber over an electronic network
CN103617488A (en) * 2013-11-25 2014-03-05 青岛海尔软件有限公司 Remote household appliance electricity consumption circumstance management system
CN105277783A (en) * 2015-07-31 2016-01-27 杭州赫智电子科技有限公司 Mass data collection method of electricity consumption information data
CN105807107A (en) * 2016-05-26 2016-07-27 山东建筑大学 Electrical equipment power consumption estimating system and method based on internet of things
CN106230672A (en) * 2016-08-08 2016-12-14 深圳市欧瑞博电子有限公司 Detection method of quantity of electricity based on intelligent domestic system and power testing system
CN107300897A (en) * 2017-07-14 2017-10-27 宁波三星医疗电气股份有限公司 A kind of electrical equipment power consumption detecting system and management method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156207A (en) * 2011-03-21 2011-08-17 安徽省电力公司阜阳供电公司 Distributed intelligent electric energy recording system and detecting method thereof
CN102967758A (en) * 2012-12-07 2013-03-13 珠海派诺科技股份有限公司 Separating method for indirect subentry measurement of building energy consumption
CN108957117A (en) * 2018-07-26 2018-12-07 上海与德科技有限公司 Detection method, device, intelligent socket and the storage medium of power consumption

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559870A (en) * 1995-06-30 1996-09-24 Scientific-Atlanta, Inc. Method and apparatus for providing information to a subscriber over an electronic network
CN103617488A (en) * 2013-11-25 2014-03-05 青岛海尔软件有限公司 Remote household appliance electricity consumption circumstance management system
CN105277783A (en) * 2015-07-31 2016-01-27 杭州赫智电子科技有限公司 Mass data collection method of electricity consumption information data
CN105807107A (en) * 2016-05-26 2016-07-27 山东建筑大学 Electrical equipment power consumption estimating system and method based on internet of things
CN106230672A (en) * 2016-08-08 2016-12-14 深圳市欧瑞博电子有限公司 Detection method of quantity of electricity based on intelligent domestic system and power testing system
CN107300897A (en) * 2017-07-14 2017-10-27 宁波三星医疗电气股份有限公司 A kind of electrical equipment power consumption detecting system and management method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039664A (en) * 2020-08-31 2020-12-04 宁夏隆基宁光仪表股份有限公司 Data communication method and system suitable for intelligent electric meter
CN112039664B (en) * 2020-08-31 2024-04-16 宁夏隆基宁光仪表股份有限公司 Data communication method and system suitable for intelligent ammeter
CN113743755A (en) * 2021-08-24 2021-12-03 安特仪表集团有限公司 Data supervision method, ammeter, system and storage medium of multifunctional ammeter
CN114513521A (en) * 2021-12-28 2022-05-17 德明尚品科技集团有限公司 Block chain-based household electricity data management method and system
CN114513521B (en) * 2021-12-28 2024-03-22 德明尚品科技集团有限公司 Household electricity data management method and system based on block chain
CN117032590A (en) * 2023-10-08 2023-11-10 青岛鼎信通讯股份有限公司 Storage system and method for dynamic data in event record of electric energy meter

Also Published As

Publication number Publication date
CN110177131B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN110177131A (en) A kind of electricity consumption statistical query method based on Internet of Things
Giaconi et al. Privacy-aware smart metering: Progress and challenges
CN105335409B (en) A kind of determination method, equipment and the network server of target user
CN111967610B (en) Federal learning incentive method, device, equipment and storage medium based on block chain
CN110827028B (en) Block chain-based data acquisition transaction system and method
CN107038600A (en) The method and apparatus for providing rights and interests
CN109086975A (en) A kind of recognition methods of transaction risk and device
Mytton et al. Sources of data center energy estimates: A comprehensive review
CN110245980A (en) The method and apparatus for determining target user's exiting form based on neural network model
CN109325537A (en) Power consumption management method, apparatus, computer equipment and storage medium
CN110458612A (en) A kind of information processing method and Related product
CN110244573A (en) Storage system and intelligent appliance based on intelligent appliance
CN106251114A (en) The method and apparatus realizing examination & approval in application
Mishra et al. Smart contract formation enabling energy‐as‐a‐service in a virtual power plant
CN109783126A (en) A kind of distribution Global ID's generation method and its device
Kashani et al. Residential energy consumer behavior modification via gamification
CN107819817A (en) Intelligent meter fault cues method and Internet of things system based on compound Internet of Things
CN104881788B (en) The data processing method and system of Electricity customers, customer service management platform
Baglioni et al. A lightweight privacy preserving SMS-based recommendation system for mobile users
CN107819815A (en) Electric meter fault reminding method and Internet of things system based on compound Internet of Things
CN107835217A (en) Water meter fault cues method and Internet of things system based on compound Internet of Things
CN107317868A (en) Air-conditioning type selecting quotation system and method
Zhou et al. Privacy-preserving and residential context-aware online learning for IoT-enabled energy saving with big data support in smart home environment
Schminke Overview of the current state of research on characteristics and algorithms of energy management systems in households and buildings
CN106570005A (en) Database cleaning method and device

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