Summary of the invention
The purpose of the invention is to overcome above-mentioned deficiency to provide a kind of electric energy quality monitoring querying method.
A kind of electric energy quality monitoring querying method, includes the following steps:
001, each data monitoring node acquires the power quality index of the distributed generation resource respectively monitored in real time, and by electric energy
Quality index is periodically sent to corresponding unloading node;
002, unloading node is after the successful signal of communication of networking for receiving electric energy quality monitoring center, in response to electric energy matter
The signal of communication for measuring monitoring center, is sent to electric energy quality monitoring center for received power quality index;
003, electric energy quality monitoring center encrypts historical data after saving historical data, and staff can pass through notes
The historical data saved in electric energy quality monitoring center is decrypted in this computer remote, and browses access historical data.
Further, following steps are specifically included in the step 003:
The historical data of each distributed generation resource is generated Message Authentication Code and is sent to work by 031. electric energy quality monitoring center
Make the laptop of personnel;
The laptop of 032. staff receives Message Authentication Code, and will be back to after the encryption of the search access right of acquisition
Electric energy quality monitoring center;
033. electric energy quality monitoring center encrypts the plaintext met in search access right according to the search access right of staff
It is transferred to the laptop of staff;
034. calculates required plaintext mi, and verify mi, wherein i is the call number for the historical data that staff needs, miFor
I-th historical data of electric energy quality monitoring center storage.
Further, further comprising the steps of before the step 031:
Storage medium is accessed on the host at electric energy quality monitoring center, the first security module is set in storage medium,
Second security module is set on the hard disk in the host at electric energy quality monitoring center, for accessing the first security module;
Judge the address of Message Authentication Code data to be written whether in the first security module;If the address of data to be written
In the first security module, then carry out in next step;If not existing, data are write direct;
Second security module reads the origination message that SRAM fixing address section generates in the host at electric energy quality monitoring center
Identifying code data simultaneously generate a key;
The data that second security module is written into the first security module are encrypted with key, and encrypted ciphertext is written
First security module.
Further, the historical data of each distributed generation resource is generated into Message Authentication Code in the step 031 and is sent to work
The data key encryption generation that the second security module is written into the first security module is destroyed after making the laptop of personnel
Key.
Advantages of the present invention has:The safety for taking into account both inquiry end and electric energy quality monitoring center, is moved on a large scale in data
When state extends, not because encryption and decryption lead to system Caton.Data monitoring node can accurately obtain network signal arrival
The correct time of a certain node in network has preferably the loss situation of the ether frame signal from unlike signal received
Fault-tolerance improves and effectively improves the real-time to distributed generation resource electric energy quality monitoring, it is ensured that a degree of
Data acquisition, transmission, preservation in extreme weather, improve power supply reliability.
Specific embodiment
Below in conjunction with specific embodiment, the present invention is further illustrated:
A kind of electric energy quality monitoring querying method, includes the following steps:
001, each data monitoring node acquires the power quality index of the distributed generation resource respectively monitored in real time, and by electric energy
Quality index is periodically sent to corresponding unloading node;
002, unloading node is after the successful signal of communication of networking for receiving electric energy quality monitoring center, in response to electric energy matter
The signal of communication for measuring monitoring center, is sent to electric energy quality monitoring center for received power quality index;
003, electric energy quality monitoring center encrypts historical data after saving historical data, and staff can pass through notes
The historical data saved in electric energy quality monitoring center is decrypted in this computer remote, and browses access historical data.
Following steps are specifically included in the step 003:
The historical data of each distributed generation resource is generated Message Authentication Code and is sent to work by 031. electric energy quality monitoring center
Make the laptop of personnel;
The laptop of 032. staff receives Message Authentication Code, and will be back to after the encryption of the search access right of acquisition
Electric energy quality monitoring center;
033. electric energy quality monitoring center encrypts the plaintext met in search access right according to the search access right of staff
It is transferred to the laptop of staff;
034. calculates required plaintext mi, and verify mi, wherein i is the call number for the historical data that staff needs, miFor
I-th historical data of electric energy quality monitoring center storage.
It is further comprising the steps of before the step 031:
Storage medium is accessed on the host at electric energy quality monitoring center, the first security module is set in storage medium,
Second security module is set on the hard disk in the host at electric energy quality monitoring center, for accessing the first security module;
Judge the address of Message Authentication Code data to be written whether in the first security module;If the address of data to be written
In the first security module, then carry out in next step;If not existing, data are write direct;
Second security module reads the origination message that SRAM fixing address section generates in the host at electric energy quality monitoring center
Identifying code data simultaneously generate a key;
The data that second security module is written into the first security module are encrypted with key, and encrypted ciphertext is written
First security module.
The historical data of each distributed generation resource is generated into Message Authentication Code in the step 031 and is sent to staff's
The second security module is destroyed after laptop is written into the key that the data of the first security module are generated with key encryption.
Step 031 includes the following steps:
Step 0311:The historical data of distributed generation resource each in electric energy quality monitoring center is generated into message hash value,
For each historical data to be mapped as to the value of a regular length, H is ultimately generated1L Hn, as Message Authentication Code;
Wherein, Hj←H(j,mj,qj) generate the message authentication code H for carrying cleartext informationj, j expression j-th strip information, mjTable
Show the plaintext of j-th strip message, qjIndicate permission needed for reading j-th strip message, j=1,2 ..., n, n represents electric energy quality monitoring
The historical data number of central store.
Step 032 includes the following steps:
Step 0321:It is i, q that staff's laptop, which is gathered around there are two parameter,i, calculate without cleartext information
Hash value hi;
Wherein, hi←H1(i,qi) generate without cleartext information message authentication code hi:Wherein i is staff's needs
Historical data call number, qiFor permission needed for i-th information of reading;
Step 0322:Staff chooses (t, hi), encrypted permission is generated using elliptic curve cryptosystem encryption
Value jmdi;
Wherein, jmdi=tP+hi·P;P is a bit on elliptic curve, which is the base that elliptic curve cryptosystem generates
Point, t are random integers;
Step 0323:Staff's laptop is by the jmd of generationiIt is sent to electric energy quality monitoring center.
Step 033 includes the following steps:
Step 0331:First data is calculated the hash value h without clear-text message by electric energy quality monitoring center1;
Step 0332:Electric energy quality monitoring center calculation S1=m1+jmdi-h1·P;Wherein, m1It is in electric energy quality monitoring
Feel the first data of storage;h1GP is h1Through the encrypted data of elliptic curve cryptosystem;S1It indicates in electric energy quality monitoring
Encrypted value corresponding to 1st data in the heart.
Step 0333:And so on, the second data is successively calculated to a last data, is calculated
S2...Sj....Sn, wherein SjIndicate encrypted value corresponding to j-th strip data in electric energy quality monitoring center;
Step 0334:Electric energy quality monitoring center is by message parameter (S1...Sn) it is sent to staff.
Plaintext m in step 034i=Si-t·P;Wherein SiIt indicates in electric energy quality monitoring center corresponding to the i-th data
Encrypted value, t is random integers, and P point is the basic point that elliptic curve cryptosystem generates;Utilize the Message Authentication Code of generation
Hi, verify miIt is whether correct.
Historical data includes the text and column statistical chart of data.
Communication interaction, the unloading node are carried out by ethernet netting twine between the data monitoring node and unloading node
Communication interaction, the electric energy quality monitoring center and laptop are carried out by 4G network between electric energy quality monitoring center
Communication interaction is carried out by internet.
Power quality index is periodically sent to corresponding unloading node further comprising the steps of in the step 002:Point
Not Cai Ji data monitoring node and unloading node ethernet signal;Digital signal is converted by Ethernet analog signal;It prestores
Local preamble sequence;The list entries of the digital signal is matched with local preamble sequence, if exact matching, says
It is bright to receive ethernet frame signal, output confirmation pulse;The confirmation pulse of output is received, and as trigger signal;To local
Time is calibrated, and triggers current precise time and by time tranfer to electric energy quality monitoring center;In electric energy quality monitoring
The heart compares the ethernet frame signal arrival time of data monitoring node and unloading node, obtains data monitoring node and unloading node
Between network signal propagation delay time.
The list entries by the digital signal matched with local preamble sequence after further include for:When receiving
When digital signal, records carve character string, previous frame moment character string and local frame head moment character when the current frame respectively
Sequence calculates the difference T1 and the Fu Xu that carves characters when the current frame of previous frame moment character string and local frame head moment character string
The difference T2 of column and previous frame moment character string, if T1<T2, then the delay data of successful match is T1, and so on, when connecing
Above-mentioned Ether frame Signal Matching is carried out when receiving new digital signal obtains the delay data of a new successful match, all
Collection with successful delay data is combined into a delay timing, and the delay timing is transferred to electric energy quality monitoring center and is supplied
The delay rule and later period training and learning that analysis data packet is transmitted on cable use.
Wherein:Data monitoring node for the power quality data index of real-time detection distributed generation resource, and will test
Power quality data index be transferred to unloading node;Unloading node, for the power quality data index to distributed generation resource
It received, stored and is uploaded;Electric energy quality monitoring center, for receiving and handling the power quality data of distributed generation resource
Index and to monitoring network segment in all distributed generation resource power quality indexs concentration supervision and management;Laptop is used for
Realize all distributed generation resource power quality states in remote inquiry monitoring network segment, the data monitoring node and unloading node it
Between carry out communication interaction, the unloading node and electric energy quality monitoring center carry out communication interaction, in the electric energy quality monitoring
The heart and laptop carry out communication interaction.
Photographing module is integrated on the data monitoring node.