




技术领域technical field
本发明涉及射频识别技术领域,尤其涉及超高频无源电子标签灭活方法及装置。The invention relates to the technical field of radio frequency identification, in particular to a method and device for inactivating an ultra-high frequency passive electronic tag.
背景技术Background technique
在射频识别领域,超高频无源电子标签(下称电子标签)通过天线接收电磁场能量,给芯片供电。电子标签在生命周期结束时,通过灭活命令将电子标签灭活(非物理损坏),电子标签将不再响应阅读器的任何命令,电子标签无效。电子标签灭活的实现方法是将电子标签内部非挥发性存储器灭活标志位置位,电子标签上电时读取该非挥发性存储器的值,如果被置位,电子标签立即进入灭活状态。In the field of radio frequency identification, UHF passive electronic tags (hereinafter referred to as electronic tags) receive electromagnetic field energy through antennas and supply power to chips. At the end of the electronic tag's life cycle, the electronic tag will be inactivated (non-physical damage) through the inactivation command, and the electronic tag will no longer respond to any commands from the reader, and the electronic tag will be invalid. The implementation method of electronic tag inactivation is to set the non-volatile memory inactivation flag inside the electronic tag, and read the value of the non-volatile memory when the electronic tag is powered on. If it is set, the electronic tag immediately enters the inactivation state.
由于电子标签低功耗的要求,非挥发性存储器并不能及时将电子标签中的数据擦除,在电子标签灭活后,电子标签中的数据还存在于非挥发性存储器中,存在安全隐患。Due to the low power consumption requirements of the electronic tag, the non-volatile memory cannot erase the data in the electronic tag in time. After the electronic tag is deactivated, the data in the electronic tag still exists in the non-volatile memory, which poses a security risk.
发明内容Contents of the invention
本发明实施例提供一种超高频无源电子标签灭活方法,用以杜绝安全隐患,该方法包括:An embodiment of the present invention provides a method for inactivating an ultra-high frequency passive electronic tag to eliminate potential safety hazards. The method includes:
超高频无源电子标签在生命周期结束时接收阅读器发送的灭活命令,向所述阅读器返回接收响应,其中,所述灭活命令携带通知擦除数据的指示参数,所述接收响应携带时间参数;The UHF passive electronic tag receives the deactivation command sent by the reader at the end of the life cycle, and returns a reception response to the reader, wherein the deactivation command carries an indication parameter that notifies the erasure of data, and the reception response carry time parameter;
所述阅读器在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波;After receiving the receiving response, the reader sends a continuous carrier wave of corresponding duration to the electronic tag according to the time parameter in the receiving response;
所述电子标签接收所述连续载波,根据所述指示参数擦除数据;The electronic tag receives the continuous carrier wave, and erases data according to the indication parameter;
所述电子标签根据所述灭活命令进行灭活处理。The electronic tag performs inactivation processing according to the inactivation command.
本发明实施例提供一种阅读器,用以杜绝安全隐患,该阅读器包括:An embodiment of the present invention provides a reader to eliminate potential safety hazards. The reader includes:
生成模块,用于生成灭活命令,所述灭活命令携带通知擦除数据的指示参数;A generating module, configured to generate a deactivation command, the deactivation command carrying an indication parameter for notifying erasing data;
第一发送模块,用于在超高频无源电子标签的生命周期结束时,发送所述灭活命令;The first sending module is used to send the deactivation command when the life cycle of the UHF passive electronic tag ends;
第一接收模块,用于接收所述电子标签返回的接收响应,所述接收响应携带时间参数;The first receiving module is configured to receive a receiving response returned by the electronic tag, and the receiving response carries a time parameter;
第二发送模块,用于在所述接收模块接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波。The second sending module is configured to send continuous carrier waves of a corresponding duration to the electronic tag according to the time parameter in the receiving response after the receiving module receives the receiving response.
本发明实施例还提供一种超高频无源电子标签,用以杜绝安全隐患,该超高频无源电子标签包括:The embodiment of the present invention also provides an ultra-high frequency passive electronic tag to eliminate potential safety hazards. The ultra-high frequency passive electronic tag includes:
第一接收模块,用于在生命周期结束时,接收阅读器发送的灭活命令,所述灭活命令携带通知擦除数据的指示参数;The first receiving module is configured to receive an inactivation command sent by the reader at the end of the life cycle, the inactivation command carrying an indication parameter notifying erasure of data;
第一发送模块,用于向所述阅读器返回接收响应,所述接收响应携带时间参数;A first sending module, configured to return a receiving response to the reader, where the receiving response carries a time parameter;
第二接收模块,用于接收所述阅读器根据所述接收响应中的时间参数,发送的相应时长的连续载波;The second receiving module is configured to receive the continuous carrier wave of corresponding duration sent by the reader according to the time parameter in the receiving response;
擦除模块,用于根据所述指示参数擦除数据;an erasing module, for erasing data according to the indication parameters;
灭活模块,用于根据所述灭活命令进行灭活处理。The inactivation module is configured to perform inactivation processing according to the inactivation command.
本发明实施例还提供一种射频识别系统,用以杜绝安全隐患,该射频识别系统包括:The embodiment of the present invention also provides a radio frequency identification system to eliminate potential safety hazards. The radio frequency identification system includes:
阅读器,用于在超高频无源电子标签的生命周期结束时,向所述电子标签发送灭活命令,所述灭活命令携带通知擦除数据的指示参数;The reader is used to send an inactivation command to the electronic tag at the end of the life cycle of the UHF passive electronic tag, and the inactivation command carries an indication parameter for notifying erasing data;
所述电子标签,用于在接收到所述灭活命令后,向所述阅读器返回接收响应,所述接收响应携带时间参数;The electronic tag is configured to return a receiving response to the reader after receiving the inactivation command, and the receiving response carries a time parameter;
所述阅读器还用于在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波;The reader is further configured to send a continuous carrier wave of a corresponding duration to the electronic tag according to the time parameter in the receiving response after receiving the receiving response;
所述电子标签还用于接收所述连续载波,根据所述指示参数擦除数据;所述电子标签根据所述灭活命令进行灭活处理。The electronic tag is also used to receive the continuous carrier wave and erase data according to the indication parameter; the electronic tag performs inactivation processing according to the inactivation command.
本发明实施例中,超高频无源电子标签在生命周期结束时接收阅读器发送的灭活命令,所述灭活命令携带通知擦除数据的指示参数;所述电子标签根据所述指示参数擦除数据;所述电子标签根据所述灭活命令进行灭活处理;能够使电子标签灭活后,电子标签中的数据因已被擦除而并不存在于非挥发性存储器中,从而杜绝安全隐患,大幅度地提升电子标签的安全性能。所述电子标签在接收到所述灭活命令后,向所述阅读器返回接收响应,所述接收响应携带时间参数;所述阅读器在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波;所述电子标签接收所述连续载波,并进行数据擦除;这样,通过阅读器与电子标签协商连续载波的发送时长,可以保证电子标签将内部的所有数据全部擦除,进一步提升电子标签的安全性能。In the embodiment of the present invention, the UHF passive electronic tag receives the deactivation command sent by the reader at the end of the life cycle, and the deactivation command carries an indication parameter for notifying erasing data; the electronic tag according to the indication parameter Erase data; the electronic tag performs inactivation processing according to the inactivation command; after the electronic tag can be inactivated, the data in the electronic tag does not exist in the non-volatile memory because it has been erased, thereby preventing Potential safety hazards, greatly improving the safety performance of electronic tags. After the electronic tag receives the inactivation command, it returns a reception response to the reader, and the reception response carries a time parameter; after the reader receives the reception response, it The time parameter sends the corresponding continuous carrier wave to the electronic tag; the electronic tag receives the continuous carrier wave and performs data erasure; in this way, the reader and the electronic tag negotiate the sending time of the continuous carrier wave, which can ensure the All internal data will be erased to further improve the security performance of electronic tags.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort. In the attached picture:
图1为本发明实施例中超高频无源电子标签灭活方法的处理流程图;Fig. 1 is the processing flowchart of the UHF passive electronic tag inactivation method in the embodiment of the present invention;
图2为本发明实施例中电子标签灭活处理的一个示例图;Fig. 2 is an example diagram of electronic tag inactivation processing in the embodiment of the present invention;
图3为本发明实施例中阅读器的结构示意图;FIG. 3 is a schematic structural diagram of a reader in an embodiment of the present invention;
图4为本发明实施例中超高频无源电子标签的结构示意图;Fig. 4 is a schematic structural diagram of a UHF passive electronic tag in an embodiment of the present invention;
图5为本发明实施例中的射频识别系统的结构示意图。Fig. 5 is a schematic structural diagram of the radio frequency identification system in the embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.
如图1所示,本发明实施例中,超高频无源电子标签灭活方法的处理流程可以包括:As shown in Figure 1, in the embodiment of the present invention, the processing flow of the UHF passive electronic tag inactivation method may include:
步骤101、超高频无源电子标签(下称电子标签)在生命周期结束时接收阅读器发送的灭活命令,向所述阅读器返回接收响应,其中,所述灭活命令携带通知擦除数据的指示参数,所述接收响应携带时间参数;
步骤102、所述阅读器在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波;
步骤103、所述电子标签接收所述连续载波,根据所述指示参数擦除数据;
步骤104、所述电子标签根据所述灭活命令进行灭活处理。
由图1所示流程可以得知,本发明实施例中,超高频无源电子标签在生命周期结束时接收阅读器发送的灭活命令,所述灭活命令携带通知擦除数据的指示参数;所述电子标签根据所述指示参数擦除数据;所述电子标签根据所述灭活命令进行灭活处理;能够使电子标签灭活后,电子标签中的数据因已被擦除而并不存在于非挥发性存储器中,从而杜绝安全隐患,大幅度地提升电子标签的安全性能。所述电子标签在接收到所述灭活命令后,向所述阅读器返回接收响应,所述接收响应携带时间参数;所述阅读器在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波;所述电子标签接收所述连续载波,并进行数据擦除;这样,通过阅读器与电子标签协商连续载波的发送时长,可以保证电子标签将内部的所有数据全部擦除,进一步提升电子标签的安全性能。It can be known from the process shown in Figure 1 that in the embodiment of the present invention, the UHF passive electronic tag receives the deactivation command sent by the reader at the end of the life cycle, and the deactivation command carries an indication parameter notifying the erasure of data ; The electronic tag erases data according to the indicated parameters; The electronic tag performs inactivation processing according to the inactivation command; After the electronic tag can be inactivated, the data in the electronic tag is not erased because it has been erased. It exists in the non-volatile memory, thereby eliminating potential safety hazards and greatly improving the safety performance of electronic tags. After the electronic tag receives the inactivation command, it returns a reception response to the reader, and the reception response carries a time parameter; after the reader receives the reception response, it The time parameter sends the corresponding continuous carrier wave to the electronic tag; the electronic tag receives the continuous carrier wave and performs data erasure; in this way, the reader and the electronic tag negotiate the sending time of the continuous carrier wave, which can ensure the All internal data will be erased to further improve the security performance of electronic tags.
由于电子标签是无源器件,因此在根据灭活命令中的指示参数进行数据擦除时,可以由阅读器向其发送连续载波以提供能量。电子标签在接收到灭活命令后,向阅读器返回接收响应,在该接收响应中携带时间参数,以告知阅读器需要发送多长时间的连续载波,这一段时间需要能够保证电子标签将内部的所有数据全部擦除,而不会出现数据未擦除完的情况。Since the electronic tag is a passive device, the reader can send continuous carrier waves to it to provide energy when erasing data according to the indicated parameters in the inactivation command. After receiving the inactivation command, the electronic tag returns a receiving response to the reader, and the receiving response carries a time parameter to inform the reader how long the continuous carrier wave needs to be sent. This period of time needs to be able to ensure that the internal All data is completely erased, and there will be no situation where the data is not completely erased.
一个实施例中,所述电子标签向所述阅读器返回所述接收响应,可以包括:In one embodiment, the electronic tag returns the receiving response to the reader, which may include:
所述电子标签将所述接收响应中的时间参数设置为所述连续载波的发送时长相应的取值。The electronic tag sets the time parameter in the receiving response to a value corresponding to the sending duration of the continuous carrier wave.
具体实施时,时间参数的取值应对应于阅读器发送连续载波的时长。例如,所述电子标签将所述接收响应中的时间参数设置为T=0x00~0xFE;阅读器发送连续载波的时长为T×20ms。又如,该时间参数也可以就是阅读器发送连续载波的时长。During specific implementation, the value of the time parameter should correspond to the duration for the reader to send continuous carrier waves. For example, the electronic tag sets the time parameter in the receiving response as T=0x00˜0xFE; the duration for the reader to send continuous carrier waves is T×20ms. For another example, the time parameter may also be the duration for the reader to send continuous carrier waves.
一个实施例中,所述接收响应可以包括标志位、随机数RN(Random Number)、所述时间参数和循环冗余校验码CRC-16。具体实施时,接收响应的具体组成部分也可以根据实际需要进行设置,此处的组成形式仅为一例。In an embodiment, the receiving response may include a flag bit, a random number RN (Random Number), the time parameter and a cyclic redundancy check code CRC-16. During specific implementation, the specific components of the received response may also be set according to actual needs, and the composition form here is only an example.
下表提供了电子标签向阅读器返回的接收响应的一个具体示例:The following table provides a specific example of the receipt response returned by the transponder to the reader:
一个实施例中,阅读器在发送连续载波时,还可以将接收的时间参数与延时结合考虑,这里的延时是指从阅读器发送灭活命令,至电子标签向阅读器返回灭活处理成功响应的时长。例如,所述阅读器根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波,可以包括:In one embodiment, when the reader sends continuous carrier waves, it can also consider the received time parameter and the delay. The delay here refers to sending the deactivation command from the reader until the electronic tag returns the deactivation process to the reader. The duration of a successful response. For example, the reader sends a continuous carrier wave of corresponding duration to the electronic tag according to the time parameter in the received response, which may include:
所述阅读器发送Min(TREPLY,T×20ms)时长的连续载波;其中,TREPLY为从所述阅读器发送所述灭活命令,至所述电子标签向所述阅读器返回灭活处理成功响应的时长;T为所述接收响应中时间参数的取值。The reader sends a continuous carrier wave with a duration of Min(TREPLY , T×20ms); wherein, TREPLY is the inactivation command sent from the reader until the electronic tag returns the inactivation process to the reader The duration of the successful response; T is the value of the time parameter in the received response.
图2为电子标签灭活处理的一个示例图。由图2可见,要灭活电子标签,阅读器应发送灭活命令(本例中也可称为Kill命令),若电子标签监测到接收的灭活命令无效时,会忽略该灭活命令;此时电子标签无响应,并保持当前状态。若电子标签监测到接收的灭活命令有效时,可以分如下几种情况进行处理:Fig. 2 is an example diagram of electronic tag inactivation processing. It can be seen from Figure 2 that to inactivate the electronic tag, the reader should send an inactivation command (in this example, it can also be called a Kill command), and if the electronic tag detects that the received inactivation command is invalid, the inactivation command will be ignored; At this time, the electronic tag does not respond and maintains the current state. If the electronic tag detects that the inactivation command received is valid, it can be processed in the following situations:
若灭活命令中携带通知擦除数据的指示参数,则返回携带时间参数的接收响应,如上表所示,该接收响应包含标志位(1位数据0)、RN(电子标签的handle)、时间参数T及从标志位至T结束位计算得到的CRC-16;电子标签接收阅读器根据该时间参数发送的相应时长的连续载波,擦除数据并进行灭活处理,灭活成功时可返回灭活成功响应;若电子标签在灭活处理中遭遇错误,则电子标签可以向阅读器发送错误码,并保持当前状态;If the inactivation command carries an indication parameter for notifying erasing data, a receiving response carrying a time parameter is returned. As shown in the above table, the receiving response includes a flag bit (1 bit data 0), RN (handle of the electronic tag), time The parameter T and the CRC-16 calculated from the flag bit to the end bit of T; the electronic tag receives the continuous carrier wave of the corresponding duration sent by the reader according to the time parameter, erases the data and performs inactivation processing, and returns off when the inactivation is successful If the electronic tag encounters an error in the inactivation process, the electronic tag can send an error code to the reader and maintain the current state;
若灭活命令中未携带通知擦除数据的指示参数,则进行灭活处理,灭活成功时可返回灭活成功响应,并不进行数据擦除。If the deactivation command does not carry an indication parameter for notifying erasure of data, deactivation processing is performed, and a deactivation success response may be returned when the deactivation is successful, and data erasure is not performed.
由此可见,根据电子标签灭活处理成功与否,阅读器可获得多种可能结果:It can be seen that, depending on whether the electronic tag inactivation process is successful or not, the reader can obtain multiple possible results:
灭活成功:完成灭活后,电子标签应立即将自身置为灭活状态,且以后不再对阅读器进行响应;Successful inactivation: After the inactivation is completed, the electronic tag should immediately put itself in the inactivation state, and will not respond to the reader in the future;
电子标签遇到错误:当电子标签在灭活处理中遭遇错误,则电子标签可以向阅读器发送错误码;The electronic tag encounters an error: when the electronic tag encounters an error in the inactivation process, the electronic tag can send an error code to the reader;
灭活未成功:电子标签可以在灭活成功后向阅读器返回响应,如果阅读器未能在约定的时间内收到响应,则可以确定灭活没有成功完成。阅读器可发出Req_RN(随机数获取)命令(包含该电子标签的handle)验证该电子标签是否仍处于该阅读器的射频电磁场内,并可再次启动灭活处理。Unsuccessful inactivation: The electronic tag can return a response to the reader after the inactivation is successful. If the reader fails to receive the response within the agreed time, it can be determined that the inactivation was not completed successfully. The reader can issue a Req_RN (random number acquisition) command (including the handle of the electronic tag) to verify whether the electronic tag is still in the radio frequency electromagnetic field of the reader, and can start the inactivation process again.
一个实施例中,所述电子标签根据所述灭活命令进行灭活处理之后,还可以包括:In one embodiment, after the electronic tag is inactivated according to the inactivation command, it may further include:
所述电子标签向所述阅读器返回灭活响应,所述灭活响应携带时间参数;The electronic tag returns a deactivation response to the reader, and the deactivation response carries a time parameter;
所述阅读器根据所述灭活响应中的时间参数确定所述电子标签是否已擦除全部数据并成功灭活。The reader determines whether the electronic tag has erased all data and successfully deactivated according to the time parameter in the inactivation response.
这样,电子标签通过向阅读器返回上述灭活响应,阅读器可以根据灭活响应中的时间参数确定电子标签是否已擦除全部数据并成功灭活,这样可以确保电子标签在灭活时已没有剩余数据存在于非挥发性存储器中,提升标签安全性能;在阅读器确定电子标签是否已擦除全部数据并成功灭活后,阅读器不再发送连续载波。In this way, by returning the above inactivation response to the reader, the reader can determine whether the electronic tag has erased all data and successfully inactivated according to the time parameter in the inactivation response, which can ensure that the electronic tag has no The remaining data exists in the non-volatile memory, which improves the security performance of the tag; after the reader determines whether the electronic tag has erased all the data and successfully inactivated, the reader no longer sends continuous carrier waves.
具体实施时,所述电子标签向所述阅读器返回所述灭活响应,可以包括:所述电子标签将所述灭活响应中的时间参数设置为指定值,所述指定值用于指示所述电子标签是否已擦除全部数据并成功灭活。During specific implementation, the electronic tag returning the inactivation response to the reader may include: the electronic tag setting the time parameter in the inactivation response to a specified value, and the specified value is used to indicate the Whether all the data of the above-mentioned electronic tags have been erased and successfully inactivated.
例如,所述电子标签将所述灭活响应中的时间参数设置为0xFF,以指示所述电子标签已擦除全部数据并成功灭活;这样,在阅读器接收到灭活响应后,若确定灭活响应中的时间参数设置为0xFF,则阅读器可以确定电子标签已擦除全部数据并成功灭活。For example, the electronic tag sets the time parameter in the inactivation response to 0xFF to indicate that the electronic tag has erased all data and successfully inactivated; in this way, after the reader receives the inactivation response, if it is determined If the time parameter in the inactivation response is set to 0xFF, the reader can determine that the electronic tag has erased all data and successfully inactivated.
具体实施时,灭活响应中除包括上述时间参数外,还可以包括标志位、随机数RN和循环冗余校验码CRC-16等信息。下表提供了电子标签向阅读器返回的灭活响应的一个具体示例:During specific implementation, in addition to the above time parameters, the inactivation response may also include information such as a flag bit, a random number RN, and a cyclic redundancy check code CRC-16. The following table provides a specific example of a kill response that a transponder returns to a reader:
基于同一发明构思,本发明实施例中还提供了一种阅读器、超高频无源电子标签及射频识别系统,如下面的实施例所述。由于这些装置解决问题的原理与超高频无源电子标签灭活方法相似,因此这些装置的实施可以参见超高频无源电子标签灭活方法的实施,重复之处不再赘述。Based on the same inventive concept, an embodiment of the present invention also provides a reader, a UHF passive electronic tag and a radio frequency identification system, as described in the following embodiments. Since the principle of these devices to solve the problem is similar to the UHF passive electronic tag inactivation method, the implementation of these devices can refer to the implementation of the UHF passive electronic tag inactivation method, and the repetition will not be repeated.
如图3所示,本发明实施例中的阅读器可以包括:As shown in Figure 3, the reader in the embodiment of the present invention may include:
生成模块301,用于生成灭活命令,所述灭活命令携带通知擦除数据的指示参数;A
第一发送模块302,用于在超高频无源电子标签的生命周期结束时,发送所述灭活命令;The
第一接收模块303,用于接收所述电子标签返回的接收响应,所述接收响应携带时间参数;The
第二发送模块304,用于在所述接收模块303接收到所述接收响应后,根据接收响应中的所述时间参数向所述电子标签发送相应时长的连续载波。The
一个实施例中,所述接收响应中的时间参数设置为所述连续载波的发送时长相应的取值。In one embodiment, the time parameter in the receiving response is set to a value corresponding to the sending duration of the continuous carrier.
一个实施例中,所述接收响应中的时间参数设置为0x00~0xFE。In one embodiment, the time parameter in the receiving response is set to 0x00-0xFE.
一个实施例中,所述接收响应还包括标志位、随机数RN和循环冗余校验码CRC-16。In one embodiment, the receiving response further includes a flag bit, a random number RN and a cyclic redundancy check code CRC-16.
一个实施例中,所述第二发送模块304具体可以用于:In an embodiment, the
发送Min(TREPLY,T×20ms)时长的连续载波;其中,TREPLY为从发送所述灭活命令,至所述电子标签返回灭活处理成功响应的时长;T为所述接收响应中时间参数的取值。Send Min(TREPLY , T×20ms) continuous carrier wave; wherein, TREPLY is the time from sending the deactivation command to the time when the electronic tag returns a successful inactivation response; T is the time in the received response The value of the parameter.
一个实施例中,上述阅读器还可以包括:In an embodiment, the above-mentioned reader may also include:
第二接收模块,用于接收所述电子标签返回的灭活响应,所述灭活响应携带时间参数;The second receiving module is configured to receive the inactivation response returned by the electronic tag, and the inactivation response carries a time parameter;
确定模块,用于根据所述灭活响应中的时间参数确定所述电子标签是否已擦除全部数据并成功灭活。A determination module, configured to determine whether the electronic tag has erased all data and successfully deactivated according to the time parameter in the inactivation response.
一个实施例中,所述灭活响应中的时间参数可设置为指定值,所述指定值用于指示所述电子标签是否已擦除全部数据并成功灭活。In one embodiment, the time parameter in the deactivation response can be set to a specified value, and the specified value is used to indicate whether all data on the electronic tag has been erased and successfully deactivated.
一个实施例中,所述确定模块具体可以用于:In one embodiment, the determination module can be specifically used for:
在所述灭活响应中的时间参数设置为0xFF时,确定所述电子标签已擦除全部数据并成功灭活。When the time parameter in the inactivation response is set to 0xFF, it is determined that all data of the electronic tag has been erased and inactivated successfully.
一个实施例中,所述灭活响应还可以包括标志位、随机数RN和循环冗余校验码CRC-16。In an embodiment, the deactivation response may further include a flag bit, a random number RN and a cyclic redundancy check code CRC-16.
如图4所示,本发明实施例中的超高频无源电子标签可以包括:As shown in Figure 4, the UHF passive electronic tag in the embodiment of the present invention may include:
第一接收模块401,用于在生命周期结束时,接收阅读器发送的灭活命令,所述灭活命令携带通知擦除数据的指示参数;The
第一发送模块402,用于向所述阅读器返回接收响应,所述接收响应携带时间参数;The
第二接收模块403,用于接收所述阅读器根据所述接收响应中的时间参数,发送的相应时长的连续载波;The
擦除模块404,用于根据所述指示参数擦除数据;An erasing
灭活模块405,用于根据所述灭活命令进行灭活处理。The
一个实施例中,所述第一发送模块402具体可以用于:将所述接收响应中的时间参数设置为所述连续载波的发送时长相应的取值。In an embodiment, the
一个实施例中,所述第一发送模块402具体可以用于:将所述接收响应中的时间参数设置为0x00~0xFE。In an embodiment, the
一个实施例中,所述第一发送模块402还可以用于:在所述接收响应中设置标志位、随机数RN和循环冗余校验码CRC-16。In an embodiment, the
一个实施例中,所述第二接收模块403具体可以用于:In an embodiment, the
接收Min(TREPLY,T×20ms)时长的连续载波;其中,TREPLY为从所述阅读器发送所述灭活命令,至向所述阅读器返回灭活处理成功响应的时长;T为所述接收响应中时间参数的取值。Receive Min(TREPLY , T×20ms) continuous carrier wave; wherein, TREPLY is the time period from sending the inactivation command to the reader to returning a successful inactivation response to the reader; T is the Describe the value of the time parameter in the received response.
一个实施例中,上述电子标签还可以包括:In one embodiment, the above-mentioned electronic tag may also include:
第二发送模块,用于向所述阅读器返回灭活响应,所述灭活响应携带时间参数,以使所述阅读器根据所述灭活响应中的时间参数确定所述电子标签是否已擦除全部数据并成功灭活。The second sending module is used to return a deactivation response to the reader, and the deactivation response carries a time parameter, so that the reader determines whether the electronic tag has been wiped according to the time parameter in the deactivation response Delete all data and successfully inactivate.
一个实施例中,所述第二发送模块具体可以用于:将所述灭活响应中的时间参数设置为指定值,所述指定值用于指示所述电子标签是否已擦除全部数据并成功灭活。In one embodiment, the second sending module can be specifically configured to: set the time parameter in the inactivation response to a specified value, and the specified value is used to indicate whether the electronic tag has erased all data and successfully Inactivate.
一个实施例中,所述第二发送模块具体可以用于:将所述灭活响应中的时间参数设置为0xFF,以指示所述电子标签已擦除全部数据并成功灭活。In one embodiment, the second sending module may be specifically configured to: set the time parameter in the inactivation response to 0xFF, to indicate that the electronic tag has erased all data and successfully inactivated.
一个实施例中,所述第二发送模块还可以用于:在所述灭活响应中设置标志位、随机数RN和循环冗余校验码CRC-16。In an embodiment, the second sending module may be further configured to: set a flag bit, a random number RN, and a cyclic redundancy check code CRC-16 in the deactivation response.
如图5所示,本发明实施例中的射频识别系统可以包括:As shown in Figure 5, the radio frequency identification system in the embodiment of the present invention may include:
阅读器501,用于在超高频无源电子标签502的生命周期结束时,向所述电子标签502发送灭活命令,所述灭活命令携带通知擦除数据的指示参数;The
所述电子标签502,用于在接收到所述灭活命令后,向所述阅读器501返回接收响应,所述接收响应携带时间参数;The
所述阅读器501还用于在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签502发送相应时长的连续载波;The
所述电子标签502还用于接收所述连续载波,根据所述指示参数擦除数据;所述电子标签根据所述灭活命令进行灭活处理。The
一个实施例中,所述电子标签还可以用于向所述阅读器返回灭活响应,所述灭活响应携带时间参数;In one embodiment, the electronic tag can also be used to return a deactivation response to the reader, and the deactivation response carries a time parameter;
所述阅读器还可以用于根据所述灭活响应中的时间参数确定所述电子标签是否已擦除全部数据并成功灭活。The reader can also be used to determine whether the electronic tag has erased all data and successfully inactivated according to the time parameter in the inactivation response.
综上所述,本发明实施例中,超高频无源电子标签在生命周期结束时接收阅读器发送的灭活命令,所述灭活命令携带通知擦除数据的指示参数;所述电子标签根据所述指示参数擦除数据;所述电子标签根据所述灭活命令进行灭活处理;能够使电子标签灭活后,电子标签中的数据因已被擦除而并不存在于非挥发性存储器中,从而杜绝安全隐患,大幅度地提升电子标签的安全性能。所述电子标签在接收到所述灭活命令后,向所述阅读器返回接收响应,所述接收响应携带时间参数;所述阅读器在接收到所述接收响应后,根据所述接收响应中的时间参数向所述电子标签发送相应时长的连续载波;所述电子标签接收所述连续载波,并进行数据擦除;这样,通过阅读器与电子标签协商连续载波的发送时长,可以保证电子标签将内部的所有数据全部擦除,进一步提升电子标签的安全性能。To sum up, in the embodiment of the present invention, the UHF passive electronic tag receives the deactivation command sent by the reader at the end of the life cycle, and the deactivation command carries an indication parameter notifying the erasure of data; the electronic tag Erase data according to the indication parameters; the electronic tag performs inactivation processing according to the inactivation command; after the electronic tag can be inactivated, the data in the electronic tag does not exist in the non-volatile memory because it has been erased memory, thereby eliminating potential safety hazards and greatly improving the security performance of electronic tags. After the electronic tag receives the inactivation command, it returns a reception response to the reader, and the reception response carries a time parameter; after the reader receives the reception response, it The time parameter of the electronic tag sends a continuous carrier wave of corresponding duration to the electronic tag; the electronic tag receives the continuous carrier wave and performs data erasure; in this way, by negotiating the sending time of the continuous carrier wave between the reader and the electronic tag, the electronic tag can be guaranteed All internal data will be erased to further improve the security performance of electronic tags.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201110044511CN102129583B (en) | 2011-02-21 | 2011-02-21 | Method and device for deactivating ultrahigh frequency passive electronic tag |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201110044511CN102129583B (en) | 2011-02-21 | 2011-02-21 | Method and device for deactivating ultrahigh frequency passive electronic tag |
| Publication Number | Publication Date |
|---|---|
| CN102129583A CN102129583A (en) | 2011-07-20 |
| CN102129583Btrue CN102129583B (en) | 2013-09-25 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 201110044511ActiveCN102129583B (en) | 2011-02-21 | 2011-02-21 | Method and device for deactivating ultrahigh frequency passive electronic tag |
| Country | Link |
|---|---|
| CN (1) | CN102129583B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118433679A (en)* | 2023-01-31 | 2024-08-02 | 华为技术有限公司 | Label inactivation method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1265215A (en)* | 1997-07-25 | 2000-08-30 | 检验点系统有限公司 | Reactivate RFID tags electronically, physically or virtually |
| EP1538556A1 (en)* | 2003-12-02 | 2005-06-08 | Shalom Wertsberger | Radio frequency identification tags |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2863745B1 (en)* | 2003-12-16 | 2006-06-30 | St Microelectronics Sa | MEMORY FOR RFID LABELS ADAPTED TO RECEIVE AN OFFSET COMMAND |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1265215A (en)* | 1997-07-25 | 2000-08-30 | 检验点系统有限公司 | Reactivate RFID tags electronically, physically or virtually |
| EP1538556A1 (en)* | 2003-12-02 | 2005-06-08 | Shalom Wertsberger | Radio frequency identification tags |
| Publication number | Publication date |
|---|---|
| CN102129583A (en) | 2011-07-20 |
| Publication | Publication Date | Title |
|---|---|---|
| US9916483B1 (en) | Tag-handle-based authentication of RFID readers | |
| US9454680B1 (en) | RFID integrated circuit identifier self-check | |
| US11893446B1 (en) | RFID integrated circuit identifier self-check | |
| US9158948B2 (en) | RFID protocols with non-interacting variants | |
| US7884702B2 (en) | Queued operations in HF/UHF RFID applications | |
| US8587411B1 (en) | RFID readers causing RFID tags to backscatter more codes | |
| CN102446280B (en) | A kind of method of verification msg, Apparatus and system | |
| US20130005242A1 (en) | Method and apparatus for reducing nfc multi-protocol polling duration and power consumption | |
| US9129168B1 (en) | RFID readers causing tags to backscatter based on challenge | |
| EP2958056B1 (en) | Radiofrequency transponder circuit | |
| US9615196B2 (en) | NFC device configuration after device power up | |
| CN102129583B (en) | Method and device for deactivating ultrahigh frequency passive electronic tag | |
| JP5072454B2 (en) | Wireless tag reader / writer control system and wireless tag reader / writer control method | |
| CN105260690A (en) | Method and system for identifying electronic label through multi-antenna RFID reader | |
| JP5959415B2 (en) | Wireless tag communication device, wireless tag communication system, and wireless tag search program | |
| JP4594250B2 (en) | Communication device | |
| CN108241878A (en) | A kind of label identification method and equipment | |
| CN101551845B (en) | Identification and response method for electronic label, device and system | |
| CN102110234A (en) | Ultrahigh-frequency passive electronic tag inactivation method and device | |
| JP2011065477A (en) | Mobile electronic device | |
| JP6092342B2 (en) | Non-contact portable electronic device and method for issuing non-contact portable electronic device | |
| CN101246539B (en) | Method and device for identifying radio frequency signal and device for sending radio frequency signal | |
| CN110650466B (en) | A method for reducing power consumption of a contactless card device | |
| CN101661547A (en) | Method for writing data to tag in radio frequency identification system and device | |
| JP2013164686A (en) | Ic card and portable electronic device |
| 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 | ||
| DD01 | Delivery of document by public notice | Addressee:Gai Ana Document name:Notification that Application Deemed not to be Proposed |