Specific embodiment
For the ease of understanding this utility model, below with reference to relevant drawings, this utility model is more fully retouched
State.First-selection embodiment of the present utility model is given in accompanying drawing.But, this utility model can come real in many different forms
Existing however it is not limited to embodiment described herein.On the contrary, providing the purpose of these embodiments to be to make to public affairs of the present utility model
Open content more thoroughly comprehensive.
It should be noted that when an element is considered as " connection " another element, it can be directly to separately
One element and in combination be integrated, or may be simultaneously present centering elements.Term as used herein " installation ", " one
End ", " other end " and similar statement are for illustrative purposes only.
Unless otherwise defined, all of technology used herein and scientific terminology are led with belonging to technology of the present utility model
The implication that the technical staff in domain is generally understood that is identical.In term used in the description of the present utility model it is simply herein
The purpose of description specific embodiment is it is not intended that in limiting this utility model.Term as used herein " and/or " include
The arbitrary and all of combination of one or more related Listed Items.
This utility model measures safety device one application scenarios:
Fig. 1 measures safety device one application scenarios schematic diagram for this utility model;As shown in figure 1, in actual applications, can
To take embedded this utility model metering safety device in control electric energy meter;Can be by having embedded Chip Operating System
Cpu chip realizes the function that this utility model measures safety device, and metering safety device is packaged into the mould that SOP14 encapsulates form
Block;Microelectric technique, computer technology and information security technology are combined together by this utility model metering safety device, carry
The high safe coefficient of people's live and work electricity consumptions.Measure pin after encapsulation for the safety device and external device communication.
The global unique sequence numbers of each module can be printed on module, realize taking safety storage, the number of control electrical energy meter electricity energy datum
According to functions such as enciphering/deciphering, bidirectional identity authentication, Access control, link encryption transmission.
This utility model measures safety device embodiment 1:
In order to solve the problems, such as traditional electric energy meter metering device cannot ensure electric energy measurement data safety and stability transmit, this reality
Provide a kind of metering safety device embodiment 1 with new, Fig. 2 measures the structure of safety device embodiment 1 for this utility model
Schematic diagram, as shown in Fig. 2 can include:Connect the CPU 210 of electric energy meter main control chip by communication interface 230,
And connect the close algorithm unit of state 220 and the memory element 240 of CPU 210 respectively;
CPU 210 receives the sensitive data of electric energy meter, and sensitive data is transferred to memory element 240 carries out
Real-time storage;
CPU 210 receives the data access request that external equipment is transmitted by electric energy meter main control chip, and root
Send sensitive data encrypted instruction according to data access request to the close algorithm unit of state 220;
The close algorithm unit of state 220 receives sensitive data encrypted instruction, and according to sensitive data encrypted instruction to sensitive data
Carry out encryption and decryption process.
In a specific embodiment, metering safety device embodiment 1 can also include connecting CPU 210
Identification authenticating unit 250;
CPU 210 receives the certification request transmitted by electric energy meter main control chip of external equipment, and by certification
Request is sent to identification authenticating unit 250;
Identification authenticating unit 250 receives certification request, and feeds back authentication command according to certification request to CPU.
In a specific embodiment, the close algorithm unit of state 220 can include connecting CPU 210 respectively
State's close algorithm SM1 module 222 and randomizer 224.
In a specific embodiment, memory element 240 can include random access memory, read only memory and electricity
EPROM.
In a specific embodiment, metering safety device embodiment 1 can also include connecting CPU
210th, real-time detection measures the security protection unit 260 of safety device ruuning situation.
In a specific embodiment, security protection unit 260 can include voltage detection module 262 and frequency detecting
Module 264.
In a specific embodiment, metering safety device embodiment 1 can also include connecting CPU
210th, to state, close algorithm unit 220 enters the algorithm coprocessor 270 that line algorithm calls and order of operation controls.
In a specific embodiment, metering safety device embodiment 1 can also include connecting central authorities' process list respectively
The interrupt source 280 of unit 210 and timer 2 90.
, by being embedded in electric energy meter, metering safety device can be by envelope for this utility model metering safety device embodiment 1
Pin after dress and external device communication, are capable of the safety storage of electrical energy meter electricity energy datum, data enciphering/deciphering, two-way
Authentication, Access control and link encryption transmission.This utility model can be effectively ensured electric energy meter electric energy measurement data
Safety, prevent service data loss, prevent data to be tampered in transmitting procedure it is ensured that the confidentiality of data transfer, protect
It is ensured that Remote, the safety of remote bill control is it is ensured that system safe and stable operation is it is ensured that industry for the safety of card data storage
Business data safety.
This utility model measures safety device embodiment 2:
In order to solve the problems, such as traditional electric energy meter metering device cannot ensure electric energy measurement data safety and stability transmit, this reality
Provide a kind of metering safety device embodiment 2 with new;Fig. 3 measures the structure of safety device embodiment 2 for this utility model
Schematic diagram;As shown in figure 3,
It is applied to the metering safety device embodiment 2 that expense controls electric energy meter, central processing unit CPU (Central can be included
Processing Unit), state's close algorithm SM1 unit (SM1 cryptographic algorithm), ISO7816 communication connect
Mouthful, algorithm coprocessor, randomizer, security protection module, interrupt source, intervalometer and memory element;Wherein, store list
Unit can include RAM (Random-Access Memory, random access memory), ROM (read only memory, Read-Only
Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, electric erasable and programmable
Journey read only memory);Control in electric energy meter by being embedded in expense, this utility model can realize expense control electrical energy meter electricity energy datum
The functions such as safety storage, the transmission of data enciphering/deciphering, bidirectional identity authentication, Access control, link encryption.
Based on this utility model of said structure, it is capable of the safety of guarantee fee control electric energy meter electric energy measurement data effectively,
Prevent service data loss, prevent data to be tampered in transmitting procedure it is ensured that the confidentiality of data transfer is it is ensured that data is deposited
It is ensured that Remote, the safety of remote bill control is it is ensured that system safe and stable operation is it is ensured that business datum is pacified for the safety of storage
Entirely.
As shown in figure 3, being applied to the metering safety device that expense controls electric energy meter, CPU, the close calculation of state can be included
Method SM1 unit, ISO7816 communication interface, algorithm coprocessor, randomizer, memory element, security protection module, in
Disconnected source, intervalometer, and form one chip module structure, wherein
(1) CPU
CPU is to ensure that the minimum system of normal work, is responsible for calling the task of whole system, and management is all
System peripheral.
(2) state's close algorithm SM1 unit
State's close algorithm SM1 unit realizes the encryption and decryption work of state's close SM1 cryptographic algorithm.
(3) ISO7816 communication interface
ISO7816 communication interface supports that expense control electric energy meter main control chip carries out the behaviour of reading and writing data to metering safety device
Make.
(4) memory element
Memory element is used for the sensitive data in storage charges control electric energy meter, including rate, step price, the registered permanent residence, remaining gold
The data such as volume.
(5) algorithm coprocessor
Algorithm coprocessor realize SM1 algorithm close to state call and order of operation control.
(6) randomizer
Randomizer can achieve the independent irregular randoms number different from data before that produce, and satisfaction safety is handed over
Easy needs.
(7) security protection module
The operation turntable of security protection module main monitoring and metering safety device, by high/low voltage detecting;High/low frequency
Rate detection etc., realizes the safeguard protection of module.
(8) interrupt source
Interrupt source is mainly CPU and provides interrupt signal.
(9) intervalometer
Intervalometer provides the signal of timing for CPU, for one event of CPU clocked flip.
Fig. 4 measures safety device mount structure schematic diagram for this utility model.As shown in Fig. 4 and following table, this utility model
Metering safety device pin purposes is specific as follows:
Table 1 measures safety device circuit pin purposes
Be applied to expense control electric energy meter metering safety device basic operational ways can be:Take control electric energy meter central authorities to process
Device passes through one order of ISO7816 communication interface transmission, and then metering safety device is taken control through process return response message
Electric energy meter central processing unit.
The application flow of metering safety device is as follows:
The first step, external equipment sends certification request by expense control electric energy meter, and metering safety device is tested to its identity
Card, is verified, shows that external equipment is legitimate request person, and the information that authentication is passed through replied by metering safety device;No
Then, authentication failure informed by metering safety device, does not accept the data access request of external equipment.
Second step, after external equipment is passed through with security module authentication by expense control electric energy meter, both sides establish mutual trust
Passage simultaneously consults the working key carrying out data access.
3rd step, external equipment is important to access using the working key consulted with security module by taking control electric energy meter
Message is encrypted, and both sides are decrypted and integrity verification to the encrypted message information receiving, and realizes the peace to important message
Full protection.
, by being embedded in electric energy meter, metering safety device can be by the pipe after encapsulation for this utility model metering safety device
Foot and external device communication, be capable of the safety storage of electrical energy meter electricity energy datum, data enciphering/deciphering, bidirectional identity authentication,
Access control and link encryption transmission.This utility model can be effectively ensured the safety of electric energy meter electric energy measurement data, prevents
Only service data loss, prevents data to be tampered in transmitting procedure it is ensured that the confidentiality of data transfer is it is ensured that data storage
Safety it is ensured that Remote, the safety of remote bill control is it is ensured that system safe and stable operation is it is ensured that business datum safety.
Each technical characteristic of embodiment described above can arbitrarily be combined, for making description succinct, not to above-mentioned reality
The all possible combination of each technical characteristic applied in example is all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all it is considered to be the scope of this specification record.
Embodiment described above only have expressed several embodiments of the present utility model, and its description is more concrete and detailed,
But therefore can not be interpreted as the restriction to utility model patent scope.It should be pointed out that the common skill for this area
For art personnel, without departing from the concept of the premise utility, some deformation can also be made and improve, these broadly fall into
Protection domain of the present utility model.Therefore, the protection domain of this utility model patent should be defined by claims.