Radio frequency communication method and device, radio frequency communication system, and storage medium
By initializing and updating the status table in the UHF RFID system, the scanning status is dynamically adjusted, which solves the problems of slow tag data reading speed and high missed reading rate in the existing technology, and realizes fast and complete tag data collection to adapt to different scenarios. change.
Patent Information
- Application Number
- CN202011425338.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-12-09
AI Technical Summary
Existing UHF RFID systems are difficult to achieve rapid and complete reading of tag data in metal confined spaces, and have strict scene deployment requirements and cannot dynamically adapt to scene changes, resulting in slow reading speed and high missed reading rate.
By initializing the status table in each scan cycle, selecting the best status for scanning, updating the status table based on the response results, eliminating overlapping tags, and dynamically adjusting the next scan status to ensure rapid collection of tag data.
It realizes the rapid and complete collection of all tag data in changing scenarios, improves the reading speed, reduces the number of on-site debugging, and has strong adaptability.
Smart Images

Figure CN114611639B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radio frequency technology, and in particular to a radio frequency communication method and device, a radio frequency communication system, and a storage medium. Background Art
[0002] A typical UHF (Ultra-High Frequency) Radio Frequency Identification (RFID) system includes a reader and an electronic tag (Tag, also known as a transponder). The reader is usually controlled by the application system. Its structural diagram is shown in the figure below. The working steps are as follows: the reader transmits electromagnetic waves to the tag, and the modulated signal of the electromagnetic wave is the instruction from the reader to the tag; the tag extracts the energy required for work from the electromagnetic wave, and when the energy of the tag chip meets the index, it can work normally and complete the corresponding action according to the inquiry instruction of the reader; the tag modulates the data or sensor data stored in the internal integrated circuit chip and backscatters a part of the electromagnetic wave to the reader; the reader receives the backscattered electromagnetic wave signal and demodulates it to obtain the data information of the tag. The electronic tag sends information to the reader through backscatter modulation technology.
[0003] The time required for the reader to identify the Electronic Product Code (EPC) of all tags is the most concerned issue in application projects. The passive response mode unique to RFID systems has many advantages such as low cost, lightweight, and safety. But it also brings challenges to how to efficiently obtain all tag data. UHF RFID systems are highly dependent on scene deployment, especially scenes in metal confined spaces. Due to its complex absorption, reflection superposition, and gap diffraction effects, slight changes (such as moving the position of an object in the scene) may cause some or even a large number of tags to be missed. Traditional RFID systems often require users to maintain certain specific scene modes. For example, in book management applications, standardized bookshelves and agreed book placement formats are often required. In addition, traditional UHF RFID systems can only rely on global scanning to ensure reading rates.
[0004] However, even with the constraints of specific scene modes, the existing RFID system cannot avoid missed readings due to some subtle scene differences and user habits. Moreover, a system deployed in one scene requires repeated on-site debugging to obtain barely usable results. In addition, the global scanning in the existing technology takes a lot of time and cannot meet the application scenarios with high requirements for reading speed. Summary of the invention
[0005] The technical problem solved by the present invention is how to realize fast and complete reading of tag data in an RFID system.
[0006] To solve the above technical problems, an embodiment of the present invention provides a radio frequency communication method, which includes: initializing a state table in a current scanning cycle, the state table including multiple states, the multiple states representing a combination of all values of multiple parameters of a reader, each state having a state result, the state result representing the identifier of a tag that successfully responds and is recorded after the reader scans in the state; selecting a state in the state table, and scanning using the selected state; recording the identifier of a tag that successfully responds in the selected state as a current state result of the selected state, and updating the state result of the selected state in the state table using the current state result; removing the identifier of a tag that coincides with the current state result from the state result of each state in the state table, and using it as a residual table, the residual table including the multiple states and the state results after removal; selecting a next state in the residual table for the next scan; determining whether to continue scanning in the current scanning cycle according to whether all tags are accessed or whether the state result of the next state after removal is empty.
[0007] Optionally, determining whether to continue scanning in the current scanning cycle according to whether all tags are visited or whether the state result after the next state is eliminated is empty includes: if all tags are visited or the state result after the next state is eliminated is empty, ending the current scanning cycle.
[0008] Optionally, determining whether to continue scanning in the current scanning cycle based on whether all tags have been accessed or whether the state result after elimination of the next state is empty includes: if there are tags that have not been accessed and the state result after elimination of the next state is non-empty, continuing to scan using the selected state in the next scanning cycle, recording the identifier of the tag that responds successfully in the selected state as the current state result of the selected state, and using the current state result to update the state result of the selected state in the state table, eliminating the identifier of the tag that coincides with the current state result in the state result of each state in the state table, and using it as a residual table, selecting the next state from the residual table for the next scan.
[0009] Optionally, the initialization state table includes: scanning using the multiple states separately and recording the identification of the tag that responds successfully in each state as the initialized state table; or, obtaining the state table saved after the end of the previous scanning cycle as the initialized state table; or, randomly assigning values to the multiple states and their state results as the initialized state table.
[0010] Optionally, selecting a state in the state table includes: selecting the state with the largest number of labels in the state results in the state table as the selected state; selecting the next state in the residual table for the next scan includes: selecting the state with the largest number of labels in the state results after elimination in the residual table as the next state.
[0011] Optionally, the step of removing the identification of labels that overlap with the current state result in the state result of each state in the state table includes: calculating the intersection of the state result of each state and the current state result as the identification of the overlapping labels; and calculating the difference between the state result of each state and the intersection as the state result of each state in the residual table.
[0012] Optionally, the multiple parameters of the reader are selected from power, frequency, antenna, session mode, anti-collision random number scale, profile and intermediate frequency gain.
[0013] Optionally, the tag identifier is selected from EPC and tag identification number, and the status result also includes sensor data of the tag that responds successfully.
[0014] To solve the above technical problems, an embodiment of the present invention further discloses a radio frequency communication device, which includes: an initialization module, which is used to initialize a state table in a current scanning cycle, wherein the state table includes multiple states, wherein the multiple states represent a combination of all values of multiple parameters of a reader, and each state has a state result, wherein the state result represents the identifier of a tag that responds successfully and is recorded after the reader scans in the state; a current state selection module, which is used to select a state in the state table and use the selected state to perform scanning; a state update module, which is used to record the identifier of a tag that responds successfully in the selected state as the current state result of the selected state, and use the current state result to update the state result of the selected state in the state table; a residual table calculation module, which is used to remove the identifier of the tag that coincides with the current state result from the state result of each state in the state table and use it as a residual table; a next state selection module, which is used to select the next state in the residual table for the next scan; and a judgment module, which is used to determine whether to continue scanning in the current scanning cycle according to whether all tags are accessed or whether the state result of the next state after removal is empty.
[0015] To solve the above technical problem, an embodiment of the present invention further discloses a radio frequency communication system, which includes: at least one tag; and a reader, which is used to execute the steps of the radio frequency communication method.
[0016] The embodiment of the present invention further discloses a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the radio frequency communication method are executed.
[0017] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:
[0018] In the technical solution of the present invention, the state table is initialized in each scanning cycle, one of the states is selected for scanning, and the current state result of the selected state is used to adjust the selection of the next state, so as to ensure the reading rate and dynamically adapt to the scene changes. Compared with the reliance of the prior art on specific scenes, the technical solution of the present invention can run in constantly changing scenes. In addition, according to the distribution of the actual state and its state results, the optimal access state can be calculated and scanned in real time. On this basis, only a few states are needed to realize the collection of all tag data, so as to quickly obtain the results and realize the rapidity of obtaining all tag data.
[0019] Furthermore, the state with the largest number of tags in the state result is selected as the selected state in the state table. In the technical solution of the present invention, each time a state is selected for scanning, the state with the largest number of tags in the state result is selected, thereby ensuring the best working state of scanning, thereby improving the speed of all tag data. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a radio frequency communication method according to an embodiment of the present invention;
[0021] Figure 2 It is a schematic diagram of the structure of a radio frequency communication device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] As described in the background technology, even with the constraints of specific scene modes, the existing RFID system cannot avoid missed readings due to some subtle scene differences and user habits. Moreover, a system deployed in one scene requires repeated on-site debugging to obtain barely usable results. In addition, the global scanning in the existing technology consumes a lot of time and cannot meet the application scenarios with high requirements for reading speed.
[0023] The inventor of the present application found that, taking the configuration of 1-30dBm power point, 902-928MHz, a frequency point with an interval of 0.25MHz and 4 antennas as an example, if a global scan is performed, it is necessary to traverse about 30×100×4=12000 states. Generally speaking, it can be assumed that the reader stays in a state for 100ms, then it takes 1200s, or about 20 minutes, to complete a complete data collection. Such a result is unacceptable in most scenarios, such as the unmanned retail automatic settlement scenario, where the system needs to obtain the inventory results within 1-5s to enter the settlement link; another example is the high-speed acquisition of sensor data, which even requires each tag to sense data at a frequency of 10-100 times per second.
[0024] In the technical solution of the present invention, the state table is initialized in each scanning cycle, one of the states is selected for scanning, and the current state result of the selected state is used to adjust the selection of the next state, so as to ensure the reading rate and dynamically adapt to the scene changes. Compared with the reliance of the prior art on specific scenes, the technical solution of the present invention can run in constantly changing scenes. In addition, according to the distribution of the actual state and its state results, the optimal access state can be calculated and scanned in real time. On this basis, only a few states are needed to realize the collection of all tag data, so as to quickly obtain the results and realize the rapidity of obtaining all tag data.
[0025] Specifically, the present invention can update the optimal access state in a changing scenario in real time. Under the same state residence time (such as 100ms), the data of each tag (such as tag ID or sensor data) can be stably acquired in about 1s in theory.
[0026] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0027] Figure 1 The present invention is a flowchart of a radio frequency communication method according to an embodiment of the present invention.
[0028] The radio frequency communication method of the embodiment of the present invention can be used on the reader (also called a reader / writer), that is, each step of the method can be executed by the reader, or each step of the method can be executed by a host computer software program that controls the operation of the reader.
[0029] Specifically, the radio frequency communication method may include the following steps:
[0030] Step S101: Initializing a state table in the current scanning cycle, the state table including multiple states, the multiple states representing all combinations of values of multiple parameters of the reader, each state having a state result, the state result representing the identification of the tag that successfully responds recorded after the reader scans in the state;
[0031] Step S102: Select a state in the state table, and perform scanning using the selected state;
[0032] Step S103: recording the identifier of the tag that successfully responds in the selected state as the current state result of the selected state, and using the current state result to update the state result of the selected state in the state table;
[0033] Step S104: removing the identifier of the label that coincides with the current state result from the state result of each state in the state table, and using the result as a residual table, wherein the residual table includes the multiple states and the state results after the removal;
[0034] Step S105: selecting the next state in the residual table for the next scan;
[0035] Step S106: Determine whether to continue scanning in the current scanning cycle according to whether all tags have been accessed or whether the state result after elimination of the next state is empty.
[0036] It should be pointed out that the serial numbers of the steps in this embodiment do not limit the execution order of the steps.
[0037] In the specific implementation of step S101, at the beginning of each scanning cycle, the state table is first initialized. The process of initializing the state table is the process of randomly assigning values to each key value in the state table. Among them, each key value in the state table refers to the state results of multiple states, that is, the identification of the tag that responds successfully recorded after the reader scans in each state. The number of tags contained in each state result can be the same or different.
[0038] In a specific embodiment, multiple states in the state table can form a state space, which is represented by S = {S1, S2, S3, ... Sn}; Sx = (Ax, Bx, ... Px), where S1-Sn represent n states, and the above n states are combinations of all possible values of each parameter Ax, Bx, ... Px. For example, there are 3 parameters in total, each parameter has 2 values, then there are a total of n = 2 3 = 8 states. Each state Sx has a corresponding state result Rx, so the state table can be expressed as Status_Chart = {R1 = [t1, t2, ... tm], R2 = [t3, t5, ... tp], ... Rn = [t9, t7, ... tq]}. Among them, t1-tm (tp or tq) represent the identifier of the tag respectively, and the values of m, p, ... q can be the same or different.
[0039] In a non-limiting embodiment, the multiple parameters may be adjustable parameters of all readers, such as power, frequency, antenna, session mode, anti-collision random number scale, profile and intermediate frequency gain, etc., which are not limited in this embodiment of the present invention.
[0040] In a non-limiting embodiment, the tag identifier is selected from EPC and tag identification number, and the status result also includes sensor data of the tag that responds successfully. The sensor data may be temperature, humidity, etc., which is not limited in the embodiment of the present invention.
[0041] In the specific implementation of step S102 and step S103, a state in the state table is selected for scanning, that is, the reader uses the values of the various parameters of the selected state to transmit electromagnetic waves to the tag. The tag that receives the electromagnetic wave will send a response to the reader, and the reader receives the response. However, due to various reasons such as the tag position and the actual application environment, the reader cannot receive the response of all tags in this scan, and the reader will record the identification of the tag that responds successfully. The reader will also update the identification of the tag that responds successfully to the state result of the state selected in the state table.
[0042] Specifically, the reader performs a round of work in the current state Sx and obtains the current state result in the updated Sx state. The current state result often has a certain deviation from Status_Chart_Rx. Replace Rx with the current state result, that is, let Rx = [current state result], to correct the deviation between the actual situation and the state table description.
[0043] The reader has obtained the identification of the tag that has responded successfully during the scanning process of the aforementioned steps. In order to complete the reading of all tag data, it is necessary to find the tags that have not responded successfully and scan them. Therefore, in the specific implementation of step S104 and step S105, the identification of the tag that coincides with the current state result is removed from the state result of each state in the state table, and used as a residual table. In other words, the state result of each state in the residual table is the identification of the tag that has not yet responded successfully. A state can be selected according to the residual table to perform the next round of scanning, and the identification of the tag that has responded successfully is recorded.
[0044] In the specific implementation of step S106, whether to continue scanning in the current scanning cycle can be determined based on whether all tags have been accessed or whether the state result after the next state is eliminated is empty. Specifically, the reader can record the identifier of the tag that has been currently accessed (i.e., the response is successful) and use it as a basis for determining whether to continue scanning in the current scanning cycle. Alternatively, whether the state result after the next state is eliminated is empty is used as a basis for determining whether to continue scanning in the current scanning cycle.
[0045] In the embodiment of the present invention, the state table is initialized in each scanning cycle, one of the states is selected for scanning, and the current state result of the selected state is used to adjust the selection of the next state, so as to ensure the reading rate and dynamically adapt to the scene changes. Compared with the reliance of the prior art on specific scenes, the technical solution of the present invention can run in constantly changing scenes. In addition, according to the distribution of the actual state and its state results, the optimal access state can be calculated and scanned in real time. On this basis, only a few states are needed to realize the collection of all tag data, so as to quickly obtain the results and realize the rapidity of obtaining all tag data.
[0046] In a non-limiting embodiment, step S106 may include the following steps: if all tags are accessed or the state result after elimination of the next state is empty, then the current scanning cycle is ended.
[0047] In this embodiment, when all tags are accessed or the state result after the next state is eliminated is empty, it means that the global scan in all states has been completed, or the response of all tags has been received, and the current scanning cycle can be ended. The next step can be to continue to perform the scanning in the next scanning cycle, or it can be any other feasible reader operation, which is not limited by the embodiment of the present invention.
[0048] In a non-limiting embodiment, step S106 may include the following steps: if there is a tag that has not been accessed and the state result after the elimination of the next state is not empty, continue to execute Figure 1 Steps S102 to S105 are shown.
[0049] In this embodiment, if there are tags that have not been accessed and the state result after the next state is eliminated is non-empty, it means that the global scan in all states has not been completed, or there are tags whose data has not been received. In this case, it is necessary to iterate and execute steps S102 to S105. The state table is updated during each iteration, and the state table used in each iteration is the state table updated in the last iteration. The sign of the end of the iteration is that all tags have been accessed or the state result after the next state is eliminated is empty.
[0050] In a non-limiting embodiment, Figure 1 The shown step S101 may include the following steps: using the multiple states to scan respectively, and recording the identification of the tag that responds successfully in each state as a state table after initialization; or, obtaining the state table saved after the end of the previous scanning cycle as a state table after initialization; or, randomly assigning values to the multiple states and their state results as a state table after initialization.
[0051] In the embodiment of the present invention, the state table can be initialized by global scanning, which can make the state result more accurate. The state table can also be initialized by directly obtaining the state table saved after the previous scanning cycle ends, or by random assignment, which can initialize faster.
[0052] In actual applications, the initialization method can be selected according to actual needs. For example, when the accuracy requirement is high, the global scan method can be used for initialization; when the speed requirement is high, the random assignment method can be used for initialization; when the accuracy and speed are compromised, the state table saved after the previous scan cycle can be called for initialization.
[0053] Specifically, the initialization state table may be executed at the beginning of each scanning cycle, that is, executed periodically, for example, the initialization state table may be executed at the start-up stage.
[0054] In a non-limiting embodiment, Figure 1 Step S102 may include the following steps: selecting the state with the largest number of tags in the state results in the state table as the selected state.
[0055] Since the status result represents the identification of the tag that has responded successfully and is recorded after the reader scans in this state, by selecting the state with the largest number of tags in the status result as the selected state, the reader can always be in the best working state, that is, it can obtain data from more tags through a single scan, thereby improving the speed of global scanning.
[0056] In a non-limiting embodiment, Figure 1 The step S104 shown may include the following steps: calculating the intersection of the state result of each state and the current state result as the identifier of the overlapping labels; calculating the difference between the state result of each state and the intersection as the state result of each state in the residual table.
[0057] Specifically, for each state Sn in the state table, let the state result of each state in the residual table ΔRn=Rn-Rn∩Rx, where Rn represents the state result of state Sn in the state table, Rx represents the current state result obtained by this scan, and ∩ represents taking the intersection.
[0058] At this point, the residual table Δ_Status_Chart can be obtained, and the residual table Δ_Status_Chart includes multiple states S1-Sn (consistent with the states in the state table). Different from the state table, the state results of each state in the residual table Δ_Status_Chart exclude the identifiers of tags that coincide with the current state results, that is, the state results of each state in the residual table Δ_Status_Chart include the identifiers of tags that have not responded successfully.
[0059] Then, the state Sy containing the largest number of tags is searched in the residual table Δ_Status_Chart, which is the next state where the reader needs to perform an update operation; the reader performs a round of work in the Sy state and obtains the current state result in the Sy state, which is used to update the state table and calculate the new residual table.
[0060] The inventor of the present application has conducted actual tests and found that in most scenarios, only 3-5 states are needed to achieve complete data collection of all tags. In other words, the present invention can update the optimal access state in the changing scenario in real time, and under the same state dwell time (e.g. 100ms), the data of each tag (such as tag ID or sensor data) can be stably acquired in about 1s.
[0061] Please refer to Figure 2 The embodiment of the present invention further discloses a radio frequency communication device 20. The radio frequency communication device 20 may include:
[0062] Initialization module 201, used to initialize a state table in the current scanning cycle, the state table including multiple states, the multiple states representing all combinations of values of multiple parameters of the reader, each state having a state result, the state result representing the identification of the tag that successfully responds recorded after the reader scans in the state;
[0063] A current state selection module 202, used to select a state in the state table and perform scanning using the selected state;
[0064] A state updating module 203, used for recording the identification of the tag that successfully responds in the selected state as the current state result of the selected state, and using the current state result to update the state result of the selected state in the state table;
[0065] A residual table calculation module 204 is used to remove the identifier of the label that coincides with the current state result from the state result of each state in the state table and use it as a residual table;
[0066] A next state selection module 205, used to select a next state in the residual table for the next scan;
[0067] The judgment module 206 is used to determine whether to continue scanning in the current scanning cycle according to whether all tags have been accessed or whether the state result after the elimination of the next state is empty.
[0068] In the embodiment of the present invention, the state table is initialized in each scanning cycle, one of the states is selected for scanning, and the current state result of the selected state is used to adjust the selection of the next state, so as to ensure the reading rate and dynamically adapt to the scene changes. Compared with the reliance of the prior art on specific scenes, the embodiment of the present invention can run in constantly changing scenes. In addition, according to the distribution of the actual state and its state results, the optimal access state can be calculated in real time and scanned. On this basis, only a few states are needed to realize the collection of all tag data, so as to quickly obtain the results and realize the rapidity of obtaining all tag data.
[0069] For more information about the working principle and working mode of the radio frequency communication device 20, please refer to Figure 1 The relevant description in will not be repeated here.
[0070] The embodiment of the present invention also discloses a radio frequency communication system, which may also be called a radio frequency identification system (RFID). The radio frequency communication system may include at least one tag and a reader. The reader may perform Figure 1 The various steps of the method shown realize communication with the tags, that is, reading the data of each tag.
[0071] The embodiment of the present invention further discloses a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is run, it can execute Figure 1 The steps of the radio frequency communication method shown in . The storage medium may include ROM, RAM, magnetic disk or optical disk, etc. The storage medium may also include non-volatile memory (non-volatile) or non-transitory memory, etc.
[0072] It should be understood that the above-mentioned processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and can also be a system on chip (system on chip, SoC), a central processor unit (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller unit (micro controller unit, MCU), a programmable logic device (programmable logic device, PLD) or other integrated chips. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0073] It should also be understood that the memory mentioned in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0074] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated into the processor. It should be noted that the memory described herein is intended to include but is not limited to these and any other suitable types of memory.
[0075] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0076] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0077] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0078] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A radio frequency communication method, characterized in that: include: Initialize a state table in the current scanning cycle, the state table including multiple states, the multiple states representing all combinations of values of multiple parameters of the reader, each state having a state result, the state result representing the identification of the tag that successfully responds and is recorded after the reader scans in the state; Selecting a state in the state table, and performing scanning using the selected state; Recording the identifier of the tag that successfully responds in the selected state as the current state result of the selected state, and updating the state result of the selected state in the state table by using the current state result; Remove the identifier of the label that coincides with the current state result from the state result of each state in the state table, and use the result as a residual table, wherein the residual table includes the multiple states and the state results after the removal; Selecting a next state in the residual table for use in a next scan; Determine whether to continue scanning in the current scanning cycle according to whether all tags have been accessed or whether the state result after the elimination of the next state is empty; The state selected in the state table includes: Selecting the state with the largest number of tags in the state results in the state table as the selected state; The selecting the next state in the residual table for the next scan includes: In the residual table, the state with the largest number of labels in the eliminated state results is selected as the next state.
2. The radio frequency communication method according to claim 1, characterized in that: The determining whether to continue scanning in the current scanning cycle according to whether all tags are accessed or whether the state result after the elimination of the next state is empty includes: If all tags are accessed or the state result after elimination of the next state is empty, the current scanning cycle ends.
3. The radio frequency communication method according to claim 1, characterized in that: The determining whether to continue scanning in the current scanning cycle according to whether all tags are accessed or whether the state result after the elimination of the next state is empty includes: If there are tags that have not been accessed and the state result after eliminating the next state is non-empty, continue to scan using the selected state in the next scanning cycle, record the identifier of the tag that responds successfully in the selected state as the current state result of the selected state, and use the current state result to update the state result of the selected state in the state table. In the state result of each state in the state table, eliminate the identifier of the tag that coincides with the current state result, and use it as a residual table. Select the next state in the residual table for the next scan.
4. The radio frequency communication method according to claim 1, characterized in that: The initialization state table includes: Scanning is performed using the multiple states respectively, and the identifiers of tags that respond successfully in each state are recorded as a state table after initialization; Alternatively, a state table saved after the last scanning cycle is completed is obtained as the initialized state table; Alternatively, the multiple states and their state results are randomly assigned values to serve as an initialized state table.
5. The radio frequency communication method according to claim 1, characterized in that: The identification of removing the label that coincides with the current state result from the state result of each state in the state table includes: Calculate the intersection of the state result of each state and the current state result as the identifier of the overlapping labels; The difference between the state result of each state and the intersection is calculated to serve as the state result of each state in the residual table.
6. The radio frequency communication method according to claim 1, characterized in that: The plurality of parameters of the reader are selected from power, frequency, antenna, session mode, anti-collision random number scale, profile and intermediate frequency gain.
7. The radio frequency communication method according to claim 1, characterized in that: The tag identifier is selected from the group consisting of an EPC and a tag identification number, and the status result further includes sensor data of a tag that responds successfully.
8. A radio frequency communication device, characterized in that: include: An initialization module, used to initialize a state table in the current scanning cycle, wherein the state table includes a plurality of states, wherein the plurality of states represent combinations of all values of a plurality of parameters of the reader, and each state has a state result, wherein the state result represents an identifier of a tag that has successfully responded and is recorded after the reader scans in the state; A current state selection module, used to select a state in the state table and perform scanning using the selected state; A state updating module, used for recording the identification of the tag that successfully responds in the selected state as the current state result of the selected state, and updating the state result of the selected state in the state table by using the current state result; A residual table calculation module, used to remove the identifier of the label that coincides with the current state result from the state result of each state in the state table, and use it as a residual table; A next state selection module, used for selecting a next state in the residual table for the next scan; A judgment module, used for determining whether to continue scanning in the current scanning cycle according to whether all tags have been accessed or whether the state result after the elimination of the next state is empty; The current state selection module is used to select the state with the largest number of tags in the state results in the state table as the selected state; The next state selection module is used to select the state with the largest number of labels in the eliminated state results in the residual table as the next state.
9. A radio frequency communication system, characterized in that: include: At least one tag; A reader, used to execute the steps of the radio frequency communication method according to any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the radio frequency communication method according to any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Radio frequency identification system and operating method thereof
CN102043934A
Fixed asset management method and device thereof, and fixed asset management system
CN109102040A
