A kind of RFID chip password protection method
Technical field
The present invention relates to a kind of RFID chip password protection method.
Background technology
RFID is the abbreviation of RadioFrequencyIdentification, i.e. radio frequency identification, is commonly called as electronic tag.
RFID radio-frequency (RF) identification is a kind of contactless automatic identification technology, and it automatically identifies destination object by radiofrequency signal and obtains related data, and the work that identifies, without the need to manual intervention, can work in various rugged surroundings.RFID technique identifiable design high-speed moving object also can identify multiple label simultaneously, swift and convenient to operate.
RFID is a kind of simple wireless system, for control, detection and tracking object.
The basic functional principle of RFID technique is also uncomplicated: after label enters magnetic field, receive the radiofrequency signal that plug-in reader sends, the energy obtained by means of induction current sends out storage product information in the chips (Passive Tag, passive label or passive label), or signal (the Active Tag of a certain frequency is initiatively sent by label, active label or active tag), plug-in reader reads information and after decoding, delivers to CIS and carry out relevant data process.
The rfid system of complete set, by reader (Reader), namely so-called transponder (Transponder) and application software system three part formed with electronic tag (TAG), its principle of work is that Reader launches the radio wave energy of a characteristic frequency to Transponder, in order to drive Transponder circuit, the data of inside are sent, now Reader just received in sequence unscrambling data, gives application program and does corresponding process.
Can be divided into haply with the communication between RFID card reader and electronic tag and energy-sensitive mode: inductively (Inductive Coupling) and back scattering coupling (Backscatter Coupling) two kinds.The RFID of general low frequency mostly adopts the first formula, and higher-frequency adopts the second way mostly.
Reader is different with technology according to the structure used can be read or read/write device, is that rfid system information controls and processing enter.Reader is made up of coupling module, transceiver module, control module and interface unit usually.Between reader and transponder, the general half-duplex operation mode that adopts carries out message exchange, and reader provides energy and sequential by coupling to passive balise simultaneously.In actual applications, the management functions such as collection to object identification information, process and teletransmission can be realized further by Ethernet or WLAN etc.Transponder is the information carrier of rfid system, and current transponder forms parasitic element by coupling element (coil, microstrip antenna etc.) and microchip mostly.
The RFID chip of disclosed ISO/IEC 15693 standard or ISO/IEC14443 standard does not generally have password protection function at present; or special instruction need be increased newly password protection is carried out to the write of user data block, locking; need card reader synchronously to upgrade like this, bring unnecessary trouble to user.
Summary of the invention
The technical issues that need to address of the present invention are just the defect overcoming prior art; a kind of RFID chip password protection method is provided; it is based on existing ISO/IEC15693 standard or ISO/IEC14443 standard; do not change original order set; increase the password protection writing latching operation to data inside chips; to prevent the Data within the chip that is maliciously tampered, meet growing data security needs.
For solving the problem, the present invention adopts following technical scheme:
The invention provides a kind of RFID chip password protection method, described RFID chip is the RFID chip meeting ISO/IEC15693 standard or ISO/IEC14443 standard, chip is made up of storer, RF module and digital module, chip does not need power supply, and the antenna that chip directly connects antenna and card reader obtains the data in energy and read-write chip by coupling scheme;
Described RFID chip password protection method comprises the following steps:
1) be password data block in user data area definition data block of RFID chip digital module, user data area other parts are called other data block;
2) in password data block, password is write;
3) lock password data block, open password defencive function;
4) after password defencive function is opened, read password data block will obtain complete zero, ensure that the safety of password itself;
5) after password defencive function is opened, only have and again write correct password to password data block, and ensure that field intensity is continuous, just can write other data block, latching operation;
6) after password defencive function is opened, not to password data block write password, other data block is write, latching operation will be failed.
7) when password defencive function open after, to the password of password data block write error, the numerical value in password data block can't be changed, but after this other data block is write, latching operation will be failed;
8), under any condition, reading other data block is all allow, and password protection does not relate to reading.
Further, above-mentioned steps 3 opens password defencive function by the lock instruction of standard, and above-mentioned steps 5-7 is write command transmission by standard and checking password, reaches not modify instruction system and increase the object of password protection function.
The present invention is based on existing ISO/IEC15693 standard or ISO/IEC14443 standard; do not change original order set; increase the password protection writing latching operation to data inside chips, to prevent the Data within the chip that is maliciously tampered, meet growing data security needs.
The present invention, under the prerequisite not increasing instruction, adds password protection function in the rfid chip.Thus, advantage of the present invention has:
1, Data within the chip can be prevented to be maliciously tampered.
2, use general order to realize password protection function, the card reader need not revised in the market just can make the password protection function of its supporting chip.
Accompanying drawing explanation
Fig. 1 is RFID chip password protection method flow block diagram of the present invention.
Embodiment
The invention provides a kind of RFID chip password protection method, described RFID chip is the RFID chip meeting ISO/IEC15693 standard or ISO/IEC14443 standard, chip is made up of storer, RF module and digital module, chip does not need power supply, and the antenna that chip directly connects antenna and card reader obtains the data in energy and read-write chip by coupling scheme;
As shown in Figure 1, described RFID chip password protection method comprises the following steps:
1, be password data block in user data area definition data block of RFID chip digital module, user data area other parts are called other data block.
2, in password data block, password is write.
If 3 do not lock password data block, this chip is consistent with chip general on existing market, does not have password protection function.
4, lock password data block, then open password defencive function.
5, after password defencive function is opened, read password data block will obtain complete zero, ensure that the safety of password itself.
6, after password defencive function is opened, only have and again write correct password to password data block, just can write other data blocks, latching operation.
7, after password defencive function is opened, do not write the password (7) of password or write error to password data block, other data blocks are write, latching operation will be failed.Password to password data block write error can't cause the password in password data block to change.
8, under any condition, reading other data block is all allow, and namely password protection does not relate to reading.
Last it is noted that obviously, above-described embodiment is only for example of the present invention is clearly described, and the restriction not to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without the need to also giving all embodiments.And thus the apparent change of amplifying out or variation be still among protection scope of the present invention.