A kind of electronic label security systemTechnical field
The invention discloses a kind of electronic label security system, particularly a kind of electronic label security system of verifying authenticity of products.
Background technology
Electronic tag or RFID, it is REID, belong to a kind of contactless automatic identification technology, become the main direction of 21 century whole world automatic identification technology development, just applied to fields such as managing physical distribution of merchandise widely, people are often by being provided with electronic tag on commodity, to the flow direction of commodity with go out warehouse situation and discern and add up, improved the accuracy and the promptness of logistics link data statistics.Though electronic tag carries a unique id number, has certain identity, this number does not have checking, can not confirm the corresponding relation of product and production firm by this number, does not have antiforge function.And the anti-counterfeiting authentication method that adopts in the market is easy to imitated mostly or needs the third party to authenticate, or impracticable or cost is higher.Simultaneously, because electronic tag carries storage medium,, come false proof have the very big reality and the market space by electronic tag along with being extensive use of of electronic tag.In addition, in order logistics to be managed and in time extracts flow of goods and storage information, merchandise newss such as kind, quantity, weight on electronic tag, have often been write, and the identification of present electronic tag itself is open state, relevant devices that as long as anyone suitably be provided with, just can obtain other people flow of commodity and important secret of the trade such as memory space,, also can operator's operation safety be threatened as not solving.
Summary of the invention
The objective of the invention is to, a kind of electronic label security system that can verify authenticity of products is provided, its further purpose is, a kind of electronic label security system is provided, and its merchandise news just can read after authorizing, thus protection user's secret of the trade.
A kind of electronic label security system of the present invention contains electronic tag and reads identification equipment, contains storage medium on the electronic tag, contains label unique identification UID on the storage medium, writes merchandise news on electronic tag; Utilize private key that described label unique identification UID and merchandise news are encrypted, obtain electronic signature; Read identification equipment reading tag unique identification UID, merchandise news and electronic signature; By PKI the electronic signature deciphering is obtained label unique identification UID and merchandise news; Contrast is through the merchandise news of PKI deciphering gained and the merchandise news on the electronic tag, if identical, then fake certification passes through, if both are inequality, then fake certification can not pass through.
Before in described electronic tag, writing merchandise news, utilize PKI that merchandise news is carried out encryption, and the merchandise news that will encrypt write electronic tag; For the merchandise news after encrypting, deciphering obtains merchandise news through private key to read identification equipment.
Because with label unique identification UID and merchandise news, behind encrypted private key, form electronic signature, utilize PKI to after the electronic signature deciphering through reading identification equipment, the merchandise news after the contrast deciphering and the consistance of the merchandise news on the electronic tag, reach the purpose of judging whether electronic tag is forged or used the product of this electronic tag whether to forge, do not need third-party authentication, checking is simple, and cost is low.Because described a kind of electronic label security system; the utilization public key cryptography technology is encrypted merchandise news and is deposited; the unauthorized that can prevent from not have private key reads identification equipment and reads merchandise news in the electronic tag; and have the identification equipment that reads of private key; can decipher the accessible merchandise news that obtains needs by private key, thereby can protect user's secret of the trade.
Description of drawings
Fig. 1 is the false proof schematic flow sheet of electronic tag of the present invention;
Fig. 2 is the false proof schematic flow sheet of the electronic tag of another embodiment of the present invention;
Fig. 3 is the encryption synoptic diagram of electronic tag of the present invention;
Fig. 4 is the deciphering synoptic diagram of electronic tag of the present invention;
Embodiment
A kind of electronic label security system of the present invention contains electronic tag and reads identification equipment, contains storage medium on the electronic tag, contains label unique identification UID on the storage medium, writes merchandise news on electronic tag; Utilize private key that described label unique identification UID and merchandise news are encrypted, obtain electronic signature; Read identification equipment reading tag unique identification UID, merchandise news and electronic signature; By PKI the electronic signature deciphering is obtained label unique identification UID and merchandise news; Contrast is through the merchandise news of PKI deciphering gained and the merchandise news on the electronic tag, if identical, then fake certification passes through, if both are inequality, then fake certification can not pass through.
Computing obtains summary info B through the HASH algorithm for described label unique identification UID and merchandise news, utilizes private key that summary info B is encrypted, and obtains electronic signature, again electronic signature is write electronic tag, as Fig. 1; Owing to the HASH algorithm merchandise news and label unique identification UID are carried out computing earlier, obtain the informative abstract information B to be encrypted of a fixed length, thereby shortened the proving time, reduce transinformation, thereby improved verification efficiency.Read identification equipment reading tag unique identification UID, merchandise news and electronic signature; Label unique identification UID and the computing of merchandise news process HASH algorithm are obtained summary info A; Utilize PKI that the electronic signature deciphering is obtained summary info B; Contrast summary info A and summary info B, if identical, then fake certification passes through, if both are inequality, then fake certification can not pass through, as Fig. 2.Utilize identical HASH algorithm that identical information is handled the principle that the back result has uniqueness, do not need, realize easily both having saved resource, reduce cost, can also guarantee the accuracy of verifying from checking by third-party authentication.
Before in described electronic tag, writing merchandise news, utilize PKI that merchandise news is carried out encryption, and the merchandise news that will encrypt write electronic tag; For the merchandise news after encrypting, deciphering obtains merchandise news through private key to read identification equipment, as Fig. 3,4.
Utilize private key that described label unique identification UID and merchandise news are encrypted, obtain electronic signature, utilize PKI that merchandise news is carried out encryption, and the merchandise news after will encrypting writes electronic tag together with electronic signature; Read merchandise news and electronic signature behind identification equipment reading tag unique identification UID, the public key encryption; For the merchandise news after encrypting, deciphering obtains merchandise news through private key; By PKI the electronic signature deciphering is obtained label unique identification UID and merchandise news; Contrast is through the merchandise news and the merchandise news of deciphering gained through PKI of private key deciphering gained, if identical, then fake certification passes through, if both are inequality, then fake certification can not pass through.
Computing obtains summary info B through the HASH algorithm for described label unique identification UID and merchandise news, utilize private key that summary info B is encrypted, obtain electronic signature, utilize PKI that merchandise news is carried out encryption, the merchandise news after will encrypting again writes electronic tag together with electronic signature; Read merchandise news and electronic signature behind identification equipment reading tag unique identification UID, the public key encryption; For the merchandise news after encrypting, deciphering obtains merchandise news through private key, and label unique identification UID and the computing of merchandise news process HASH algorithm are obtained summary info A; Utilize PKI that the electronic signature deciphering is obtained summary info B; Contrast summary info A and summary info B, if identical, then fake certification passes through, if both are inequality, then fake certification can not pass through.