CN109598132A - Electric energy meter and its date storage method - Google Patents

Electric energy meter and its date storage method Download PDF

Info

Publication number
CN109598132A
CN109598132A CN201811387373.3A CN201811387373A CN109598132A CN 109598132 A CN109598132 A CN 109598132A CN 201811387373 A CN201811387373 A CN 201811387373A CN 109598132 A CN109598132 A CN 109598132A
Authority
CN
China
Prior art keywords
data
register
encrypting
electric energy
energy meter
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.)
Pending
Application number
CN201811387373.3A
Other languages
Chinese (zh)
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.)
Holley Technology Co Ltd
Original Assignee
Holley 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 Holley Technology Co Ltd filed Critical Holley Technology Co Ltd
Priority to CN201811387373.3A priority Critical patent/CN109598132A/en
Publication of CN109598132A publication Critical patent/CN109598132A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories

Abstract

The present invention provides a kind of electric energy meter and its date storage method, which includes electric energy meter ontology, micro-control unit and data storage cell, and micro-control unit includes register and data encryption/decryption element;Register stores the clear data of electric energy meter, and clear data is sent to data encrypting and deciphering unit;Data encrypting and deciphering unit encrypts clear data, obtains ciphertext data, and by ciphertext data return register;Ciphertext data are transmitted to data storage cell by register;When decryption, the ciphertext data of storage are passed through register transfer to data encrypting and deciphering unit by data storage cell;The ciphertext data are decrypted data encrypting and deciphering unit, the clear data after being decrypted;Clear data after last register storage decryption.The present invention in micro-control unit by being added data encrypting and deciphering unit, to carry out encryption and decryption processing to electric energy meter data, avoids criminal from carrying out camouflage to electric energy meter data and distorts, improve the reliability of data.

Description

Electric energy meter and its date storage method
Technical field
The present invention relates to electric energy meter technical field of data storage, more particularly, to a kind of electric energy meter and its data storage side Method.
Background technique
Electric energy meter has used ESAM (Embedded Secure Access Module, embedded-type security control mould at present Block) national secret algorithm, encryption has been carried out to the data on communication link, but the EEPROM inside electric energy meter (Electrically Erasable Programmable read only memory, band electric erazable programmable read-write storage Device) and the memory devices such as FLASH use stored in clear, still, with FPGA (Field Programmable Gate Array, Field programmable gate array) application popularization, hacker can simulate the memory devices such as EEPROM and FLASH with FPGA, obtain Then storing data structure can obtain the data information that modification is stored in EEPROM and FLASH easily, lead to information security There are larger hidden dangers, and the reliability of data information is poor.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of electric energy meter and its date storage method, to improve electric energy meter The reliability of data.
In a first aspect, the electric energy meter includes electric energy meter ontology, microcontroller list the embodiment of the invention provides a kind of electric energy meter Member and data storage cell, wherein micro-control unit includes register and data encryption/decryption element;Register is for storing electric energy Clear data is sent to data encrypting and deciphering unit by the clear data of table;Data encrypting and deciphering unit is for carrying out clear data Encryption, obtains ciphertext data, ciphertext data is back to register;Register is also used to for ciphertext data being transmitted to data storage Unit;Ciphertext data are transmitted to data encrypting and deciphering unit by register for storing ciphertext data by data storage cell;Number It is also used to for ciphertext data being decrypted according to encryption/decryption element, the clear data after being decrypted;Register is also used to deposit Clear data after storing up the decryption of data encrypting and deciphering unit transmission.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein on Stating data encrypting and deciphering unit includes SOC chip.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein on Data storage cell is stated using eeprom chip.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein on The MT_SDA pin and MT_SCL pin for stating eeprom chip are connected with register respectively.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein Eeprom chip includes two open-drain pull-up resistors.
Second aspect, the embodiment of the present invention also provide a kind of date storage method of electric energy meter, and this method is applied to first In the electric energy meter of aspect, this method comprises: the clear data of register storage electric energy meter, is sent to data for clear data and adds solution Close unit;Data encrypting and deciphering unit encrypts clear data, obtains ciphertext data, and ciphertext data are back to register; Ciphertext data are transmitted to data storage cell by register;Data storage cell stores ciphertext data, by register by ciphertext Data are transmitted to data encrypting and deciphering unit;Ciphertext data are decrypted data encrypting and deciphering unit, bright after being decrypted Literary data;Clear data after the decryption of register storing data encryption/decryption element transmission.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein number Data interaction is carried out by register according to storage unit and data encrypting and deciphering unit.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein on The method of stating further includes that the clear data after decryption is decrypted the clear data readable for register by data encrypting and deciphering unit.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiments of second aspect, wherein number The step of according to encryption/decryption element encrypting, obtain ciphertext data the clear data that register is sent includes: data encrypting and deciphering The clear data that unit receiving register is sent;Clear data is converted to Encryption Algorithm professional format by data encrypting and deciphering unit, Clear data to be encrypted, ciphertext data are obtained.
In conjunction with second aspect, the embodiment of the invention provides the 4th kind of possible embodiments of second aspect, wherein number Ciphertext data are decrypted according to encryption/decryption element, the step of clear data after being decrypted, comprising: data encrypting and deciphering Unit receives ciphertext data;Data encrypting and deciphering unit is by ciphertext data conversion at the data of decrypted format;Data encrypting and deciphering unit The data of decrypted format are decrypted, the clear data after being decrypted.
The embodiment of the present invention bring it is following the utility model has the advantages that
The present invention provides a kind of electric energy meter and its date storage method, which includes electric energy meter ontology, microcontroller Unit and data storage cell, micro-control unit include register and data encryption/decryption element;Register stores the bright of electric energy meter Literary data, and clear data is sent to data encrypting and deciphering unit;Data encrypting and deciphering unit encrypts clear data, obtains Ciphertext data, and ciphertext data are back to register;Ciphertext data are transmitted to data storage cell by register;Data deciphering When, the ciphertext data of storage are passed through register transfer to data encrypting and deciphering unit by data storage cell;Data encrypting and deciphering unit The ciphertext data are decrypted, the clear data after being decrypted;Clear data after last register storage decryption. The present invention, to carry out encryption and decryption processing to electric energy meter data, is kept away by the way that data encrypting and deciphering unit is added in micro-control unit Exempt from criminal and electric energy meter data are carried out pretending to distort, improves the reliability of data.
Other features and advantages of the present invention will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implementing above-mentioned technology of the invention it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, better embodiment is cited below particularly, and match Appended attached drawing is closed, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of electric energy meter provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of another electric energy meter provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of EEPROM in electric energy meter provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another electric energy meter provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of the date storage method of electric energy meter provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the date storage method of another electric energy meter provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
At present the memory devices such as EEPROM, FLASH inside electric energy meter use stored in clear, hacker can by FPGA come The memory devices such as EEPROM, FLASH are simulated, storing data structure is obtained, to distort the information in memory device, leads to information Security presence larger hidden danger is based on this, and a kind of electric energy meter and its date storage method provided in an embodiment of the present invention, which can In the scene of the data encryption and data deciphering that are applied to inside electric energy meter.For convenient for understanding the present embodiment, first It describes in detail to a kind of electric energy meter disclosed in the embodiment of the present invention.
A kind of structural schematic diagram of electric energy meter shown in Figure 1;The electric energy meter includes electric energy meter ontology 10, microcontroller list Member 11 and data storage cell 12, wherein micro-control unit 11 includes register 110 and data encryption/decryption element 111.
Above-mentioned register 110 is used to store the clear data of electric energy meter, and clear data is sent to data encrypting and deciphering unit 111;Data encrypting and deciphering unit 111 obtains ciphertext data, ciphertext data is back to deposit for encrypting clear data Device 110;Register 110 is also used to ciphertext data being transmitted to data storage cell 12;Data storage cell 12 is close for storing Ciphertext data are transmitted to data encrypting and deciphering unit 111 by register 110 by literary data;Data encrypting and deciphering unit 111 is also used to Ciphertext data are decrypted, the clear data after being decrypted;Register 110 is also used to storing data encryption/decryption element Clear data after the decryption of 111 transmission.
Above-mentioned micro-control unit (Microcontroller Unit, MCU) 11 usually can be described as one chip microcomputer again Or single-chip microcontroller, it is that the frequency in central processing unit (Central Process Unit, CPU) is done appropriate reduction with specification, And on a single chip by the integration of the perimeter interfaces such as memory (memory), counter (Timer), USB, A/D conversion, U, core is formed The computer of chip level does various combination control for different applications.
Above-mentioned register 110 is a part of micro-control unit 11, and register 110 is usually the high speed of limited storage capacity Depositing element, they can be used to temporary instruction, data and address etc.;Above-mentioned register is mainly used for storing the plaintext number of electric energy meter According to the clear data after, ciphertext data and decryption.
Above-mentioned data encrypting and deciphering unit 111 is the unit being newly added in micro-control unit 11, is generallyd use with encryption and decryption The chip of function is encrypted with the clear data to electric energy meter, and encrypted ciphertext data are decrypted, thus in plain text Data and ciphertext data can be completed in single-chip microcontroller (being equivalent to above-mentioned micro-control unit), avoid hacker's interception from individually adding The clear data of close chip and carry out camouflage altered data.
Above-mentioned data storage cell 12 is mainly used for the encrypted ciphertext data of the output of storage register 110;When useful When family needs the data of reading power meters, the ciphertext data of storage are transmitted to register 110, register by data storage cell 12 The ciphertext data are transmitted to data encrypting and deciphering unit 111 again by 110 to be decrypted, and data encrypting and deciphering unit 111 will be decrypted Clear data afterwards is being sent to register 110, at this point, user can be from the plaintext after reading power meters decryption in register Data, the process entirely decrypted are also to complete in single-chip microcontroller, improve the reliability of data in this way.
The present invention provides a kind of electric energy meter, which includes that electric energy meter ontology, micro-control unit and data storage are single Member, micro-control unit include register and data encryption/decryption element;Register stores the clear data of electric energy meter, and by plaintext number According to being sent to data encrypting and deciphering unit;Data encrypting and deciphering unit encrypts clear data, obtains ciphertext data, and by ciphertext Data are back to register;Ciphertext data are transmitted to data storage cell by register;When data deciphering, data storage cell will The ciphertext data of storage pass through register transfer to data encrypting and deciphering unit;Data encrypting and deciphering unit solves the ciphertext data Close processing, the clear data after being decrypted;Clear data after last register storage decryption.The present invention passes through in microcontroller Data encrypting and deciphering unit is added in unit, to carry out encryption and decryption processing to electric energy meter data, avoids criminal to electric energy meter Data carry out camouflage and distort, and improve the reliability of data.
The embodiment of the invention also provides another electric energy meter, realized on the basis of electric energy meter method shown in Fig. 1;Ginseng The structural schematic diagram of another electric energy meter as shown in Figure 2;The electric energy meter includes electric energy meter ontology 10,11 sum number of micro-control unit According to storage unit 12, wherein micro-control unit 11 includes register 110 and data encryption/decryption element 111.
Specifically, above-mentioned data encrypting and deciphering unit 111 includes SOC (System-on-a-Chip, system level chip) chip 20, SOC chip is also referred to as system on chip, says from narrow sense angle, usually the integrated chip of information system core, that is, will be Critical component of uniting is integrated on one chip;It is said from broadest scope, SOC chip is a mini system.
Further, above-mentioned data storage cell 11 uses eeprom chip, and eeprom chip is usually band electric erasable and programmable The storage chip that data are not lost after journey read-write memory and a kind of power down;The erasing of EEPROM is not needed by means of other Equipment, it is to modify its content with electronic signal, and is do not need the number that will be stored using Byte as minimal modifications unit It washes off and could be written according to whole;EEPROM is when being written data, it is still desirable to utilize certain program voltage, at this time, it is only necessary to Content can be easily rewritten with the dedicated refresh program that manufacturer provides, so EEPROM belongs to twin voltage chip.
Further, the MT_SDA pin of above-mentioned eeprom chip and MT_SCL pin are connected with register 110 respectively, with Carry out the interaction of data.
Be illustrated in figure 3 the schematic diagram of EEPROM in electric energy meter, in figure EEPROM include two open-drain pull-up resistor R32 and R35, usual pull-up resistor is by a resistance clamper by uncertain signal in high level, while resistance also plays current limliting Effect.
EEPROM includes 8 pins in Fig. 3, and pin 1,2 and 3 is EEPROM hardware address;Pin 4 is power ground interface; Pin 5 and 6 is respectively MT_SDA pin and MT_SCL pin, is connected with the register 110 of electric energy meter and carries out data exchange, wherein Pin 5 is also connected with pull-up resistor R35, and pin 6 is also connected with pull-up resistor R32,;Pin 7 is that write-protect enables foot;Pin 8 For power supply 3.3V power voltage supply mouth.
Specifically, which further includes current-voltage sampling, metering chip, clock circuit, clock RTC (Real-Time Clock, real-time clock), ESAM (Embedded Secure Access Module, embedded safe control module), LED refer to Show lamp, key, PLC (Power Line Carrier, power carrier communication), RS485 (Rcommended standard 485, Proposed standard 485) interface and infrared interface, as shown in Figure 4.
Above-mentioned metering chip is connected with current-voltage sampling, clock circuit and micro-control unit 11 respectively;Micro-control unit 11 are connected with clock RTC, ESAM, LED light, key, PLC, RS485 interface and infrared interface.
Above-mentioned current-voltage sampling and metering chip are usually the circuit that electric energy meter is used to measure electricity consumption;Clock circuit is logical It is usually used in time-division charge rate, such as the independent clock of time of rate electricity price, precision;When clock RTC usually can provide stable Clock signal is subsequent conditioning circuit use;ESAM is commonly used in the encryption processing module of electric energy meter communication;LED light is commonly used in finger Show pulse and the relay etc. of electric energy meter;Key turns over screen for what electric energy meter was shown;PLC, RS485 interface and infrared interface are usual PERCOM peripheral communication for communication interface, for data.
Electric energy meter provided in this embodiment uses the SOC chip with encryption and decryption functions, and adopts in the data store The safety of data transmission and the reliability of data itself are improved with eeprom chip to carry out encryption and decryption processing to data.
The embodiment of the invention also provides a kind of date storage method of electric energy meter, this method is applied in above-described embodiment In the electric energy meter of offer.
A kind of flow chart of the date storage method of electric energy meter shown in Figure 5, the specific steps of this method, comprising:
Step S502, register store the clear data of electric energy meter, clear data are sent to data encrypting and deciphering unit.
The register of micro-control unit is mainly used for storing the data of electric energy meter, which is civilized data, and register will The clear data is sent to data encrypting and deciphering unit and is encrypted, to ensure the safety of data.
Step S504, data encrypting and deciphering unit encrypt clear data, obtain ciphertext data, and ciphertext data are returned To register.
Received clear data is converted into the dedicated format of Encryption Algorithm by data encrypting and deciphering unit, to carry out at encryption Reason, and encrypted ciphertext data are transmitted to register.
Ciphertext data are transmitted to data storage cell by step S506, register.
Ciphertext data are transferred to the data storage cell of electric energy meter by above-mentioned storage drive, so that data storage cell storage should Ciphertext data distort to prevent data of the criminal to data storage cell, improve the reliability of data.
Step S508, data storage cell store ciphertext data, ciphertext data are transmitted to data by register and add solution Close unit.
When the data for thering is user or staff to need reading power meters, need to store data storage cell close Literary data are decrypted, so that user or staff use;When data are decrypted, it is necessary first to deposit data The ciphertext data of storage unit are transmitted to register, which is transmitted to data encrypting and deciphering unit again by register.
Ciphertext data are decrypted for step S510, data encrypting and deciphering unit, the clear data after being decrypted.
Data encrypting and deciphering unit receives the ciphertext data of register transfer, and data encrypting and deciphering unit turns the ciphertext data Change the data of decrypted format into, the clear data data to be decrypted, after being decrypted.
Above-mentioned data storage cell carries out data interaction by register with data encrypting and deciphering unit, it is generally the case that number According to the data interaction of storage unit and data encrypting and deciphering unit, need to be transmitted by intermediary's medium register.
Step S512, the clear data after the decryption of register storing data encryption/decryption element transmission.
Clear data after decryption is transmitted to register by data encrypting and deciphering unit, and register stores the plaintext after the decryption Data, so that user or staff are read out.
The date storage method of electric energy meter provided in this embodiment, wherein the encryption process of entire data is all micro- It is completed in control unit, avoids hacker and intercept the clear data of independent encryption chip and carry out camouflage altered data, improved The safety of data information and the reliability of data.
The embodiment of the invention also provides the date storage method of another electric energy meter, this method is applied to above-described embodiment In the electric energy meter of middle offer.
The date storage method of another electric energy meter shown in Figure 6, on the basis of this method method shown in Fig. 5 It realizes, the specific steps of this method, comprising:
Step S602, register store the clear data of electric energy meter, clear data are sent to data encrypting and deciphering unit.
Step S604, the clear data that data encrypting and deciphering unit receiving register is sent.
Step S606, clear data is converted to Encryption Algorithm professional format by data encrypting and deciphering unit, to clear data It is encrypted, obtains ciphertext data.
Step S608, data encrypting and deciphering unit encrypt clear data, obtain ciphertext data, and ciphertext data are returned To register.
Ciphertext data are transmitted to data storage cell by step S610, register.
Step S612, data storage cell store ciphertext data, ciphertext data are transmitted to data by register and add solution Close unit.
When the data for thering is user or staff to need reading power meters, need to store data storage cell close Literary data are decrypted, so that user or staff use.
Step S614, data encrypting and deciphering unit receive ciphertext data.
Step S616, data encrypting and deciphering unit is by ciphertext data conversion at the data of decrypted format.
The data of decrypted format are decrypted for step S618, data encrypting and deciphering unit, the plaintext after being decrypted Data.
Clear data after decryption is decrypted the clear data readable for register by above-mentioned data encrypting and deciphering unit.
Step S620, the clear data after the decryption of register storing data encryption/decryption element transmission.
The date storage method data of electric energy meter provided in an embodiment of the present invention have with electric energy meter provided by the above embodiment There is identical technical characteristic, so also can solve identical technical problem, reaches identical technical effect.
Present invention is generally directed to use peripheral data storage unit electric energy meter, by the number of electric energy meter and external memory unit According to Encryption Algorithm has been used interchangeably, the data of electric energy meter storage are encrypted.Electric energy is utilized using the avoidable hacker of the present invention The characteristic of plaintext transmission inside table, easily obtains and distorts storage content, to improve electric energy meter data reliability.
The computer program product of electric energy meter and its date storage method provided by the embodiment of the present invention, including store The computer readable storage medium of program code, the instruction that said program code includes can be used for executing in previous methods embodiment The method, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description And/or the specific work process of device, it can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of electric energy meter, which is characterized in that the electric energy meter includes that electric energy meter ontology, micro-control unit and data storage are single Member, wherein the micro-control unit includes register and data encryption/decryption element;
The register is used to store the clear data of electric energy meter, and the clear data is sent to the data encrypting and deciphering list Member;
The data encrypting and deciphering unit obtains ciphertext data, by the ciphertext data for encrypting the clear data It is back to the register;
The register is also used to the ciphertext data being transmitted to the data storage cell;
The ciphertext data are transmitted to institute by the register for storing the ciphertext data by the data storage cell State data encrypting and deciphering unit;
The data encrypting and deciphering unit is also used to for the ciphertext data being decrypted, the clear data after being decrypted;
The register is also used to store the clear data after the decryption of the data encrypting and deciphering unit transmission.
2. electric energy meter according to claim 1, which is characterized in that the data encrypting and deciphering unit includes SOC chip.
3. electric energy meter according to claim 1, which is characterized in that the data storage cell uses eeprom chip.
4. electric energy meter according to claim 3, which is characterized in that the MT_SDA pin and MT_SCL of the eeprom chip Pin is connected with the register respectively.
5. electric energy meter according to claim 3, which is characterized in that the eeprom chip includes two open-drain pull-up electricity Resistance.
6. a kind of date storage method of electric energy meter, which is characterized in that the method is applied to claim 1-5 any one institute In the electric energy meter stated, which comprises
Register stores the clear data of electric energy meter, and the clear data is sent to data encrypting and deciphering unit;
The data encrypting and deciphering unit encrypts the clear data, obtains ciphertext data, and the ciphertext data are returned To the register;
The ciphertext data are transmitted to data storage cell by the register;
The data storage cell stores the ciphertext data, and the ciphertext data are transmitted to the number by the register According to encryption/decryption element;
The ciphertext data are decrypted the data encrypting and deciphering unit, the clear data after being decrypted;
The register stores the clear data after the decryption of the data encrypting and deciphering unit transmission.
7. according to the method described in claim 6, it is characterized in that, the method also includes the data storage cell and numbers Data interaction is carried out by the register according to encryption/decryption element.
8. according to the method described in claim 6, it is characterized in that, the method also includes: the data encrypting and deciphering unit will The clear data after decryption decrypts the clear data readable for the register.
9. according to the method described in claim 6, it is characterized in that, what the data encrypting and deciphering unit sent the register The step of clear data is encrypted, and ciphertext data are obtained include:
The data encrypting and deciphering unit receives the clear data that the register is sent;
The clear data is converted to Encryption Algorithm professional format by the data encrypting and deciphering unit, with to the clear data into Row encryption obtains the ciphertext data.
10. according to the method described in claim 6, it is characterized in that, the data encrypting and deciphering unit by the ciphertext data into The step of row decryption processing, clear data after being decrypted, comprising:
The data encrypting and deciphering unit receives the ciphertext data;
The data encrypting and deciphering unit is by the ciphertext data conversion at the data of decrypted format;
The data of the decrypted format are decrypted the data encrypting and deciphering unit, the clear data after being decrypted.
CN201811387373.3A 2018-11-20 2018-11-20 Electric energy meter and its date storage method Pending CN109598132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811387373.3A CN109598132A (en) 2018-11-20 2018-11-20 Electric energy meter and its date storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811387373.3A CN109598132A (en) 2018-11-20 2018-11-20 Electric energy meter and its date storage method

Publications (1)

Publication Number Publication Date
CN109598132A true CN109598132A (en) 2019-04-09

Family

ID=65959289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811387373.3A Pending CN109598132A (en) 2018-11-20 2018-11-20 Electric energy meter and its date storage method

Country Status (1)

Country Link
CN (1) CN109598132A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339573A (en) * 2020-03-10 2020-06-26 江苏林洋能源股份有限公司 Method for realizing data tampering detection of nonvolatile memory by adopting hybrid encryption algorithm
CN114244511A (en) * 2021-12-22 2022-03-25 杭州万高科技股份有限公司 Encryption and decryption module and meter reading system suitable for DLMS/COSEM communication protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885298A (en) * 2006-07-11 2006-12-27 北京飞天诚信科技有限公司 Secure information storage method and information security apparatus thereof
CN101626289A (en) * 2009-07-14 2010-01-13 青岛科技大学 Design method of AES encryption chip and computer encryptor
CN202049480U (en) * 2011-04-18 2011-11-23 上海北大方正科技电脑系统有限公司 Encryption storage equipment
CN105577386A (en) * 2015-12-23 2016-05-11 中国电力科学研究院 Data encryption method of bilateral interaction intelligent electric energy meter
CN107590402A (en) * 2017-09-26 2018-01-16 杭州中天微系统有限公司 A kind of data storage ciphering and deciphering device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885298A (en) * 2006-07-11 2006-12-27 北京飞天诚信科技有限公司 Secure information storage method and information security apparatus thereof
CN101626289A (en) * 2009-07-14 2010-01-13 青岛科技大学 Design method of AES encryption chip and computer encryptor
CN202049480U (en) * 2011-04-18 2011-11-23 上海北大方正科技电脑系统有限公司 Encryption storage equipment
CN105577386A (en) * 2015-12-23 2016-05-11 中国电力科学研究院 Data encryption method of bilateral interaction intelligent electric energy meter
CN107590402A (en) * 2017-09-26 2018-01-16 杭州中天微系统有限公司 A kind of data storage ciphering and deciphering device and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339573A (en) * 2020-03-10 2020-06-26 江苏林洋能源股份有限公司 Method for realizing data tampering detection of nonvolatile memory by adopting hybrid encryption algorithm
CN111339573B (en) * 2020-03-10 2023-04-07 江苏林洋能源股份有限公司 Method for realizing data tampering detection of nonvolatile memory by adopting hybrid encryption algorithm
CN114244511A (en) * 2021-12-22 2022-03-25 杭州万高科技股份有限公司 Encryption and decryption module and meter reading system suitable for DLMS/COSEM communication protocol
CN114244511B (en) * 2021-12-22 2023-06-09 杭州万高科技股份有限公司 Encryption and decryption module and meter reading system suitable for DLMS/COSEM communication protocol
WO2023115692A1 (en) * 2021-12-22 2023-06-29 杭州万高科技股份有限公司 Encryption/decryption module and meter reading system suitable for dlms/cosem communication protocol

Similar Documents

Publication Publication Date Title
CN201387642Y (en) Single-phase electronic type multi-rate prepayment electric energy meter
CN102592364A (en) Encryption and decryption functions based field service terminal and application method thereof
CN103237021A (en) FPGA-chip-based (field programmable gate array chip-based) PCI-E (peripheral component interconnect-express) high-speed cipher card
CN102737270B (en) A kind of bank intelligent card chip secure coprocessor based on domestic algorithm
TW200945211A (en) RFID tag, operating method of RFID tag, and operating method between RFID tag and RFID reader
CN109598132A (en) Electric energy meter and its date storage method
CN101561751A (en) USB encryption and decryption bridging chip
CN102096783B (en) FPGA (Field Programmable Gate Array)-based algorithm encryption card specially for tax control
CN104581712A (en) Encryption communication method and system of mobile terminal
CN101239543A (en) Seal and signing and sealing system
CN110601843A (en) Internet of things terminal security protection system based on trusted computing
CN204758672U (en) Digital electric energy meter with ESAM encryption function
CN203606828U (en) Software dongle with time-limited management control function
CN203930840U (en) A kind of hardware encryption card
CN103220150A (en) Tax check card based on FPGA (field programmable gate array)
CN102685121A (en) Digital signature method and digital signature device
CN108573181A (en) A kind of RFID reader, RFID system and block chain network
CN107566499A (en) The methods, devices and systems of data syn-chronization
CN201387612Y (en) Agricultural and animal product circulation supervising device
CN104658073A (en) Iris key and method for unlocking electronic apparatus therewith
CN203232424U (en) Universal serial bus (USB) external device
CN111339544B (en) Offline downloading device and offline downloading method
CN201917913U (en) Encryption integrated circuit (IC) module
CN106503592A (en) Encryption method and system based on PLD
CN105844147A (en) Application attestation method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409

RJ01 Rejection of invention patent application after publication