Tag authentication method and medium for UHF handheld terminal
Through the multi-time-frequency interrogation signal processing technology of UHF handheld terminals, the problem of low UHF tag authentication efficiency is solved, accurate identification and safety authentication of tag signals are achieved, and authentication efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202410883366.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-03
AI Technical Summary
UHF tag authentication is less efficient and is affected by multi-tag signal interference and key leakage issues, resulting in low signal reception accuracy and low efficiency.
UHF handheld terminals are used to send multi-time-frequency interrogation signals, time-frequency collision compensation and signal distance screening are performed, the returned signals are processed through iterative equalization filtering and deconvolution filtering, signal format conversion and rank correction are performed, and finally hash authentication and data decryption are performed .
It improves the efficiency and accuracy of tag authentication, achieves accurate identification and security authentication of tag signals, and reduces the risk of information leakage.
Smart Images

Figure CN118433711B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of radio frequency authentication, and in particular to a tag authentication method and medium for a UHF handheld terminal. Background Art
[0002] UHF tag authentication is an authentication mechanism used in Ultra High Frequency (UHF) Radio Frequency Identification (RFID) systems. Its main purpose is to ensure the communication security between RFID tags and readers and prevent unauthorized access and data tampering. UHF tag authentication is widely used in supply chain management, inventory control, logistics, asset tracking and other fields.
[0003] Existing UHF tag authentication methods usually adopt authentication methods based on symmetric key encryption, that is, the tag and the reader share a key for encrypting and decrypting communication data. However, in actual applications, when the UHF terminal authenticates the tag, it is often accompanied by signal interference from multiple tags, which affects the accuracy of signal reception. In addition, once the key of the authentication method based on symmetric key encryption is leaked, all tags using the key will be destroyed, which may lead to low efficiency in UHF tag authentication. Summary of the invention
[0004] The present invention provides a tag authentication method and medium for a UHF handheld terminal, the main purpose of which is to solve the problem of low efficiency when performing UHF tag authentication.
[0005] To achieve the above object, the present invention provides a tag authentication method for a UHF handheld terminal, comprising:
[0006] Using a UHF handheld terminal to send a multi-time-frequency interrogation signal to the tag to be tested, and obtaining a multi-channel return signal returned in response to the multi-time-frequency interrogation signal;
[0007] Performing time-frequency collision compensation and signal distance screening on the multi-channel return signals to obtain compensated return signals;
[0008] The compensated return signal is subjected to iterative equalization filtering and deconvolution filtering to obtain a filtered return signal, wherein the iterative equalization filtering and deconvolution filtering of the compensated return signal to obtain the filtered return signal includes: extracting sampling features of the compensated return signal to obtain a signal sampling rate; performing channel delay statistics on the compensated return signal to obtain a signal delay; performing a product operation on the signal delay extension and the signal sampling rate to obtain a filter compensation length; performing signal phase shift modulation on the compensated return signal to obtain a return signal expectation; performing signal equalization on the compensated return signal using the following iterative equalization filtering algorithm, the filter compensation length and the return signal expectation to obtain a balanced return signal: in, refers to the equalized return signal in The signal value at time means The filter vector at time t, is the conjugate transpose symbol, is the compensation return signal in The signal vector group at time, means The filter vector at time t, is the iteration step size of the iterative equalization filtering algorithm, is the modulo symbol, refers to the equalized return signal in The signal value at time refers to the return signal expectation, is the compensation return signal in The signal value at time is the compensation return signal in The signal value at time refers to the filtering compensation length, is a transposed symbol; performing deconvolution filtering on the equalized return signal to obtain a filtered return signal;
[0009] Performing signal format conversion and rank correction on the filtered return signal to obtain corrected label data;
[0010] The correction label data is subjected to hash authentication and data decryption to obtain authentication label data.
[0011] Optionally, the sending of a multi-time-frequency inquiry signal to the tag to be tested by using a UHF handheld terminal includes:
[0012] Use UHF handheld terminal to initialize inquiry command and RF activation data;
[0013] Performing radio frequency communication encoding on the inquiry command and the radio frequency activation data to obtain a data signal;
[0014] Performing signal frequency division on the data signal to obtain a multi-channel interrogation signal;
[0015] Dividing the multi-channel interrogation signal into time slot data packets to obtain a multi-time slot interrogation signal;
[0016] Organizing the multi-time slot interrogation signal into frames to obtain a multi-time frequency interrogation signal;
[0017] The multi-time-frequency inquiry signal is sent to the tag to be tested using a time slot synchronization method.
[0018] Optionally, performing time-frequency collision compensation and signal distance screening on the multi-channel return signal to obtain a compensated return signal includes:
[0019] Performing frequency splitting on the multi-channel return signal to obtain a single-channel return signal group;
[0020] Splitting the single-channel return signal group by time slots to obtain a single-time slot return signal group;
[0021] Performing identification collision detection on the single-slot return signal group to obtain a collision return signal group;
[0022] Performing tree search compensation on the collision return signal group to obtain a single-label return signal group;
[0023] The single-tag return signal group is screened by positioning distance to obtain a compensated return signal.
[0024] Optionally, the performing positioning distance screening on the single tag return signal group to obtain a compensation return signal includes:
[0025] Extracting signal voltage intensity of the single-label return signal group to obtain a signal intensity group;
[0026] Extracting signal timestamps from the single-label return signal group to obtain a signal transmission time group;
[0027] The signal positioning distance group corresponding to the single tag return signal group is calculated according to the signal strength group and the signal transmission time group using the following signal positioning algorithm: in, Refers to the signal positioning distance group Signal positioning distance, is the signal index, is the logarithmic function symbol, is the preset reference signal strength, is the first Signal strength, Refers to the signal transmission time group The signal receiving time in the signal transmission time is Refers to the signal transmission time group The signal transmission time in the signal transmission time;
[0028] Performing minimum value screening on the signal positioning distance group to obtain the positioning distance to be measured;
[0029] The single tag return signal corresponding to the to-be-measured positioning distance in the single tag return signal is used as a compensation return signal.
[0030] Optionally, performing deconvolution filtering on the equalized return signal to obtain a filtered return signal includes:
[0031] Perform radio frequency back-tracing on the equalized return signal to obtain a back-tracing inquiry signal;
[0032] The equalized return signal is channel compensated according to the traceback query signal using the following deconvolution compensation algorithm to obtain a deconvolution return signal: in, It means that the deconvolution return signal is The signal value at time means time, refers to the equalized return signal in The signal value at time is the deconvolution symbol, It means that the traceback query signal is The signal value at time is the symbol for Euler's number, is an imaginary unit, is the symbol for pi, is the frequency symbol, is the differential symbol;
[0033] The deconvolution return signal is subjected to oscillation phase filtering to obtain a filtered return signal.
[0034] Optionally, performing signal format conversion and rank correction on the filtered return signal to obtain corrected label data includes:
[0035] Performing power estimation on the filtered return signal to obtain a signal power value;
[0036] Performing bit stream parsing on the filtered return signal to obtain a parsed bit signal;
[0037] Performing data formatting on the parsed bit signal to obtain format tag data;
[0038] Matrixing the formatted label data to obtain a label data matrix;
[0039] Calculating the rank of the label data matrix to obtain label rank information;
[0040] The format label data is rank corrected according to the label rank information and the signal power value to obtain corrected label data.
[0041] Optionally, the performing rank correction on the formatted label data according to the label rank information and the signal power value to obtain the corrected label data includes:
[0042] Performing syndrome correction on the label rank information to obtain a label syndrome vector;
[0043] Performing error positioning on the tag error value according to the signal power value to obtain a tag error interval;
[0044] Performing error value analysis on the label error interval according to the label syndrome vector to obtain a label error value;
[0045] The format label data is error corrected using the label error value to obtain corrected label data.
[0046] In detail, the performing hash authentication and data decryption on the correction label data to obtain the authentication label data includes:
[0047] Digest the correction label data to obtain a certified hash digest and standard label data;
[0048] Salting the standard label data using a preset hash salt value to obtain salted label data;
[0049] Splitting the salted label data into data blocks to obtain label data blocks;
[0050] Performing a hash operation on the tag data block to obtain a verification hash summary;
[0051] Performing summary authentication on the verification hash summary according to the authentication hash summary to obtain an authentication result;
[0052] The standard label data is decrypted according to the authentication result to obtain authentication label data.
[0053] In detail, decrypting the standard label data according to the authentication result to obtain the authentication label data includes:
[0054] Determine whether the authentication result is verification passed;
[0055] If not, generate verification failure information, and use the verification failure information as the authentication tag data;
[0056] If yes, then use the preset extended key to perform reverse round bit-by-bit XOR on the standard tag data to obtain XOR tag data;
[0057] The XOR tag data is reversely decrypted to obtain authentication tag data.
[0058] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned UHF handheld terminal tag authentication method.
[0059] The sending of multiple time-frequency inquiry signals and the acquisition of multi-channel return signals described in the embodiment of the present invention can realize the sending and receiving of radio frequency signals in time slots and frequency bands, thereby reducing the signal collision phenomenon of multiple tag return signals and improving the efficiency of tag authentication. By performing time-frequency collision compensation and signal distance screening, the return signals of each tag can be split and compensated, and the return signal of the tag to be tested that the handheld terminal is facing is screened according to the distance characteristics of the signal, thereby realizing accurate identification of the tag signal and improving the efficiency of tag authentication. By performing iterative equalization filtering and deconvolution filtering, multipath interference compensation and noise interference compensation for the return signal of the tag to be tested can be realized, thereby improving the accuracy of the tag return signal during tag authentication.
[0060] By performing signal format conversion and rank correction, the return data of the tag to be tested can be extracted, and the error and noise data in the transmission can be corrected, thereby improving the accuracy of the tag data and the efficiency of subsequent tag authentication. By performing hash authentication and data decryption, the security authentication of the tag to be tested can be achieved, and the encrypted transmission of the tag data can be achieved, reducing the risk of information leakage and improving the efficiency of tag authentication. Therefore, the tag authentication method and medium of the UHF handheld terminal proposed in the present invention can solve the problem of low efficiency when performing UHF tag authentication. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A flowchart of a tag authentication method for a UHF handheld terminal provided by an embodiment of the present invention;
[0062] Figure 2 A schematic diagram of a flow chart of generating a compensation return signal provided by an embodiment of the present invention;
[0063] Figure 3 A schematic diagram of a process for generating a filtering return signal provided by an embodiment of the present invention;
[0064] Figure 4 A schematic diagram of the structure of an electronic device for implementing the tag authentication method of the UHF handheld terminal provided by an embodiment of the present invention.
[0065] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0066] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0067] The embodiment of the present application provides a tag authentication method for a UHF handheld terminal. The execution subject of the tag authentication method for the UHF handheld terminal includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the tag authentication method for the UHF handheld terminal can be executed by software or hardware installed on a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0068] Reference Figure 1 FIG. 1 is a flow chart of a tag authentication method for a UHF handheld terminal provided by an embodiment of the present invention. In this embodiment, the tag authentication method for a UHF handheld terminal includes:
[0069] S1. Use a UHF handheld terminal to send a multi-time-frequency inquiry signal to a tag to be tested, and obtain a multi-channel return signal returned in response to the multi-time-frequency inquiry signal.
[0070] In the embodiment of the present invention, the UHF handheld terminal refers to a handheld ultra-high frequency (UHF) radio frequency terminal, which can read and manage UHF radio frequency identification (RFID) tags. The UHF radio frequency terminal integrates components such as an RFID reader / writer, an antenna, a display screen, a data processing unit, and a communication module.
[0071] Specifically, the tag to be tested refers to a UHF RFID tag that needs to be authenticated, the multi-time-frequency interrogation signal refers to an ultra-high frequency radio frequency signal of multiple time slots and frequency band channels, the frequency band signal of the multi-time-frequency interrogation signal can be a plurality of frequency band signals operating within 860 MHz to 960 MHz, the frequency band signal includes a data signal, the data signal includes commands and data, which are used to activate and interact with the tag to be tested, and the data signal can adopt the EPCglobal Class 1 Gen 2 protocol.
[0072] In detail, the multi-channel return signal is a multi-frequency band signal that is returned after the UHF RFID tag is activated by the multi-time-frequency interrogation signal and modulates its own data through backscattering technology. Since there may be multiple UHF RFID tags in the radio frequency range of the UHF handheld terminal, the multi-channel return signal may contain frequency band signals of multiple UHF RFID tags.
[0073] Specifically, the method of using a UHF handheld terminal to send a multi-time-frequency inquiry signal to the tag to be tested includes:
[0074] Use UHF handheld terminal to initialize inquiry command and RF activation data;
[0075] Performing radio frequency communication encoding on the inquiry command and the radio frequency activation data to obtain a data signal;
[0076] Performing signal frequency division on the data signal to obtain a multi-channel interrogation signal;
[0077] Dividing the multi-channel interrogation signal into time slot data packets to obtain a multi-time slot interrogation signal;
[0078] Organizing the multi-time slot interrogation signal into frames to obtain a multi-time frequency interrogation signal;
[0079] The multi-time-frequency inquiry signal is sent to the tag to be tested using a time slot synchronization method.
[0080] In detail, the inquiry command refers to a signal command used to interact with the tag to be tested, such as a command to read and write tag data, a command to query tag status, and a command to perform tag authentication, etc. The RF activation data is data used to activate the tag to be tested.
[0081] Specifically, the radio frequency communication encoding method may be EPCglobal Class 1 Gen 2 protocol encoding, the signal frequency division refers to allocating different signal frequency bands to the data signal, and the time slot division refers to dividing the signals of each signal frequency band in the multi-channel interrogation signal into multiple data packets, wherein the data packet has a time slot of a fixed length.
[0082] In detail, the frame organization refers to forming a frame by combining the time slots of multiple data packets of the same signal frequency band in the multi-slot inquiry signal. The time slot synchronization is a technology that ensures that the communicating parties transmit and receive data within the same time frame. The ALOHA algorithm can be used to send the multi-time-frequency inquiry signal to the tag to be tested using the time slot synchronization method, and the multi-channel return signal can be obtained using an RFID reader.
[0083] In the embodiment of the present invention, the sending of multi-time and frequency inquiry signals and the acquisition of multi-channel return signals can realize the sending and receiving of radio frequency signals in time slots and frequency bands, thereby reducing the signal collision phenomenon of multiple tag return signals and improving the efficiency of tag authentication.
[0084] S2. Perform time-frequency collision compensation and signal distance screening on the multi-channel return signals to obtain compensated return signals.
[0085] In detail, there may be signals returned by multiple tags in the multi-channel return signal, and signal collisions may occur between the return signals of multiple tags. Therefore, it is necessary to perform time-frequency collision compensation on them and filter out the return signal corresponding to the tag to be tested. The compensated return signal is the return signal corresponding to the tag to be tested.
[0086] In the embodiment of the present invention, refer to Figure 2 As shown, the time-frequency collision compensation and signal distance screening of the multi-channel return signal to obtain the compensated return signal includes:
[0087] S21, performing frequency splitting on the multi-channel return signal to obtain a single-channel return signal group;
[0088] S22, splitting the single-channel return signal group by time slots to obtain a single-time slot return signal group;
[0089] S23, performing identification collision detection on the single-slot return signal group to obtain a collision return signal group;
[0090] S24, performing tree search compensation on the collision return signal group to obtain a single-label return signal group;
[0091] S25, performing positioning distance screening on the single tag return signal group to obtain a compensation return signal.
[0092] Specifically, the frequency splitting refers to splitting the signals according to the channel frequencies of the individual signals in the multi-channel return signals, and aggregating the signals corresponding to the individual channel frequencies as single-channel return signals into a single-channel return signal group.
[0093] In detail, the time slot splitting refers to splitting the single-channel return signal group according to the receiving time slot frame organization of each signal in the single-channel return signal group, and aggregating the return signals corresponding to each frame organization as single time slot return signals into a single time slot return signal group.
[0094] Specifically, the identification collision detection refers to disassembling each single-slot return signal into a collision return signal group according to a unique identifier such as an EPC code of each single-slot return signal in the single-slot return signal group, and the tree search compensation refers to compensating each collision return signal in the collision return signal group using a tree search algorithm, and splitting the collision return signal group into single-tag signals corresponding to a single tag.
[0095] Specifically, the positioning distance screening of the single tag return signal group to obtain the compensation return signal includes:
[0096] Extracting signal voltage intensity of the single-label return signal group to obtain a signal intensity group;
[0097] Extracting signal timestamps from the single-label return signal group to obtain a signal transmission time group;
[0098] Calculate the signal positioning distance group corresponding to the single tag return signal group according to the signal strength group and the signal transmission time group;
[0099] Performing minimum value screening on the signal positioning distance group to obtain the positioning distance to be measured;
[0100] The single tag return signal corresponding to the to-be-measured positioning distance in the single tag return signal is used as a compensation return signal.
[0101] Specifically, the voltage strength extraction refers to extracting the signal voltage strength of each single tag return signal in the single tag return signal group, and the signal timestamp extraction refers to extracting the signal sending time and signal receiving time of each single tag return signal in the single tag return signal group, and aggregating the signal sending time and the signal receiving time as the signal transmission time into a signal transmission time group.
[0102] Specifically, the signal positioning distance group is calculated using the following signal positioning algorithm: in, Refers to the signal positioning distance group Signal positioning distance, is the signal index, is the logarithmic function symbol, is the preset reference signal strength, is the first Signal strength, Refers to the signal transmission time group The signal receiving time in the signal transmission time is Refers to the signal transmission time group The signal sending time in the signal transmission time.
[0103] Specifically, the signal positioning algorithm can determine the positioning distance corresponding to each tag according to the signal voltage strength of the return signal of each tag and the signal transmission time difference, thereby realizing the screening of the return signal of the target tag.
[0104] In the embodiment of the present invention, by performing time-frequency collision compensation and signal distance screening, the return signals of each tag can be split and compensated, and the return signal of the tag to be tested that the handheld terminal is facing is screened out according to the distance characteristics of the signal, thereby achieving accurate identification of the tag signal and improving the efficiency of tag authentication.
[0105] S3. Perform iterative equalization filtering and deconvolution filtering on the compensated return signal to obtain a filtered return signal.
[0106] Specifically, the multi-channel return signal may encounter signal conflicts and reading delays due to the possible existence of return signals from multiple UHF RFID tags, and during the propagation process of the return signal, due to reflection, refraction and scattering, the signal reaches the receiving antenna from different paths. When these signals with different path lengths reach the receiving antenna, a phase difference will be generated, resulting in interference. Therefore, it is necessary to merge the signal compensation and dynamically hash filter the compensated return signal. The filtered return signal is the multi-channel return signal after iterative equalization filtering and deconvolution filtering.
[0107] In the embodiment of the present invention, refer to Figure 3 As shown, the iterative equalization filtering and deconvolution filtering of the compensated return signal to obtain the filtered return signal includes:
[0108] S31, extracting sampling features of the compensation return signal to obtain a signal sampling rate;
[0109] S32, performing channel delay statistics on the compensated return signal to obtain a signal delay;
[0110] S33, performing a product operation on the signal delay extension and the signal sampling rate to obtain a filter compensation length;
[0111] S34, performing signal phase shift modulation on the compensated return signal to obtain an expected return signal;
[0112] S35, performing signal equalization on the compensated return signal by using the filtering compensation length and the return signal expectation to obtain an equalized return signal;
[0113] S36: Perform deconvolution filtering on the equalized return signal to obtain a filtered return signal.
[0114] Specifically, the sampling feature refers to the signal sampling frequency of extracting the compensation return signal, and channel delay statistics can be performed using methods such as pilot signals or training sequences. The signal phase shift modulation method can be binary phase shift keying, quaternary phase shift keying or M-ary quadrature amplitude modulation.
[0115] In detail, the equalized return signal is calculated using the following iterative equalization filtering algorithm: in, refers to the equalized return signal in The signal value at time means The filter vector at time t, is the conjugate transpose symbol, is the compensation return signal in The signal vector group at time, means The filter vector at time t, is the iteration step size of the iterative equalization filtering algorithm, is the modulo symbol, refers to the equalized return signal in The signal value at time refers to the return signal expectation, is the compensation return signal in The signal value at time is the compensation return signal in The signal value at time refers to the filtering compensation length, is the transpose symbol.
[0116] Specifically, the iterative equalization filtering algorithm can dynamically perform multipath interference compensation on the equalized return signal according to the modulus offset of the equalized return signal, thereby improving the accuracy of the equalized return signal.
[0117] In detail, performing deconvolution filtering on the equalized return signal to obtain a filtered return signal includes:
[0118] Perform radio frequency back-tracing on the equalized return signal to obtain a back-tracing inquiry signal;
[0119] performing channel compensation on the equalized return signal according to the traceback query signal to obtain a deconvolution return signal;
[0120] The deconvolution return signal is subjected to oscillation phase filtering to obtain a filtered return signal.
[0121] In detail, radio frequency backtracking refers to extracting a portion of the multi-time-frequency interrogation signal corresponding to the equalized return signal as a backtracking interrogation signal, and a phase-locked loop (PLL) method may be used to perform oscillation phase filtering.
[0122] Specifically, the deconvolution return signal is calculated using the following deconvolution compensation algorithm: in, It means that the deconvolution return signal is The signal value at time means time, refers to the equalized return signal in The signal value at time is the deconvolution symbol, It means that the traceback query signal is The signal value at time is the symbol for Euler's number, is an imaginary unit, is the symbol for pi, is the frequency symbol, is the differential symbol.
[0123] In detail, the deconvolution compensation algorithm can perform noise compensation on the equalized return signal according to the channel noise effect, thereby improving the accuracy of subsequent tag authentication.
[0124] In the embodiment of the present invention, by performing iterative equalization filtering and deconvolution filtering, multipath interference compensation and noise interference compensation for the return signal of the tag to be tested can be achieved, thereby improving the accuracy of the tag return signal during tag authentication.
[0125] S4. Perform signal format conversion and rank correction on the filtered return signal to obtain corrected label data.
[0126] In detail, the filter return signal is data in the form of a bit stream, and noise and errors may occur during the transmission process. Therefore, it is necessary to use signal format conversion to convert the filter return signal into signal data and perform error correction on the signal data.
[0127] In the embodiment of the present invention, the signal format conversion and rank correction of the filtered return signal to obtain the corrected label data includes:
[0128] Performing power estimation on the filtered return signal to obtain a signal power value;
[0129] Performing bit stream parsing on the filtered return signal to obtain a parsed bit signal;
[0130] Performing data formatting on the parsed bit signal to obtain format tag data;
[0131] Matrixing the formatted label data to obtain a label data matrix;
[0132] Calculating the rank of the label data matrix to obtain label rank information;
[0133] The format label data is rank corrected according to the label rank information and the signal power value to obtain corrected label data.
[0134] Specifically, RSSI technology can be used for power estimation, the bit stream parsing refers to converting the filtered return signal in bit stream format into data, the data formatting method can be an ASCII code or binary formatting method, the data matrixing refers to converting the format label data into a matrix, and the rank calculation can be performed using Gaussian elimination method or singular value decomposition method.
[0135] In detail, the rank correction of the formatted label data according to the label rank information and the signal power value to obtain the corrected label data includes:
[0136] Performing syndrome correction on the label rank information to obtain a label syndrome vector;
[0137] Performing error positioning on the tag error value according to the signal power value to obtain a tag error interval;
[0138] Performing error value analysis on the label error interval according to the label syndrome vector to obtain a label error value;
[0139] The format label data is error corrected using the label error value to obtain corrected label data.
[0140] In detail, the error polynomial algorithm can be used for syndrome correction, the error positioning method can be a fingerprint positioning method or a code phase positioning method, and the error value analysis method can be a cyclic redundancy check or a right inverse algorithm.
[0141] Specifically, by performing signal format conversion and rank correction, the return data of the tag to be tested can be extracted, and the error and noise data in the transmission can be corrected, thereby improving the accuracy of the tag data and the efficiency of subsequent tag authentication.
[0142] S5. Perform hash authentication and data decryption on the correction label data to obtain authentication label data.
[0143] In detail, in order to ensure the legitimacy of the label to be tested, it is necessary to perform data identity verification on the corrected label data, and the corrected label data refers to the label data included in the corrected label data after the verification is successful.
[0144] In the embodiment of the present invention, the step of performing hash authentication and data decryption on the correction label data to obtain the authentication label data includes:
[0145] Digest the correction label data to obtain a certified hash digest and standard label data;
[0146] Salting the standard label data using a preset hash salt value to obtain salted label data;
[0147] Splitting the salted label data into data blocks to obtain label data blocks;
[0148] Performing a hash operation on the tag data block to obtain a verification hash summary;
[0149] Performing summary authentication on the verification hash summary according to the authentication hash summary to obtain an authentication result;
[0150] The standard label data is decrypted according to the authentication result to obtain authentication label data.
[0151] In detail, the summary splitting refers to splitting the data summary and the remaining data in the correction label data. The summary splitting can be performed using a character positioning method or a loop detection method. The hash salt value is a pre-defined salt value data between the handheld terminal and the label to be tested.
[0152] Specifically, the data block splitting refers to splitting the salted label data into label data blocks according to a fixed data bit length, the hash operation method can be an MD5 or SHA-256 operation method, and the summary authentication refers to determining whether the authentication hash summary is equal to the verification hash summary. If so, the authentication result is verification passed, if not, the authentication result is verification failed.
[0153] In detail, decrypting the standard label data according to the authentication result to obtain the authentication label data includes:
[0154] Determine whether the authentication result is verification passed;
[0155] If not, generate verification failure information, and use the verification failure information as the authentication tag data;
[0156] If yes, then use the preset extended key to perform reverse round bit-by-bit XOR on the standard tag data to obtain XOR tag data;
[0157] The XOR tag data is reversely decrypted to obtain authentication tag data.
[0158] In detail, the verification failure information is information used to notify the user that the tag to be tested is abnormal when the verification fails, the extended key is an encryption key pre-defined between the handheld terminal and the tag to be tested, the inverse bit-by-bit XOR refers to dividing the data into several parts with a fixed number of bits, and performing a bit-by-bit XOR operation on each divided data segment, and the inverse round decryption refers to the inverse decryption operation of the round encryption, including inverse mixing, inverse substitution, inverse permutation and round key decryption operations.
[0159] In the embodiment of the present invention, by performing hash authentication and data decryption, it is possible to achieve security authentication of the tag to be tested and realize encrypted transmission of tag data, thereby reducing the risk of information leakage and improving the efficiency of tag authentication.
[0160] The sending of multiple time-frequency inquiry signals and the acquisition of multi-channel return signals described in the embodiment of the present invention can realize the sending and receiving of radio frequency signals in time slots and frequency bands, thereby reducing the signal collision phenomenon of multiple tag return signals and improving the efficiency of tag authentication. By performing time-frequency collision compensation and signal distance screening, the return signals of each tag can be split and compensated, and the return signal of the tag to be tested that the handheld terminal is facing is screened according to the distance characteristics of the signal, thereby realizing accurate identification of the tag signal and improving the efficiency of tag authentication. By performing iterative equalization filtering and deconvolution filtering, multipath interference compensation and noise interference compensation for the return signal of the tag to be tested can be realized, thereby improving the accuracy of the tag return signal during tag authentication.
[0161] By performing signal format conversion and rank correction, the return data of the tag to be tested can be extracted, and the error and noise data in the transmission can be corrected, thereby improving the accuracy of the tag data and the efficiency of subsequent tag authentication. By performing hash authentication and data decryption, the security authentication of the tag to be tested can be achieved, and the encrypted transmission of the tag data can be achieved, reducing the risk of information leakage and improving the efficiency of tag authentication. Therefore, the tag authentication method of the UHF handheld terminal proposed in the present invention can solve the problem of low efficiency when performing UHF tag authentication.
[0162] like Figure 4 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a tag authentication method for a UHF handheld terminal provided by an embodiment of the present invention.
[0163] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a tag authentication program for a UHF handheld terminal.
[0164] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing a tag authentication program of a UHF handheld terminal, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.
[0165] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the tag authentication program of the UHF handheld terminal, etc., but also can be used to temporarily store data that has been output or is to be output.
[0166] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0167] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0168] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0169] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging power supply fault detection circuits, power converters or inverters, and power status indicators. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0170] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0171] The text analysis program based on length optimization stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0172] Using a UHF handheld terminal to send a multi-time-frequency interrogation signal to the tag to be tested, and obtaining a multi-channel return signal returned in response to the multi-time-frequency interrogation signal;
[0173] Performing time-frequency collision compensation and signal distance screening on the multi-channel return signals to obtain compensated return signals;
[0174] The compensated return signal is subjected to iterative equalization filtering and deconvolution filtering to obtain a filtered return signal, wherein the iterative equalization filtering and deconvolution filtering of the compensated return signal to obtain the filtered return signal includes: extracting sampling features of the compensated return signal to obtain a signal sampling rate; performing channel delay statistics on the compensated return signal to obtain a signal delay; performing a product operation on the signal delay extension and the signal sampling rate to obtain a filter compensation length; performing signal phase shift modulation on the compensated return signal to obtain a return signal expectation; performing signal equalization on the compensated return signal using the following iterative equalization filtering algorithm, the filter compensation length and the return signal expectation to obtain a balanced return signal: in, refers to the equalized return signal in The signal value at time means The filter vector at time t, is the conjugate transpose symbol, is the compensation return signal in The signal vector group at time, means The filter vector at time t, is the iteration step size of the iterative equalization filtering algorithm, is the modulo symbol, refers to the equalized return signal in The signal value at time refers to the return signal expectation, is the compensation return signal in The signal value at time is the compensation return signal in The signal value at time refers to the filtering compensation length, is a transposed symbol; performing deconvolution filtering on the equalized return signal to obtain a filtered return signal;
[0175] Performing signal format conversion and rank correction on the filtered return signal to obtain corrected label data;
[0176] The correction label data is subjected to hash authentication and data decryption to obtain authentication label data.
[0177] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0178] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or recording medium that can carry the computer program code, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0179] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0180] Using a UHF handheld terminal to send a multi-time-frequency interrogation signal to the tag to be tested, and obtaining a multi-channel return signal returned in response to the multi-time-frequency interrogation signal;
[0181] Performing time-frequency collision compensation and signal distance screening on the multi-channel return signals to obtain compensated return signals;
[0182] The compensated return signal is subjected to iterative equalization filtering and deconvolution filtering to obtain a filtered return signal, wherein the iterative equalization filtering and deconvolution filtering of the compensated return signal to obtain the filtered return signal includes: extracting sampling features of the compensated return signal to obtain a signal sampling rate; performing channel delay statistics on the compensated return signal to obtain a signal delay; performing a product operation on the signal delay extension and the signal sampling rate to obtain a filter compensation length; performing signal phase shift modulation on the compensated return signal to obtain a return signal expectation; performing signal equalization on the compensated return signal using the following iterative equalization filtering algorithm, the filter compensation length and the return signal expectation to obtain a balanced return signal: in, refers to the equalized return signal in The signal value at time means The filter vector at time t, is the conjugate transpose symbol, is the compensation return signal in The signal vector group at time, means The filter vector at time t, is the iteration step size of the iterative equalization filtering algorithm, is the modulo symbol, refers to the equalized return signal in The signal value at time refers to the return signal expectation, is the compensation return signal in The signal value at time is the compensation return signal in The signal value at time refers to the filtering compensation length, is a transposed symbol; performing deconvolution filtering on the equalized return signal to obtain a filtered return signal;
[0183] Performing signal format conversion and rank correction on the filtered return signal to obtain corrected label data;
[0184] The correction label data is subjected to hash authentication and data decryption to obtain authentication label data.
[0185] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0186] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0187] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0188] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0189] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0190] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0191] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application device that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0192] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices stated in the device embodiment can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A tag authentication method for a UHF handheld terminal, characterized in that: The method comprises: Use a UHF handheld terminal to send a multi-time and frequency interrogation signal to the tag to be tested, and obtain a multi-channel return signal returned to the multi-time and frequency interrogation signal, wherein the multi-time and frequency interrogation signal refers to an ultra-high frequency radio frequency signal of multiple time slots and frequency band channels; Performing time-frequency collision compensation and signal distance screening on the multi-channel return signals to obtain compensated return signals; The compensated return signal is subjected to iterative equalization filtering and deconvolution filtering to obtain a filtered return signal, wherein the iterative equalization filtering and deconvolution filtering of the compensated return signal to obtain the filtered return signal includes: extracting sampling features of the compensated return signal to obtain a signal sampling rate; performing channel delay statistics on the compensated return signal to obtain a signal delay; performing a product operation on the signal delay and the signal sampling rate to obtain a filtering compensation length; performing signal phase shift modulation on the compensated return signal to obtain a return signal expectation; performing signal equalization on the compensated return signal using the following iterative equalization filtering algorithm, the filtering compensation length and the return signal expectation to obtain a balanced return signal: in, refers to the equalized return signal in The signal value at time means The filter vector at time t, is the conjugate transpose symbol, is the compensation return signal in The signal vector group at time, means The filter vector at time t, is the iteration step size of the iterative equalization filtering algorithm, is the modulo symbol, refers to the equalized return signal in The signal value at time refers to the return signal expectation, is the compensation return signal in The signal value at time is the compensation return signal in The signal value at time refers to the filtering compensation length, is a transposed symbol; performing deconvolution filtering on the equalized return signal to obtain a filtered return signal; Performing signal format conversion and rank correction on the filtered return signal to obtain corrected label data; The correction label data is subjected to hash authentication and data decryption to obtain authentication label data.
2. The tag authentication method of the UHF handheld terminal according to claim 1, characterized in that: The method of using a UHF handheld terminal to send a multi-time-frequency inquiry signal to the tag to be tested includes: Use UHF handheld terminal to initialize inquiry command and RF activation data; Performing radio frequency communication encoding on the inquiry command and the radio frequency activation data to obtain a data signal; Performing signal frequency division on the data signal to obtain a multi-channel interrogation signal; Dividing the multi-channel interrogation signal into time slot data packets to obtain a multi-time slot interrogation signal; Organizing the multi-time slot interrogation signal into frames to obtain a multi-time frequency interrogation signal; The multi-time-frequency inquiry signal is sent to the tag to be tested using a time slot synchronization method.
3. The tag authentication method of the UHF handheld terminal according to claim 1, characterized in that: The performing time-frequency collision compensation and signal distance screening on the multi-channel return signal to obtain a compensated return signal includes: Performing frequency splitting on the multi-channel return signal to obtain a single-channel return signal group; Splitting the single-channel return signal group by time slots to obtain a single-time slot return signal group; Performing identification collision detection on the single-slot return signal group to obtain a collision return signal group; Performing tree search compensation on the collision return signal group to obtain a single-label return signal group; The single-tag return signal group is screened by positioning distance to obtain a compensated return signal.
4. The tag authentication method of the UHF handheld terminal as claimed in claim 3, characterized in that: The performing positioning distance screening on the single tag return signal group to obtain a compensation return signal includes: Extracting signal voltage intensity of the single-label return signal group to obtain a signal intensity group; Extracting signal timestamps from the single-label return signal group to obtain a signal transmission time group; The signal positioning distance group corresponding to the single tag return signal group is calculated according to the signal strength group and the signal transmission time group using the following signal positioning algorithm: in, Refers to the signal positioning distance group Signal positioning distance, is the signal index, is the logarithmic function symbol, is the preset reference signal strength, is the first Signal strength, Refers to the signal transmission time group The signal receiving time in the signal transmission time is Refers to the signal transmission time group The signal transmission time in the signal transmission time; Performing minimum value screening on the signal positioning distance group to obtain the positioning distance to be measured; The single tag return signal corresponding to the to-be-measured positioning distance in the single tag return signal is used as a compensation return signal.
5. The tag authentication method of a UHF handheld terminal as claimed in claim 1, characterized in that: The deconvolution filtering of the equalized return signal to obtain a filtered return signal includes: Perform radio frequency back-tracing on the equalized return signal to obtain a back-tracing inquiry signal; The equalized return signal is channel compensated according to the traceback query signal using the following deconvolution compensation algorithm to obtain a deconvolution return signal: in, It means that the deconvolution return signal is The signal value at time means time, refers to the equalized return signal in The signal value at time is the deconvolution symbol, It means that the traceback query signal is The signal value at time is the symbol for Euler's number, is an imaginary unit, is the symbol for pi, is the frequency symbol, is the differential symbol; The deconvolution return signal is subjected to oscillation phase filtering to obtain a filtered return signal.
6. The tag authentication method of a UHF handheld terminal as claimed in claim 1, characterized in that: The signal format conversion and rank correction of the filtered return signal to obtain the corrected label data includes: Performing power estimation on the filtered return signal to obtain a signal power value; Performing bit stream parsing on the filtered return signal to obtain a parsed bit signal; Performing data formatting on the parsed bit signal to obtain format tag data; Matrixing the formatted label data to obtain a label data matrix; Calculating the rank of the label data matrix to obtain label rank information; The format label data is rank corrected according to the label rank information and the signal power value to obtain corrected label data.
7. The tag authentication method of the UHF handheld terminal as claimed in claim 6, characterized in that: The step of performing rank correction on the formatted label data according to the label rank information and the signal power value to obtain corrected label data includes: Performing syndrome correction on the label rank information to obtain a label syndrome vector; Performing error positioning on the tag error value according to the signal power value to obtain a tag error interval; Performing error value analysis on the label error interval according to the label syndrome vector to obtain a label error value; The format label data is error corrected using the label error value to obtain corrected label data.
8. The tag authentication method of a UHF handheld terminal as claimed in claim 1, characterized in that: The performing hash authentication and data decryption on the correction label data to obtain authentication label data includes: Digest the correction label data to obtain a certified hash digest and standard label data; Salting the standard label data using a preset hash salt value to obtain salted label data; Splitting the salted label data into data blocks to obtain label data blocks; Performing a hash operation on the tag data block to obtain a verification hash summary; Performing summary authentication on the verification hash summary according to the authentication hash summary to obtain an authentication result; The standard label data is decrypted according to the authentication result to obtain authentication label data.
9. The tag authentication method of a UHF handheld terminal as claimed in claim 8, characterized in that: The step of decrypting the standard label data according to the authentication result to obtain the authentication label data comprises: Determine whether the authentication result is verification passed; If not, generate verification failure information, and use the verification failure information as the authentication tag data; If yes, then use the preset extended key to perform reverse round bit-by-bit XOR on the standard tag data to obtain XOR tag data; The XOR tag data is reversely decrypted to obtain authentication tag data.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the tag authentication method for a UHF handheld terminal as described in any one of claims 1 to 9 is implemented.
