Multifunctional reader-writer control method, control system and read-write equipment

By sending a wake-up signal to the RFID electronic tag and verifying the identification code, the problems of reader collision and data leakage in the RFID reader and writer control system are solved, and the security of data transmission and communication reliability are achieved.

CN119150897AActive Publication Date: 2024-12-17SHENZHEN TENGYI INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411649985.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2024-12-17
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

The existing RFID reader and writer control system has risks such as reader collision, multi-label serial reading, and data leakage during communication, resulting in complex control systems and low reliability.

Method used

By sending a wake-up signal to the electronic tag, obtaining and verifying the identification code, sorting the identification code, generating and verifying the second identification code, to ensure the security and reliability of the data transmission.

Benefits of technology

It effectively avoids reader and writer collisions and electronic tag collisions, ensures the security of data transmission and communication reliability, and improves the overall performance of the RFID system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119150897A_ABST
    Figure CN119150897A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication equipment, in particular to a multifunctional reader-writer control method, a multifunctional reader-writer control system and read-write equipment. The multifunctional reader-writer sorts the first identification codes according to information such as the sequence of the received first identification codes and generates second identification codes corresponding to the first identification codes according to the sorting sequence. And the electronic tag receives the second identification code from the multifunctional reader-writer and verifies the second identification code. The multifunctional reader-writer and the electronic tag are mutually verified through the first identification code and the second identification code, so that the multifunctional reader-writer and the electronic tag can be correctly matched, interfering read-write equipment or interfering electronic tags are eliminated, data information in the electronic tag is prevented from being acquired by a malicious reader-writer, and the data safety is guaranteed. By sorting the first identification codes, collision of the reader-writer and collision of the electronic tags are avoided, so that effectiveness and reliability of communication between the multifunctional reader-writer and the electronic tags are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of communication equipment, and in particular to a multifunctional reader / writer control method, control system and reader / writer equipment. Background Art

[0002] RFID (Radio Frequency Identification) is a radio frequency identification technology that uses radio waves for contactless data communication to achieve target identification and data exchange. RFID systems usually consist of three parts: RFID tags (Tags), RFID readers (Readers), and background databases (Databases). The reader transmits a signal to activate the tag, and the tag sends information to the reader via radio waves, and the reader then transmits the information to the background system for processing. RFID technology is widely used in access control systems, food safety traceability, library management, production line automation and many other fields.

[0003] In the process of communication between the reader and the electronic tag, there are usually risks such as reader collision, multi-tag cross-reading, data leakage and illegal tampering. At present, anti-collision algorithms and encrypted communication are usually used to optimize the communication between the reader and the electronic tag. However, in the process of communication between the reader and the electronic tag, one measure can only avoid one risk. For example, the anti-collision algorithm can only reduce the risk of reader collision, and the encryption algorithm can only reduce the risk of data leakage. This will not only make the reader control system complicated, but also make the control process complicated, which will lead to reduced reliability of the reader control system and control effect.

[0004] It can be seen that how to improve the reliability of reader / writer control is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a multifunctional reader / writer control method, control system and reader / writer device, aiming to solve the technical problem of how to improve the reliability of reader / writer control in the prior art.

[0006] The present application provides a multifunctional reader-writer control method, comprising the following steps: Sending a wake-up signal to an electronic tag within a working range to wake up the electronic tag; Obtaining a first identification code from the electronic tag; querying a first encoding library according to the first identification code to determine the validity of the first identification code; Sorting the valid first identification codes to obtain a sorting result; Sending out second identification codes corresponding to the first identification codes in sequence according to the sorting results, so that the electronic tag obtains the second identification codes and verifies the second identification codes, and sends out data information according to the verification results; Acquire data information from the electronic tag.

[0007] Optionally, waking up the electronic tag includes the following steps: The electronic tag obtains the wake-up signal; The electronic tag drives the first encoding unit to generate the first identification code according to the first encoding strategy by using at least one of the induced current or its own power supply; The electronic tag sends the first identification code externally.

[0008] Optionally, the first encoding strategy includes the following steps: Identify the wake-up signal, and obtain a first information feature carried by the wake-up signal; Selecting a coding field according to the first information feature and the second information feature of the electronic tag itself; Assigning the coding field to the first information feature and the second information feature; The encoding fields are sorted according to a preset order to obtain the first identification code.

[0009] Optionally, querying the first encoding library according to the first identification code includes the following steps: Identify the composition structure of the first identification code to obtain a first identification result; determining the correctness of the first identification code according to the first identification result; The first encoding library is queried according to the correct first identification code to determine whether the first identification code matches the data in the first encoding library to determine the validity of the first identification code.

[0010] Optionally, sorting the valid first identification codes comprises the following steps: Decoding the first identification code to obtain a first decoding result; Identifying first decoding information carried by the first decoding result; The first identification codes are sorted according to the first decoding information.

[0011] Optionally, sending the second identification codes outward in sequence according to the sorting results comprises the following steps: Identifying a sorting order of the first identification codes; Identify the first identification codes in order to obtain a second identification result; causing a second encoding unit to generate the second identification code according to the second identification result and a second encoding strategy, so that the second identification code corresponds to the first identification code; The second identification code is sent outwardly.

[0012] Optionally, enabling the electronic tag to obtain the second identification code and verifying the second identification code comprises the following steps: The electronic tag receives the second identification code; The electronic tag identifies the second identification code to obtain a third identification result; The electronic tag queries the second coding library according to the third identification result to determine the validity of the second identification code; The electronic tag decodes the valid second identification code to obtain a second decoding result; The electronic tag identifies the second decoding information carried by the second decoding result; The electronic tag verifies whether the information carried by the second identification code matches the electronic tag according to the second decoding information to obtain the verification result.

[0013] Optionally, the electronic tag sending data information externally according to the verification result comprises the following steps: Selecting an encryption algorithm and a key to encrypt data according to the verification result and the second decoding information; A communication protocol is selected according to the verification result and the second decoding information to send the encrypted data outward.

[0014] On the other hand, the present application also provides a multifunctional reader-writer control system, comprising: a multifunctional reader-writer and an electronic tag; The multifunctional reader / writer and the electronic tag are controlled by the multifunctional reader / writer control method; The multifunctional reader / writer comprises: A wake-up signal generating unit, the wake-up signal generating unit is used to generate a wake-up signal according to the information of the multifunctional reader / writer; A first encoding unit, wherein the first encoding unit is used to generate a second identification code; A first transmitting unit, the first transmitting unit is used to send a signal and energy to the electronic tag; a first receiving unit, the first receiving unit being used to receive a signal from the electronic tag; a first processing unit, the first processing unit being used to identify, process and sort the signal from the electronic tag; A first storage unit, the first storage unit is used to store data and programs; The electronic tag comprises: a second encoding unit, the second encoding unit being used to generate a first identification code; A second transmitting unit, the second transmitting unit is used to send a signal to the multifunctional reader; a second receiving unit, the second receiving unit being used to receive a signal from the multifunctional reader / writer; a second processing unit, the second processing unit being used to identify, process and sort the signals from the multifunctional reader / writer; A second storage unit, the second storage unit is used to store data and programs; A power module, wherein the power module generates an induced current after receiving the wake-up signal; Wherein, the wake-up signal carries information about the multifunctional reader / writer and can wake up the electronic tag; After the first processing unit identifies the first identification code, the first identification code is sorted; The first encoding unit generates the second identification code according to the identification result of the first identification code by the first processing unit and the sorting of the first identification code; The second processing unit verifies the second identification code and sends data information to the outside according to the verification result.

[0015] On the other hand, the present application also provides a reading and writing device, comprising: A memory, the memory being used to store one or more program instructions; A processor is used to run one or more program instructions to execute the steps of the multi-function reader-writer control method.

[0016] The beneficial effect achieved by the present application is that during the operation of the multifunctional reader / writer, the multifunctional reader / writer sends a wake-up signal to the outside. When the electronic tag enters the working range of the multifunctional reader / writer, the electronic tag receives the wake-up signal from the multifunctional reader / writer, and the electronic tag generates an induced current to wake up the electronic tag. After being awakened, the electronic tag recognizes the wake-up signal, generates a first identification code based on the recognition result of the wake-up signal, and then sends the first identification code to the outside. After the multifunctional reader / writer obtains the first identification code from the electronic tag, it queries the first encoding library to determine the validity of the first identification code. If the first identification code is valid, it indicates that the electronic tag is the target electronic tag to be read. If the first identification code is invalid, it indicates that the electronic tag is not the electronic tag to be read. If there are multiple electronic tags within the working range of the multifunctional reader / writer, the multifunctional reader / writer sorts the first identification codes according to the order of receiving the first identification codes and other information, and generates a second identification code corresponding to the first identification code according to the sorting order. After the multifunctional reader generates the second identification code, it sends the second identification code outward, and the electronic tag receives the second identification code from the multifunctional reader and verifies the second identification code. After the electronic tag verifies the second identification code, it selects a corresponding method to send the corresponding data information outward according to the verification result, so that the multifunctional reader can accurately obtain the expected data information. The multifunctional reader and the electronic tag mutually verify each other through the first identification code and the second identification code, so that the multifunctional reader and the electronic tag can be correctly matched, and the interfering reading and writing equipment or interfering electronic tags are eliminated to prevent the data information in the electronic tag from being obtained by malicious readers and writers, thereby ensuring the security of the data. By sorting the first identification code, reader collision and electronic tag collision are avoided, thereby ensuring the effectiveness and reliability of the communication between the multifunctional reader and the electronic tag. In this way, while ensuring the security of data transmission, the effectiveness and reliability of the communication between the multifunctional reader and the electronic tag are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a method for controlling a multifunctional reader / writer in an embodiment of the present invention; Figure 2 is a flow chart of waking up an electronic tag in an embodiment of the present invention; Figure 3 is a flow chart of a first encoding strategy in an embodiment of the present invention; Figure 4 is a flow chart of querying a first encoding library according to a first identification code in an embodiment of the present invention; Figure 5 is a flow chart of sorting valid first identification codes in an embodiment of the present invention; Figure 6is a flow chart of sending out second identification codes corresponding to first identification codes in sequence according to the sorting results in an embodiment of the present invention; Figure 7 is a flow chart of a second encoding strategy in an embodiment of the present invention; Figure 8 is a flow chart of enabling the electronic tag to obtain the second identification code and verifying the second identification code in an embodiment of the present invention; Fig. 9 is a flow chart of an electronic tag sending data information outward according to a verification result in an embodiment of the present invention; Fig.10 It is a schematic diagram of the module structure of the multifunctional reader-writer control system in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar units or units with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention. In addition, it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0019] In the description of the present invention, it is necessary to understand that the orientation or positional relationship indicated by terms such as "length", "width", "up", "down", "left", "right", "horizontal", "top" and "bottom" are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0020] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0021] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can be the internal connection of two units or the interaction relationship between two units. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0022] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0023] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but those of ordinary skill in the art can appreciate the application of other processes and / or the use of other materials.

[0024] See also Figure 1 In some embodiments of the present application, a multifunctional reader-writer control method provided by the present application comprises the following steps: S1. Send a wake-up signal to the electronic tag within the working range to wake up the electronic tag; S2, obtaining a first identification code from the electronic tag; S3, querying the first encoding library according to the first identification code to determine the validity of the first identification code; S4, sorting the valid first identification codes to obtain a sorting result; S5. Sending out the second identification code corresponding to the first identification code in sequence according to the sorting result, so that the electronic tag obtains the second identification code and verifies the second identification code, and sends out data information according to the verification result; S6. Obtain data information from the electronic tag.

[0025] It is understandable that during the operation of the multifunctional reader / writer, the multifunctional reader / writer sends a wake-up signal to the outside. When the electronic tag enters the working range of the multifunctional reader / writer, the electronic tag receives the wake-up signal from the multifunctional reader / writer, and the electronic tag generates an induced current to wake up the electronic tag. After being awakened, the electronic tag recognizes the wake-up signal, generates a first identification code based on the recognition result of the wake-up signal, and then sends the first identification code to the outside. After the multifunctional reader / writer obtains the first identification code from the electronic tag, it queries the first encoding library to determine the validity of the first identification code. If the first identification code is valid, it indicates that the electronic tag is the target electronic tag to be read. If the first identification code is invalid, it indicates that the electronic tag is not the electronic tag to be read. If there are multiple electronic tags within the working range of the multifunctional reader / writer, the multifunctional reader / writer sorts the first identification codes with reference to the order in which the first identification codes are received, and generates a second identification code corresponding to the first identification code according to the sorting order. After the multifunctional reader generates the second identification code, it sends the second identification code outward, and the electronic tag receives the second identification code from the multifunctional reader and verifies the second identification code. After the electronic tag verifies the second identification code, it selects a corresponding method to send the corresponding data information outward according to the verification result, so that the multifunctional reader can accurately obtain the expected data information. The multifunctional reader and the electronic tag mutually verify each other through the first identification code and the second identification code, so that the multifunctional reader and the electronic tag can be correctly matched, and the interfering reading and writing equipment or interfering electronic tags are eliminated to prevent the data information in the electronic tag from being obtained by malicious readers and writers, thereby ensuring the security of the data. By sorting the first identification code, reader collision and electronic tag collision are avoided, thereby ensuring the effectiveness and reliability of the communication between the multifunctional reader and the electronic tag. In this way, while ensuring the security of data transmission, the effectiveness and reliability of the communication between the multifunctional reader and the electronic tag are improved.

[0026] After receiving the wake-up signal, the electronic tag generates an induced current according to the principle of electromagnetic induction, thereby activating the internal circuit of the electronic tag so that the internal circuit of the electronic tag can realize the set function. After the internal circuit of the electronic tag is activated, the wake-up signal is demodulated to obtain the control instructions and related information sent by the multi-function reader.

[0027] In some embodiments of the present application, after demodulating the wake-up signal, the electronic tag identifies the information after the wake-up signal demodulation, and then generates a first identification code based on the identified information. The information after the wake-up signal demodulation includes: reader brand, reader model, reader number, communication protocol used by the reader to receive data information, and reader operating frequency. The electronic tag selects the corresponding encoding rules and algorithms to generate the first identification code based on the information after the wake-up signal demodulation and the control instructions from the multifunctional reader, so that the first identification code matches the multifunctional reader corresponding to the wake-up signal.

[0028] In some embodiments of the present application, when multiple multifunctional readers and writers request to read the content of the same electronic tag or write information to the same electronic tag, the internal circuit of the electronic tag is activated by the wake-up signal received first, and the subsequently received wake-up signals are converted into electrical energy in turn according to the principle of electromagnetic induction to continuously provide electrical energy for the operation of the electronic tag until the electronic tag completes communication with all the multifunctional readers and writers. In this way, the continuous working time of the electronic tag is extended, and the continuity and reliability of communication between the electronic tag and the multifunctional reader and writer are ensured.

[0029] In some embodiments of the present application, when multiple multifunctional readers and writers request to read the content of the same electronic tag or write information to the same electronic tag, the demodulation unit in the electronic tag demodulates the received wake-up signals in sequence. When the demodulation unit in the electronic tag demodulates a wake-up signal, the shielding unit in the electronic tag shields the subsequently received wake-up signal, so that the subsequently received wake-up signal is only converted into electrical energy without interfering with the normal operation of the circuit inside the electronic tag. When the demodulation unit in the electronic tag completes processing of a wake-up signal, the shielding unit in the electronic tag releases the subsequently received wake-up signal, thereby ensuring the continuity of the electronic tag's processing of the wake-up signal and avoiding mutual interference between wake-up signals from different multifunctional readers and writers.

[0030] In some embodiments of the present application, the electronic tag is provided with a plurality of signal channels, so as to improve the signal processing efficiency of the electronic tag.

[0031] In some embodiments of the present application, after the electronic tag demodulates the wake-up signal, the second processing unit in the electronic tag identifies the information after the wake-up signal is demodulated. During the process of the second processing unit in the electronic tag identifying a wake-up signal, if the wake-up signal emitted by other multifunctional readers is subsequently demodulated by the electronic tag, the second storage unit in the electronic tag stores the information obtained by the subsequent demodulation, so that the second processing unit in the electronic tag can subsequently call the information in the storage unit. In this way, by storing the information obtained by the subsequent demodulation through the second storage unit in the electronic tag, the second processing unit in the electronic tag can sequentially identify the information carried by the wake-up signals from different multifunctional readers, thereby reducing the risk of reader-writer collision.

[0032] In some embodiments of the present application, after the second processing unit in the electronic tag completes processing of a wake-up signal, it sends a wake-up signal calling instruction to the second storage unit in the electronic tag, so that the information carried by the wake-up signal stored in the storage unit is called by the second storage unit in the electronic tag. When the information carried by a wake-up signal in the second storage unit in the electronic tag is called by the second processing unit in the electronic tag, the information carried by the wake-up signal is deleted from the second storage unit in the electronic tag to avoid repeated calling of the information carried by the wake-up signal in the second storage unit in the electronic tag, thereby further reducing the risk of collision between multi-function readers and writers.

[0033] See also Figure 2 In some embodiments of the present application, waking up the electronic tag includes the following steps: S11, the electronic tag obtains a wake-up signal; S12, the electronic tag uses at least one of the induced current or its own power supply to drive the first encoding unit to generate a first identification code according to the first encoding strategy; S13: The electronic tag sends the first identification code externally.

[0034] It is understandable that after receiving the wake-up signal, the electronic tag generates an induced current according to the principle of electromagnetic induction, thereby activating the internal circuit of the electronic tag, so that the internal circuit of the electronic tag can realize the set function.

[0035] After the internal circuit of the electronic tag is activated, if the electronic tag is a passive electronic tag, the internal circuit of the electronic tag uses the induced current generated by the electromagnetic signal received from the multi-function reader / writer according to the electromagnetic induction principle to realize the relevant functions of the electronic tag; if the electronic tag is an active electronic tag, the power module in the electronic tag is awakened by the induced current generated by the electromagnetic signal received by the electronic tag from the multi-function reader / writer according to the electromagnetic induction principle, so that the power module in the electronic tag can supply power to the internal circuit of the electronic tag according to the set program.

[0036] After the second processing unit in the electronic tag identifies the information carried by the wake-up signal, it sends a coding instruction to the first coding unit according to the identification result. The first coding unit generates a first identification code according to the coding instruction from the second processing unit in the electronic tag according to the first coding strategy, so that the first identification code can match the multifunctional reader corresponding to the wake-up signal, so that the first identification code can be recognized by the multifunctional reader corresponding to the wake-up signal. When the first identification code received by the multifunctional reader does not match the multifunctional reader, the multifunctional reader identifies the first identification code as an invalid identification code, thereby avoiding signal cross-reading between different readers. When different multifunctional readers request to read the data information of the same electronic tag, the data information to be read will be different. By setting the first identification code, the electronic tag can send specific data information to the multifunctional reader that matches the first identification code, so that the corresponding multifunctional reader can read the corresponding data information, thereby ensuring the accuracy and reliability of the data information obtained by the multifunctional reader.

[0037] See also Figure 3 In some embodiments of the present application, the first encoding strategy includes the following steps: S121, identifying a wake-up signal, and acquiring a first information feature carried by the wake-up signal; S122, selecting a coding field according to the first information feature and the second information feature of the electronic tag itself; S123, matching the coding field with the first information feature and the second information feature; S124. Sort the coding fields according to a preset order to obtain a first identification code.

[0038] It is understandable that after the electronic tag obtains the wake-up signal, it demodulates the wake-up signal through the demodulation unit in the electronic tag. After the demodulation unit in the electronic tag demodulates the wake-up signal, the second processing unit in the electronic tag obtains the first information feature carried by the wake-up signal, and then identifies the first information feature. Among them, the first information feature includes but is not limited to: reader brand, reader model, reader number, communication protocol used by the reader to receive data information, and the operating frequency of the reader. After the second processing unit in the electronic tag identifies the first information feature, it sends a coding instruction to the first coding unit, and the first coding unit selects the corresponding coding field according to the first information feature and the second information feature of the electronic tag itself. Among them, the second information feature includes but is not limited to: electronic tag model, electronic tag number, electronic tag communication protocol, and electronic tag operating frequency.

[0039] The electronic tag is preset with a coding character library, and different first information features and second information features correspond to specific coding fields. When the processing unit of the electronic tag obtains the first information feature and the second information feature, the first information feature and the second information feature are matched with the corresponding coding fields, thereby generating a coding instruction according to the matching result, and then sending the generated coding instruction to the first coding unit, so that the first coding unit generates a first identification code according to the coding instruction. In this way, the first identification code carries the information of the multifunctional reader and the electronic tag. When the multifunctional reader obtains the first identification code, the validity of the first identification code can be judged according to the composition structure of the first identification code and the information carried.

[0040] See also Figure 4 In some embodiments of the present application, querying the first encoding library according to the first identification code includes the following steps: S31, identifying a composition structure of a first identification code to obtain a first identification result; S32, judging the correctness of the first identification code according to the first identification result; S33. Query the first encoding library according to the correct first identification code to determine whether the first identification code matches the data in the first encoding library to determine the validity of the first identification code.

[0041] It is understandable that after the multifunctional reader obtains the first identification code, the processing unit of the reader identifies the first identification code, and then analyzes the composition structure of the first identification code to obtain the first identification result. Since the first identification code carries information about the multifunctional reader and the electronic tag, the correctness of the first identification code can be determined by identifying and analyzing the first identification code and then judging the correctness of the first identification code according to the composition structure of the first identification code and the information it carries. If the first identification code is incorrect, it means that the first identification code is not sent by the target electronic tag or the first identification code matches other multifunctional readers. In this way, the first identification code is preliminarily screened to ensure that the multifunctional reader can accurately obtain the information of the target electronic tag.

[0042] If the first identification code is correct, it indicates that the electronic tag corresponding to the first identification code can be matched with the multifunctional reader / writer, and then the first encoding library is queried according to the correct first identification code to determine whether the first identification code matches the data in the first encoding library. If the first identification code matches the data in the first encoding library, it indicates that the first identification code is valid, and then it can be determined that the electronic tag corresponding to the first identification code is the target electronic tag, and thus the first identification code is valid; if the first identification code does not match the data in the first encoding library, it indicates that although the electronic tag corresponding to the first identification code can be matched with the multifunctional reader / writer, it is not the target electronic tag, and thus the first identification code is invalid.

[0043] By judging the validity of the first identification code, the multifunctional reader can accurately identify the target electronic tag and avoid interference from non-target electronic tags, thereby ensuring the validity and reliability of the multifunctional reader in obtaining the data information sent by the electronic tag. By setting the first identification code, the multifunctional reader can judge whether the electronic tag corresponds to the multifunctional reader and identify the security of the electronic tag, avoid the electronic tag carrying malicious information, prevent the data information in the multifunctional reader and data system from being stolen or maliciously modified, and ensure the security of the data information in the multifunctional reader and data system.

[0044] See also Figure 5 In some embodiments of the present application, sorting the valid first identification codes includes the following steps: S41, decoding the first identification code to obtain a first decoding result; S42, identifying first decoding information carried by the first decoding result; S43. Sort the first identification codes according to the first decoding information.

[0045] It is understandable that after the multifunctional reader obtains a valid first identification code, it further decodes the first identification code according to a preset coding rule to obtain a first decoding result, and then obtains the first decoding information carried by the first decoding result according to the recognition result of the first decoding result. The first decoding information includes a first information feature about the multifunctional reader, a second information feature about the electronic tag, priority information about the electronic tag, etc. If multiple electronic tags are within the working range of the multifunctional reader, the first processing unit of the multifunctional reader sorts the first identification code according to the first decoding information and the order in which the first identification code is received, so that the first processing unit of the multifunctional reader performs subsequent operations according to the sorting result of the first identification code, thereby reducing the risk of electronic tag collision.

[0046] See also Figure 6 In some embodiments of the present application, sending the second identification code corresponding to the first identification code in sequence according to the sorting result includes the following steps: S51, identifying the sorting order of the first identification codes; S52, identifying the first identification codes in order to obtain a second identification result; S53, enabling the second encoding unit to generate a second identification code according to the second identification result and the second encoding strategy, so that the second identification code corresponds to the first identification code; S54: Send the second identification code outward.

[0047] It can be understood that after the first processing unit of the multifunctional reader / writer completes the sorting of the first identification code, it further identifies the information carried by the first identification code according to the sorting result, and further sends a coding instruction to the second coding unit according to the second coding strategy based on the information carried by the first identification code, so that the second coding unit generates a second identification code according to the coding instruction, so that the second identification code can correspond to the first identification code. When the electronic tag receives the second identification code, it can determine whether the multifunctional reader / writer corresponds to the electronic tag based on the recognition result of the second identification code, and then the electronic tag sends valid data information to the outside according to the second identification code to ensure the validity and reliability of the data information obtained by the multifunctional reader / writer.

[0048] See also Figure 7 In some embodiments of the present application, the second encoding strategy includes the following steps: S531, obtaining the sorting information of the first identification code and the second identification result; S532, allocating a time slot according to the sorting information of the first identification code and the second identification result, and generating instruction information about the time slot; S533, selecting a coding field according to the first information feature of the multifunctional reader / writer, the second recognition result, and the instruction information about the time slot; S534, making the coding field correspond to the second recognition result and the instruction information about the time slot; S535. Sort the selected coding fields according to a preset sequence rule to generate a second identification code.

[0049] It is understandable that after the first processing unit of the multifunctional reader / writer sorts the first identification code, it generates sorting information about the first identification code, and then identifies the received first identification code in order according to the sorting information about the first identification code to obtain the information carried by the first identification code, thereby obtaining the second identification result. The information carried by the first identification code includes the second information feature about the electronic tag, and the second information feature includes but is not limited to: the electronic tag model, the electronic tag number, the communication protocol of the electronic tag, and the operating frequency of the electronic tag. After the first processing unit of the multifunctional reader / writer obtains the second identification result, it allocates the time slot according to the sorting information of the first identification code and the second identification result, and generates instruction information about the time slot, so that the second identification code carries information about the time slot instruction.

[0050] By sorting the first identification codes, the multiple first identification codes received by the multifunctional reader are sorted according to a preset sorting strategy, so that the first processing unit of the multifunctional reader can process the received first identification codes in a preset order and allocate corresponding time slots, so that the corresponding electronic tags respond and send relevant data information in a preset order. In this way, the multifunctional reader can read the data information of the electronic tags in sequence according to the preset order, thereby avoiding electronic tag collisions and ensuring the effectiveness and reliability of the multifunctional reader in obtaining data information.

[0051] After generating the instruction information about the time slot, the first processing unit of the multifunctional reader sends the encoding instruction to the second encoding unit, and the second encoding unit selects the encoding field according to the encoding instruction, referring to the first information feature of the multifunctional reader itself, the second information feature of the electronic tag, and the instruction information about the time slot, and sorts the selected encoding field according to the preset sequence rule to obtain the second identification code, so that the second identification code carries the first information feature, the second information feature, and the time slot instruction information. Among them, the first information feature includes but is not limited to: the brand of the reader, the model of the reader, the number of the reader, the communication protocol used by the reader to receive data information, and the working frequency of the reader, and the second information feature includes but is not limited to: the model of the electronic tag, the number of the electronic tag, the communication protocol of the electronic tag, and the working frequency of the electronic tag.

[0052] A second identification code is generated through a second encoding strategy, so that the second identification code corresponds to the first identification code, and the second identification code carries the first information feature, the second information feature and the time slot instruction information, so that after the electronic tag recognizes the second identification code, it can determine whether the multi-function reader corresponds to the electronic tag and identify the security of the multi-function reader, thereby preventing the data information in the electronic tag from being maliciously read or maliciously written with dangerous information.

[0053] See also Figure 8 In some embodiments of the present application, enabling the electronic tag to obtain the second identification code and verifying the second identification code includes the following steps: S551, the electronic tag receives a second identification code; S552, the electronic tag identifies the second identification code to obtain a third identification result; S553, the electronic tag queries the second encoding library according to the third identification result to determine the validity of the second identification code; S554, the electronic tag decodes the valid second identification code to obtain a second decoding result; S555. The electronic tag identifies the second decoding information carried by the second decoding result; S556: The electronic tag verifies whether the information carried by the second identification code matches the electronic tag according to the second decoding information to obtain a verification result.

[0054] It can be understood that when the electronic tag receives the second identification code, the second identification code is identified by the second processing unit in the electronic tag, thereby obtaining a third identification result, and the third identification result includes the composition structure of the second identification code. After obtaining the third identification result, the second processing unit in the electronic tag queries the second encoding library according to the third identification result, and determines whether the second identification code matches the data information in the second encoding library. If the second identification code matches the data information in the second encoding library, it indicates that the second identification code is valid; if the second identification code does not match the data information in the second encoding library, it indicates that the second identification code is invalid. In this way, by judging the validity of the second identification code, the pseudo second identification code is eliminated, thereby preventing the data information in the electronic tag from being maliciously read, and ensuring the security of the data information in the electronic tag.

[0055] When it is determined that the second identification code is valid, the second processing unit in the electronic tag decodes the second identification code according to a preset coding rule to obtain a second decoding result, and then obtain the information carried by the second identification code. The information carried by the second identification code includes the first information feature of the multifunctional reader / writer carried by the second identification code, the second information feature of the electronic tag, and instruction information about the time slot corresponding to the electronic tag.

[0056] When the second processing unit in the electronic tag obtains the second decoded information, it verifies the second decoded information to verify whether the information carried by the second identification code matches the electronic tag. If the information carried by the second identification code matches the electronic tag, the second processing unit generates relevant instructions for sending data information outward, and the internal circuit of the electronic tag selects the corresponding encryption algorithm and communication protocol according to the relevant instructions to send the corresponding data information outward, thereby ensuring the effectiveness and security of data transmission.

[0057] See also Fig. 9 In some embodiments of the present application, the electronic tag sends data information to the outside according to the verification result, including the following steps: S561, selecting an encryption algorithm and a key to encrypt data according to the verification result and the second decoding information; S562. Select a communication protocol based on the verification result and the second decoding information to send the encrypted data outward.

[0058] After verifying the security of the second identification code, the second processing unit of the electronic tag obtains the information carried by the second identification code through the second decoding information, and selects the corresponding encryption algorithm and key according to the second decoding information to encrypt the data information. In this way, even if the data signal sent from the electronic tag is obtained by a malicious reader / writer, the malicious reader / writer cannot determine which decryption algorithm is used for decryption, so that the malicious reader / writer cannot read the data information in the electronic tag, thereby ensuring the security of the data information in the electronic tag.

[0059] When the corresponding data information in the electronic tag is encrypted before being sent out, the corresponding communication protocol is selected according to the second decoding information to send the encrypted data information out, so as to reduce the risk of the data information being received by a malicious reader and writer, and further ensure the security of the data information in the electronic tag.

[0060] On the other hand, see Fig.10 In some embodiments of the present application, the present application further provides a multifunctional reader-writer control system, including: a multifunctional reader-writer and an electronic tag. The multifunctional reader-writer and the electronic tag are controlled by a multifunctional reader-writer control method.

[0061] The multifunctional reader / writer includes: a wake-up signal generating unit, a first encoding unit, a first transmitting unit, a first receiving unit, a first processing unit, and a first storage unit.

[0062] The wake-up signal generating unit is used to generate a wake-up signal according to the information of the multifunctional reader / writer. The first encoding unit is used to generate a second identification code. The first transmitting unit is used to send a signal and energy to the electronic tag. The first receiving unit is used to receive a signal from the electronic tag. The first processing unit is used to identify, process and sort the signal from the electronic tag. The first storage unit is used to store data and programs.

[0063] The electronic tag comprises: a second encoding unit, a second transmitting unit, a second receiving unit, a second processing unit, a second storage unit, and a power supply module.

[0064] The second encoding unit is used to generate a first identification code. The second transmitting unit is used to send a signal to the multifunctional reader / writer. The second receiving unit is used to receive a signal from the multifunctional reader / writer. The second processing unit is used to identify, process, and sort the signal from the multifunctional reader / writer. The second storage unit is used to store data and programs. The power module generates an induction current after receiving the wake-up signal.

[0065] The wake-up signal carries information about the multifunctional reader and can wake up the electronic tag. After the first processing unit identifies the first identification code, it sorts the valid first identification codes. The first encoding unit generates a second identification code according to the recognition result of the first processing unit on the first identification code and the sorting of the first identification code. After the second processing unit verifies the second identification code, it sends data information to the outside according to the verification result.

[0066] The multifunctional reader generates a wake-up signal through a wake-up signal generating unit, and the wake-up signal carries relevant information about the multifunctional reader. After the wake-up signal generating unit generates the wake-up signal, the first processing unit controls the first transmitting unit to transmit the wake-up signal to the outside. The electronic tag receives the wake-up signal through the second receiving unit and enables the power module to form an induced current through the wake-up signal through the electromagnetic induction principle to activate the internal circuit of the electronic tag. Then, the demodulation unit in the electronic tag is controlled by the second processing unit to demodulate the wake-up signal to obtain the information about the multifunctional reader carried by the wake-up signal. The second encoding unit generates a first identification code according to the information carried by the wake-up signal, and transmits the first identification code to the outside through the second transmitting unit. The multifunctional reader receives the first identification code through the first receiving unit, and the first processing unit further identifies the first identification code and queries the first encoding library to determine the validity of the first identification code. After recognizing the validity of the first identification code, the first processing unit sorts the first identification code according to the composition structure of the first identification code and the information carried by the first identification code, and controls the first encoding unit to generate the second identification code according to the sorting result, that is, the information carried by the first identification code, and sends the second identification code outward through the first transmitting unit. The electronic tag receives the second identification code through the second receiving unit, and identifies and verifies the second identification code through the second processing unit, and selects the corresponding encryption algorithm and key to encrypt the data information to be sent outward according to the identification and verification results of the second identification code, and selects the corresponding communication protocol to send the encrypted data information outward.

[0067] The first storage unit stores information related to the corresponding multifunctional reader, including but not limited to: reader brand, reader model, reader number, communication protocol used by the reader to receive data information, reader operating frequency, reader numbering rule program, communication protocol selection strategy program, first encoding library data, and electronic tag numbering rule program. When the first processing unit sends an encoding instruction, it queries the relevant information in the first storage unit, and then sends the encoding instruction to the first encoding unit according to the relevant information of the multifunctional reader, so that the signal sent from the multifunctional reader carries information related to the multifunctional reader, so that the corresponding electronic tag verifies the multifunctional reader after receiving the signal from the multifunctional reader. If the verification fails, the data transmission is blocked to ensure the security of the data.

[0068] The second storage unit stores relevant information corresponding to the electronic tag, including but not limited to: the electronic tag model, the electronic tag number, the communication protocol of the electronic tag, the working frequency of the electronic tag, the numbering rule program of the electronic tag, the communication protocol selection strategy program, the second encoding library data, and the numbering rule program of the reader. When the second processing unit sends an encoding instruction, it queries the relevant information in the second storage unit, and then sends the encoding instruction to the second encoding unit according to the relevant information of the electronic tag, so that the signal sent by the electronic tag carries the relevant information about the electronic tag, so that the corresponding multifunctional reader can accurately identify the electronic tag, thereby ensuring that the multifunctional reader can accurately read the data information in the electronic tag, and ensuring the validity and reliability of the multifunctional reader reading the data information.

[0069] During the process of the electronic tag verifying the multifunctional reader / writer, the relevant information stored in the second storage unit is queried to detect whether the information carried in the signal from the multifunctional reader / writer matches the information stored in the second storage unit. If the information carried in the signal from the multifunctional reader / writer matches the information stored in the second storage unit, the verification is successful. After the electronic tag obtains the number of the reader / writer, it queries the numbering rule program of the reader / writer in the second storage unit to verify whether the number of the reader / writer is correct. If the number of the reader / writer is correct, it verifies whether the model of the reader / writer and the brand of the reader / writer correspond to the number of the reader / writer. If the model of the reader / writer and the brand of the reader / writer correspond to the number of the reader / writer, the information of the multifunctional reader / writer can be verified, and then the corresponding communication protocol is selected according to the communication protocol adopted by the reader / writer to receive the data information and the working frequency of the reader / writer to establish data transmission communication with the multifunctional reader / writer. After the multi-function reader is verified, the corresponding encryption algorithm and key are selected according to the information from the multi-function reader to encrypt the data information to be sent out, so as to ensure that only the multi-function reader that has passed the verification can decrypt the encrypted information of the electronic tag, and the multi-function reader that has not passed the verification cannot read the data information of the electronic tag, thereby further improving the security of the electronic tag data information.

[0070] During the process of the multifunctional reader-writer verifying the electronic tag, the relevant information stored in the first storage unit is queried to detect whether the information carried in the signal from the electronic tag matches the information stored in the first storage unit. If the information carried in the signal from the multifunctional reader-writer matches the information stored in the first storage unit, the verification is successful. After the multifunctional reader-writer obtains the number of the electronic tag, it queries the numbering rule program of the electronic tag in the first storage unit to verify whether the number of the electronic tag is correct. If the number of the electronic tag is correct, it verifies whether the model of the electronic tag corresponds to the number of the electronic tag. If the model of the electronic tag corresponds to the number of the electronic tag, it selects the corresponding communication protocol according to the communication protocol of the electronic tag and the working frequency of the electronic tag to establish data transmission communication with the electronic tag.

[0071] In this way, the electronic tag can perform preliminary identification of the multifunctional reader / writer through the wake-up signal, so that the electronic tag can correspond to the correct multifunctional reader / writer, thereby preventing the data information in the electronic tag from being read by a malicious reader / writer, thereby ensuring the security of the data information in the electronic tag. The multifunctional reader / writer and the electronic tag can verify each other through the first identification code and the second identification code, so that the multifunctional reader / writer and the electronic tag can be correctly matched, and the interfering reading and writing equipment or interfering electronic tags are eliminated to prevent the data information in the electronic tag from being obtained by malicious readers / writers, thereby ensuring the security of the data. By sorting the first identification code, reader / writer collisions and electronic tag collisions are avoided, thereby ensuring the effectiveness and reliability of the communication between the multifunctional reader / writer and the electronic tag. In this way, while ensuring the security of data transmission, the effectiveness and reliability of the communication between the multifunctional reader / writer and the electronic tag are improved.

[0072] On the other hand, in some embodiments of the present application, the present application further provides a reader / writer device, comprising: a memory and a processor. The memory is used to store one or more program instructions. The processor is used to run one or more program instructions to execute the steps of the multifunctional reader / writer control method.

[0073] In the description of this specification, the description with reference to the terms "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0074] In addition, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A multifunctional reader-writer control method, characterized in that: The steps include: Sending a wake-up signal to an electronic tag within a working range to wake up the electronic tag; Obtaining a first identification code from the electronic tag; querying a first encoding library according to the first identification code to determine the validity of the first identification code; Sorting the valid first identification codes to obtain a sorting result; Sending out second identification codes corresponding to the first identification codes in sequence according to the sorting results, so that the electronic tag obtains the second identification codes and verifies the second identification codes, and sends out data information according to the verification results; Acquire data information from the electronic tag.

2. The multifunctional reader / writer control method according to claim 1, characterized in that: Waking up the electronic tag includes the following steps: The electronic tag obtains the wake-up signal; The electronic tag drives the first encoding unit to generate the first identification code according to the first encoding strategy by using at least one of the induced current or its own power supply; The electronic tag sends the first identification code externally.

3. The multifunctional reader / writer control method according to claim 2, characterized in that: The first encoding strategy comprises the following steps: Identify the wake-up signal, and obtain a first information feature carried by the wake-up signal; Selecting a coding field according to the first information feature and the second information feature of the electronic tag itself; Assigning the coding field to the first information feature and the second information feature; The encoding fields are sorted according to a preset order to obtain the first identification code.

4. The multifunctional reader / writer control method according to claim 1, characterized in that: Querying the first encoding library according to the first identification code comprises the following steps: Identify the composition structure of the first identification code to obtain a first identification result; determining the correctness of the first identification code according to the first identification result; The first encoding library is queried according to the correct first identification code to determine whether the first identification code matches the data in the first encoding library to determine the validity of the first identification code.

5. The multifunctional reader / writer control method according to claim 1, characterized in that: Sorting the valid first identification codes comprises the following steps: Decoding the first identification code to obtain a first decoding result; Identifying first decoding information carried by the first decoding result; The first identification codes are sorted according to the first decoding information.

6. The multifunctional reader / writer control method according to claim 1, characterized in that: Sending the second identification code outward in sequence according to the sorting result comprises the following steps: Identifying a sorting order of the first identification codes; Identify the first identification codes in order to obtain a second identification result; causing a second encoding unit to generate the second identification code according to the second identification result and a second encoding strategy, so that the second identification code corresponds to the first identification code; The second identification code is sent outwardly.

7. The multifunctional reader / writer control method according to claim 1, characterized in that: Enabling the electronic tag to obtain the second identification code and verifying the second identification code comprises the following steps: The electronic tag receives the second identification code; The electronic tag identifies the second identification code to obtain a third identification result; The electronic tag queries the second coding library according to the third identification result to determine the validity of the second identification code; The electronic tag decodes the valid second identification code to obtain a second decoding result; The electronic tag identifies the second decoding information carried by the second decoding result; The electronic tag verifies whether the information carried by the second identification code matches the electronic tag according to the second decoding information to obtain the verification result.

8. The multifunctional reader / writer control method according to claim 7, characterized in that: The electronic tag sends data information to the outside according to the verification result, including the following steps: Selecting an encryption algorithm and a key to encrypt data according to the verification result and the second decoding information; A communication protocol is selected according to the verification result and the second decoding information to send the encrypted data outward.

9. A multifunctional reader-writer control system, characterized in that: include: Multifunctional reader / writer and electronic tag; The multifunctional reader / writer and the electronic tag are controlled by the multifunctional reader / writer control method according to any one of claims 1 to 8; The multifunctional reader / writer comprises: A wake-up signal generating unit, the wake-up signal generating unit is used to generate a wake-up signal according to the information of the multifunctional reader / writer; A first encoding unit, wherein the first encoding unit is used to generate a second identification code; A first transmitting unit, the first transmitting unit is used to send a signal and energy to the electronic tag; a first receiving unit, the first receiving unit being used to receive a signal from the electronic tag; a first processing unit, the first processing unit being used to identify, process and sort the signal from the electronic tag; A first storage unit, the first storage unit is used to store data and programs; The electronic tag comprises: a second encoding unit, the second encoding unit being used to generate a first identification code; A second transmitting unit, the second transmitting unit is used to send a signal to the multifunctional reader; a second receiving unit, the second receiving unit being used to receive a signal from the multifunctional reader / writer; a second processing unit, the second processing unit being used to identify, process and sort the signals from the multifunctional reader / writer; A second storage unit, the second storage unit is used to store data and programs; A power module, wherein the power module generates an induced current after receiving the wake-up signal; Wherein, the wake-up signal carries information about the multifunctional reader / writer and can wake up the electronic tag; After the first processing unit identifies the first identification code, the first identification code is sorted; The first encoding unit generates the second identification code according to the identification result of the first identification code by the first processing unit and the sorting of the first identification code; The second processing unit verifies the second identification code and sends data information to the outside according to the verification result.

10. A reading and writing device, characterized in that: include: A memory, the memory being used to store one or more program instructions; A processor, wherein the processor is used to run one or more program instructions to execute the steps of the multi-function reader control method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Radio frequency computer lock, computer locking and unlocking method

    CN101140626A

  • Method and system for protecting radio frequency identification tag and reader data safety

    CN101211401A

  • Method for recognizing and locating stored articles in multi-layer box

    CN101271509A

  • RFID (radio frequency identification devices) identification system of electronic tag location

    CN103136550A

  • Data safe transmission system and method based on electronic tag

    CN103516520A