RFID balanced reading method based on beam forming

Through Bayesian optimization and the beamforming technology of the collective coverage model, the problems of standard incompatibility, low efficiency and poor versatility in RFID reading optimization are solved, efficient and balanced reading is achieved, and the reading rate and reading rate of the RFID system are improved. efficiency.

CN118734872APending Publication Date: 2024-10-01NANJING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310335826.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing RFID reading optimization solutions have problems such as incompatibility with the C1G2 standard, low time efficiency, and poor versatility. Especially in large-scale RFID systems, this leads to serious channel conflicts, reduced tag reading speed, and even 'starvation' phenomena. , affecting the performance of the perception algorithm.

Method used

Beamforming technology based on Bayesian optimization is used to obtain an effective beam set through Bayesian optimization initialization, detect the tag reading speed, and use the set coverage model to select masks and beams to achieve balanced reading and ensure the reading of each tag. Speed ​​and read rate.

Benefits of technology

It improves the reading rate, full reading efficiency and balanced reading efficiency of the RFID system, is compatible with existing RFID systems, reduces tag reading time, avoids channel conflicts, and ensures balanced reading of each tag.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734872A_ABST
    Figure CN118734872A_ABST
Patent Text Reader

Abstract

The invention discloses an RFID balanced reading method based on beam forming, and the method comprises the following steps: 1, obtaining the number of tags in an environment through employing an initialization mode based on Bayesian optimization, and obtaining a readable tag set and an effective beam set of different beams; step 2, detecting the reading speed of each label by using the effective wave beam set, and dividing the labels according to the reading result; step 3, mask selection and beam selection are carried out by using a balanced reading mode based on a set coverage model; and 4, reading by using the selected mask and wave beam, judging whether balance reading is completed or not, if so, ending the method, and otherwise, returning to the step 3 to reselect the mask and the wave beam. According to the method, the tag reading rate, the full reading efficiency and the balanced reading efficiency of the RFID system in a real scene are improved, and the method is compatible with an existing RFID standard.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of RFID reading optimization, and in particular relates to an RFID balanced reading method based on beamforming. Background Art

[0002] Radio Frequency Identification (RFID) is the core technology of the perception layer of the Internet of Things. Compared with traditional perception media, RFID has the distinctive features of small size, low cost, passive perception (no power supply required), non-line-of-sight communication, and batch reading, making it the most widely used technology in the Internet of Things system. With the continuous development of this technology and its in-depth application in various industries, large-scale RFID systems are becoming increasingly popular.

[0003] How to read data comprehensively and efficiently is the most basic and important problem that RFID needs to solve. RFID data reading specifically refers to the RFID reader reading tag data from RFID tags, such as the tag product electronic code (EPC), user memory, etc. In real RFID systems, due to the complexity of the environment, there are RFID reading blind spots. In large-scale RFID systems, many RFID tags compete for limited channel resources at the same time, resulting in severe channel conflicts and a sharp drop in the reading speed of a single tag. The emergence of reading blind spots and tag competition has led to the deterioration of the reading performance of the RFID system, and even some tags have "starved to death", which seriously affects the performance of upper-level perception algorithms or applications. For example, a warehousing system uses an RFID perception algorithm to monitor the temperature and humidity of goods in real time, but because some tags have "starved to death", the perception algorithm cannot collect enough data for data analysis as needed, resulting in large temperature measurement errors, and even false alarms or omissions. RFID balanced reading optimization is an optimization for improving the reading speed of each tag in large-scale scenarios. It includes two aspects: 1) obtaining all tags in the scene as quickly as possible; 2) making the reading speed of each tag as fast as possible, that is, the reading speed of each tag is guaranteed to a certain extent, and the reading is balanced. Balanced reading is extremely important in applications in all walks of life. Efficient balanced reading ensures that the perception algorithm can accurately perceive the status of each tag in the environment (such as temperature, humidity, etc.), so as to promptly warn the administrator to take corresponding measures in case of emergencies, thereby avoiding unnecessary property losses and ensuring personnel safety.

[0004] In the process of implementing the present invention, the inventors found that the current solutions for RFID reading optimization have the following main problems: 1) incompatibility with the C1G2 standard - optimization by designing new communication protocols and communication chips is incompatible with the existing C1G2 standard; 2) low time efficiency - in large-scale RFID systems, the time efficiency of the method will be significantly reduced; 3) poor versatility - when the scene changes, the efficiency of the method is significantly reduced. In addition, all current RFID reading-related work does not consider the balance of reading. Summary of the invention

[0005] Purpose of the invention: The technical problem to be solved by the present invention is to provide an RFID balanced reading method based on beamforming in view of the shortcomings of the prior art.

[0006] In order to solve the above technical problems, the present invention discloses an RFID balanced reading method based on beamforming, comprising the following steps:

[0007] Step 1: Use the initialization method based on Bayesian optimization to quickly obtain the number of tags in the environment, and obtain the readable tag set and effective beam set of different beams;

[0008] Step 2, using the effective beam set, detecting the reading speed of each tag, and dividing the tags according to the reading results;

[0009] Step 3: Use the balanced reading method based on the set coverage model to perform mask selection and beam selection - using the selected mask and beam reading can achieve balanced reading as quickly as possible;

[0010] Step 4, use the selected mask and beam to read, and determine whether the balanced reading is completed. If so, end the method, otherwise return to step 3 to reselect the mask and beam.

[0011] The read optimization method based on Bayesian optimization in step 1 of the present invention includes:

[0012] Step 1-1, define beam b Φ,A =(Φ,A,λ,P), which is a four-tuple, where λ and P represent the wavelength sequence of the transmitted signal and the position sequence of the transmitting antenna, respectively, which are determined by the initialization of the RFID system; Φ and A represent the phase sequence and relative amplitude sequence of the transmitted signal of each antenna, respectively expressed as A={a1,a2,…,a N}, 0≤a1,a2,…,a N ≤1, N is the number of transmitting antennas. The phase granularity of the beam is defined as Amplitude granularity is G a , 0≤Ga ≤1. According to and G a , use the combination method to obtain all beams By randomly generating α different random numbers {ρ1,ρ2,…,ρ α}, select α different beams, denoted as in Merge into effective beam set B eff . init Each beam in is read using an accelerated reading method based on the inventory flag, and a set of readable tags in α beams is obtained. r represents the set of beam-readable tags, and its subscript represents the beam. Each beam-readable tag set is merged into the set of all beam-readable tags RS all ,Right now Use each beam to construct a beam combination set with a length of 1 Thus, a beam combination can be constructed to read a tag set Incorporating it into a beam combination can read a collection of tags Combining a set of readable tags for a beam When m=1, m means The number of beams in each element of , The initial value of m is 1; T represents the number of beam combinations, x m idx represents all beam combinations x with m beam numbers m The idxth beam combination in

[0013] Step 1-2, according to Use Bayesian optimization to estimate the next beam combination to read v means the beam is in B all The subscript represents the index of the beam in the beam combination, and ν1≠v2≠…≠v m ;

[0014] Step 1-3, read x using the accelerated reading method based on the inventory flag m * The beam in xm * A collection of readable tags Add beam combination to read tag collection

[0015] Steps 1-4: Readable tag set based on beam combination The change in the status of the initialization determines whether to end the initialization.

[0016] This step accelerates the beam search process in beamforming through a Bayesian approach, provides an effective beam set for subsequent steps, and reduces the time required for method execution.

[0017] The reading method based on inventory flag acceleration described in step 1-1 of the present invention includes:

[0018] Step 1-1-1, generate the Query command under the C1G2 standard, set the Session to 3, the inventory flag to A, and the frame length Q to be large enough to estimate the number of tags in the environment. The default value is 8;

[0019] Step 1-1-2, use the Query command under the C1G2 standard to read and determine whether there are still tags that can be read. If yes, continue reading, otherwise execute step 1-1-3;

[0020] Step 1-1-3, generate the Select command under the C1G2 standard, set Session to 3, Action to 001, Mask to empty, and restore the label inventory flag to A.

[0021] This step uses the inventory flag under the C1G2 standard to make the readable tag respond only once and remain silent in subsequent readings, giving up the channel to other tags and reducing the time it takes for all tags to be read.

[0022] The Bayesian optimization method described in step 1-2 of the present invention includes:

[0023] Step 1-2-1, calculate the beam combination readable tag set The γ quantile y of the modulus of each element in * , that is, the beam combination can read the tag set The number of readable tags in all beam combinations Large value, 0≤γ≤1;

[0024] Step 1-2-2, use y * Combining beams to read a collection of tags Divide into two parts, construct kernel density estimators l(x) and g(x) respectively;

[0025] Step 1-2-3, use the EI acquisition function to infer the beam combination x to be read next time m * , that is, to find the beam combination x m * , so that g(x m *) / l(x m * )maximum.

[0026] In this step, by dividing the set of read tags of the beam combination into two parts and modeling them separately, a more accurate distribution density function characterization can be obtained, so that the beam combination inferred by the EI acquisition function can maximize the mathematical expectation of reading more tags, which is beneficial to reduce the number of attempts to use beam reading and reduce time overhead.

[0027] The method of constructing Gaussian kernel density estimators l(x) and g(x) in step 1-2-2 of the present invention includes: taking the number of read tags less than y * All n - The beam combination constitutes a set Calculate its Gaussian kernel density estimator Take the number of read tags greater than y * All n + Beam Combination Calculate its Gaussian kernel density estimator The index() function represents the index value. - and h + It is expressed as the window size of the kernel density estimation, which is used to estimate x to satisfy xh - ≤index(x m - )≤x+h - ,xh + ≤index(x m + )≤x+h + ;h - =1.06σ - n - , σ - represents the beam combination x m - Medium - The standard deviation of the beam index; h + =1.06σ + n + , σ + represents the beam combination x m + Medium + The standard deviation of the beam indices.

[0028] The reading x in steps 1-3 of the present invention * The beam combinations in the formula include: * Unread beam b eff , merge these beams into the effective beam set B eff. Use the accelerated reading method based on the inventory flag to read and read the readable tag set Merged into RS all , and with x * The beam combination x is obtained by combining the known readable tags in m * A collection of readable tags Will Incorporation

[0029] The steps 1-4 of the present invention are described according to The changes that determine whether to end initialization include:

[0030] Step 1-4-1, if The union of the elements in , that is, the set of readable tags of all beam combinations has not changed for ε times in a row, ε ≥ 1, depending on N and the complexity of the environment, execute steps 1-4-2, otherwise execute steps 1-2;

[0031] Step 1-4-2, if m = N or continuous If the total number of times the tag is read does not change, the initialization ends. Set according to N and the complexity of the environment; otherwise, increase the number of beams in the beam combination, that is, m=m+1, and use the effective beam set B eff , reinitialize by combining Follow steps 1-2.

[0032] This step uses a Bayesian approach to model and infer on different real distributions through beam combinations of different numbers of beams. It can search beams from a wider space, reduce the omission of effective beams caused by local optimality, and ensure the reading rate.

[0033] Step 2 of the present invention comprises:

[0034] Step 2-1, detect the reading speed of each tag, use Session0 and FM0 encoding, and each beam lasts the same time;

[0035] Step 2-2, set one third of the median reading speed of all tags as the division threshold, and divide the tag set into an easy-to-read tag set and a difficult-to-read tag set; when the tag reading speed is less than the division threshold, the tag is classified as a difficult-to-read tag and put into the difficult-to-read tag set HS all Otherwise, the label is human readable.

[0036] The balanced reading method based on the set coverage model in step 3 of the present invention includes:

[0037] Step 3-1, for a beam b eff ∈Beff , according to the set of readable tags of the beam obtained in step 1 Defines the set of tags for unfinished balanced reads RC t represents the number of times tag t is read, K represents the balanced read threshold, and its value is 100≤K≤500; difficult-to-read tag set With the goal of minimizing the invalid reading rate index IRR, select the least mask coverage beam b eff The set of unfinished balanced read tags

[0038] Step 3-2, execute step 3-1 until the optimal masks of all beams are calculated.

[0039] Step 3-3, based on the result of step 3-2, to cover the set UFS of all unfinished balanced read tags all ={t|RC t ≤K,t∈RS all} is a constraint, and the beam set B′ with the smallest overall invalid reading speed is selected.

[0040] Step 3-1 of the present invention, mask selection includes:

[0041] Step 3-1-1, based on the readable tag set Calculate the candidate mask candidateMask for each label t , get all candidate mask sets

[0042] Step 3-1-2, calculate the effective reading speed ERR value of each mask. Specifically, the formula for the mask is: Where mask∈M, SS(mask) represents the set of labels that mask can match (the label is beam b eff Readable tags), UFS all represents the union of all beams that have not completed balanced reading of tags, RR represents the overall reading speed, w(t) is the weight function, and its value is 1 when t is a difficult-to-read tag, otherwise it is q, q<1;

[0043] Step 3-1-3, select the mask mask′ with the largest ERR value from M in turn and add it to the result set M′, until the masks of all beams in M′ can match all tags in the global unfinished balanced read tag set UFS.

[0044] This step selects the smallest mask set for each beam through ERR, and filters the tags that have completed balanced reading, so that the time slots are more fully utilized for the tags that have not completed balanced reading.

[0045] Step 3-1-1 of the present invention calculates the candidate mask set including:

[0046] Step 3-1-1-1, use the sliding window method to obtain the set s of all substrings of label t with length l l , 1≤l≤L, L is the length of the distinguishable part of EPC;

[0047] Step 3-1-1-2, obtain the substring set s l Merged into candidateMask t ;

[0048] Step 3-1-1-3, l=l+1, set candidateMask t Merge into set M; determine whether the length l is greater than the length L of the distinguishable part of EPC, if so, execute step 3-1-1-4, otherwise execute step 3-1-1-1;

[0049] Step 3-1-1-4, determine whether label t is the last label to be traversed, if so, end the calculation of the candidate mask set; otherwise, l=1, execute step 3-1-1-1.

[0050] The beneficial effect of this step is that by generating a candidate mask set through a known tag EPC, the original search space of the candidate mask set is greatly reduced, and the execution speed of the method is accelerated.

[0051] Step 3-3 of the present invention selects a beam set including:

[0052] Step 3-3-1, calculate each beam b eff Invalid read speed

[0053] Step 3-3-2, select the beam with the smallest IRR value and add it to the beam set B′, until all the beam-readable tag sets in the beam set B′ can cover the UFS all All tags in .

[0054] This step uses the selected beam set to read, which can make the reading speed of the tags that have not completed balanced reading as fast as possible.

[0055] Step 4 of the present invention uses the selected mask and beam to read including:

[0056] Use the Query instruction in the C1G2 protocol to count the target tags, record the number of reads of each tag, and determine whether the number of reads of all tags reaches the balanced reading threshold K. If so, complete the balanced reading, otherwise return to step 3 to execute.

[0057] Beneficial effects:

[0058] The present invention proposes an RFID balanced reading method based on beamforming. The method can not only improve the reading rate, full reading efficiency and balanced reading efficiency of the RFID system through Bayesian optimization and set coverage model, but also be compatible with the existing RFID system. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more clear.

[0060] Figure 1 The present invention provides a flow chart of a beamforming RFID balanced reading method.

[0061] Figure 2 The initialization flow chart based on Bayesian optimization provided by the present invention.

[0062] Figure 3 A balanced reading flow chart based on a set coverage model provided by the present invention.

[0063] Figure 4 The mask selection flow chart provided by the present invention.

[0064] Figure 5 The beam selection flow chart provided by the present invention.

[0065] Figure 6 This is a schematic diagram of the reading rate comparison experimental results provided by the present invention.

[0066] Figure 7 This is a schematic diagram of the results of the full reading efficiency comparison experiment provided by the present invention.

[0067] Figure 8 This is a schematic diagram of the balanced reading efficiency comparison experimental results provided by the present invention. DETAILED DESCRIPTION

[0068] In order to make the above-mentioned purpose, technical scheme and advantages of the present invention more obvious and easy to understand, the specific implementation of the present invention is described in detail below with reference to the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.

[0069] This embodiment discloses an RFID balanced reading method based on beamforming, which can be applied to complex application scenarios such as large-scale warehousing, supply chain, and library, which have high requirements on the reading speed of each tag, and can improve the tag reading rate, full reading efficiency, and balanced reading efficiency.

[0070] A beamforming-based RFID balanced reading method, such as Figure 1 As shown, the method includes:

[0071] Step S1, using a full read optimization method based on Bayesian optimization to obtain the number of tags in the environment and the reading status, and obtain a valid beam set;

[0072] Step S2, using the effective beam set obtained in step S1, detecting the reading speed of each tag, and dividing the tags according to the reading results;

[0073] Step S3, using a balanced reading method based on a set coverage model, using the set coverage model to perform mask selection and beam selection - using the selected mask and beam reading can achieve balanced reading as quickly as possible;

[0074] Step S4, use the selected mask and beam to perform reading, and determine whether the balanced reading is completed. If so, the method ends, otherwise returns to step S3 to reselect the mask and beam.

[0075] The problem of balanced reading optimization in RFID system, that is, on the basis of compatibility with the existing C1G2 protocol, each tag in the environment can be read evenly, mainly solves three problems: 1) how to make the tags in the environment as readable as possible, that is, to improve the reading rate; 2) how to read the readable tags in the environment as quickly as possible, that is, to improve the reading efficiency; 3) how to make the reading speed of each tag in the environment as fast as possible. Specifically, in a given environment, the tag set Γ={t1,t2,…,t n}, t represents the tag, the subscript represents the index, n represents the total number of tags, and under the condition of balanced reading threshold K, how to use some method to make the tags in Γ be read as completely and as quickly as possible, and use the least possible time to make the number of read times of the read tags reach K, that is, to improve the balanced reading speed of each tag.

[0076] This embodiment proposes an RFID balanced reading method based on beamforming, the basic idea of ​​which is to use beamforming technology to improve the reading rate, and to allocate more time slots to time slots with poor channel conditions by reasonably selecting masks and beams, so as to achieve balanced reading. This embodiment proposes a two-stage solution, in which the initialization stage completes the rapid reading of the tag and the detection of the reading speed, and the balanced reading stage selects the mask and beam based on the set coverage model, which greatly improves the balanced reading speed.

[0077] The method first executes step S1, using a full read optimization method based on Bayesian optimization to sense the number and reading status of tags in the environment and obtain an effective beam set.

[0078] like Figure 2 As shown, the full read optimization method based on Bayesian optimization in step S1 includes:

[0079] Step S11, define beam b Φ,A =(Φ,A,λ,P), which is a four-tuple, where λ and P represent the wavelength sequence of the transmitted signal and the position sequence of the transmitting antenna, respectively, which are determined by the initialization of the RFID system; Φ and A represent the phase sequence and relative amplitude sequence of the transmitted signal of each antenna, respectively expressed as A={a1,a2,…,a N}, 0≤a1,a2,…,a N ≤1, N is the number of transmitting antennas. The phase granularity of the beam is defined as Amplitude granularity is G a , 0≤G a ≤1. According to and G a , use the combination method to obtain all beams By randomly generating α different random numbers {ρ1,ρ2,…,ρ α}, select α different beams, denoted as in Merge into effective beam set B eff . init Each beam in is read using an accelerated reading method based on the inventory flag, and a set of readable tags in α beams is obtained. r represents the set of beam-readable tags, and its subscript represents the beam. Each beam-readable tag set is merged into the set of all beam-readable tags RS all ,Right now Use each beam to construct a beam combination set with a length of 1 Thus, a beam combination can be constructed to read a tag set Incorporating it into a beam combination can read a collection of tags Combining a set of readable tags for a beam When m=1, m means The number of beams in each element of , The initial value of m is 1; T represents the number of beam combinations, x m idx represents all beam combinations x with m beam numbers m The idxth beam combination in

[0080] The reading method based on inventory flag acceleration described in step S11 mainly relies on the Query command and the Select command under the C1G2 standard.

[0081] The Query instruction can be expressed as follows:

[0082]

[0083] The Sel field determines which tags respond to the command; the Session field selects a count flag; the Target field selects tags with a count flag of A or B to participate in the count, where 0 indicates the tag with a count flag of A is selected, and 1 indicates the tag with a count flag of B is selected. When a tag is successfully counted, it will reverse its own count flag (A→B or B→A).

[0084] The Select instruction can be expressed as follows:

[0085]

[0086] When the tag receives a Select instruction, it will check whether the string starting from the Pointer position and the length of Length bits in the memory block Membank is the same as the mask Mask. If they are the same, the tag is called a matching tag; otherwise, it is called an unmatched tag. Two types of special flags are defined in the tag's memory: inventory flags and selection flags. The Select instruction sets any of these two types of flags based on the mask matching results, the Target field, and the Action field. Both types of flags have two different states (A and B, SL and ~SL). The flag of the matching tag will be set to one of the states, while the flag of the unmatched tag will be set to the other state (or remain unchanged).

[0087] The reading method based on inventory flag acceleration described in step S11 first sends a Query command:

[0088]

[0089] Read the tags with the count flag bit of Session3 set to A, and set the read tags' count flag bit to B. When the read method based on the count flag bit acceleration finds that there is no tag response for a period of time, it is considered that all the tags with the count flag bit of Session3 set to A have been read. At this time, send the Select command again:

[0090] Flag←A-:S(t=3,a=1,b=3,p=0,l=0,m=″),

[0091] Indicates resetting the inventory flag of all tags to A.

[0092] Step S12, according to Use Bayesian optimization to estimate the next beam combination x to read m * = ν indicates that the beam is at B all The subscript represents the index of the beam in the beam combination, and ν1≠v2≠…≠v m .

[0093] The Bayesian optimization method includes two main parts: a probabilistic proxy model and an acquisition function. The proxy function models the objective function and is a probabilistic representation of the objective function constructed using prior points. The acquisition function is the optimization function of Bayesian optimization and is constructed based on the posterior probability distribution. This embodiment uses Tree Parsen Estimator (TPE) as the probabilistic model function and Expected Improvement (EI) as the acquisition function.

[0094] Calculate the beam combination to read the tag set The γ quantile y of the modulus of each element in * , that is, the beam combination can read the tag set The number of readable tags in all beam combinations Large value, 0≤γ≤1, the default value is 0.75; use y * Combining beams to read a collection of tags Divide into two parts, construct kernel density estimators l(x) and g(x) respectively, and construct them as follows: take the number of read tags less than y * All n - The beam combination constitutes a set Calculate its Gaussian kernel density estimator Take the number of read tags greater than y * All n + Beam Combination Calculate its Gaussian kernel density estimator The index() function represents the index value. - and h + It is expressed as the window size of the kernel density estimation, which is used to estimate x to satisfy xh - ≤index(x m - )≤x+h - ,xh + ≤index(x m + )≤x+h + ;h - =1.06σ - n - , σ - represents the beam combination x m - Medium - The standard deviation of the beam index; h + =1.06σ + n + , σ + represents the beam combination x m + Medium + The standard deviation of the beam index. Due to the characteristics of TPE, Find the beam combination x m * , so that g(x m * ) / l(x m * )maximum.

[0095] Step S13, read x using a reading method based on inventory flag acceleration m * The beam in x m * The reading status is added to the collection

[0096] For beam combining x * Unread beam b eff , merge these beams into the effective beam set B eff . Use the accelerated reading method based on the inventory flag to read and read the readable tag set Merged into RS all , and with x * The beam combination x is obtained by combining the known readable tags in m * A collection of readable tags Will Incorporation For example, the selected beam combination x3 * ={b1,b3,b5}, where b1 has already obtained its readable tag set y1 when m=1, so it only needs to use b3 and b5 to read them respectively.

[0097] Step S14, according to The change in determines whether to end the algorithm.

[0098] like If the union of the elements in , that is, the set of readable tags in all beam combinations has not changed for ε times in a row, it is considered that no more tags can be read in the beam combination with m beams. At this time, try to increase m. If m = N or continuous If the total number of times the tag is read does not change, the initialization ends. Otherwise, the number of beam combination beams is increased, that is, m=m+1, and step S12 is executed. If the union of the elements in changes within ε times, it is considered that more tags may be read in the beam combination with m beams, and step S12 is executed. Here ε≥1, The settings depend on N and the complexity of the environment.

[0099] The step S2 includes detecting the reading speed of each tag and dividing the tags. When detecting the reading speed of each tag, Session0 and FM0 encoding are used to ensure the maximum throughput speed. Each beam lasts for the same time, which is generally set to 10 to 20 rounds of Query commands under the C1G2 standard. Dividing the tags means using one-third of the median reading speed of all tags as the dividing threshold to divide the tag set into an easy-to-read tag set and a difficult-to-read tag set. When the tag reading speed is less than the threshold, the tag is divided into a difficult-to-read tag and placed in the difficult-to-read tag set HS. all Otherwise, the label is human readable.

[0100] like Figure 3 As shown, the balanced reading method based on the set coverage model in step S3 includes:

[0101] Step S31, for a beam b eff ∈B eff , according to the set of readable tags of the beam obtained in step S1 Defines the set of tags for unfinished balanced reads RC t represents the number of times tag t is read, K represents the balanced read threshold, and its value is 100≤K≤500; difficult-to-read tag set With the goal of minimizing the invalid reading rate index IRR, select the least mask coverage beam b effThe set of unfinished balanced read tags

[0102] like Figure 4 As shown, the mask selection method in step S31 includes:

[0103] Step S311: Based on the readable tag set Calculate the candidate mask candidateMask for each label t , get all candidate mask sets

[0104] Selecting candidate masks includes:

[0105] Step S3111, use the sliding window method to obtain the substring s with label t degree l l , 1≤l≤L, L is the length of the distinguishable part of EPC;

[0106] Step S3112, obtain substrings of all lengths, and take their union to obtain candidateMask t ;

[0107] Step S3113, l=l+1, set candidateMask t Merge into set M; determine whether the length l is greater than the length L of the EPC distinguishable part, if yes, execute step S3114, otherwise execute step S3111;

[0108] Step S3114, determine whether label t is the last label that needs to be traversed, if so, end the calculation of the candidate mask set; otherwise, l=1, execute step 3-1-1-1.

[0109] Step S312, calculating the effective reading speed ERR value of each mask. Specifically, the formula for the mask is: Where mask∈M, SS(mask) represents the set of labels that mask can match (the label is beam b eff Readable tags), UFS all represents the union of all beams that have not completed balanced reading of tags, RR represents the overall reading speed, w(t) is the weight function, and its value is 1 when t is a difficult-to-read tag, otherwise it is q, q<1;

[0110] Step S313, select the mask mask' with the largest effective read rate ERR value from the candidate mask set M in turn and add it to the result set M', until the masks of all beams in M' can match all tags in the global unfinished balanced read tag set UFS.

[0111] Step S32, executing step S31 until the optimal masks of all beams are calculated.

[0112] In step S33, beam selection is performed with the goal of minimizing the overall invalid reading speed.

[0113] like Figure 5 As shown, the beam selection method in step S33 includes:

[0114] Step S331, calculate the invalid reading speed of each beam x

[0115] Step S332: Select the beam with the smallest IRR value in turn and add it to the beam set B′ until all the beam-readable tag sets in the beam set B′ can cover the UFS. all All tags in .

[0116] Step S4 uses the selected mask and beam for reading, uses the Query instruction in the C1G2 protocol to inventory the target tags, records the number of reads of each tag, and determines whether the number of reads of all tags reaches the balanced reading threshold K. If so, the balanced reading is completed, otherwise return to step S3 for execution.

[0117] The present invention constructs a typical RFID system containing 256 standard RFID tags in a practical scenario, and verifies the performance of the method in practice through a large number of experiments. The experiment uses two USRP N210 software defined radio devices, an Octoclock-G CDA2990 clock source, and an Ethernet switch to jointly construct a MIMO RFID reader to implement beamforming technology; four 8.6dBic circularly polarized antennas (N=2, two transmitting and two receiving) with an operating frequency of about 920MHz; and 256 Impinj H47 tags.

[0118] The full reading efficiency and balanced reading efficiency of different methods are comparable only when the reading rates are the same. Therefore, this embodiment uses two types of benchmark methods to evaluate the reading rate, full reading efficiency and balanced reading efficiency respectively. This embodiment uses single antenna reading (SA, Single Antenna) and multi-antenna polling (AP, Antenna Polling) as benchmarks to verify the improvement of the reading rate by the method proposed in this embodiment. The simple beamforming method, that is, the method of traversing all beams (BP, BeamPolling), the mask-optimized beamforming method (M-BP, Mask-based Beam Polling) and the inventory flag optimized beamforming method (F-BP, Flag-based Beam Polling) are used as benchmarks to verify the improvement of the full reading efficiency and balanced reading efficiency by the method proposed in this embodiment. The experiment was conducted in three scenarios. In scenario 1, 256 tags were densely deployed with a tag spacing of less than 1 cm. In scenario 2, 256 tags were sparsely deployed, with tags placed in clusters with a distance within a cluster of less than 2 cm and a distance between clusters of more than 20 cm. In scenario 3, 256 tags were mixedly deployed, with half densely deployed and half sparsely deployed. In all three scenarios, the read count threshold K was set to 200, and the phase granularity was set to G a =0.5, hyperparameters α=30, γ=0.75, ε=5, The EPC distinguishable length L=10, and q in the weight function=0.25.

[0119] like Figure 6 The figure shows the comparison of the reading rate of the method proposed in this embodiment with the SA and AP methods in three scenarios. In all scenarios, the method proposed in this embodiment can achieve a reading rate of more than 99%, which is much higher than the SA and AP methods.

[0120] like Figure 7 As shown in the figure, the reading efficiency of the method proposed in this embodiment is compared with that of the BP, M-BP and F-BP methods in three scenarios. In all scenarios, the reading efficiency of the method proposed in this embodiment is higher than that of the other three methods and is very stable. Compared with the best results of the other three methods, the average time consumption in the three scenarios is reduced by 78.81%.

[0121] like Figure 8 As shown, the comparison of the balanced reading efficiency of the method proposed in this embodiment and the BP, M-BP and F-BP methods in three scenarios. In the three scenarios, the method proposed in this embodiment achieves a higher balanced reading speed, which is an average improvement of 123.99% in the three scenarios compared with the best results of the other three methods.

[0122] The present invention proposes an RFID balanced reading method based on beamforming. The method can not only improve the reading rate, full reading efficiency and balanced reading efficiency of the RFID system through Bayesian optimization and set coverage model, but also be compatible with the existing RFID system.

[0123] In a specific implementation, the present application provides a computer storage medium and a corresponding data processing unit, wherein the computer storage medium can store a computer program, and when the computer program is executed by the data processing unit, the invention content of the RFID balanced reading method based on beamforming provided by the present invention and some or all steps in each embodiment can be executed. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0124] Those skilled in the art can clearly understand that the technical solutions in the embodiments of the present invention can be implemented by means of computer programs and their corresponding general hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention are essentially or partly contributed to the prior art can be embodied in the form of a computer program, i.e., a software product, which can be stored in a storage medium and includes several instructions for enabling a device including a data processing unit (which can be a personal computer, a server, a single-chip microcomputer, a MUU or a network device, etc.) to execute the methods described in various embodiments of the present invention or certain parts of the embodiments.

[0125] The present invention provides an RFID balanced reading method based on beamforming. There are many methods and ways to implement the technical solution. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention. All components not specified in this embodiment can be implemented by existing technologies.

Claims

1. A beamforming-based RFID balanced reading method, characterized in that: The following steps are involved: Step 1: Use an initialization method based on Bayesian optimization to obtain the number of tags in the environment, and obtain the readable tag set and effective beam set of different beams; Step 2, using the effective beam set, detecting the reading speed of each tag, and dividing the tags according to the reading results; Step 3: Use a balanced reading method based on a set coverage model to perform mask selection and beam selection; Step 4, use the selected mask and beam to read, and determine whether the balanced reading is completed. If so, end the method, otherwise return to step 3 to reselect the mask and beam.

2. The RFID balanced reading method based on beamforming according to claim 1, characterized in that: Step 1 includes: Step 1-1, define beam b Φ,A =(Φ,A,λ,P), which is a four-tuple, where λ and P represent the wavelength sequence of the transmitted signal and the position sequence of the transmitting antenna, respectively, which are determined by the initialization of the RFID system; Φ and A represent the phase sequence and relative amplitude sequence of the transmitted signal of each antenna, respectively expressed as A={a1,a2,…,a N }, 0≤a1,a2,…,a N ≤1, N is the number of transmitting antennas; the phase granularity of the beam is defined as Amplitude granularity is G a , 0≤G a ≤1; according to and G a , use the combination method to obtain all beams By randomly generating α different random numbers {ρ1,ρ2,…,ρ α }, select α different beams, denoted as in Merge into effective beam set B eff ; for B init Each beam in is read using an accelerated reading method based on the inventory flag, and a set of readable tags in α beams is obtained. r represents the set of beam-readable tags, and its subscript represents the beam; each beam-readable tag set is merged into the set of all beam-readable tags RS all ,Right now Use each beam to construct a beam combination set with a length of 1 Thus, a beam combination can be constructed to read a tag set Incorporating it into a beam combination can read a collection of tags Combining a set of readable tags for a beam When m=1, m means The number of beams in each element of , The initial value of m is 1; T represents the number of beam combinations, x m idx represents all beam combinations x with m beam numbers m The idxth beam combination in Step 1-2, according to the beam combination, the tag set can be read Use Bayesian optimization to estimate the next beam combination to read ν indicates that the beam is at B all The subscript represents the index of the beam in the beam combination, and v1≠v2≠…≠v m ; Step 1-3, read x using the accelerated reading method based on the inventory flag m * The beam in x m * A collection of readable tags Add beam combination to read tag collection Steps 1-4: Readable tag set based on beam combination The change in the status of the initialization determines whether to end the initialization.

3. The RFID balanced reading method based on beamforming according to claim 2, characterized in that: The reading method based on the inventory flag bit acceleration described in step 1-1 includes: Step 1-1-1, generate the Query command under the C1G2 standard, set the Session to 3, and the inventory flag to A; Step 1-1-2, use the Query command under the C1G2 standard to read and determine whether there are still tags that can be read. If yes, continue reading, otherwise execute step 1-1-3; Step 1-1-3, generate the Select command under the C1G2 standard and restore the label inventory flag to A.

4. The RFID balanced reading method based on beamforming according to claim 3, characterized in that: The Bayesian optimization method described in step 1-2 includes: Step 1-2-1, calculate the beam combination readable tag set The γ quantile y of the modulus of each element in * , that is, the beam combination can read the tag set The number of readable tags in all beam combinations Large value, 0≤γ≤1; Step 1-2-2, use y * Combining beams to read a collection of tags Divide into two parts, construct kernel density estimators l(x) and g(x) respectively; Step 1-2-3, use the EI acquisition function to infer the beam combination x to be read next time m * , that is, to find the beam combination x m * , so that g(x m * ) / l(x m * )maximum; The construction of kernel density estimators l(x) and g(x) in step 1-2-2 includes: taking the number of read tags less than y * All n - The beam combination constitutes a set Calculate its Gaussian kernel density estimator Take the number of read tags greater than y * All n + Beam Combination Calculate its Gaussian kernel density estimator The index() function represents the index value. - and h + It is expressed as the window size of the kernel density estimation, which is used to estimate x to satisfy xh - ≤index(x m - )≤x+h - ,xh + ≤index(x m + )≤x+h + ;h - =1.06σ - n - , σ - represents the beam combination x m - Medium - The standard deviation of the beam index; h + =1.06σ + n + , σ + represents the beam combination x m + Medium + The standard deviation of the beam indices.

5. The RFID balanced reading method based on beamforming according to claim 4, characterized in that: Steps 1-3 include: For beam combining x * Unread beam b eff , merge these beams into the effective beam set B eff ; Use the accelerated reading method based on the inventory flag to read and set the readable tag set Merged into RS all , and with x * The beam combination x is obtained by combining the known readable tags in m * A collection of readable tags Will Incorporating beam combinations to read tag collections The tag set that can be read according to the beam combination described in steps 1-4 The changes that determine whether to end initialization include: Step 1-4-1, if the beam combination can read the tag set The union of the elements in , that is, the set of readable tags of all beam combinations has not changed for ε times in a row, ε≥1, and step 1-4-2 is executed, otherwise, step 1-2 is executed; Step 1-4-2, if m = N or continuous If the total number of times the tag is read does not change, the initialization ends. Otherwise, increase the number of beams in the beam combination, that is, m = m + 1, and use the effective beam set B eff , reinitialize by combining Follow steps 1-2.

6. The RFID balanced reading method based on beamforming according to claim 5, characterized in that: Step 2 includes: Step 2-1, detect the reading speed of each tag, use Session0 and FM0 encoding, and each beam lasts the same time; Step 2-2, set one third of the median reading speed of all tags as the division threshold, and divide the tag set into an easy-to-read tag set and a difficult-to-read tag set; when the tag reading speed is less than the division threshold, the tag is classified as a difficult-to-read tag and put into the difficult-to-read tag set HS all Otherwise, the label is human readable.

7. The RFID balanced reading method based on beamforming according to claim 6, characterized in that: The balanced reading method based on the set coverage model described in step 3 includes: Step 3-1, for a beam b eff ∈B eff , according to the set of readable tags of the beam obtained in step 1 Defines the set of tags for unfinished balanced reads RC t represents the number of times tag t is read, K represents the balanced read threshold, and its value is 100≤K≤500; difficult-to-read tag set With the goal of minimizing the invalid reading rate index IRR, select the least mask coverage beam b eff The set of unfinished balanced read tags Step 3-2, execute step 3-1 until the optimal masks of all beams are calculated; Step 3-3, based on the result of step 3-2, to cover the set UFS of all unfinished balanced read tags all ={t|RC t ≤K,t∈RS all } is a constraint, and the beam set B′ with the smallest overall invalid reading speed is selected.

8. The RFID balanced reading method based on beamforming according to claim 7, characterized in that: Step 3-1 includes: Step 3-1-1, based on the readable tag set Calculate the candidate mask candidateMask for each label t , get all candidate mask sets Step 3-1-2, calculate the effective reading speed ERR value of each mask, the formula is: Where mask∈M, SS(mask) represents the set of labels that mask can match, and the labels that can match are beam b eff Readable tags, UFS all represents the union of all beams that have not completed balanced reading of tags, RR represents the overall reading speed, w(t) is the weight function, and its value is 1 when t is a difficult-to-read tag, otherwise it is q, q<1; Step 3-1-3, select the mask mask′ with the largest effective reading speed ERR value from the candidate mask set M in turn and add it to the result set M′, until the masks of all beams in M′ can match all tags in the global unfinished balanced reading tag set UFS; Step 3-1-1 includes: Step 3-1-1-1, use the sliding window method to obtain the set s of all substrings of label t with length l l , 1≤l≤L, L is the length of the distinguishable part of EPC; Step 3-1-1-2, obtain the substring set s l Merged into candidateMask t ; Step 3-1-1-3, l=l+1, set candidateMask t Merge into set M; determine whether the length l is greater than the length L of the distinguishable part of EPC, if so, execute step 3-1-1-4, otherwise execute step 3-1-1-1; Step 3-1-1-4, determine whether label t is the last label to be traversed, if so, end the calculation of the candidate mask set; otherwise, l=1, execute step 3-1-1-1.

9. The RFID balanced reading method based on beamforming according to claim 8, characterized in that: Step 3-3 includes: Step 3-3-1, calculate each beam b eff Invalid read speed Step 3-3-2, select the beam with the smallest IRR value and add it to the beam set B′, until all the beam-readable tag sets in the beam set B′ can cover the UFS all All tags in .

10. The RFID balanced reading method based on beamforming according to claim 9, characterized in that: Step 4 Reading using the selected mask and beam includes: Use the Query instruction in the C1G2 protocol to count the target tags, record the number of reads of each tag, and determine whether the number of reads of all tags reaches the balanced reading threshold K. If so, complete the balanced reading, otherwise return to step 3 to execute.