Summary of the invention
An object of the present invention is for above-mentioned deficiency, a kind of remote-control intelligent electric energy meter being embedded with information security management module is provided, with problems such as the information security management of expecting to solve remote-control intelligent electric energy meter of the prior art and management system thereof can not be guaranteed, thus eliminate the risk of information security management in Utilities Electric Co.'s operation.
For solving above-mentioned technical problem, the present invention by the following technical solutions:
A kind of remote-control intelligent electric energy meter being embedded with information security management module provided by the present invention, comprise counting module, relay, remote-control intelligent energy meter terminal master controller and memory, described counting module accesses power input on electric energy meter and remote-control intelligent energy meter terminal master controller respectively, for measuring power consumption, and variable is exported to remote-control intelligent energy meter terminal master controller, described relay accesses power input on electric energy meter and power output end respectively, described remote-control intelligent energy meter terminal master controller is by control relay circuit cut-in relay, for closing and disconnecting by remote-control intelligent energy meter terminal main controller controls relay, described memory also accesses remote-control intelligent energy meter terminal master controller, described remote-control intelligent electric energy meter also comprises information security management module, described information security management module comprises processor, first data-interface, second data-interface and FLASH memory, described processor accesses the first data-interface respectively, second data-interface and FLASH memory, wherein:
Described first data-interface access data transport module, communicates with the unique data of data transmission module for performing remote-control intelligent electric energy meter, and transmits it to processor when receiving the external data coming from data transmission module; Described data transmission module directly receives the external data coming from long-range management system for selling power;
Described FLASH memory is for storing control in information security management module and documentor;
Described second data-interface access remote-control intelligent energy meter terminal master controller, for performing the data communication between processor and remote-control intelligent energy meter terminal master controller, described remote-control intelligent energy meter terminal master controller is used for performing the operation of corresponding table end according to the instruction of processor;
Described processor is used for when receiving the external data coming from the first data-interface, authentication is carried out to the management system for selling power sending external data, judge whether to obtain the encrypted packets in this external data, and send corresponding operational order by the second data-interface to remote-control intelligent energy meter terminal master controller according to the affairs comprised in data.
As preferably, further technical scheme is: the processor in described information security management module is used for when receiving the external data coming from the first data-interface, according to external data, authentication is carried out to management system for selling power, when authentication result is judged as legal, then encrypted packets is decrypted and completeness check, on the contrary the initial condition that then resets;
After data integrity verifying passes through, the validity of data is verified, on the contrary the initial condition that then resets;
After Validation of Data is passed through, preliminary treatment is carried out to the affairs comprised in data, and from remote-control intelligent energy meter terminal master controller, obtain corresponding return information by the second data-interface, data transmission module is returned to by the first data-interface by after described return information encryption, then pre-processed results approved after effectively being confirmed and stored relevant operation information, and to remote-control intelligent energy meter terminal master controller transmit operation instruction; Otherwise then abandon pre-processed results or make caching process.
Further technical scheme is: preset agreement restrictive condition and multiple different cipher key procedures in the FLASH memory in described information security management module, for when the subsystem of information security management module classification different from management system for selling power respectively carries out exchanges data, processor according to the encryption key of external data compared with multiple cipher key procedures preset in FLASH memory, thus the identity of certification management system for selling power, and after encrypted packets deciphering and completeness check are passed through, according to the validity of agreement restrictive condition verification msg under current identity, judge whether to carry out preliminary treatment to the affairs in data,
Described first data-interface also accesses IC card information Switching Module, for transmitting it to processor when receiving the external data coming from IC card information Switching Module, processor performs the verification identical with the external data coming from data transmission module to described external data.
Further technical scheme is: also comprise eeprom memory in the information security management module in described information security management module, described eeprom memory also accesses processor, for the associative operation information of storage of processor to remote-control intelligent energy meter terminal master controller, and processor is to the pre-processed results of affairs in external data;
Described memory is for storing the presell electric quantity data information coming from information security management module forwards, described remote-control intelligent energy meter terminal master controller is also connected with LCDs by liquid crystal display circuit, for being deducted the presell electric quantity data information initial value stored in memory according to the variable in counting module by remote-control intelligent energy meter terminal master controller, and presented in LCDs by liquid crystal display circuit; Also comprise buzzer in described intelligent electric energy meter, described remote-control intelligent energy meter terminal master controller is by surplus judging circuit access buzzer.
Further technical scheme is: the processor in described information security management module is central processing unit or the single-chip microcomputer that can perform cryptographic algorithm; Described data transmission module is network communication module or bus communication module.
Further technical scheme is: the first described data-interface is network communication interface or bus interface.
Further technical scheme is: described network communication interface be at least in the middle of RF module interface, Zigbee module interface, WiFi module interface, bluetooth module interface, infrared module interface or Optical Fiber Transmission interface, data line transfer interface, power line transmission interface any one; Described bus interface be at least in the middle of Mbus bus interface, RS485 bus interface, CAN interface any one.
Further technical scheme is: the second described data-interface be at least in the middle of USART serial line interface, SPI serial line interface or I2C serial line interface any one.
Further technical scheme is: described information security management module also comprises encrypting module, described encrypting module access processor, for the multistage encryption and decryption to information security management module and management system for selling power, remote-control intelligent energy meter terminal master controller exchanges data, and the data encryption key that auxiliary processor obtains management system for selling power carries out authentication.
Further technical scheme is: described encrypting module is by the Advanced Encryption Standard in AES(cryptography, the abbreviation of English AdvancedEncryptionStandard) or the triple DEA of 3DES(, English TripleDataEncryptionAlgorithm) mode carry out data encrypting and deciphering.
Compared with prior art, one of beneficial effect of the present invention is: by embedding information security management module in remote-control intelligent electric energy meter, authentication is carried out when making it carry out exchanges data by data transmission module and management system for selling power, ensure that the legitimacy of both communication, and the remote-control intelligent energy meter terminal master controller of table end must could be communicated with outside by information security management module; Utilities Electric Co. utilizes the information security management module in electric energy meter, the priority assignation of differentiated control can be realized by different keys, and adopt 3DES/AES multi-level encryption mode, make the fail safe of key higher, and by upgrade key during download program cause for gossip in information security management module, avoid the risk that key exposure brings; By built-in data verifying program, ensure that the data of transmission are true, accurate, complete.Simultaneously a kind of remote-control intelligent electric energy meter structure being embedded with information security management module provided by the present invention is simple, can seamless access power supply management system by the information security management module of inside, realize the dispersion of remote-control intelligent electric energy meter to manufacture, unified management, range of application is wide, and ensure the independence of Utilities Electric Co. on electric energy meter controls, and not by extraneous restriction.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further elaborated.
With reference to figure 1, shown in Fig. 2, one embodiment of the present of invention are a kind of remote-control intelligent electric energy meters being embedded with information security management module, comprise counting module, relay, remote-control intelligent energy meter terminal master controller and memory, described counting module accesses power input on electric energy meter and remote-control intelligent energy meter terminal master controller respectively, for measuring power consumption, and variable is exported to remote-control intelligent energy meter terminal master controller, described relay accesses power input on electric energy meter and power output end respectively, described remote-control intelligent energy meter terminal master controller is by control relay circuit cut-in relay, for closing and disconnecting by remote-control intelligent energy meter terminal main controller controls relay, described memory also accesses remote-control intelligent energy meter terminal master controller, with prior art difference be, described remote-control intelligent electric energy meter also comprises information security management module, described information security management module comprises processor, first data-interface, second data-interface and FLASH memory, described processor accesses the first data-interface respectively, second data-interface and FLASH memory, wherein:
Above-mentioned first data-interface access data transport module, effect performs remote-control intelligent electric energy meter to communicate with the unique data of data transmission module, and transmit it to processor when receiving the external data coming from data transmission module; Described data transmission module directly receives the external data coming from long-range management system for selling power;
The effect of above-mentioned FLASH memory stores control in information security management module and documentor;
Above-mentioned second data-interface access data transport module, effect performs the data communication between processor and remote-control intelligent energy meter terminal master controller, and the effect of remote-control intelligent energy meter terminal master controller performs the operation of respective table end according to the instruction of processor;
The effect of above-mentioned processor is when receiving the external data coming from the first data-interface, authentication is carried out to the management system for selling power sending external data, judge whether to obtain encrypted packets in this external data, and send corresponding operational order by the second data-interface to remote-control intelligent energy meter terminal master controller according to the affairs comprised in data.
According to above-mentioned technical scheme, the technical problem that the present embodiment solves is the information security management module by above-mentioned composition structure, data retransmission is carried out between remote-control intelligent energy meter terminal master controller and management system for selling power, and give certification and encryption and decryption when forwarding, thus coordinate the intelligent electric energy meter of Utilities Electric Co. to terminal to manage, to eliminate the risk of information security management in Utilities Electric Co.'s operation.
And the Oscillator module shown in Fig. 1 and pin XIN, XOUT provide clock signal to information security management module; RAM memory is used for the operating ephemeral data of memory module; VCC and VSS two pins provides working power for information security management module, and this power supply should be continued power and can not be provided by remote-control intelligent energy meter terminal master controller pin.And go out as shown in Figure 1, in the present embodiment, the memory of above-mentioned access remote-control intelligent energy meter terminal master controller preferably adopts eeprom memory.
Shown in Fig. 1, in the embodiment that the present invention is more preferably for technical solution problem, the concrete mode that processor in a kind of above-mentioned information security management module performs management system for selling power authentication and affairs is provided, namely when processor receives the external data coming from the first data-interface, according to external data, authentication is carried out to management system for selling power, when authentication result is judged as legal, then encrypted packets is decrypted and completeness check, on the contrary the initial condition that then resets;
After data integrity verifying passes through, the validity of data is verified, on the contrary the initial condition that then resets;
After Validation of Data is passed through, preliminary treatment is carried out to the affairs comprised in data, and from remote-control intelligent energy meter terminal master controller, obtain corresponding return information by the second data-interface, data transmission module is returned to by the first data-interface by after described return information encryption, then pre-processed results approved after effectively being confirmed and stored relevant operation information, and to remote-control intelligent energy meter terminal master controller transmit operation instruction; Such as, otherwise then abandon pre-processed results or make caching process, namely do not receive the confirmation result of data transmission module within the time preset, do not receive the confirmation of data transmission module in three minutes, then reset initial condition; Aforesaid caching process refers to keeps in pre-processed results instruction, when processor is again waken up and receives the confirmation of data transmission module, then in the same way to remote-control intelligent energy meter terminal master controller transmit operation instruction.
The whole flow process of the present embodiment peripheral data from management system for selling power authentication to the affairs external data performed by processor is contained in above-mentioned technical scheme, by the programming of above-mentioned flow process, further enhance in information security management module the fail safe receiving information and executing.And the above-mentioned processor reset initial condition repeatedly mentioned, be resetting processor and perform the state before any one operation above-mentioned, it is resting state that such as processor carried out the state of authentication before receiving external data, be waken up by resting state when receiving external data, but when being judged as illegal to the authentication of management system for selling power, processor then recovers resting state, do not carry out any operation, in other step, the situation of processor reset also substantially as hereinbefore, when failing the authentication, operation note can be stored by processor.
And it is same, in another embodiment of the invention, for realizing being managed the information security management module in remote-control intelligent electric energy meter by different rights, need preset agreement restrictive condition and multiple different cipher key procedures in the FLASH memory in above-mentioned information security management module, it act as when the subsystem of information security management module classification different from management system for selling power respectively carries out exchanges data, processor according to the encryption key of external data compared with multiple cipher key procedures preset in FLASH memory, thus the identity of certification management system for selling power, and after encrypted packets deciphering and completeness check are passed through, according to the validity of agreement restrictive condition verification msg under current identity, judge whether to carry out preliminary treatment to the affairs in data,
Shown in figure 2, make above-mentioned remote-control intelligent electric energy meter have the IC-card read functions of current main flow intelligent electric energy meter concurrently for meeting simultaneously, also can set up IC card information Switching Module wherein, above-mentioned first data-interface is also accessed IC card information Switching Module, for transmitting it to processor when receiving the external data coming from IC card information Switching Module, processor performs the verification identical with the external data coming from data transmission module to described external data.
According to another embodiment of the present invention, as mentioned here above, for ease of the buffer memory of processor pre-processed results, in information security management module, also relatively independent eeprom memory can be set, and eeprom memory is also accessed processor, for the associative operation information of storage of processor to remote-control intelligent energy meter terminal master controller, processor is to the pre-processed results of affairs in external data, and the failure record of processor checking, and in FLASH memory, be also provided with other program that can be utilized by processor, namely processor to the associative operation information of remote-control intelligent energy meter terminal master controller once be stored to after in eeprom memory, by unsuppressible-suppression and amendment, to make the running status of information security management module leave complete record.
The remote-control intelligent electric energy meter being embedded with information security management module in above-described embodiment in actual applications, be as good as with existing remote-control intelligent electric energy meter, it is a kind of intelligent electric energy meter realizing facility information remote transmission and apparatus remote control in conjunction with Long-distance Transmission Technologies, described remote-control intelligent energy meter terminal master controller is according to the operational order of information security management module, by the action of control relay circuit control relay, play the effect of control power supply break-make.
When after the power input on power supply input electric energy meter, enter the VI pulse amplifier in counting module, for improving load capacity and reducing load to the impact of signal source in intelligent electric energy meter, and with the jamproof ability of increase; Then two mutual incoherent signal multiplications are realized by analog multiplier, namely output signal is directly proportional to input signal phase product, be transferred to pulse counter by V/F transducer again, after pulse counter counting, send data to remote-control intelligent energy meter terminal master controller and process; Also voltage detecting circuit is provided with, for detecting the voltage strength of power input to input VI pulse amplifier between power input on described VI pulse amplifier and electric energy meter.
Above-mentioned memory is for storing the presell electric quantity data information coming from information security management module forwards, described remote-control intelligent energy meter terminal master controller is also connected with LCDs by liquid crystal display circuit, for being deducted the presell electric quantity data information initial value stored in memory according to the variable in counting module by remote-control intelligent energy meter terminal master controller, and presented in LCDs by liquid crystal display circuit; Also comprise buzzer in described intelligent electric energy meter, remote-control intelligent electric energy meter master controller connects buzzer by surplus judging circuit, and when charge value is about to use up, sending alarm sound prompting needs to supplement with money with user; Exchanges data is carried out with long-range management system for selling power in a wireless or wired way by data transmission module; When the balance depletion of supplementing with money in subscriber's meter, remote-control intelligent energy meter terminal master controller, by control relay circuit control relay, makes it turn off, and then stops power supply.
The processor that above-described embodiment is mentioned is the core of information security management module in remote-control intelligent electric energy meter, for performing corresponding program and data encryption, in another embodiment of the present invention, above-mentioned processor is directly adopt the central processing unit or single-chip microcomputer that can perform cryptographic algorithm in prior art, such as EFM32 etc.
Based on data communication mode required in above-described embodiment, inventor is with reference to prior art, to select in prior art the communication that the transmission technology of part realizes between processor and interface, wherein data transmission module can adopt network communication module or bus communication module, and corresponding with aforesaid data transmission module, the first data-interface for carrying out unique communication with data transmission module in above-described embodiment can adopt network communication interface or bus interface.
Further, above-mentioned network communication interface can adopt wireless or wired form, radio network interface can adopt in the middle of RF module interface, Zigbee module interface, WiFi module interface, infrared module interface and bluetooth module interface one or more, wired network interface can adopt in the middle of Optical Fiber Transmission interface, data line transfer interface and power line transmission interface one or more; In the middle of above-mentioned bus interface Mbus bus interface, RS485 bus interface, CAN interface one or more.
And it is corresponding, the second data-interface that in above-described embodiment, processor and remote-control intelligent energy meter terminal master controller carry out communicating preferably matches with conventional master controller, the serial line interfaces such as such as USART interface, SPI interface or I2C interface, to increase the compatibility on information security management module integration and intelligent electric energy meter.
Shown in Fig. 1, for ensureing the fail safe of data encryption and solution in information security management module in remote-control intelligent electric energy meter further, preferably independently encrypting module is set therein, and by this independently encrypting module access processor, for to information security management module and management system for selling power, the multistage encryption and decryption of remote-control intelligent energy meter terminal master controller exchanges data, and the data encryption key that auxiliary processor obtains management system for selling power carries out authentication, and the cipher mode that in reference prior art, fail safe is higher, Advanced Encryption Standard in preferred employing AES(cryptography, the abbreviation of English AdvancedEncryptionStandard) or the triple DEA of 3DES(, English TripleDataEncryptionAlgorithm) encryption and decryption is carried out to the data of coming and going in information security management module.
Shown in Fig. 3, after the integrated above-mentioned information security management module of remote-control intelligent electric energy meter that multiple different vendor produces, the outside all communication datas of electric energy meter are all by forwarding after information security management module encryption and decryption, and the internal processes of information security management module is unique, therefore information security management module can be considered as terminal by management system for selling power, in order to manage intelligent electric energy meter, namely with the compatible various brand of a management system for selling power, the intelligent electric energy meter of type is managed concentratedly, effective reduction Utilities Electric Co. is to different brands in region, the difficulty of the intelligent electric energy meter integration management of type.As shown in Figure 3, the communication path of remote-control intelligent electric energy meter and management system for selling power is: show to hold by upper strata multistage communication device, and as collector, repeater, concentrator etc., directly arrive management system for selling power.By above-mentioned path, table end realizes transfer of data with direct and management system for selling power.
Than that described above, also it should be noted that spoken of in this manual " embodiment ", " another embodiment ", " embodiment " etc., refer to the specific features, structure or the feature that describe in conjunction with this embodiment and be included at least one embodiment of the application's generality description.Multiple place occurs that statement of the same race is not necessarily refer to same embodiment in the description.Furthermore, when describing specific features, structure or a feature in conjunction with any embodiment, what advocate is also fall within the scope of the invention to realize this feature, structure or feature in conjunction with other embodiments.
Although with reference to multiple explanatory embodiment of the present invention, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other amendment and execution mode, these amendments and execution mode will drop within spirit disclosed in the present application and spirit.More particularly, in the scope of, accompanying drawing open in the application and claim, multiple modification and improvement can be carried out to the building block of subject combination layout and/or layout.Except the modification of carrying out building block and/or layout is with except improvement, to those skilled in the art, other purposes also will be obvious.