CN102637324B - Authorization device of carrier wave prepayment electric energy meter - Google Patents
Authorization device of carrier wave prepayment electric energy meter Download PDFInfo
- Publication number
- CN102637324B CN102637324B CN201210108231.5A CN201210108231A CN102637324B CN 102637324 B CN102637324 B CN 102637324B CN 201210108231 A CN201210108231 A CN 201210108231A CN 102637324 B CN102637324 B CN 102637324B
- Authority
- CN
- China
- Prior art keywords
- authorization
- electric energy
- energy meter
- mcu
- module
- 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.)
- Active
Links
Abstract
The invention applies to the field of electric energy metering, and provides an authorization device of a carrier wave prepayment electric energy meter. The device comprises a first MCU (Microprogrammed Control Unit), a second MCU, a first authorization information reading module for communicating with an outer computer through an RS232 interface under the control of the first MCU to acquire first authorization information, a second authorization information reading module for reading second authorization information from an authorization information storage device under the control of the first MCU, an authorization key generation module for generating a authorization key according to the first authorization information and the second authorization information under the control of the first MCU, an encrypting/decrypting module for encrypting the authorization key generated by the key generation module under the control of the second MCU, and an authorization key writing-in module for writing the authorization key encrypted by the encrypting/decrypting module into a safety module of the carrier wave prepayment electric energy meter through a carrier wave under the control of the first MCU. The authorization device simplifies the authorization process of the carrier wave prepayment electric energy meter and ensures the authorization safety at the same time.
Description
Technical field
The invention belongs to electric energy metrical field, relate in particular to a kind of carrier pre-charging electric energy meter authorization device.
Background technology
Carrier pre-charging electric energy meter has been realized data carrier function on the basis of electronic electric energy meter, transfer data to data acquisition unit by supply line, management system for selling power extracts data from data acquisition unit, thereby realize remote meter reading and remote-operated function, for example, carry out the function such as pre-payment, remote electric charge data transmit-receive.And the safety that realizes communication data between management system for selling power and carrier pre-charging electric energy meter is the key of management system for selling power.
At present mainly take the method for data encryption to ensure the safety of communication data between management system for selling power and carrier pre-charging electric energy meter, but, prior art need to write enciphered message the encrypting module (encryption chip) of electric energy meter in advance, be arranged on again in electric energy meter, realize the mandate to electric energy meter, thereby cause as required carrier pre-charging electric energy meter being arranged flexibly and being upgraded, make writing and upgrading operating difficulties of key data, affect the security of communication data.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of carrier pre-charging electric energy meter authorization device, is intended to solve because prior art cannot provide a kind of effectively carrier pre-charging electric energy meter authorization device, causes the problem of carrier pre-charging electric energy meter licensing process complexity.
The embodiment of the present invention is achieved in that a kind of carrier pre-charging electric energy meter authorization device, and described authorization device comprises:
The one MCU;
The 2nd MCU;
The first authorization message read module, under the control at a MCU, communicates to obtain the first authorization message by RS232 interface and outer computer;
The second authorization message read module under the control at a MCU, reads the second authorization message from authorization message memory storage;
Authorization key generation module, under the control at a MCU, generates authorization key according to the first authorization message and the second authorization message;
Enciphering/deciphering module, is encrypted for the authorization key under the control at the 2nd MCU, described authorization key generation module being generated;
Authorization key writing module, under the control at a MCU, is written to the authorization key after described enciphering/deciphering module encrypt in the security module of carrier pre-charging electric energy meter by carrier wave; And
Authorize feedback information writing module, under controlling at a MCU, write mandate feedback information by default communication interface to external memory, described mandate feedback information is that described authorization key writing module completes the mandate check code returning after authorization key writes.
The embodiment of the present invention has proposed a kind of carrier pre-charging electric energy meter authorization device, this device comprises a MCU, the 2nd MCU, for communicate to obtain the first authorization message read module of the first authorization message by RS232 interface and outer computer under the control of a MCU, for read the second authorization message read module of the second authorization message from authorization message memory storage under the control of a MCU, be used under the control of a MCU according to the authorization key generation module of the first authorization message and the second authorization message generation authorization key, for the enciphering/deciphering module that is encrypted of authorization key that under the control of the 2nd MCU, key production module generated and for the authorization key after enciphering/deciphering module encrypt is written under the control at a MCU to the authorization key writing module of the security module of carrier pre-charging electric energy meter by carrier wave, the authorization device that the present invention proposes provides a kind of simple for the mandate of carrier pre-charging electric energy meter, authorization device flexibly, simplify the licensing process of carrier pre-charging electric energy meter, ensured the security of authorizing simultaneously.
Brief description of the drawings
Fig. 1 is the structural drawing of the carrier pre-charging electric energy meter authorization device that provides of the embodiment of the present invention one;
Fig. 2 is the structural drawing of the carrier pre-charging electric energy meter authorization device that provides of the embodiment of the present invention two;
Fig. 3 is the structural drawing of the carrier pre-charging electric energy meter authorization device that provides of the embodiment of the present invention three.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with specific embodiment, specific implementation of the present invention is described in detail:
embodiment mono-:
Fig. 1 shows the structure of the carrier pre-charging electric energy meter authorization device that the embodiment of the present invention one provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
In embodiments of the present invention, mandate is the certification to carrier pre-charging electric energy meter legitimacy, specifically realize by authorization key, in the time that authorization key is written to carrier pre-charging electric energy meter, this electric energy meter has just obtained the mandate of management system for selling power, can realize the secure communication with management system for selling power.
In embodiments of the present invention, carrier pre-charging electric energy meter authorization device comprises a MCU11, the first authorization message read module 12, the second authorization message read module 13, authorization key generation module 14, the 2nd MCU15, enciphering/deciphering module 16 and authorization key writing module 17, wherein:
The first authorization message read module 12, under the control of a MCU, communicates to obtain the first authorization message by RS232 interface and outer computer.
In embodiments of the present invention, the first authorization message read module 12, under the control of the first micro-control unit (Micro Control Unit, MCU) 11, communicates to obtain the first authorization message by the RS232 interface and the outer computer that arrange.In specific implementation process, outer computer can be any computer equipment with RS232 interface, for example, mobile computing device, at this not in order to limit the present invention.In this outer computer, store the first authorization message.Wherein, the first authorization message has comprised Part I subkey data, for generating seed key.
The second authorization message read module 13 reads the second authorization message under the control of a MCU from authorization message memory storage.
In embodiments of the present invention, authorization message memory storage is used for storing the second authorization message, and this memory storage can be the memory device such as IC-card, flash memory, preferably, this memory storage is radio-frequency card, thereby user-friendly, has ensured the security of the second authorization message simultaneously.Wherein, the second authorization message comprises quantity and the authorization date of the Part II subkey data for generating seed key, the table number of authorizing carrier pre-charging electric energy meter, mandate carrier pre-charging electric energy meter.Authorize the table number of carrier pre-charging electric energy meter to show the delegatable electric energy meter numbering of this carrier pre-charging electric energy meter authorization device, authorize the schedule of quantities of carrier pre-charging electric energy meter to understand the delegatable electric energy meter quantity of this carrier pre-charging electric energy meter authorization device.
Authorization key generation module 14, under the control of a MCU, generates authorization key according to the first authorization message and the second authorization message.
In the embodiment of the present invention, when getting after the first authorization message and the second authorization message, authorization key generation module 14 generates authorization key according to the first authorization message and the second authorization message under the control of a MCU.Concrete conduct illustratively, first authorization key generation module 14 generates seed key according to Part II subkey data in Part I subkey data in the first authorization message and the second authorization message, then generates authorization key according to the table number of seed key and electric energy meter to be authorized.
The authorization key that enciphering/deciphering module 16 generates authorization key generation module 14 under the control of the 2nd MCU is encrypted.
In embodiments of the present invention, in order to improve the security of system, in authorization key is written to carrier pre-charging electric energy meter time, the authorization key that enciphering/deciphering module 16 generates authorization key generation module 14 under the control of the 2nd MCU is encrypted.
Authorization key after authorization key writing module 17 is encrypted enciphering/deciphering module 16 under the control of a MCU is written in the security module of carrier pre-charging electric energy meter by carrier wave.
In embodiments of the present invention, the authorization key after encryption is written in the security module of carrier pre-charging electric energy meter by carrier wave, thereby data transmission is combined with the concrete applied environment of electric energy meter, has improved the accuracy that key writes.
embodiment bis-:
Fig. 2 shows the structure of the carrier pre-charging electric energy meter authorization device that the embodiment of the present invention two provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention, comprising:
In embodiments of the present invention, carrier pre-charging electric energy meter authorization device comprises a MCU11, the first authorization message read module 12, the second authorization message read module 13, authorization key generation module 14, the 2nd MCU15, enciphering/deciphering module 16, authorization key writing module 17, the 3rd MCU18 and demonstration output module 19, wherein:
The first authorization message read module 12, under the control of a MCU, communicates to obtain the first authorization message by RS232 interface and outer computer.
The second authorization message read module 13, under the control of a MCU, reads the second authorization message from authorization message memory storage.
Authorization key generation module 14, under the control of a MCU, generates authorization key according to the first authorization message and the second authorization message.
The authorization key that enciphering/deciphering module 16 generates authorization key generation module 14 under the control of the 2nd MCU is encrypted.
Authorization key after authorization key writing module 17 is encrypted enciphering/deciphering module 16 under the control of a MCU is written in the security module of carrier pre-charging electric energy meter by carrier wave.
In embodiments of the present invention, the one MCU11, the first authorization message read module 12, the second authorization message read module 13, authorization key generation module 14, the 2nd MCU15, enciphering/deciphering module 16 and 17 its concrete enforcements of authorization key writing module are identical with embodiment mono-, do not repeat them here.
In embodiments of the present invention, also comprise the 3rd MCU18 and show output module 19, show that output module 19 shows in real time the mode of operation of outgoing carrier prepayment meter authorization device under the control of the 3rd MCU.Particularly, show that output module 19 can show in real time by LCD display device the mode of operation of outgoing carrier prepayment meter authorization device, thereby provide human-computer interaction interface to user, user-friendly.
embodiment tri-:
Fig. 3 shows the structure of the carrier pre-charging electric energy meter authorization device that the embodiment of the present invention three provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention, comprising:
In embodiments of the present invention, carrier pre-charging electric energy meter authorization device comprises a MCU11, the first authorization message read module 12, the second authorization message read module 13, authorization key generation module 14, the 2nd MCU15, enciphering/deciphering module 16, authorization key writing module 17, the 3rd MCU18, shows output module 19, authorizes feedback information writing module 20 and alarm output module 21, wherein:
The first authorization message read module 12, under the control of a MCU, communicates to obtain the first authorization message by RS232 interface and outer computer.
The second authorization message read module 13, under the control of a MCU, reads the second authorization message from authorization message memory storage.
Authorization key generation module 14, under the control of a MCU, generates authorization key according to the first authorization message and the second authorization message.
The authorization key that enciphering/deciphering module 16 generates authorization key generation module 14 under the control of the 2nd MCU is encrypted.
Authorization key after authorization key writing module 17 is encrypted enciphering/deciphering module 16 under the control of a MCU is written in the security module of carrier pre-charging electric energy meter by carrier wave.
In embodiments of the present invention, also comprise the 3rd MCU18 and show output module 19, show that output module 19 shows in real time the mode of operation of outgoing carrier prepayment meter authorization device under the control of the 3rd MCU.
In embodiments of the present invention, the one MCU11, the first authorization message read module 12, the second authorization message read module 13, authorization key generation module 14, the 2nd MCU15, enciphering/deciphering module 16, authorization key writing module 17, the 3rd MCU18 and 19 its concrete enforcements of demonstration output module are identical with embodiment bis-, do not repeat them here.
Authorize feedback information writing module 20 to write mandate feedback information by default communication interface to external memory under controlling at a MCU.
In order to preserve and safeguard the each information of authorizing of authorization device, in embodiments of the present invention, authorize the feedback information after feedback information writing module 20 completes mandate by default communication interface to be written to external memory, this external memory can be various memory devices.Preferably, external memory is USB flash disk, and correspondingly, communication interface is USB interface, thereby has facilitated the quick storage of feedback information.Wherein, authorizing feedback information is that authorization key writing module 17 completes the mandate check code returning after authorization key writes.Feedback information can be sent to authorization database by external memory, to facilitate the follow-up examination & verification to this mandate.
Alarm output module 21 is exported corresponding alarm prompting in the time of carrier pre-charging electric energy meter authorization device operation exception under a MCU controls.
In this inventive embodiments, during for carrier pre-charging electric energy meter authorization device operation exception, export alarm information to user, use alarm output module 21 to carry out the output of alarm, operate accordingly with prompting user, particularly, alarm output module 21 can be exported corresponding alarm prompting by hummer.
The embodiment of the present invention has proposed a kind of carrier pre-charging electric energy meter authorization device, this device comprises that carrier pre-charging electric energy meter authorization device comprises a MCU, the first authorization message read module, the second authorization message read module, authorization key generation module, the 2nd MCU, enciphering/deciphering module, authorization key writing module, the 3rd MCU, show output module, authorize feedback information writing module and alarm output module, the authorization device that the present invention proposes provides a kind of simple for the mandate of carrier pre-charging electric energy meter, authorization device flexibly, simplify the licensing process of carrier pre-charging electric energy meter, ensured the security of authorizing simultaneously.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (8)
1. a carrier pre-charging electric energy meter authorization device, is characterized in that, described device comprises:
The one MCU;
The 2nd MCU;
The first authorization message read module, under the control at a MCU, communicates to obtain the first authorization message by RS232 interface and outer computer;
The second authorization message read module under the control at a MCU, reads the second authorization message from authorization message memory storage;
Authorization key generation module, under the control at a MCU, generates authorization key according to the first authorization message and the second authorization message;
Enciphering/deciphering module, is encrypted for the authorization key under the control at the 2nd MCU, described authorization key generation module being generated;
Authorization key writing module, under the control at a MCU, is written to the authorization key after described enciphering/deciphering module encrypt in the security module of carrier pre-charging electric energy meter by carrier wave; And
Authorize feedback information writing module, under controlling at a MCU, write mandate feedback information by default communication interface to external memory, described mandate feedback information is that described authorization key writing module completes the mandate check code returning after authorization key writes.
2. carrier pre-charging electric energy meter authorization device as claimed in claim 1, is characterized in that, described authorization message memory storage is radio-frequency card.
3. carrier pre-charging electric energy meter authorization device as claimed in claim 1, is characterized in that, described device also comprises:
The 3rd MCU,
Show output module, for showing in real time the mode of operation of the described carrier pre-charging electric energy meter authorization device of output under the control at the 3rd MCU.
4. carrier pre-charging electric energy meter authorization device as claimed in claim 3, is characterized in that, described demonstration output module shows the mode of operation of exporting described carrier pre-charging electric energy meter authorization device in real time by LCD display device.
5. carrier pre-charging electric energy meter authorization device as claimed in claim 1, is characterized in that, described communication interface is USB interface, and described external memory is USB flash disk.
6. carrier pre-charging electric energy meter authorization device as claimed in claim 1, it is characterized in that, described the first authorization message comprises Part I subkey data, and described the second authorization message comprises the table number of Part II subkey data, mandate carrier pre-charging electric energy meter, quantity and the authorization date of mandate carrier pre-charging electric energy meter.
7. carrier pre-charging electric energy meter authorization device as claimed in claim 1, is characterized in that, described device also comprises:
Alarm output module, for exporting corresponding alarm prompting when the described carrier pre-charging electric energy meter authorization device operation exception under a MCU controls.
8. carrier pre-charging electric energy meter authorization device as claimed in claim 7, is characterized in that, described alarm output module is exported corresponding alarm prompting by hummer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210108231.5A CN102637324B (en) | 2012-04-13 | 2012-04-13 | Authorization device of carrier wave prepayment electric energy meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210108231.5A CN102637324B (en) | 2012-04-13 | 2012-04-13 | Authorization device of carrier wave prepayment electric energy meter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102637324A CN102637324A (en) | 2012-08-15 |
CN102637324B true CN102637324B (en) | 2014-10-29 |
Family
ID=46621708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210108231.5A Active CN102637324B (en) | 2012-04-13 | 2012-04-13 | Authorization device of carrier wave prepayment electric energy meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102637324B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104537768B (en) * | 2013-03-19 | 2017-05-31 | 成都秦川科技发展有限公司 | IC card intelligent heat meter information security management module |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1932896A (en) * | 2005-09-14 | 2007-03-21 | 上海新跃仪表厂 | Authorized card for tax controller |
CN101123502A (en) * | 2007-08-28 | 2008-02-13 | 浙江大学 | Measurement authentication method based on digital signature |
CN101339678A (en) * | 2008-08-12 | 2009-01-07 | 深圳市思达仪表有限公司 | Pre-payment meter key management system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7032240B1 (en) * | 1999-12-07 | 2006-04-18 | Pace Anti-Piracy, Inc. | Portable authorization device for authorizing use of protected information and associated method |
CN101308536A (en) * | 2007-05-16 | 2008-11-19 | 许丰 | Control method and apparatus for binuclear safety |
-
2012
- 2012-04-13 CN CN201210108231.5A patent/CN102637324B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1932896A (en) * | 2005-09-14 | 2007-03-21 | 上海新跃仪表厂 | Authorized card for tax controller |
CN101123502A (en) * | 2007-08-28 | 2008-02-13 | 浙江大学 | Measurement authentication method based on digital signature |
CN101339678A (en) * | 2008-08-12 | 2009-01-07 | 深圳市思达仪表有限公司 | Pre-payment meter key management system |
Also Published As
Publication number | Publication date |
---|---|
CN102637324A (en) | 2012-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103701609B (en) | A kind of server and the method and system operating terminal two-way authentication | |
CN101958026B (en) | User authentication module setting method and system | |
CN101807994B (en) | Method and system for application data transmission of IC card | |
CN107408175A (en) | For the challenge responses certification from encryption driving | |
CN202362788U (en) | Dependable computing device with USB (Universal Serial Bus) interfaces | |
CN201387642Y (en) | Single-phase electronic type multi-rate prepayment electric energy meter | |
CN104978144A (en) | Gesture password input device and system and method for transaction based on system | |
CN103684786A (en) | Method and system for storing digital certificate and binding digital certificate to hardware carrier | |
CN202230487U (en) | Mobile paying code processor and system | |
CN102013981A (en) | E-bank data authentication device and method applied to mobile communication terminal | |
CN104063333A (en) | Encrypted storage equipment and encrypted storage method | |
CN204926299U (en) | Handheld terminal of checking meter of expense accuse | |
CN102831081A (en) | Transparent encryption and decryption secure digital memory card (SD card) and implementation method thereof | |
CN101673434A (en) | Secret key management method of IC card terminal | |
CN102637324B (en) | Authorization device of carrier wave prepayment electric energy meter | |
KR20130123986A (en) | System for issuing an otp generator and method thereof | |
CN101281497B (en) | Ciphering type mobile storage apparatus | |
CN103077414A (en) | Passive RFID (Radio Frequency Identification Devices) electronic tag reader-writer with high reliability and UHF (Ultra High Frequency) and read write control method | |
CN105426705A (en) | Encryption control system for accounting software | |
CN109450631A (en) | Key generation device and management system, data processing equipment, data transacting system | |
CN102291241B (en) | Encryption and decryption method and device for multi-data security module | |
CN101833822B (en) | Security protection method for electric power prepaid system | |
CN204759393U (en) | Gesture password input device and system | |
CN101887503B (en) | Seed circulation supervision system and authentication method thereof | |
CN100440262C (en) | Paying apparatus and method for prepaying meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |