Electronic tag data safety managing method
Technical field
The present invention relates to a kind of data managing method, particularly about a kind of electronic tag data safety managing method.
Background technology
The high-frequency RF ID electronic tag that has data storage function at present obtains to use in identification, a plurality of fields false proof, tracking of products; but because high-frequency RF ID electronic tag can only carry out the static password protection to the data field; can not support dynamic password; can only when operating, needs authenticate with this password more before use to the password setting and the record of electronic tag.But each electronic tag is carried out the very big and password of password setting workload be difficult to management, all electronic tags are provided with identical password society makes security not have enough assurances, when the password of an electronic tag is cracked, all electronic tags all can be cracked.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the invention provides the high electronic tag data safety managing method of a kind of safe coefficient.
The technical solution adopted for the present invention to solve the technical problems is: a kind of electronic tag data safety managing method is provided, and it may further comprise the steps: S1 password of data area before electronic tag uses is made amendment; S2 draws different passwords according to the ID uniqueness of electronic tag at different electronic tags; S3 according to drawing password among the step S2, carries out write operation by the password write device after the authentication when carrying out the write operation of data, to the electronic tag setting of making amendment.
The scheme of the further technical solution problem of the present invention is: amended password is to come out according to the algorithm computation of setting according to the ID of electronic tag.
The scheme of the further technical solution problem of the present invention is: the ID of electronic tag is shifted, misplaces or and the radix factor carry out methods such as xor operation and calculate password.
The scheme of the further technical solution problem of the present invention is: amended password is the ID of electronic tag to be adopted get odd bits earlier, rearranges setting after getting even bit again.
The scheme of the further technical solution problem of the present invention is: draw password with as key ID being encrypted after the operations such as the ID of electronic tag is shifted.
The scheme of the further technical solution problem of the present invention is: amended password is to draw under the control of control platform.
The scheme of the further technical solution problem of the present invention is: this control platform control password write device and use equipment, make password write device and use equipment can draw the password after the corresponding modification according to the ID of the electronic tag that reads, thus the cipher authentication that electronic tag is carried out write operation and uses operation.
Compared to prior art, electronic tag data safety managing method of the present invention draws different modification passwords according to the ID of electronic tag, and control write device and use equipment, the password of revising is write and uses authentication, can improve the flexibility ratio of electronic tag Password Management, improve the intensity of password, made the safe coefficient of password increase.
Description of drawings
Fig. 1 is the process flow diagram of the change of secret code process of the electronic tag data safety managing method that provides of the invention process;
Fig. 2 is the synoptic diagram of the data storage area of the electronic tag data safety managing method that provides of the invention process.
Embodiment
As Fig. 1 and shown in Figure 2, the invention provides electronic tag data safety managing method, can improve the flexibility ratio of electronic tag Password Management, improved the intensity of password, make the safe coefficient of password increase.
Described electronic tag data safety managing method may further comprise the steps:
S1 password of data area before electronic tag uses is made amendment;
S2 draws different passwords according to the ID uniqueness of electronic tag at different electronic tags;
S3 according to drawing password among the step S2, carries out write operation by the password write device after the authentication when carrying out the write operation of data, to the electronic tag setting of making amendment.
Among the described step S2, amended password is to come out according to the algorithm computation of setting according to the ID of electronic tag, algorithm can decide according to actual conditions, simply the ID of electronic tag can be shifted, dislocation or and the radix factor carry out method such as xor operation and calculate password, ID as electronic tag is 12345678, amended password takes to get earlier odd bits, get even bit again, be 13572468, the benefit of such way is, because the ID of each electronic tag is unique, so through the password that calculates is the phenomenon that does not have repetition, even and other people cracked the password of an electronic tag, also not necessarily can crack the password of next electronic tag, because it does not know the principle that password draws.
Complicated situation is operations such as ID is shifted to be encrypted ID as key afterwards draw password.
Amended password is to draw under the control of control platform, this control platform control password write device and use equipment, make password write device and use equipment can draw the password after the corresponding modification according to the ID of the electronic tag that reads, thus the cipher authentication that electronic tag is carried out write operation and uses operation.
Electronic tag data safety managing method of the present invention is calculated the back by password electronic tag is carried out the operation of changing password, the universal code when dispatching from the factory with the password replacement of calculating.Password will carry out result's checking after revising and finishing, if revises successfully then operate and finish, does not successfully repeat this operation.
Shown in Fig. 2 is the storage organization of electronic tag, and whole storage space is divided into several sectors, and all there is cryptoguard each sector.Can be according to actual needs, each sector is provided with identical password or password is all inequality, be to want to guarantee that the password setting principle of the cryptographic algorithm of hair fastener and handheld device is consistent passable.
Electronic tag data safety managing method of the present invention draws different modification passwords according to the ID of electronic tag, and control write device and use equipment, the password of revising is write and uses authentication, can improve the flexibility ratio of electronic tag Password Management, improve the intensity of password, made the safe coefficient of password increase.