[go: up one dir, main page]

CN108712394B - Radio frequency identification method and label - Google Patents

Radio frequency identification method and label Download PDF

Info

Publication number
CN108712394B
CN108712394B CN201810391655.4A CN201810391655A CN108712394B CN 108712394 B CN108712394 B CN 108712394B CN 201810391655 A CN201810391655 A CN 201810391655A CN 108712394 B CN108712394 B CN 108712394B
Authority
CN
China
Prior art keywords
target data
data
data packet
packet
radio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810391655.4A
Other languages
Chinese (zh)
Other versions
CN108712394A (en
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201810391655.4A priority Critical patent/CN108712394B/en
Publication of CN108712394A publication Critical patent/CN108712394A/en
Application granted granted Critical
Publication of CN108712394B publication Critical patent/CN108712394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10257Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for protecting the interrogation against piracy attacks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/77Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation

Landscapes

  • Engineering & Computer Science (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Electromagnetism (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a radio frequency identification method and a label, wherein the method comprises the following steps: receiving a wireless radio frequency request signal sent by a request end; analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal; matching the data types of a plurality of pre-stored data packets with the target data types; and determining at least one data packet to be sent with the same type as the target data from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal. The method and the system solve the problem that the traditional label only has a single function, so that the label has a multi-label function, and meanwhile, the target data type can be selected, and the method and the system have high practicability.

Description

Radio frequency identification method and label
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a radio frequency identification method and a tag.
Background
Radio frequency has been widely used in various fields, but the tag part of the traditional mode can only store single type of data to realize corresponding functions or functions. At present, the functional requirements on the label part are large, and the single label single function can not meet the requirements on the label function at present.
Disclosure of Invention
In order to solve the technical problems, the invention provides a radio frequency identification method and a tag with multiple tag functions and wide application range.
In a first aspect, the present invention provides a radio frequency identification method, including:
receiving a wireless radio frequency request signal sent by a request end;
analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
matching the data types of a plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
The radio frequency identification method provided by the embodiment of the invention can receive a wireless radio frequency request signal sent by a request end; analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal; comparing the data types of the plurality of pre-stored data with the target data type, determining at least one data packet to be sent which is the same as the target data type, and feeding back the at least one data packet to be sent which is the same as the target data type to the request terminal. The radio frequency identification method can effectively identify and judge a plurality of different data packets in the same label, and at least one data packet to be sent which is matched with a target data type is selected from the plurality of data packets of the label according to a requested radio frequency request signal, so that the single label comprises a plurality of different data packets, the application range of the label is expanded, and the radio frequency identification method has high practicability.
Further, the method further comprises:
analyzing a plurality of pre-stored data packets to obtain protocol control bytes in a header field of each data packet;
determining the data type corresponding to each data packet according to the protocol control byte;
and according to the data type, performing packet storage on the data packets.
In the above embodiment, the tag may analyze a plurality of pre-stored data packets in advance, determine a data type corresponding to each data packet according to the protocol control byte in the obtained data packet header field, and store the data packets of which the data types are determined in a packet manner. The label analyzes and acquires the type of the stored data packet in advance, and the corresponding efficiency of the label is improved to a certain extent.
In a second aspect, an embodiment of the present invention provides a radio frequency identification tag, including a signal receiving module, a signal analyzing module, and a type determining module;
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for matching the data types of a plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
The radio frequency identification tag provided by the embodiment of the invention can receive a wireless radio frequency request signal sent by a request end; analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal; comparing the data types of the plurality of pre-stored data with the target data type, determining at least one data packet to be sent which is the same as the target data type, and feeding back the at least one data packet to be sent which is the same as the target data type to the request terminal. The radio frequency identification method can effectively identify and judge a plurality of different data packets in the same label, and at least one data packet to be sent which is matched with a target data type is selected from the plurality of data packets of the label according to a requested radio frequency request signal, so that the single label comprises a plurality of different data packets, the application range of the label is expanded, and the radio frequency identification method has high practicability.
Further, the tag is further configured to parse a plurality of pre-stored data packets, and obtain a protocol control byte in a header field of each data packet;
determining the data type corresponding to each data packet according to the protocol control byte;
and according to the data type, performing packet storage on the data packets.
In the above embodiment, the tag may analyze a plurality of pre-stored data packets in advance, determine a data type corresponding to each data packet according to the protocol control byte in the obtained data packet header field, and store the data packets of which the data types are determined in a packet manner. The label analyzes and acquires the type of the stored data packet in advance, and the corresponding efficiency of the label is improved to a certain extent.
Drawings
Fig. 1 is a schematic flow chart of a radio frequency identification method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of another RFID method provided by an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another RFID method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of another RFID method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of another RFID method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of another RFID method according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an RFID tag according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an rfid system according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, interfaces, techniques, etc., in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
Fig. 1 is a schematic flow chart of a radio frequency identification method according to an embodiment of the present invention. As shown in fig. 1, the specific implementation steps of the radio frequency identification method provided by the present invention are as follows:
step 100: receiving a wireless radio frequency request signal sent by a request end;
wherein: the wireless radio frequency request signal is sent by a request terminal and is used for acquiring target data, and the wireless radio frequency request signal is energy in a form and can be used for determining the strength of the wireless request signal;
step 200: analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
wherein: each wireless radio frequency request signal sent by the request end corresponds to a certain data type, the data type information is selected when the request end generates a wireless request signal, and each wireless radio frequency request signal only corresponds to one data type;
step 300: matching the data types of a plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
Wherein: the plurality of data packets are pre-stored and correspond to a plurality of different data types, each data type can correspond to a plurality of different data packets, at least one data packet with the same data type as the target data type in the pre-stored data packets is selected as a data packet to be sent, and the data packet is sent to the request end.
In the above embodiment, a radio frequency request signal sent by a request end is received; analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal; and matching the data types of the plurality of pre-stored data packets with the target data type, determining at least one data packet of the same type as the target data type, selecting the at least one data packet of the same type as the target data type as a data packet to be sent, and feeding back the data packet to be sent to the request terminal. The radio frequency identification method can effectively identify and judge a plurality of different data packets in the same label, at least one target data packet matched with a target data type is selected from the plurality of data packets of the label according to a requested radio frequency request signal, and meanwhile, the single label comprises the plurality of data packets, so that the application range of the label is expanded.
On the basis of the embodiment corresponding to fig. 1, the following modifications are made, and fig. 2 is shown in detail. Fig. 2 is a schematic flow chart of another radio frequency identification method according to an embodiment of the present invention. As shown in fig. 2, the specific implementation steps of the radio frequency identification method provided by the present invention are as follows:
step 100: receiving a wireless radio frequency request signal sent by a request end;
wherein: the wireless radio frequency request signal is sent by a request terminal and is used for acquiring target data, and the wireless radio frequency request signal is energy in a form and can be used for determining the strength of the wireless request signal;
step 200: analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
wherein: each wireless radio frequency request signal sent by the request end corresponds to a certain data type, the data type information is selected when the request end generates a wireless request signal, and each wireless radio frequency request signal only corresponds to one data type;
step 310: analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
step 320: and determining at least one data packet to be sent with the same type as the target data from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
Wherein: the plurality of data packets are pre-stored and correspond to a plurality of different data types, each data type can correspond to a plurality of different data packets, at least one data packet with the same data type as the target data type in the pre-stored data packets is selected as a data packet to be sent, and the data packet is sent to the request end.
In the above embodiment, data character strings corresponding to all data types can be acquired by parsing a plurality of pre-stored data packets, a target data character string can be acquired after parsing a target data type, a data character string completely identical to the target data character string can be determined by comparing each acquired data character string with the target data character string one by one, and a data packet identical to a requested target data type and corresponding to the data type can be determined. By comparing the target data character string of the target data type with the data character string corresponding to the data type of the pre-stored data packet, the data packet with the same type as the requested target data type can be accurately determined, and the accuracy of acquiring the requested target data is ensured.
On the basis of the corresponding embodiment of fig. 2, the following modifications are made, and fig. 3 is shown in detail. Fig. 3 is a schematic flow chart of another radio frequency identification method according to an embodiment of the present invention. As shown in fig. 3, the specific implementation steps of the radio frequency identification method provided by the present invention are as follows:
step 100: receiving a wireless radio frequency request signal sent by a request end;
wherein: the wireless radio frequency request signal is sent by a request terminal and is used for acquiring target data, and the wireless radio frequency request signal is energy in a form and can be used for determining the strength of the wireless request signal;
step 200: analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
wherein: each wireless radio frequency request signal sent by the request end corresponds to a certain data type, the data type information is selected when the request end generates a wireless request signal, and each wireless radio frequency request signal only corresponds to one data type;
step 310: analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
step 321: determining at least one target data packet of the same type as the target data from the plurality of data packets;
step 322: analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of the target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to a request end;
step 323: and feeding back the screened first target data packet to the request end.
Wherein: the plurality of data packets are pre-stored, correspond to a plurality of different data types, each data type can correspond to a plurality of different data packets, at least one data packet with the same data type as the target data type in the pre-stored data packets is selected as a first target data packet, and the first target data packet is sent to the request end.
In the above embodiment, through parsing the requested target data packet, the information field corresponding to the target data packet in step 310 may be extracted, the data length of the requested target data may be determined according to information in the information field, during parsing of at least one target data packet, the target data length of the data packet requested by the radio frequency request signal may also be obtained, through comparison between the data length and the target data length, a data packet having the same length as the requested target data length may be determined, and through comparison between the requested target data length and the data length corresponding to the screened data packet, it may be further determined whether the screened data packet is the requested target data packet, thereby effectively ensuring accuracy of the finally screened data packet.
On the basis of the embodiment corresponding to fig. 3, the following modifications are made, and fig. 4 is shown in detail. Fig. 4 is a schematic flow chart of another radio frequency identification method according to an embodiment of the present invention. As shown in fig. 4, the specific implementation steps of the radio frequency identification method provided by the present invention are as follows:
step 100: receiving a wireless radio frequency request signal sent by a request end;
wherein: the wireless radio frequency request signal is sent by a request terminal and is used for acquiring target data, and the wireless radio frequency request signal is energy in a form and can be used for determining the strength of the wireless request signal;
step 200: analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
wherein: each wireless radio frequency request signal sent by the request end corresponds to a certain data type, the data type information is selected when the request end generates a wireless request signal, and each wireless radio frequency request signal only corresponds to one data type;
step 310: analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
step 321: determining at least one target data packet of the same type as the target data from the plurality of data packets;
step 322: analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of the target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to a request end;
step 3225: packaging the first target data packet, and simultaneously writing the quantity value of the first target data packet;
when the first target data packet is packaged, the quantity value of the first target data packet is written, and better data support can be provided for a request end to determine whether the received data packet has packet loss;
step 323: feeding back at least one target data packet to the request end;
wherein: the plurality of data packets are pre-stored, correspond to a plurality of different data types, each data type can correspond to a plurality of different data packets, at least one data packet with the same data type as the target data type in the pre-stored data packets is selected as a first target data packet, and the first target data packet is sent to the request end.
In the above embodiment, when the first target data packet is encapsulated, the number value of the first target data packet is written in, so that a better data support can be provided for the request end to determine whether the received data packet has a packet loss, the accuracy of the final data packet is ensured, and the accuracy and the integrity of the finally obtained data packet are ensured.
On the basis of the embodiment corresponding to fig. 4, the following modifications are made, and fig. 5 is shown in detail. Fig. 5 is a schematic flow chart of another rfid method according to an embodiment of the present invention. As shown in fig. 5, the specific implementation steps of the radio frequency identification method provided by the present invention are as follows:
step 100: receiving a wireless radio frequency request signal sent by a request end;
wherein: the wireless radio frequency request signal is sent by a request terminal and is used for acquiring target data, and the wireless radio frequency request signal is energy in a form and can be used for determining the strength of the wireless request signal;
step 200: analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
wherein: each wireless radio frequency request signal sent by the request end corresponds to a certain data type, the data type information is selected when the request end generates a wireless request signal, and each wireless radio frequency request signal only corresponds to one data type;
step 310: analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
step 321: determining at least one target data packet of the same type as the target data from the plurality of data packets;
step 322: analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of the target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to a request end;
step 3225: packaging the first target data packet, and simultaneously writing the quantity value of the first target data packet;
when the first target data packet is packaged, the quantity value of the first target data packet is written, and better data support can be provided for a request end to determine whether the received data packet has packet loss;
step 323: and feeding back at least one target data packet to the request end.
Wherein: the method comprises the steps that a plurality of data packets are pre-stored and correspond to a plurality of different data types, each data type can correspond to a plurality of different data packets, at least one data packet with the same data type as a target data type in the pre-stored data packets is selected as a first target data packet, and the first target data packet is sent to a request end;
step 400: receiving a packet loss value returned by the request end, if the packet loss value is not equal to zero, sending a signal for discarding the first target data packet to the request end, and resending the first target data packet to the request end until the received packet loss value is equal to zero;
the packet loss value is a difference value between the number value of the first target data packet actually received by the request end and the number value written in the packaging process.
In the above embodiment, the request end decapsulates the received encapsulated file, counts the number value of the decapsulated target data, compares the counted number value with the written number value, determines a difference between the number value of the first target data packet actually received by the request end and the number value written in the encapsulation process, that is, a packet loss value, feeds back the packet loss value to the tag, and when the packet loss value is not equal to zero, the tag sends a signal for discarding the first target data packet to the request end, and resends the first target data packet to the request end until the received packet loss value is equal to zero. The accuracy and the integrity of the data packets finally obtained by the request end are ensured through the verification of the difference value between the number value of the first target data packets actually received by the request end and the number value written in the packaging process.
On the basis of the embodiment corresponding to fig. 1, the following modifications are made, and fig. 6 is shown in detail. Fig. 6 is a schematic flow chart of another rfid method according to an embodiment of the present invention. As shown in fig. 6, the specific implementation steps of the radio frequency identification method provided by the present invention are as follows:
step 100: receiving a wireless radio frequency request signal sent by a request end;
wherein: the wireless radio frequency request signal is sent by a request terminal and is used for acquiring target data, and the wireless radio frequency request signal is energy in a form and can be used for determining the strength of the wireless request signal;
step 200: analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
wherein: each wireless radio frequency request signal sent by the request end corresponds to a certain data type, the data type information is selected when the request end generates a wireless request signal, and each wireless radio frequency request signal only corresponds to one data type;
step 210: analyzing a plurality of pre-stored data packets to obtain protocol control bytes in a header field of each data packet;
determining the data type corresponding to each data packet according to the protocol control byte;
according to the data type, grouping and storing a plurality of data packets;
wherein: protocol control bytes in a header field obtained by analyzing a plurality of prestored data packets can better and more accurately group the data types of the plurality of prestored data packets, so that the efficiency of acquiring data in the label can be improved to a certain extent, and the identification process is simplified;
step 300: matching the data types of a plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
Wherein: the plurality of data packets are pre-stored, correspond to a plurality of different data types, each data type can correspond to a plurality of different data packets, at least one data packet with the same data type as the target data type in the pre-stored data packets is selected as a first target data packet, and the first target data packet is sent to the request end.
In the above embodiment, the tag may parse a plurality of pre-stored data packets to obtain protocol control bytes in header fields of the plurality of data packets, determine a data type corresponding to the data packets through the protocol control bytes, and directly obtain the data packets after packet storage after receiving the radio frequency request signal from the request end, so that a data obtaining and identifying process is simplified, and data packet obtaining efficiency is improved.
On the basis of the radio frequency identification method provided in fig. 1 to 6, a radio frequency identification tag is also provided, and is shown in detail in fig. 7. The radio frequency identification tag comprises a signal receiving module, a signal analyzing module and a type judging module;
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for matching the data types of the plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
In the above embodiment, a radio frequency request signal sent by a request end is received; analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal; and matching the data types of the plurality of pre-stored data packets with the target data type, determining at least one data packet of the same type as the target data type, selecting the at least one data packet of the same type as the target data type as a data packet to be sent, and feeding the target data packet back to the request terminal. The radio frequency identification method can effectively identify and judge a plurality of different data packets in the same label, at least one data packet to be sent which is matched with a target data type is selected from the plurality of data packets of the label according to a requested radio frequency request signal, and meanwhile, the single label comprises the plurality of data packets, so that the application range of the label is expanded.
On the basis of the above embodiment, the following improvements are also made:
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
and determining at least one data packet to be sent with the same type as the target data from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
In the above embodiment, data character strings corresponding to all data types can be acquired by parsing a plurality of pre-stored data packets, a target data character string can be acquired after parsing a target data type, a data character string completely identical to the target data character string can be determined by comparing each acquired data character string with the target data character string one by one, and a data packet identical to a requested target data type and corresponding to the data type can be determined. By comparing the target data character string of the target data type with the data character string corresponding to the data type of the pre-stored data packet, the data packet with the same type as the requested target data type can be accurately determined, and the accuracy of acquiring the requested target data is ensured.
On the basis of the above embodiment, the following improvements are also made:
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
determining at least one target data packet of the same type as the target data from the plurality of data packets;
analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of the target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to a request end;
and feeding back the screened first target data packet to the request end.
In the above embodiment, an information field corresponding to a target data packet can be extracted by parsing the requested target data packet, the data length of the requested target data can be determined according to information in the information field, the target data length of the data packet requested by the wireless radio frequency request signal can be further obtained in the process of parsing at least one target data packet, a data packet with the same length as the requested target data length can be determined by comparing the data length with the target data length, and whether the screened data packet is the requested target data packet can be further determined by comparing the requested target data length with the data length corresponding to the screened data packet, thereby effectively ensuring the accuracy of the finally screened data packet.
On the basis of the above embodiment, the following improvements are also made:
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
determining at least one target data packet of the same type as the target data from the plurality of data packets;
analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of the target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to a request end;
packaging the first target data packet, and simultaneously writing the quantity value of the first target data packet;
when the first target data packet is packaged, the quantity value of the first target data packet is written, and better data support can be provided for a request end to determine whether the received data packet has packet loss;
and feeding back at least one target data packet to the request end.
In the above embodiment, when the first target data packet is encapsulated, the number value of the first target data packet is written in, so that a better data support can be provided for the request end to determine whether the received data packet has a packet loss, the accuracy of the final data packet is ensured, and the accuracy and the integrity of the finally obtained data packet are ensured.
On the basis of the above embodiment, the following improvements are also made:
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for analyzing the data types of the data packets to obtain data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with a target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target character strings, determining that the data type of a pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
determining at least one target data packet of the same type as the target data from the plurality of data packets;
analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of the target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to a request end;
packaging the first target data packet, and simultaneously writing the quantity value of the first target data packet;
when the first target data packet is packaged, the quantity value of the first target data packet is written, and better data support can be provided for a request end to determine whether the received data packet has packet loss;
feeding back at least one target data packet to a request end;
receiving a packet loss value returned by the request end, if the packet loss value is not equal to zero, sending a signal for discarding the first target data packet to the request end, and resending the first target data packet to the request end until the received packet loss value is equal to zero;
the packet loss value is a difference value between the number value of the first target data packet actually received by the request end and the number value written in the packaging process.
In the above embodiment, the request end decapsulates the received encapsulated file, counts the number value of the decapsulated target data, compares the counted number value with the written number value, determines a difference between the number value of the first target data packet actually received by the request end and the number value written in the encapsulation process, that is, a packet loss value, feeds back the packet loss value to the tag, and when the packet loss value is not equal to zero, the tag sends a signal for discarding the first target data packet to the request end, and resends the first target data packet to the request end until the received packet loss value is equal to zero. The accuracy and the integrity of the data packets finally obtained by the request end are ensured through the verification of the difference value between the number value of the first target data packets actually received by the request end and the number value written in the packaging process.
On the basis of the above embodiment, the following improvements are also made:
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
analyzing a plurality of pre-stored data packets to obtain protocol control bytes in a header field of each data packet;
determining the data type corresponding to each data packet according to the protocol control byte;
according to the data type, grouping and storing a plurality of data packets;
the type judging module is used for matching the data types of the plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
In the above embodiment, the tag may parse a plurality of pre-stored data packets to obtain protocol control bytes in header fields of the plurality of data packets, determine a data type corresponding to the data packets through the protocol control bytes, and directly obtain the data packets after packet storage after receiving the radio frequency request signal from the request end, so that a data obtaining and identifying process is simplified, and data packet obtaining efficiency is improved.
The present invention also provides a radio frequency identification system, as shown in detail in fig. 8. The radio frequency identification system comprises a request terminal and a tag;
the request terminal is used for generating and sending a wireless radio frequency request signal to the tag;
the tag is used for receiving a wireless radio frequency request signal sent by a request end;
analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
matching the data types of a plurality of pre-stored data packets with the target data types;
and determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal.
The present invention also provides a storage medium having stored thereon program instructions which, when executed by a processor, implement the method of any of the embodiments corresponding to fig. 1 to 6.
The reader should understand that in the description of this specification, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A radio frequency identification method, the method comprising:
receiving a wireless radio frequency request signal sent by a request end;
analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
matching the data types of a plurality of pre-stored data packets with the target data types;
determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal;
the matching of the data types of the plurality of pre-stored data packets with the target data type specifically includes:
analyzing the data types of the data packets to acquire data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with the target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target data character strings, determining that the data type of the pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
the feeding back of the at least one data packet to be sent to the request terminal specifically includes:
analyzing each data packet to be sent, extracting information fields corresponding to the data packets to be sent one by one, and determining the data length in each information field;
in the process of analyzing the at least one data packet to be sent, a field which is contained in the radio frequency request signal and is related to the length of the requested target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to the request terminal;
and feeding back the first target data packet to the request end.
2. The radio frequency identification method according to claim 1, wherein before feeding back the first target packet to the requesting end, the method further comprises: and packaging the first target data packet, and simultaneously writing the number value of the first target data packet.
3. The radio frequency identification method according to claim 2, further comprising, after feeding back the first target packet to the requesting end:
receiving a packet loss value returned by the request end, if the packet loss value is not equal to zero, sending a signal for discarding the first target data packet to the request end, and resending the first target data packet to the request end until the received packet loss value is equal to zero;
the packet loss value is a difference value between the number value of the first target data packet actually received by the request terminal and the number value written in the encapsulation process.
4. A radio frequency identification tag is characterized by comprising a signal receiving module, a signal analyzing module and a type judging module;
the signal receiving module is used for receiving a wireless radio frequency request signal sent by a request end;
the signal analysis module is used for analyzing the received wireless radio frequency request signal to acquire a target data type requested by the wireless radio frequency request signal;
the type judging module is used for matching the data types of a plurality of pre-stored data packets with the target data types;
determining at least one data packet to be sent which is successfully matched with the target data type from the plurality of data packets, and feeding back the at least one data packet to be sent to the request terminal;
the signal analysis module is used for analyzing the data types of the data packets to acquire data character strings corresponding to the data types of the data packets;
analyzing the target data type to obtain a target data character string corresponding to the target data type;
matching each acquired data character string with the target data character string one by one, and if the composition and the sequence of the characters in the data character strings are completely the same as those in the target data character strings, determining that the data type of the pre-stored data packet is successfully matched with the target data type; otherwise, the matching fails;
the type judging module is used for analyzing each data packet to be sent, extracting information fields corresponding to the target data packet one by one and determining the data length in each information field;
in the process of analyzing the at least one data packet to be sent, a field which is requested by the radio frequency request signal and is related to the length of target data is also obtained, and the length of the target data is determined according to the related field;
comparing the data length of each data packet to be sent with the target data length one by one, screening a first target data packet with the same length as the target data length, and taking the screened first target data packet as a target data packet fed back to the request terminal;
and feeding back the first target data packet to the request end.
5. The RFID tag of claim 4, wherein the type determining module is further configured to encapsulate the first target data packet and write a number value of the first target data packet;
receiving a packet loss value returned by the request end, if the packet loss value is not equal to zero, sending a signal for discarding the first target data packet to the request end, and resending the first target data packet to the request end until the received packet loss value is equal to zero;
the packet loss value is a difference value between the number value of the first target data packet actually received by the request terminal and the number value written in the encapsulation process.
6. A computer readable storage medium having stored thereon program instructions, characterized in that the program instructions, when executed by a processor, implement the method of any of claims 1 to 3.
CN201810391655.4A 2018-04-26 2018-04-26 Radio frequency identification method and label Active CN108712394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810391655.4A CN108712394B (en) 2018-04-26 2018-04-26 Radio frequency identification method and label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810391655.4A CN108712394B (en) 2018-04-26 2018-04-26 Radio frequency identification method and label

Publications (2)

Publication Number Publication Date
CN108712394A CN108712394A (en) 2018-10-26
CN108712394B true CN108712394B (en) 2021-10-08

Family

ID=63867510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810391655.4A Active CN108712394B (en) 2018-04-26 2018-04-26 Radio frequency identification method and label

Country Status (1)

Country Link
CN (1) CN108712394B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111846458B (en) * 2020-07-14 2021-09-28 欧力德(苏州)物流系统工程有限公司 Full-automatic carton wrapping system and using method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593286A (en) * 2008-05-27 2009-12-02 晨星软件研发(深圳)有限公司 A radio frequency identification tag and identification method
CN102567614A (en) * 2010-12-07 2012-07-11 重庆微海软件开发有限公司 Ultrasonic treatment equipment consumable management system and method thereof
CN104350513A (en) * 2013-07-26 2015-02-11 华为终端有限公司 Method and device for identifying label
CN104598625A (en) * 2015-02-04 2015-05-06 中国人民解放军总后勤部军事交通运输研究所 Data table storage method based on automatic identification identifier
CN106886727A (en) * 2015-12-15 2017-06-23 江苏稻源微电子有限公司 A kind of method of ultrahigh frequency electronic tag memory batch write-in
CN106886734A (en) * 2015-12-15 2017-06-23 江苏稻源微电子有限公司 A kind of ultrahigh frequency RFID electronic tag quick counting, the method for read-write

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799847B (en) * 2012-07-04 2015-07-15 清华大学 Interactive toy based on object identity radio frequency identification (RFID)
US8803666B2 (en) * 2012-07-10 2014-08-12 Honeywell International Inc. Universal access device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593286A (en) * 2008-05-27 2009-12-02 晨星软件研发(深圳)有限公司 A radio frequency identification tag and identification method
CN102567614A (en) * 2010-12-07 2012-07-11 重庆微海软件开发有限公司 Ultrasonic treatment equipment consumable management system and method thereof
CN104350513A (en) * 2013-07-26 2015-02-11 华为终端有限公司 Method and device for identifying label
CN104598625A (en) * 2015-02-04 2015-05-06 中国人民解放军总后勤部军事交通运输研究所 Data table storage method based on automatic identification identifier
CN106886727A (en) * 2015-12-15 2017-06-23 江苏稻源微电子有限公司 A kind of method of ultrahigh frequency electronic tag memory batch write-in
CN106886734A (en) * 2015-12-15 2017-06-23 江苏稻源微电子有限公司 A kind of ultrahigh frequency RFID electronic tag quick counting, the method for read-write

Also Published As

Publication number Publication date
CN108712394A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
EP2868045B1 (en) A method of and network server for detecting data patterns in an input data stream
CN106612306A (en) Data sharing method and device of virtual machine
CN112580730B (en) Terminal type identification method and device
CN111294792A (en) Buffer status reporting method, terminal and computer storage medium
CN108512898A (en) File push method, apparatus, computer equipment and storage medium
CN115314319B (en) Network asset identification method and device, electronic equipment and storage medium
CN115242896B (en) Dynamic message parsing method and device, electronic equipment and computer readable storage medium
CN109981475B (en) Data transmitting, receiving and transmitting method, device, system and readable storage medium
CN106210032A (en) The method and device reported based on terminal data batch
CN108712394B (en) Radio frequency identification method and label
CN101304342A (en) An Enhanced Ethernet Interface Device
CN111935104A (en) Internet of things equipment illegal access detection method and device and computer equipment
US20120112889A1 (en) Operation method of an rfid tag, operation method of an rfid reader, rfid tag, and rfid reader
CN109977328A (en) A kind of URL classification method and device
CN107733875A (en) A kind of data transmission method and system
CN115474164B (en) Bluetooth broadcast filtering method and system
US20180307415A1 (en) Optimizing access to universal integrated circuit card (uicc) files in a user equipment (ue)
CN116708609A (en) Method and device for extracting text character data, storage medium and electronic device
CN108063692B (en) Method for recognizing flux and device
CN116506499A (en) Data transmission method and device and electronic equipment
CN102946449A (en) Uniform resource locator (URL) matching method, device and gateway
CN112181670A (en) Inter-process communication method and device and Linux equipment
CN115604183A (en) A message processing method, device, network equipment and storage medium
CN116414739A (en) Method and device for sending target configuration message, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant