Movatterモバイル変換


[0]ホーム

URL:


CN113780490B - Method, device and computer-readable storage medium for correcting electronic tag binding relationship - Google Patents

Method, device and computer-readable storage medium for correcting electronic tag binding relationship
Download PDF

Info

Publication number
CN113780490B
CN113780490BCN202110819710.7ACN202110819710ACN113780490BCN 113780490 BCN113780490 BCN 113780490BCN 202110819710 ACN202110819710 ACN 202110819710ACN 113780490 BCN113780490 BCN 113780490B
Authority
CN
China
Prior art keywords
code
electronic tag
binding
binding relationship
reading
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.)
Active
Application number
CN202110819710.7A
Other languages
Chinese (zh)
Other versions
CN113780490A (en
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.)
JIANGSU RENXIAN MEDICAL TECHNOLOGY CO LTD
Original Assignee
JIANGSU REHN MEDICAL INSTRUMENTS 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 JIANGSU REHN MEDICAL INSTRUMENTS TECHNOLOGY CO LTDfiledCriticalJIANGSU REHN MEDICAL INSTRUMENTS TECHNOLOGY CO LTD
Priority to CN202110819710.7ApriorityCriticalpatent/CN113780490B/en
Publication of CN113780490ApublicationCriticalpatent/CN113780490A/en
Application grantedgrantedCritical
Publication of CN113780490BpublicationCriticalpatent/CN113780490B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种电子标签绑定关系纠正方法、设备及计算机可读存储介质,涉及无线识别技术领域,该方法包括:读取目标电子标签,以获得第一编码;判断电子标签绑定关系列表中是否存在目标绑定关系,其中,目标绑定关系为第一编码的绑定关系;若不存在,则判断第一编码和第二编码是否相同,第二编码是对目标电子标签再次读取而获得;若相同,则确定电子标签绑定关系列表中的未读取绑定关系,并基于第一编码或第二编码对未读取绑定关系进行纠正。基于本申请的技术方案,有利于及时进行电子标签绑定关系的纠正,提高电子标签的可靠性。

The present application discloses a method, device and computer-readable storage medium for correcting electronic tag binding relationships, and relates to the field of wireless identification technology. The method includes: reading a target electronic tag to obtain a first code; judging whether a target binding relationship exists in an electronic tag binding relationship list, wherein the target binding relationship is a binding relationship of the first code; if not, judging whether the first code and the second code are the same, wherein the second code is obtained by reading the target electronic tag again; if they are the same, determining an unread binding relationship in the electronic tag binding relationship list, and correcting the unread binding relationship based on the first code or the second code. The technical solution based on the present application is conducive to timely correction of electronic tag binding relationships and improving the reliability of electronic tags.

Description

Translated fromChinese
电子标签绑定关系纠正方法、设备及计算机可读存储介质Method, device and computer-readable storage medium for correcting electronic tag binding relationship

技术领域Technical Field

本申请涉及无线识别技术领域,特别是涉及电子标签绑定关系纠正方法、设备及计算机可读存储介质。The present application relates to the field of wireless identification technology, and in particular to a method, device and computer-readable storage medium for correcting electronic tag binding relationships.

背景技术Background technique

现有技术中,通常会在将电子标签的编码与设备或账户进行绑定,当用户在使用该电子标签时,读卡器通过读取电子标签可获取相应编码,根据相应编码可在系统中根据绑定关系查询到对应设备或账户,以对设备进行使用记录或对账户进行消费记录。In the prior art, the code of an electronic tag is usually bound to a device or an account. When a user uses the electronic tag, the card reader can obtain the corresponding code by reading the electronic tag. Based on the corresponding code, the corresponding device or account can be queried in the system according to the binding relationship to record the use of the device or the consumption of the account.

现有技术的缺陷在于,在将电子标签的编码与设备或账户进行绑定的过程中,对电子标签进行读取所获得的编码有一定几率是错误的,进而使得设备或账户所绑定的电子标签的编码是错误的,在后续使用中,用户将无法使用该绑定错误的电子标签进行相应设备或账户的记录,且这种错误难以在使用中被发现,降低了电子标签的可靠性。The defect of the prior art is that in the process of binding the code of the electronic tag with the device or account, there is a certain probability that the code obtained by reading the electronic tag is wrong, which makes the code of the electronic tag bound to the device or account wrong. In subsequent use, the user will not be able to use the wrongly bound electronic tag to record the corresponding device or account, and this error is difficult to be discovered during use, reducing the reliability of the electronic tag.

发明内容Summary of the invention

本申请主要解决的技术问题是如何提高电子标签的可靠性。The main technical problem solved by this application is how to improve the reliability of electronic tags.

为解决上述技术问题,本申请采用的第一个技术方案是:一种电子标签绑定关系纠正方法,包括:读取目标电子标签,以获得第一编码;判断电子标签绑定关系列表中是否存在目标绑定关系,其中,目标绑定关系为第一编码的绑定关系;若不存在,则判断第一编码和第二编码是否相同,第二编码是对目标电子标签再次读取而获得;若相同,则确定电子标签绑定关系列表中的未读取绑定关系,并基于第一编码或第二编码对未读取绑定关系进行纠正。To solve the above technical problems, the first technical solution adopted in the present application is: a method for correcting an electronic tag binding relationship, comprising: reading a target electronic tag to obtain a first code; determining whether the target binding relationship exists in the electronic tag binding relationship list, wherein the target binding relationship is a binding relationship of the first code; if not, determining whether the first code and the second code are the same, wherein the second code is obtained by reading the target electronic tag again; if they are the same, determining the unread binding relationship in the electronic tag binding relationship list, and correcting the unread binding relationship based on the first code or the second code.

为解决上述技术问题,本申请采用的第二个技术方案是:一种电子标签绑定关系纠正设备,包括:存储器和处理器;存储器用于存储程序指令,处理器用于执行程序指令以实现如上电子标签绑定关系纠正方法。To solve the above technical problems, the second technical solution adopted in this application is: an electronic tag binding relationship correction device, including: a memory and a processor; the memory is used to store program instructions, and the processor is used to execute program instructions to implement the above electronic tag binding relationship correction method.

为解决上述技术问题,本申请采用的第三个技术方案是:一种计算机可读存储介质,计算机可读存储介质存储有程序指令,程序指令被处理器执行时实现如上电子标签绑定关系纠正方法。In order to solve the above technical problems, the third technical solution adopted in this application is: a computer-readable storage medium, which stores program instructions, and when the program instructions are executed by a processor, the above electronic tag binding relationship correction method is implemented.

本申请的有益效果是:区别于现有技术,基于本申请的技术方案,可通过读取目标电子标签获得第一编码,并判断预存的电子标签绑定关系列表中是否存在第一编码所对应的绑定关系,在不存在第一编码所对应的绑定关系时,判断第一编码和通过再次读取目标电子标签得到的第二编码是否相同,在第一编码和第二编码相同时可认为第一编码或第二编码为目标电子标签所对应的正确编码,之后可基于正确的第一编码或第二编码对未读取绑定关系进行纠正。本申请的技术方案可在电子标签的使用过程中实现绑定关系的及时纠正,提高了电子标签的可靠性。The beneficial effects of the present application are as follows: Different from the prior art, based on the technical solution of the present application, the first code can be obtained by reading the target electronic tag, and it can be determined whether there is a binding relationship corresponding to the first code in the pre-stored electronic tag binding relationship list. When there is no binding relationship corresponding to the first code, it can be determined whether the first code is the same as the second code obtained by reading the target electronic tag again. When the first code and the second code are the same, it can be considered that the first code or the second code is the correct code corresponding to the target electronic tag, and then the unread binding relationship can be corrected based on the correct first code or second code. The technical solution of the present application can realize the timely correction of the binding relationship during the use of the electronic tag, thereby improving the reliability of the electronic tag.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

图1是本申请电子标签绑定关系纠正方法的一实施例的流程示意图;FIG1 is a flow chart of an embodiment of a method for correcting electronic tag binding relationships of the present application;

图2是本申请电子标签绑定关系纠正方法的另一实施例的流程示意图;FIG2 is a flow chart of another embodiment of the method for correcting electronic tag binding relationships of the present application;

图3是本申请电子标签绑定关系纠正方法的又一实施例的流程示意图;FIG3 is a flow chart of another embodiment of the method for correcting electronic tag binding relationships of the present application;

图4是本申请电子标签绑定关系纠正设备的一实施例的结构示意图;FIG4 is a schematic diagram of the structure of an embodiment of a device for correcting electronic tag binding relationships of the present application;

图5是本申请电子标签绑定关系纠正设备的一实施例的结构示意图。FIG. 5 is a schematic diagram of the structure of an embodiment of a device for correcting electronic tag binding relationships of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,均属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

本申请中的术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

本申请首先提出一种电子标签绑定关系纠正方法。This application first proposes a method for correcting electronic tag binding relationships.

图1是本申请电子标签绑定关系纠正方法的一实施例的流程示意图。如图1所示,在第一实施例中,电子标签绑定关系纠正方法可包括以下步骤:FIG1 is a flow chart of an embodiment of a method for correcting electronic tag binding relationships of the present application. As shown in FIG1 , in a first embodiment, the method for correcting electronic tag binding relationships may include the following steps:

步骤S11:读取目标电子标签,以获得第一编码。Step S11: Read the target electronic tag to obtain a first code.

本实施例中,电子标签是RFID(Radio Frequency Identification,射频识别)技术的载体,可采用阅读器对目标电子标签进行读取,以获得目标电子标签的存储内容,将所获得的内容确定为第一编码。In this embodiment, the electronic tag is a carrier of RFID (Radio Frequency Identification) technology, and a reader can be used to read the target electronic tag to obtain the storage content of the target electronic tag, and the obtained content is determined as the first code.

步骤S12:判断电子标签绑定关系列表中是否存在目标绑定关系。Step S12: Determine whether there is a target binding relationship in the electronic tag binding relationship list.

其中,目标绑定关系为第一编码的绑定关系。The target binding relationship is the binding relationship of the first code.

本实施例中,目标绑定关系可以是第一编码与一设备的绑定关系,也可以是第一编码与一账户的绑定关系,此处不作限定。电子标签绑定关系列表内包含本电子标签识别系统中所有电子标签的绑定关系,可在电子标签绑定关系列表中根据相应编码查询相应绑定的设备或账户。In this embodiment, the target binding relationship can be a binding relationship between the first code and a device, or a binding relationship between the first code and an account, which is not limited here. The electronic tag binding relationship list contains the binding relationships of all electronic tags in the electronic tag identification system, and the corresponding bound device or account can be queried in the electronic tag binding relationship list according to the corresponding code.

若在电子标签绑定关系列表中无法找到第一编码的绑定关系,则可认为获取第一编码的过程中发生了错误(如:传输错误)而导致所获得的第一编码不是目标电子标签中存储的正确编码,或者,所获得的第一编码是目标电子标签中存储的正确编码,但在将目标电子标签中的编码与一设备或账户进行绑定时,所读取获得的编码不是正确编码,导致该设备或账户绑定了一错误编码。If the binding relationship of the first code cannot be found in the electronic tag binding relationship list, it can be considered that an error occurred in the process of obtaining the first code (such as a transmission error), resulting in the obtained first code not being the correct code stored in the target electronic tag, or, the obtained first code is the correct code stored in the target electronic tag, but when binding the code in the target electronic tag to a device or account, the read code is not the correct code, resulting in the device or account being bound to an incorrect code.

若步骤S12的判断结果为不存在,则执行步骤S13。If the judgment result of step S12 is that it does not exist, step S13 is executed.

步骤S13:判断第一编码和第二编码是否相同。Step S13: Determine whether the first code and the second code are the same.

其中,第二编码是对目标电子标签再次读取而获得。The second code is obtained by reading the target electronic tag again.

本实施例中,可再次采用阅读器对目标电子标签进行读取,以获得目标电子标签的存储内容,将所获得的内容确定为第二编码。之后可判断所获得的第一编码和第二编码是否相同,因即使读取目标电子标签而获得错误编码,每次错误读取所获得的错误编码也是不同的,所以若第一编码和第二编码相同则可认为第一编码和第二编码为目标电子标签中存储的正确编码。In this embodiment, the reader can be used to read the target electronic tag again to obtain the storage content of the target electronic tag, and the obtained content is determined as the second code. After that, it can be determined whether the obtained first code and the second code are the same, because even if the target electronic tag is read and an incorrect code is obtained, the incorrect code obtained by each incorrect reading is different, so if the first code and the second code are the same, it can be considered that the first code and the second code are the correct codes stored in the target electronic tag.

若步骤S13的判断结果为相同,则执行步骤S14。If the judgment result of step S13 is the same, step S14 is executed.

步骤S14:确定电子标签绑定关系列表中的未读取绑定关系,并基于第一编码或第二编码对未读取绑定关系进行纠正。Step S14: determining the unread binding relationship in the electronic tag binding relationship list, and correcting the unread binding relationship based on the first code or the second code.

本实施例中,若经步骤S12确定不存在第一编码的绑定关系,且经步骤S13确定第一编码为正确编码,则可肯定电子标签绑定关系列表中存在至少一条绑定关系中被绑定的编码应是第一编码,但实际绑定了一错误编码,进而导致该条绑定关系不会在使用中被读取记录。因此,可确定电子标签绑定关系列表中的未读取绑定关系,也即确定电子标签绑定关系列表中从未被读取记录过的绑定关系,并基于正确的第一编码对其中相应的绑定关系进行纠正。In this embodiment, if it is determined in step S12 that there is no binding relationship of the first code, and it is determined in step S13 that the first code is the correct code, it can be confirmed that there is at least one binding relationship in the electronic tag binding relationship list, and the bound code should be the first code, but it is actually bound to an incorrect code, which causes the binding relationship to not be read and recorded during use. Therefore, the unread binding relationships in the electronic tag binding relationship list can be determined, that is, the binding relationships in the electronic tag binding relationship list that have never been read and recorded can be determined, and the corresponding binding relationships therein can be corrected based on the correct first code.

可选的,步骤S14具体可包括:Optionally, step S14 may specifically include:

若电子标签绑定关系列表中仅存在一条未读取绑定关系,则将未读取绑定关系中被绑定的编码替换为第一编码或第二编码,以完成绑定关系的纠正。If there is only one unread binding relationship in the electronic tag binding relationship list, the bound code in the unread binding relationship is replaced with the first code or the second code to complete the correction of the binding relationship.

具体的,因电子标签绑定关系列表中存在至少一条绑定关系有误,且其本应该绑定的编码是第一编码或第二编码,在电子标签绑定关系列表中仅存在一条未读取绑定关系,可以肯定仅存的未读取绑定关系就是需要被纠正的绑定关系,可将该绑定关系中的编码替换为第一编码或第二编码,完成绑定关系的纠正,提高了绑定关系纠正的效率。Specifically, because there is at least one incorrect binding relationship in the electronic tag binding relationship list, and the code that should be bound is the first code or the second code, there is only one unread binding relationship in the electronic tag binding relationship list. It can be confirmed that the only remaining unread binding relationship is the binding relationship that needs to be corrected. The code in the binding relationship can be replaced with the first code or the second code to complete the correction of the binding relationship, thereby improving the efficiency of correcting the binding relationship.

可选的,步骤S14具体可包括:Optionally, step S14 may specifically include:

若电子标签绑定关系列表中存在两条以上未读取绑定关系,则提示用户确定两条以上未读取绑定关系中的待纠正绑定关系,并将待纠正绑定关系中被绑定的编码替换为第一编码或第二编码,以完成绑定关系的纠正。If there are more than two unread binding relationships in the electronic tag binding relationship list, the user is prompted to determine the binding relationship to be corrected among the two or more unread binding relationships, and replace the bound code in the binding relationship to be corrected with the first code or the second code to complete the correction of the binding relationship.

具体的,若电子标签绑定关系列表中存在两条以上未读取绑定关系,则无法自动确定其中需采用第一编码进行纠正的绑定关系是哪一条,故此时可提示用户人工确定需要进行纠正的绑定关系,也即确定其中的待纠正绑定关系,之后将待纠正绑定关系中的编码替换为第一编码或第二编码,完成绑定关系的纠正,提高绑定关系纠正的准确度。Specifically, if there are more than two unread binding relationships in the electronic tag binding relationship list, it is impossible to automatically determine which binding relationship needs to be corrected using the first code. Therefore, the user can be prompted to manually determine the binding relationship that needs to be corrected, that is, determine the binding relationship to be corrected, and then replace the code in the binding relationship to be corrected with the first code or the second code to complete the correction of the binding relationship, thereby improving the accuracy of the correction of the binding relationship.

区别于现有技术,基于本申请的技术方案,可通过读取目标电子标签获得第一编码,并判断预存的电子标签绑定关系列表中是否存在第一编码所对应的绑定关系,在不存在第一编码所对应的绑定关系时,判断第一编码和通过再次读取目标电子标签得到的第二编码是否相同,在第一编码和第二编码相同时可认为第一编码或第二编码为目标电子标签所对应的正确编码,之后可基于正确的第一编码或第二编码对未读取绑定关系进行纠正。本申请的技术方案可在电子标签的使用过程中实现绑定关系的及时纠正,提高了电子标签的可靠性。Different from the prior art, the technical solution of the present application can obtain the first code by reading the target electronic tag, and determine whether there is a binding relationship corresponding to the first code in the pre-stored electronic tag binding relationship list. When there is no binding relationship corresponding to the first code, determine whether the first code is the same as the second code obtained by reading the target electronic tag again. When the first code and the second code are the same, it can be considered that the first code or the second code is the correct code corresponding to the target electronic tag, and then the unread binding relationship can be corrected based on the correct first code or second code. The technical solution of the present application can realize the timely correction of the binding relationship during the use of the electronic tag, thereby improving the reliability of the electronic tag.

图2是本申请电子标签绑定关系纠正方法的另一实施例的流程示意图。如图2所示,在第二实施例中,电子标签绑定关系纠正方法可包括以下步骤:FIG2 is a flow chart of another embodiment of the method for correcting the binding relationship of electronic tags of the present application. As shown in FIG2 , in the second embodiment, the method for correcting the binding relationship of electronic tags may include the following steps:

步骤S21:读取目标电子标签,以获得第一编码。Step S21: Read the target electronic tag to obtain a first code.

步骤S22:判断电子标签绑定关系列表中是否存在目标绑定关系。Step S22: Determine whether there is a target binding relationship in the electronic tag binding relationship list.

若步骤S22的判断结果为不存在,则执行步骤S23。If the judgment result of step S22 is not present, step S23 is executed.

步骤S23:读取目标电子标签,以获得第二编码。Step S23: Read the target electronic tag to obtain a second code.

步骤S24:判断第一编码和第二编码是否相同。Step S24: Determine whether the first code and the second code are the same.

若步骤S24的判断结果为不相同,则执行步骤S25。If the judgment result of step S24 is not the same, step S25 is executed.

步骤S25:确定电子标签绑定关系列表中的未读取绑定关系,并基于第一编码或第二编码对未读取绑定关系进行纠正。Step S25: determining the unread binding relationship in the electronic tag binding relationship list, and correcting the unread binding relationship based on the first code or the second code.

本实施例中,可在确定电子标签绑定关系列表中不存在目标绑定关系后,再对目标电子标签进行二次读取以获得第二编码,以备后续判断第一编码和第二编码是否相同时使用。若电子标签绑定关系列表中存在目标绑定关系,则可直接确定第一编码为目标电子标签所存储的正确编码,而无需再进行后续的步骤,提高读取目标电子标签的效率。In this embodiment, after determining that the target binding relationship does not exist in the electronic tag binding relationship list, the target electronic tag can be read a second time to obtain the second code for subsequent use in determining whether the first code and the second code are the same. If the target binding relationship exists in the electronic tag binding relationship list, the first code can be directly determined to be the correct code stored in the target electronic tag without the need to perform subsequent steps, thereby improving the efficiency of reading the target electronic tag.

可选的,步骤S21具体可包括:Optionally, step S21 may specifically include:

读取目标电子标签,以获得第一待定编码。The target electronic tag is read to obtain a first pending code.

对第一待定编码进行CRC校验。Perform CRC check on the first pending code.

若校验失败,则返回执行读取目标电子标签,以获得第一待定编码的步骤及后续步骤。若校验成功,则将第一待定编码确定为第一编码。If the verification fails, the process returns to the step of reading the target electronic tag to obtain the first pending code and subsequent steps. If the verification succeeds, the first pending code is determined as the first code.

可选的,步骤S23具体可包括:Optionally, step S23 may specifically include:

读取目标电子标签,以获得第二待定编码。Read the target electronic tag to obtain the second pending code.

对第二待定编码进行CRC校验。Perform CRC check on the second pending code.

若校验失败,则返回执行读取目标电子标签,以获得第二待定编码的步骤及后续步骤。若校验成功,则将第二待定编码确定为第二编码。If the verification fails, the process returns to the step of reading the target electronic tag to obtain the second pending code and subsequent steps. If the verification succeeds, the second pending code is determined as the second code.

可选的,在步骤S21前,电子标签绑定关系纠正方法还可包括:Optionally, before step S21, the electronic tag binding relationship correction method may further include:

读取目标电子标签,以获得第三编码。The target electronic tag is read to obtain the third code.

将第三编码与目标设备进行绑定,并将第三编码与目标设备的绑定关系记录到电子标签绑定关系列表中。The third code is bound to the target device, and the binding relationship between the third code and the target device is recorded in the electronic tag binding relationship list.

具体的,上述在步骤S21前的步骤可以是在将目标电子标签交给用户使用前,预先将目标电子标签与目标设备进行绑定的步骤,以便于用户的使用。Specifically, the step before step S21 may be a step of pre-binding the target electronic tag with the target device before handing the target electronic tag to the user for use, so as to facilitate the use of the user.

进一步的,读取目标电子标签,以获得第三编码可包括:Further, reading the target electronic tag to obtain the third code may include:

读取目标电子标签,以获得第三待定编码。The target electronic tag is read to obtain the third pending code.

对第三待定编码进行CRC校验。Perform CRC check on the third pending code.

若校验失败,则返回执行读取目标电子标签,以获得第三待定编码的步骤及后续步骤。若校验成功,则将第三待定编码确定为第三编码。If the verification fails, the process returns to the step of reading the target electronic tag to obtain the third pending code and subsequent steps. If the verification succeeds, the third pending code is determined as the third code.

需要说明的是,目标电子标签中存储的编码可包含特定的CRC校验码。若进行CRC校验时发现被校验编码(如:第一待定编码、第二待定编码、第三待定编码)中的CRC校验码有误,则可以确定被校验编码必定是错误编码。因此,在CRC校验失败时,也即在被校验编码中的CRC校验码有误时,需重新读取目标电子标签,重新获取被校验编码,直至校验成功,提高电子标签的可靠性。It should be noted that the code stored in the target electronic tag may include a specific CRC check code. If the CRC check code in the checked code (such as the first pending code, the second pending code, and the third pending code) is found to be incorrect during the CRC check, it can be determined that the checked code must be an incorrect code. Therefore, when the CRC check fails, that is, when the CRC check code in the checked code is incorrect, it is necessary to re-read the target electronic tag and re-acquire the checked code until the check succeeds, thereby improving the reliability of the electronic tag.

区别于现有技术,基于本申请的技术方案,可通过读取目标电子标签获得第一编码,并判断预存的电子标签绑定关系列表中是否存在第一编码所对应的绑定关系,在不存在第一编码所对应的绑定关系时,判断第一编码和通过再次读取目标电子标签得到的第二编码是否相同,在第一编码和第二编码相同时可认为第一编码或第二编码为目标电子标签所对应的正确编码,之后可基于正确的第一编码或第二编码对未读取绑定关系进行纠正。本申请的技术方案可在电子标签的使用过程中实现绑定关系的及时纠正,提高了电子标签的可靠性。Different from the prior art, the technical solution of the present application can obtain the first code by reading the target electronic tag, and determine whether there is a binding relationship corresponding to the first code in the pre-stored electronic tag binding relationship list. When there is no binding relationship corresponding to the first code, determine whether the first code is the same as the second code obtained by reading the target electronic tag again. When the first code and the second code are the same, it can be considered that the first code or the second code is the correct code corresponding to the target electronic tag, and then the unread binding relationship can be corrected based on the correct first code or second code. The technical solution of the present application can realize the timely correction of the binding relationship during the use of the electronic tag, thereby improving the reliability of the electronic tag.

图3是本申请电子标签绑定关系纠正方法的又一实施例的流程示意图。如图3所示,在第三实施例中,电子标签绑定关系纠正方法可包括以下步骤:FIG3 is a flow chart of another embodiment of the method for correcting the binding relationship of electronic tags of the present application. As shown in FIG3 , in the third embodiment, the method for correcting the binding relationship of electronic tags may include the following steps:

步骤S31:读取目标电子标签,以获得第一编码。Step S31: Read the target electronic tag to obtain a first code.

步骤S32:读取目标电子标签,以获得第二编码。Step S32: Read the target electronic tag to obtain a second code.

步骤S33:判断电子标签绑定关系列表中是否存在目标绑定关系。Step S33: Determine whether there is a target binding relationship in the electronic tag binding relationship list.

若步骤S33的判断结果为不存在,则执行步骤S34。If the judgment result of step S33 is not present, step S34 is executed.

步骤S34:判断第一编码和第二编码是否相同。Step S34: Determine whether the first code and the second code are the same.

若步骤S34的判断结果为不相同,则执行步骤S35。If the judgment result of step S34 is not the same, step S35 is executed.

步骤S35:确定电子标签绑定关系列表中的未读取绑定关系,并基于第一编码或第二编码对未读取绑定关系进行纠正。Step S35: determining the unread binding relationship in the electronic tag binding relationship list, and correcting the unread binding relationship based on the first code or the second code.

区别于现有技术,基于本申请的技术方案,可通过读取目标电子标签获得第一编码,并判断预存的电子标签绑定关系列表中是否存在第一编码所对应的绑定关系,在不存在第一编码所对应的绑定关系时,判断第一编码和通过再次读取目标电子标签得到的第二编码是否相同,在第一编码和第二编码相同时可认为第一编码或第二编码为目标电子标签所对应的正确编码,之后可基于正确的第一编码或第二编码对未读取绑定关系进行纠正。本申请的技术方案可在电子标签的使用过程中实现绑定关系的及时纠正,提高了电子标签的可靠性。Different from the prior art, the technical solution of the present application can obtain the first code by reading the target electronic tag, and determine whether there is a binding relationship corresponding to the first code in the pre-stored electronic tag binding relationship list. When there is no binding relationship corresponding to the first code, determine whether the first code is the same as the second code obtained by reading the target electronic tag again. When the first code and the second code are the same, it can be considered that the first code or the second code is the correct code corresponding to the target electronic tag, and then the unread binding relationship can be corrected based on the correct first code or second code. The technical solution of the present application can realize the timely correction of the binding relationship during the use of the electronic tag, thereby improving the reliability of the electronic tag.

本申请还提出一种电子标签绑定关系纠正设备。The present application also proposes a device for correcting electronic tag binding relationships.

图4是本申请电子标签绑定关系纠正设备的一实施例的结构示意图。如图4所示,本实施例的电子标签绑定关系纠正设备40包括:处理器41、存储器42以及总线43。Fig. 4 is a schematic diagram of the structure of an embodiment of the electronic tag binding relationship correction device of the present application. As shown in Fig. 4 , the electronic tag binding relationship correction device 40 of the present embodiment includes: a processor 41 , a memory 42 and a bus 43 .

该处理器41、存储器42分别与总线43相连,该存储器42中存储有程序指令,处理器41用于执行程序指令以实现上述实施例中的电子标签绑定关系纠正方法。The processor 41 and the memory 42 are connected to the bus 43 respectively. The memory 42 stores program instructions. The processor 41 is used to execute the program instructions to implement the electronic tag binding relationship correction method in the above embodiment.

在本实施例中,处理器41还可以称为CPU(Central Processing Unit,中央处理单元)。处理器41可能是一种集成电路芯片,具有信号的处理能力。处理器41还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器41也可以是任何常规的处理器等。In this embodiment, the processor 41 may also be referred to as a CPU (Central Processing Unit). The processor 41 may be an integrated circuit chip having signal processing capabilities. The processor 41 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor 41 may also be any conventional processor, etc.

区别于现有技术,基于本申请的技术方案,可通过读取目标电子标签获得第一编码,并判断预存的电子标签绑定关系列表中是否存在第一编码所对应的绑定关系,在不存在第一编码所对应的绑定关系时,判断第一编码和通过再次读取目标电子标签得到的第二编码是否相同,在第一编码和第二编码相同时可认为第一编码或第二编码为目标电子标签所对应的正确编码,之后可基于正确的第一编码或第二编码对未读取绑定关系进行纠正。本申请的技术方案可在电子标签的使用过程中实现绑定关系的及时纠正,提高了电子标签的可靠性。Different from the prior art, the technical solution of the present application can obtain the first code by reading the target electronic tag, and determine whether there is a binding relationship corresponding to the first code in the pre-stored electronic tag binding relationship list. When there is no binding relationship corresponding to the first code, determine whether the first code is the same as the second code obtained by reading the target electronic tag again. When the first code and the second code are the same, it can be considered that the first code or the second code is the correct code corresponding to the target electronic tag, and then the unread binding relationship can be corrected based on the correct first code or second code. The technical solution of the present application can realize the timely correction of the binding relationship during the use of the electronic tag, thereby improving the reliability of the electronic tag.

本申请还提出一种计算机可读存储介质。The present application also proposes a computer-readable storage medium.

图5是本申请电子标签绑定关系纠正设备的一实施例的结构示意图。如图5所示,本实施例的计算机可读存储介质50其上存储有程序指令51,程序指令51被处理器(图未示)执行时实现上述实施例中的电子标签绑定关系纠正方法。Fig. 5 is a schematic diagram of the structure of an embodiment of the electronic tag binding relationship correction device of the present application. As shown in Fig. 5, the computer-readable storage medium 50 of the present embodiment stores program instructions 51 thereon, and when the program instructions 51 are executed by a processor (not shown), the electronic tag binding relationship correction method in the above embodiment is implemented.

本实施例计算机可读存储介质50可以是但不局限于U盘、SD卡、PD光驱、移动硬盘、大容量软驱、闪存、多媒体记忆卡、服务器等。The computer-readable storage medium 50 of this embodiment may be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, and the like.

区别于现有技术,基于本申请的技术方案,可通过读取目标电子标签获得第一编码,并判断预存的电子标签绑定关系列表中是否存在第一编码所对应的绑定关系,在不存在第一编码所对应的绑定关系时,判断第一编码和通过再次读取目标电子标签得到的第二编码是否相同,在第一编码和第二编码相同时可认为第一编码或第二编码为目标电子标签所对应的正确编码,之后可基于正确的第一编码或第二编码对未读取绑定关系进行纠正。本申请的技术方案可在电子标签的使用过程中实现绑定关系的及时纠正,提高了电子标签的可靠性。Different from the prior art, the technical solution of the present application can obtain the first code by reading the target electronic tag, and determine whether there is a binding relationship corresponding to the first code in the pre-stored electronic tag binding relationship list. When there is no binding relationship corresponding to the first code, determine whether the first code is the same as the second code obtained by reading the target electronic tag again. When the first code and the second code are the same, the first code or the second code can be considered to be the correct code corresponding to the target electronic tag, and then the unread binding relationship can be corrected based on the correct first code or second code. The technical solution of the present application can realize the timely correction of the binding relationship during the use of the electronic tag, thereby improving the reliability of the electronic tag.

以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims (8)

CN202110819710.7A2021-07-202021-07-20 Method, device and computer-readable storage medium for correcting electronic tag binding relationshipActiveCN113780490B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110819710.7ACN113780490B (en)2021-07-202021-07-20 Method, device and computer-readable storage medium for correcting electronic tag binding relationship

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110819710.7ACN113780490B (en)2021-07-202021-07-20 Method, device and computer-readable storage medium for correcting electronic tag binding relationship

Publications (2)

Publication NumberPublication Date
CN113780490A CN113780490A (en)2021-12-10
CN113780490Btrue CN113780490B (en)2024-04-09

Family

ID=78836121

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110819710.7AActiveCN113780490B (en)2021-07-202021-07-20 Method, device and computer-readable storage medium for correcting electronic tag binding relationship

Country Status (1)

CountryLink
CN (1)CN113780490B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102314662A (en)*2011-09-232012-01-11东华大学Authorized distributor monitoring method based on mobile RFID
CN106599952A (en)*2016-12-162017-04-26广东优替信息科技股份有限公司Method and device for acquiring article information based on electronic tag
WO2018059536A1 (en)*2016-09-302018-04-05杨军Matching method, intelligent interactive experience system and intelligent interactive system
CN108388931A (en)*2018-02-082018-08-10天下商机(北京)网络技术有限公司Intelligently encoding scheme and settlement system of the radio electronic label in unmanned retail domain
CN111309110A (en)*2020-01-202020-06-19深圳精匠云创科技有限公司 Component mounting and positioning method, device, computer device and storage medium
CN111401498A (en)*2020-04-302020-07-10深圳市联新移动医疗科技有限公司Non-contact non-alignment type medicine identification method and device
CN111583476A (en)*2020-06-052020-08-25金瓜子科技发展(北京)有限公司Vehicle access management system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100961254B1 (en)*2008-02-262010-06-03부산대학교 산학협력단 Electronic tag integrated processing system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102314662A (en)*2011-09-232012-01-11东华大学Authorized distributor monitoring method based on mobile RFID
WO2018059536A1 (en)*2016-09-302018-04-05杨军Matching method, intelligent interactive experience system and intelligent interactive system
CN106599952A (en)*2016-12-162017-04-26广东优替信息科技股份有限公司Method and device for acquiring article information based on electronic tag
CN108388931A (en)*2018-02-082018-08-10天下商机(北京)网络技术有限公司Intelligently encoding scheme and settlement system of the radio electronic label in unmanned retail domain
CN111309110A (en)*2020-01-202020-06-19深圳精匠云创科技有限公司 Component mounting and positioning method, device, computer device and storage medium
CN111401498A (en)*2020-04-302020-07-10深圳市联新移动医疗科技有限公司Non-contact non-alignment type medicine identification method and device
CN111583476A (en)*2020-06-052020-08-25金瓜子科技发展(北京)有限公司Vehicle access management system and method

Also Published As

Publication numberPublication date
CN113780490A (en)2021-12-10

Similar Documents

PublicationPublication DateTitle
JP5559435B2 (en) Method, apparatus and system for validating data
CN108805701B (en)Multi-blockchain cross-chain transaction processing system and method, blockchain system and storage medium
US8595826B2 (en)Portable electronic device and control method thereof
CN111460773A (en) A data processing method, device, system, electronic device and storage medium
CN112346668B (en) Optical disc information acquisition method, computing device and readable storage medium
US8164424B2 (en)System and method of integrated processing of electronic tag
CN111104246B (en)Method, device, computer equipment and storage medium for improving verification efficiency of error detection and correction of DRAM
US20080140869A1 (en)Circuits and Methods for Correcting Errors in Downloading Firmware
CN111340429A (en)Material management method, equipment and system based on two-dimensional code
CN113128168B (en)Pad parameter verification and correction method and device, computer equipment and storage medium
CN113780490B (en) Method, device and computer-readable storage medium for correcting electronic tag binding relationship
CN101655902A (en)Radio frequency identification reading by using error correcting codes on sets of tags
CN115018569A (en)Invoice issuing method, invoice reimbursement device and equipment based on block chain
CN109800565B (en)Software upgrading method and terminal equipment
CN104021806B (en)A kind of method and apparatus of data processing
CN106095910A (en)The label information analytic method of a kind of audio file, device and terminal
CN105791514A (en)Application starting monitoring method and device
CN111240886A (en)Method for improving reliability of multi-block storage
JP4451667B2 (en) Device and lead device
CN107608819B (en)Error correction method and memory device
CN110119646B (en)Device parameter setting method and system based on radio frequency card
CN107798270B (en)Computer readable storage medium and radio frequency identification reader applying same
US10296415B2 (en)IC card, portable electronic device, and IC card processing device
CN103984611A (en)Automatic test system and automatic test method
CN109901799B (en)Log reading and writing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change of name, title or address
CP03Change of name, title or address

Address after:No. 289, Dongfang Avenue, Nantong Economic and Technological Development Zone, Nantong City, Jiangsu Province, 226000

Patentee after:Jiangsu Renxian Medical Technology Co.,Ltd.

Country or region after:China

Address before:226000 289 Dongfang Road, Nantong economic and Technological Development Zone, Jiangsu

Patentee before:JIANGSU REHN MEDICAL INSTRUMENTS TECHNOLOGY Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp