Method and apparatus for identifying tags

By receiving and processing the target tag fusion sequence, identifying the target tag sequence in the tag sequence set, solving the problem of waste of communication resources and low efficiency when identifying multiple electronic tags, and achieving more efficient tag recognition.

CN112288060BActive Publication Date: 2025-02-21BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011237844.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-09
Publication Date
2025-02-21
Estimated Expiration
2040-11-09

AI Technical Summary

Technical Problem

The prior art has problems of wasting communication resources and low recognition efficiency when identifying multiple electronic tags.

Method used

By receiving the target tag fusion sequence, a set of tag sequences containing each tag sequence in a preset number of target tag sequences is obtained, and for each preset number of tag sequences in the tag sequence set, utilizing the preset is detected. The fusion sequence generated by the number of tag sequences and sequence operations is the same as the target tag fusion sequence, and the preset number of tag sequences is determined to be the target tag sequence.

Benefits of technology

This method can obtain and identify multiple tag sequences as a whole, reduce communication between the server and the tag sequence acquisition device, save communication resources, and improve the efficiency of identifying tags.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112288060B_ABST
    Figure CN112288060B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for identifying tags, and relates to the field of information identification technology. The method includes: receiving a target tag fusion sequence, wherein the target tag fusion sequence is generated using a preset number of target tag sequences and sequence operations; obtaining a tag sequence set containing each tag sequence in the preset number of target tag sequences; for each preset number of tag sequences in the tag sequence set, in response to detecting that a fusion sequence generated using the preset number of tag sequences and sequence operations is the same as the target tag fusion sequence, determining that the preset number of tag sequences is the target tag sequence. The use of this method can improve the efficiency of identifying tags and save communication resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, specifically to the field of information identification technology, and more particularly to a method and device for identifying tags. Background Art

[0002] Electronic tags are tags that use radio frequency signals to achieve contactless identification and are widely used in many fields such as commercial automation, industrial automation, and logistics transmission. At present, the method of identifying multiple electronic tags is to use a reader or other device to identify multiple electronic tags one by one.

[0003] However, the method of identifying multiple electronic tags one by one has the problems of wasting communication resources and low identification efficiency. Summary of the invention

[0004] The present disclosure provides a method, an apparatus, an electronic device, and a computer-readable storage medium for identifying a tag.

[0005] According to a first aspect of the present disclosure, a method for identifying a tag is provided, comprising: receiving a target tag fusion sequence, wherein the target tag fusion sequence is generated using a preset number of target tag sequences and a sequence operation; obtaining a tag sequence set including each tag sequence in the preset number of target tag sequences; for each preset number of tag sequences in the tag sequence set, in response to detecting that a fusion sequence generated using the preset number of tag sequences and the sequence operation is the same as the target tag fusion sequence, determining that the preset number of tag sequences are target tag sequences.

[0006] In some embodiments, the method further includes: searching for corresponding target information in a database using the target tag sequence, and presenting the target information.

[0007] In some embodiments, for each preset number of label sequences in a label sequence set, in response to detecting that a fusion sequence generated using the preset number of label sequences and sequence operations is the same as a target label fusion sequence, the preset number of label sequences are determined to be target label sequences, including: using all label sequences in the label sequence set and sequence operations to generate a global label fusion sequence; determining useless label sequences in the label sequence set that cannot be used to generate the target label fusion sequence based on the difference between the global label fusion sequence and the target label fusion sequence; in response to determining that the number of remaining label sequences in the label sequence set after removing the useless label sequences is a preset number, determining the remaining label sequences to be target label sequences.

[0008] In some embodiments, the label sequence includes a binary label sequence, and all label sequences in a label sequence set and sequence operations are used to generate a global label fusion sequence, including: performing the following processing on the value of each bit sequence in a first preset sequence: in response to detecting that there is a label sequence in the label sequence set whose value on the bit sequence is a first value, determining that the value on the bit sequence in the first preset sequence is the first value; or, in response to detecting that there is no label sequence in the label sequence set whose value on the bit sequence is the first value, determining that the value on the bit sequence in the first preset sequence is the second value; and determining the processed first preset sequence as a global label fusion sequence.

[0009] In some embodiments, based on the difference between the global label fusion sequence and the target label fusion sequence, a useless label sequence in the label sequence set that cannot be used to generate the target label fusion sequence is determined, including: in response to detecting that the first bit sequence in the global label fusion sequence is a first numerical value, and the first bit sequence in the target label fusion sequence is a second numerical value, determining the label sequence whose first bit sequence in the label sequence set is the first numerical value as a useless label sequence; or, in response to detecting that the second bit sequence in the global label fusion sequence is a second numerical value, and the second bit sequence in the target label fusion sequence is the first numerical value, determining that there is a false label sequence in the target label sequence; wherein the first numerical value is used to characterize that there is response information for the label sequence at the corresponding bit sequence, and the second numerical value is used to characterize that there is no response information for the label sequence at the corresponding bit sequence.

[0010] In some embodiments, the method further includes: in response to determining that the number of remaining tag sequences in the tag sequence set after removing useless tag sequences is less than a preset number, determining that false tag sequences exist in the preset number of target tag sequences.

[0011] According to a second aspect of the present disclosure, a method for generating a fusion tag is provided, which is applied to a reader, comprising: in response to receiving a tag identification instruction, sending a tag acquisition instruction to an electronic tag; receiving multiple target tag sequences returned based on the tag acquisition instruction, and using the multiple target tag sequences and sequence operations to generate a target tag fusion sequence; sending the target tag fusion sequence to a server.

[0012] In some embodiments, the target label sequence includes a binary label sequence, and a target label fusion sequence is generated using multiple target label sequences and sequence operations, including: performing the following processing on the value of each bit sequence in the second preset sequence: in response to detecting that there is a label sequence whose value on the bit sequence is a first value among multiple target label sequences, determining that the value on the bit sequence in the second preset sequence is the first value; or, in response to detecting that there is a label sequence whose value on the bit sequence is a second value among multiple target label sequences, determining that the value on the bit sequence in the second preset sequence is the second value; and determining the processed second preset sequence as the target label fusion sequence.

[0013] In some embodiments, sending a tag acquisition instruction to an electronic tag includes: sending verification information to the electronic tag instructing a verification reader; receiving a tag code returned by the electronic tag based on the verification information; querying feedback information based on the tag code, and sending the feedback information to the electronic tag; receiving multiple target tag sequences returned based on the tag acquisition instruction, including: receiving multiple target tag sequences returned based on the feedback information.

[0014] According to a third aspect of the present disclosure, a method for sending tags is provided, which is applied to electronic tags, and includes: in response to receiving a tag acquisition instruction, sending a target tag sequence to a reader, wherein a plurality of target tag sequences are used to generate a target tag fusion sequence.

[0015] In some embodiments, in response to receiving a tag acquisition instruction, sending a target tag sequence to a reader includes: in response to receiving verification information, sending a tag code to the reader; receiving feedback information returned by the reader based on the tag code; in response to determining that the feedback information meets the verification pass condition, sending the target tag sequence to the reader.

[0016] According to a fourth aspect of the present disclosure, there is provided an apparatus for identifying tags, which is applied to a server and includes: a first receiving unit, configured to receive a target tag fusion sequence, wherein the target tag fusion sequence is generated using a preset number of target tag sequences and sequence operations; an acquiring unit, configured to acquire a tag sequence set including each tag sequence in the preset number of target tag sequences; and an identifying unit, configured to, for each preset number of tag sequences in the tag sequence set, determine that the preset number of tag sequences are target tag sequences in response to detecting that a fusion sequence generated using the preset number of tag sequences and sequence operations is the same as the target tag fusion sequence.

[0017] In some embodiments, the apparatus further comprises: a presentation unit configured to use the target tag sequence to search for corresponding target information in a database, and present the target information.

[0018] In some embodiments, the identification unit includes: a first generation module, configured to use all label sequences in the label sequence set and sequence operations to generate a global label fusion sequence; a screening module, configured to determine, based on the difference between the global label fusion sequence and the target label fusion sequence, useless label sequences in the label sequence set that cannot be used to generate the target label fusion sequence; and an identification module, configured to determine that the number of remaining label sequences after removing the useless label sequences in the label sequence set is a preset number, in response to determining that the remaining label sequence is a target label sequence.

[0019] In some embodiments, the label sequence includes a binary label sequence, and the first generation module includes: a first value determination module, configured to perform the following processing on the value of each bit sequence in the first preset sequence: in response to detecting that there is a label sequence in the label sequence set whose value on the bit sequence is the first value, determining that the value on the bit sequence in the first preset sequence is the first value; or, a second value determination module, configured to determine that the value on the bit sequence in the first preset sequence is the second value in response to detecting that there is no label sequence in the label sequence set whose value on the bit sequence is the first value; a global label fusion sequence determination module, configured to determine the processed first preset sequence as a global label fusion sequence.

[0020] In some embodiments, the screening module includes: a useless label determination module, configured to determine the label sequence whose first sequence in the label sequence set is the first value as a useless label sequence in response to detecting that the first sequence in the global label fusion sequence is the first value and the first sequence in the target label fusion sequence is the second value; or, a first false label determination module, configured to determine that there is a false label sequence in the target label sequence in response to detecting that the second sequence in the global label fusion sequence is the second value and the second sequence in the target label fusion sequence is the first value; wherein the first value is used to characterize the presence of response information in the corresponding sequence of the label sequence, and the second value is used to characterize the absence of response information in the corresponding sequence of the label sequence.

[0021] In some embodiments, the apparatus further comprises: a second false label determination module configured to determine that false label sequences exist in a preset number of target label sequences in response to determining that the number of remaining label sequences after removing useless label sequences in the label sequence set is less than a preset number.

[0022] According to a fifth aspect of the present disclosure, there is provided an apparatus for generating a fusion tag, which is applied to a reader and includes: a tag acquisition instruction sending module, which is configured to send a tag acquisition instruction to an electronic tag in response to receiving a tag identification instruction; a second generating module, which is configured to receive a plurality of target tag sequences returned based on the tag acquisition instruction, and to generate a target tag fusion sequence using the plurality of target tag sequences and sequence operations; and a target tag fusion sequence sending module, which is configured to send the target tag fusion sequence to a server.

[0023] In some embodiments, the target label sequence includes a binary label sequence, and the second generation module includes: a third value determination module, configured to perform the following processing on the value of each bit sequence in the second preset sequence: in response to detecting that there is a label sequence with a first value on the bit sequence among multiple target label sequences, determining that the value on the bit sequence in the second preset sequence is the first value; or, a fourth value determination module, configured to determine that the value on the bit sequence in the second preset sequence is the second value in response to detecting that there is a label sequence with a second value on the bit sequence among multiple target label sequences; a target label fusion sequence determination module, configured to determine the processed second preset sequence as the target label fusion sequence.

[0024] In some embodiments, the tag acquisition instruction sending module includes: a verification information sending module, configured to send verification information to the electronic tag instructing the verification reader; a code receiving module, configured to receive the tag code returned by the electronic tag based on the verification information; a feedback information sending module, configured to query feedback information based on the tag code and send feedback information to the electronic tag; a second generation module, including: a generation sub-module, configured to receive multiple target tag sequences returned based on the feedback information.

[0025] According to a sixth aspect of the present disclosure, there is provided a device for sending tags, which is applied to electronic tags and includes: a tag acquisition instruction receiving module, which is configured to send a target tag sequence to a reader in response to receiving a tag acquisition instruction, wherein multiple target tag sequences are used to generate a target tag fusion sequence.

[0026] In some embodiments, the tag acquisition instruction receiving module includes: a code sending module, configured to send a tag code to a reader in response to receiving verification information; a feedback information receiving module, configured to receive feedback information returned by the reader based on the tag code; and a tag sequence sending module, configured to send a target tag sequence to the reader in response to determining that the feedback information meets the verification pass condition.

[0027] According to the seventh aspect of the present disclosure, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, so that the one or more processors implement the method provided in the first aspect or the second aspect.

[0028] According to an eighth aspect of the present disclosure, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method provided in the first aspect or the second aspect is implemented.

[0029] The present disclosure provides a method and device for identifying tags. The server receives a preset number of target tag sequences and a target tag fusion sequence generated by sequence operation, obtains a tag sequence set including each tag sequence in the preset number of target tag sequences, and for each preset number of tag sequences in the tag sequence set, when it is detected that the fusion sequence generated by the preset number of tag sequences and sequence operation is the same as the target tag fusion sequence, the preset number of tag sequences are determined to be the target tag sequences. Multiple tag sequences can be acquired and identified as a whole, reducing the communication between the server and the tag sequence acquisition device, saving communication resources and improving the efficiency of identifying tags.

[0030] The technology according to the present application solves the problems of low efficiency in identifying tags and wasting communication resources.

[0031] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.

[0033] Figure 1 is an exemplary system architecture diagram to which embodiments of the present application may be applied;

[0034] Figure 2 is a flow chart of an embodiment of a method for identifying a tag according to the present application;

[0035] Figure 3 is a flow chart of another embodiment of a method for identifying a tag according to the present application;

[0036] Figure 4 is a flowchart of an embodiment of a method for generating a fusion tag according to the present application;

[0037] Figure 5is a flowchart of an embodiment of a method for sending a tag according to the present application;

[0038] Figure 6 is a structural schematic diagram of an embodiment of a method for identifying a tag according to the present application;

[0039] Figure 7 is a structural schematic diagram of an embodiment of a method for generating a fusion tag according to the present application;

[0040] Figure 8 is a structural schematic diagram of an embodiment of a method for sending a tag according to the present application;

[0041] Fig. 9 It is a block diagram of an electronic device used to implement the method for identifying a tag according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0043] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of a method for identifying a tag or an apparatus for identifying a tag of the present application can be applied.

[0044] like Figure 1 As shown, the system architecture 100 may include electronic tags 101, 102, 103, a reader 104, a server 105, a network 106, and a network 107. The network 106 is used to provide a communication link medium between the electronic tags 101, 102, 103 and the reader 104. The network 107 is used to provide a communication link medium between the reader 104 and the server 105. The network 106 may include various wireless connection types, and the network 107 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0045] When the reader 104 receives the tag identification instruction, it sends a tag acquisition instruction to the electronic tags within its reading and writing range through the network 106. After receiving the tag acquisition instruction, the electronic tags 101, 102, and 103 send their tag sequences to the reader 104 through the network 106. The reader 104 generates a target tag fusion sequence using the tag sequences of the electronic tags 101, 102, and 103, and sends the target tag fusion sequence to the server 105 through the network 107.

[0046] The server 105 retrieves a tag set containing all tag sequences from the local storage, and for each preset number of tag sequences in the tag set, when the server 105 detects that the fusion sequence generated using the preset number of tag sequences is the same as the target tag fusion sequence, the preset number of tag sequences is determined as the target tag sequence.

[0047] It should be noted that the method for identifying a tag provided in the embodiments of the present disclosure is generally executed by the server 105 , and accordingly, the device for identifying a tag is generally disposed in the server 105 .

[0048] It should be understood that Figure 1 The numbers of electronic tags, readers, servers and networks in the embodiment are only for illustration purposes. Any number of electronic tags, readers, servers and networks may be provided as required.

[0049] Continue to refer Figure 2 , shows a process 200 of an embodiment of a method for identifying a tag according to the present disclosure, applied to a server, and comprising the following steps:

[0050] Step 201 : receiving a target tag fusion sequence, wherein the target tag fusion sequence is generated by using a preset number of target tag sequences and sequence operations.

[0051] In this embodiment, the execution subject of the method for identifying a tag (eg Figure 1 The server 105 shown in the figure can receive the target tag fusion sequence by wired or wireless means, wherein the target tag fusion sequence is a fusion sequence generated by a tag reader / tag reader / writer that reads the target tag, based on a preset number of target tag sequences obtained by the tag reader / tag reader / writer based on the preset number of electronic tags read by the tag reader / tag reader / writer after sequence operation. The sequence operation can be a sequence operation operation such as addition / subtraction of numerical sequences or logical operations on the target tag sequence by the tag reader.

[0052] Step 202: Obtain a tag sequence set including each tag sequence in a preset number of target tag sequences.

[0053] In this embodiment, the server may obtain a tag sequence set including all target tag sequences, which may be all tag sequences stored in the server or a subset of all tag sequence sets stored in the server including all target tag sequences.

[0054] Step 203 : for each preset number of tag sequences in the tag sequence set, in response to detecting that a fusion sequence generated by using the preset number of tag sequences and sequence operation is the same as a target tag fusion sequence, determining the preset number of tag sequences as target tag sequences.

[0055] In this embodiment, for each preset number of tag sequences in the tag sequence set, if the server detects that the fusion sequence generated by using the preset number of tag sequences and through sequence operation is the same as the target tag fusion sequence, the preset number of tag sequences in the tag sequence set are determined as the target tag sequence. The preset number may be the number of electronic tags currently recognized by the reader sent by the reader and received by the server, or the preset number may be the number of electronic tags recognized by the reader each time that is pre-constrained by the server and the reader.

[0056] In the method for identifying tags provided in this embodiment, a server receives a target tag fusion sequence generated by a preset number of target tag sequences and sequence operations, and obtains a tag sequence set including each tag sequence in the preset number of target tag sequences. For each preset number of tag sequences in the tag sequence set, when it is detected that a fusion sequence generated by the preset number of tag sequences and sequence operations is the same as the target tag fusion sequence, the preset number of tag sequences are determined to be the target tag sequences. Multiple tag sequences can be acquired and identified as a whole, reducing the communication between the server and the tag sequence acquisition device, saving communication resources and improving the efficiency of identifying tags.

[0057] Optionally, for each preset number of label sequences in the label sequence set, in response to detecting that a fusion sequence generated using the preset number of label sequences and sequence operations is the same as a target label fusion sequence, the preset number of label sequences are determined to be target label sequences, including: using all label sequences in the label sequence set and sequence operations to generate a global label fusion sequence; determining useless label sequences in the label sequence set that cannot be used to generate the target label fusion sequence based on the difference between the global label fusion sequence and the target label fusion sequence; in response to determining that the number of remaining label sequences after removing the useless label sequences in the label sequence set is a preset number, determining the remaining label sequences to be target label sequences.

[0058] In this embodiment, the server may perform sequence operations such as addition / subtraction of numerical sequences on all tag sequences in the tag sequence set, and determine the operation result as a global tag fusion sequence. The server may determine the tag sequence in the tag sequence set that produces the difference as a useless tag sequence based on the difference between the global tag fusion sequence and the target tag fusion sequence. For example, if the sequence operation is a sequence addition operation, and the number of bits of the global tag fusion sequence is more than the number of bits of the target tag fusion sequence, then the tag sequence in the tag sequence set that has more sequence bits than the number of bits of the target tag fusion sequence may be determined as a useless tag sequence that produces the sequence bit difference. It should be noted that the sequence operation for generating the global tag fusion sequence by the server is any sequence operation that is the same as the sequence operation for generating the target tag fusion sequence by the reader.

[0059] In this embodiment, when it is determined that the number of remaining label sequences in the label sequence set after removing useless label sequences is a preset number, the remaining label sequences may be determined as target label sequences.

[0060] Specifically, the server can determine the remaining label sequences through multiple rounds of iterations, that is, when the server determines the useless labels in the label sequence set based on the difference between the global label fusion sequence and the target label fusion sequence, the label sequence set without the useless label sequence is determined as the updated label sequence set, and it is judged whether the number of label sequences in the updated label sequence set is the same as the preset number; if different, an updated global label fusion sequence is generated based on all label sequences in the updated label sequence set, and the useless labels in the label sequence set are continuously determined and removed to update the label sequence set based on the difference between the updated global label fusion sequence and the target label fusion sequence, until the number of label sequences in the updated label sequence set is the same as the preset number, the iteration is stopped, and the label sequence in the updated label sequence set is determined as the target label sequence.

[0061] It can be understood that through multiple rounds of iterative processes, the server will filter out useless label sequences in the label sequence set one by one, and generate an updated global label fusion sequence based on the label sequences in the label sequence set after removing the useless labels. At this time, new differences will be generated between the updated global label fusion sequence and the target label fusion sequence, so that the server can filter out other useless label sequences according to the newly generated differences. Therefore, the server can filter out useless label sequences from the label sequence set in the process of successive screening to determine the target label sequence.

[0062] In this embodiment, a global label fusion sequence is generated based on all label sequences in the label sequence set stored in the server, and according to the difference between the global label fusion sequence and the target label fusion sequence, the label sequence in the label sequence set that creates the difference is determined as a useless label sequence, and the remaining label sequence in the label sequence set after removing the useless label sequence is determined as the target label sequence, which can improve the efficiency and convenience of determining the target label sequence.

[0063] Optionally, the method for identifying tags further includes: in response to determining that the number of remaining tag sequences after removing useless tag sequences in the tag sequence set is less than a preset number, determining that false tag sequences exist in the preset number of target tag sequences.

[0064] In this embodiment, when the number of remaining label sequences after removing all detected useless label sequences in the label sequence set is less than the number of target label sequences (ie, the preset number), it is determined that there are false label sequences in the target label sequence.

[0065] This embodiment determines whether there are false label sequences in the target label sequence based on the difference between the number of label sequences in the label sequence set after removing useless label sequences and the number of target label sequences, which can improve the efficiency and convenience of determining whether there are false label sequences in the target label sequence.

[0066] Further references Figure 3 , shows a process 300 of another embodiment of a method for identifying tags according to the present disclosure, the tag sequence is a binary tag sequence, and the method is applied to a server, comprising the following steps:

[0067] Step 301 : receiving a target tag fusion sequence, wherein the target tag fusion sequence is generated by using a preset number of target tag sequences and sequence operations.

[0068] Step 302: Obtain a tag sequence set including each tag sequence in a preset number of target tag sequences.

[0069] The description of step 301 and step 302 in this embodiment is consistent with the description of step 201 and step 202, and will not be repeated here.

[0070] Step 303, performing the following processing on the value of each bit sequence in the first preset sequence: in response to detecting that there is a label sequence in the label sequence set whose value on the bit sequence is the first value, determining that the value on the bit sequence in the first preset sequence is the first value; or, in response to detecting that there is no label sequence in the label sequence set whose value on the bit sequence is the first value, determining that the value on the bit sequence in the first preset sequence is the second value.

[0071] In this embodiment, a first preset sequence is first preset, and the first preset sequence can be a sequence in which the values ​​on each bit sequence are all empty, or a sequence in which the values ​​on each bit sequence are all random numbers. The following processing is performed for the numerical position (i.e., the storage unit of the bit sequence on the storage device) or the value of each bit sequence in the first preset sequence: if there is a label sequence in the label sequence set whose value on the bit sequence is the first value, the value on the bit sequence in the first preset sequence is set to the first value; or, if there is no label sequence in the label sequence set whose value on the bit sequence is the first value, the value on the bit sequence in the first preset sequence is set to the second value. It can be understood that the first value and the second value of the binary label sequence can be different letters, symbols, or numbers, etc.

[0072] For example, if the first preset sequence is "000000", and there are tag sequences "101100" and "000111" in the tag sequence set, where "1" is the first value and "0" is the second value, then the first preset sequence obtained after performing the above processing on the first preset sequence is "101111".

[0073] Step 304: determine the processed first preset sequence as the global label fusion sequence.

[0074] In this embodiment, the processed first preset sequence is determined as the global label fusion sequence.

[0075] Step 305 : Determine, according to the difference between the global tag fusion sequence and the target tag fusion sequence, useless tag sequences in the tag sequence set that cannot be used to generate the target tag fusion sequence.

[0076] In this embodiment, the server may determine, according to the difference between the global label fusion sequence and the target label fusion sequence, a label sequence in the label sequence set that produces the difference as a useless label sequence.

[0077] Step 306: In response to determining that the number of remaining tag sequences in the tag sequence set after removing useless tag sequences is a preset number, determining the remaining tag sequences as target tag sequences.

[0078] In this embodiment, when the server determines that the number of remaining label sequences after removing useless label sequences from the label sequence set is a preset number, the remaining label sequences may be determined as target label sequences.

[0079] The label sequence in this embodiment adopts a binary label sequence, and when there is a label sequence whose value of a certain position is a first value in the label sequence set, the value of the position in the global label fusion sequence is determined as the first value; when there is no label sequence whose value of a certain position is the first value in the label sequence set, the value of the position in the global label fusion sequence is determined as the second value, which can improve the efficiency of generating the global label fusion sequence.

[0080] Optionally, based on the difference between the global label fusion sequence and the target label fusion sequence, a useless label sequence in the label sequence set that cannot be used to generate the target label fusion sequence is determined, including: in response to detecting that the first bit sequence in the global label fusion sequence is a first numerical value, and the first bit sequence in the target label fusion sequence is a second numerical value, determining the label sequence whose first bit sequence in the label sequence set is the first numerical value as a useless label sequence; or, in response to detecting that the second bit sequence in the global label fusion sequence is a second numerical value, and the second bit sequence in the target label fusion sequence is the first numerical value, determining that there is a false label sequence in the target label sequence; wherein the first numerical value is used to characterize that the label sequence of the electronic label has response information at the corresponding bit sequence, and the second numerical value is used to characterize that the label sequence of the electronic label has no response information at the corresponding bit sequence.

[0081] In this embodiment, the first value can be used to represent that the label sequence of the electronic tag has response information in the corresponding bit sequence, and the second value can be used to represent that the label sequence of the electronic tag has no response information in the corresponding bit sequence. For example, each bit sequence in the label sequence can be each continuous or discontinuous time slice when the reader of the identification tag reads the electronic tag. In this case, the first value is used to represent that the label sequence of the electronic tag has replied to the reader with a response message within the corresponding time slice, and the second value is used to represent that the label sequence of the electronic tag has not replied to the reader with a response message within the corresponding time slice.

[0082] In this embodiment, when the server detects that the first sequence in the global label fusion sequence is the first value, and the first sequence in the target label fusion sequence is the second value, the label sequence whose first sequence is the first value is queried in the label sequence set, and the label sequence whose first sequence in the label sequence set is the first value is determined as a useless label sequence. It can be understood that the first sequence in the target label fusion sequence is the second value, which indicates that there is no label sequence in the target label with a response message at the first sequence; and the first sequence in the global label fusion sequence is the first value, which indicates that there is a label sequence in the label sequence set with a response message at the first sequence, then the label sequence in the label sequence set with a response message at the first sequence is a useless label sequence that needs to be screened out.

[0083] In this embodiment, when the server detects that the second bit sequence in the global label fusion sequence is the second value, and the second bit sequence in the target label fusion sequence is the first value, it is determined that there is a false label sequence in the target label sequence. It can be understood that the global label fusion sequence is a fusion sequence generated based on all label sequences in the label sequence set (that is, the target label sequence belongs to the label sequence set). If the value on the second bit sequence of the global label fusion sequence is the second value, it means that there is no label sequence in the label sequence set with a response message in the bit sequence; if the value on the second bit sequence in the target label fusion sequence is the first value, it means that there is a label sequence in the target label with a response message in the bit sequence. Since the label sequence set is a set of all label sequences stored by the server, the contradiction at this time is due to the existence of a false label in the target label sequence that does not belong to the label sequence set, and the false label is the label sequence with a response message in the second bit sequence.

[0084] It should be noted that the first sequence and the second sequence refer to any sequence in the global fusion label sequence or the target fusion label sequence.

[0085] In this embodiment, the first numerical value in the binary label sequence is used to represent the presence of response information in the corresponding position of the label sequence, and the second numerical value is used to represent the absence of response information in the corresponding position of the label sequence. Then, based on the difference in numerical values ​​at the same position between the global label fusion sequence and the target label fusion sequence, it is determined whether there are useless labels in the label sequence set or false labels in the target label sequence. This can improve the efficiency and convenience of determining useless labels, and improve the efficiency and convenience of determining whether there are false labels in the target labels.

[0086] In the above combination Figure 2 and Figure 3 In some optional implementations of the described embodiments, the method for identifying a tag further includes: searching a database for corresponding target information using the target tag sequence, and presenting the target information.

[0087] In this embodiment, the server can use the target tag sequence it identifies to query the target information corresponding to the target tag sequence in a database stored locally or in the cloud, and present the information on a display device that is communicatively connected to the server, or send the target information to the sending end of the target tag fusion sequence (for example, a reader that collects the target tag sequence) so that the sending end of the target fusion sequence presents the target information.

[0088] In this embodiment, the server uses the identified target tag sequence to query the corresponding target information in the database and presents the target information, so that the user can know the information corresponding to the target tag, which is convenient for the user to obtain the required information.

[0089] Further references Figure 4 , shows a process 400 of an embodiment of a method for generating a fusion tag according to the present disclosure, the method is applied to a reader, and includes the following steps:

[0090] Step 401: In response to receiving a tag identification instruction, a tag acquisition instruction is sent to the electronic tag.

[0091] In this embodiment, when the execution subject of the method for generating a fusion tag (for example Figure 1 After receiving the tag recognition instruction by wired or wireless means, the reader 104 shown in the figure can send a tag acquisition instruction to the electronic tag within its reading range. The tag recognition instruction can be an instruction for identifying the tag sent by the server, or an instruction for starting to identify the tag sent by the user to the reader through the touch display device / voice input device / physical or virtual case of the reader. The electronic tag can be a tag built based on radio frequency identification technology.

[0092] In this embodiment, the reader can divide the process of communicating with the electronic tag into multiple communication frames, and the frame length of each communication frame is fixed, that is, each communication frame contains a fixed number of time slices. After the reader sends a tag acquisition instruction (or a "frame start" instruction) to the electronic tag, each bit value in the electronic tag sequence replies to the reader with a response message within a separate time slice corresponding to the bit sequence.

[0093] Step 402: receiving multiple target label sequences returned based on the label acquisition instruction, and generating a target label fusion sequence using the multiple target label sequences and sequence operations.

[0094] In this embodiment, the reader can receive target tag sequences returned by multiple electronic tags based on tag acquisition instructions, and generate a target tag fusion sequence using the multiple target tag sequences and sequence operations. The reader can perform sequence operations such as numerical sequence addition / subtraction, sequence logic operations, etc. on the multiple target tag sequences, and determine the operation results as the target tag fusion sequence.

[0095] Step 403: Send the target tag fusion sequence to the server.

[0096] In this embodiment, the reader sends the target tag fusion sequence generated based on the acquired multiple target tag sequences to the server.

[0097] In this embodiment, the reader generates a single target tag fusion sequence based on the acquired target tag sequence of the electronic tag, and sends the target tag fusion sequence to the server so that the server can identify the target tag based on the target tag fusion sequence, which can reduce the communication frequency between the reader and the server, avoid waste of communication resources and improve communication efficiency.

[0098] Optionally, the target label sequence includes a binary label sequence, and a target label fusion sequence is generated using multiple target label sequences and sequence operations, including: performing the following processing on the value of each bit sequence in the second preset sequence: in response to detecting that there is a label sequence in which the value of the bit sequence is a first value among multiple target label sequences, determining that the value of the bit sequence in the second preset sequence is the first value; or, in response to detecting that there is a label sequence in which the value of the bit sequence is a second value among multiple target label sequences, determining that the value of the bit sequence in the second preset sequence is the second value; and determining the processed second preset sequence as the target label fusion sequence.

[0099] In this embodiment, firstly, a second preset sequence is preset, and the second preset sequence can be a sequence in which the values ​​on each bit sequence are all empty, or a sequence in which the values ​​on each bit sequence are all random numbers. The numerical position of each bit sequence in the second preset sequence (i.e., the storage unit of the bit sequence on the storage device) or the numerical value is processed as follows: if there is a target label sequence in the target label sequence whose numerical value on the bit sequence is the first numerical value, the numerical value on the bit sequence in the second preset sequence is determined as the first numerical value; or, if there is no label sequence in the target label sequence whose numerical value on the bit sequence is the first numerical value, the numerical value on the bit sequence in the second preset sequence is determined as the second numerical value. It can be understood that the first numerical value and the second numerical value of the binary label sequence can be different letters, symbols, or numbers, etc. Afterwards, the processed second preset sequence is determined as the target label fusion sequence. The binary label sequence used in this embodiment can simplify the steps of generating the target label fusion sequence.

[0100] Optionally, sending a tag acquisition instruction to the electronic tag includes: sending verification information to the electronic tag to instruct a verification reader; receiving a tag code returned by the electronic tag based on the verification information; querying feedback information based on the tag code, and sending the feedback information to the electronic tag; receiving multiple target tag sequences returned based on the tag acquisition instruction, including: receiving multiple target tag sequences returned based on the feedback information.

[0101] In this embodiment, after the reader receives the tag identification instruction, it sends verification information to multiple electronic tags within its reading range / identification range, and the verification information is used to instruct the electronic tag to verify the authenticity of the reader. Afterwards, the reader receives the tag codes returned by multiple electronic tags based on the verification information, queries the feedback information corresponding to the tag code in the local storage or cloud storage, and sends the feedback information to multiple electronic tags. If the feedback information is determined by the electronic tag to be verified, the reader receives multiple target tag sequences returned by the multiple electronic tags. In this embodiment, verifying the authenticity of the reader based on the feedback information can ensure the security of the tag information.

[0102] Further references Figure 5 , shows a process 500 of an embodiment of a method for sending a tag according to the present disclosure, the method is applied to an electronic tag, and includes the following steps:

[0103] Step 501: in response to receiving a tag acquisition instruction, sending a tag sequence to a reader, wherein a plurality of target tag sequences are used to generate a target tag fusion sequence.

[0104] In this embodiment, when the execution subject of the method for sending a tag (for example Figure 1 After receiving the tag acquisition instruction, the electronic tags 101, 102, and 103 shown in the figure send a target tag sequence to the reader. The target tag sequence can be an unencrypted plain text sequence or an encrypted sequence after a hash algorithm or a logical operation such as sequence XOR. The multiple target tag sequences sent to the reader by the multiple electronic tags that receive the tag acquisition instruction are used to generate a target tag fusion sequence. Specifically, after receiving the "frame start" message sent by the reader, the electronic tag can send a response message to the reader within the time slice divided by the reader in each frame, so that the length of each frame message is the same as the number of time slices in each frame.

[0105] The method for sending tags disclosed in this embodiment can enable the electronic tag that receives the tag acquisition instruction to send its own tag information to the reader, so that the reader generates a target tag fusion sequence based on multiple target tag sequences and sends it to the server, which can reduce the number of communications between the reader and the server to save communication resources.

[0106] Optionally, in response to receiving a tag acquisition instruction, sending a target tag sequence to the reader includes: in response to receiving verification information, sending a tag code to the reader; receiving feedback information returned by the reader based on the tag code; in response to determining that the feedback information meets the verification pass conditions, sending the target tag sequence to the reader.

[0107] In this embodiment, after the electronic tag receives the verification information sent by the reader, it sends its tag code to the reader. The tag code can be the tag sequence of the tag or the code representing the tag identity so that the reader cannot obtain the actual tag sequence of the electronic tag, thereby avoiding the leakage of the electronic tag sequence. Afterwards, the electronic tag receives the feedback information returned by the reader based on the tag code. If the electronic tag determines that the feedback information is legal information or the feedback information meets the verification pass condition, it sends its own target tag sequence to the reader.

[0108] This embodiment sends a tag code to a reader via an electronic tag, and determines whether the reader is an authenticated / verified reader based on whether the feedback information returned by the reader based on the tag code meets the verification pass conditions, and after determining that the reader is an authenticated / verified reader, sends the electronic tag's own target tag sequence to the reader, which can improve the security of communication.

[0109] In some application scenarios, after receiving the verification information sent to the reader, the electronic tag can send the tag code to the reader. After receiving the tag code, the reader queries the preset information (for example, a string of characters "AABBC") stored corresponding to the tag code in the local storage or cloud storage based on the tag code, and the reader sends the preset information corresponding to the tag code found as feedback information to the electronic tag. After receiving the preset information, the electronic tag determines whether the preset information meets the verification pass condition. If it is determined that the verification pass condition is met, the target tag sequence of the electronic tag is sent to the reader. For example, the electronic tag traverses whether there is information identical to the preset information in the storage unit of the electronic tag. If it is determined that it exists, it is determined that the preset information meets the verification pass condition.

[0110] In some application scenarios, after receiving the verification information sent by the reader, the electronic tag can generate a random number r1 and send the random sequence r1 and the tag code FID to the reader. After receiving the random number r1 and the tag code FID, the reader uses the tag code FID to query in the local storage or cloud storage. If the tag code FID is queried, the verification operation continues; if the tag code FID is not queried, the verification is stopped. After the reader queries the tag code FID, the reader first generates a random sequence r2 and calculates the A value and the B value according to formula (1) and formula (2).

[0111]

[0112]

[0113] Afterwards, r1 and the value of A||B are sent as feedback information to the electronic tag corresponding to the tag code FID. After receiving the value of A||B, the electronic tag generates B′ according to formula (3), formula (4), and formula (5).

[0114] D=PUF(P n ) (3)

[0115]

[0116]

[0117] Among them, P nThe signature represents the unique key in the nth round of authentication; P n+1 Represents the value of the unique key of the tag in the nth round of authentication (i.e., P n ) is the value of the key after being processed by the PUF (Physical Unclonable Functions) module. If the electronic tag determines whether B and B' are equal, it determines that the feedback information meets the verification pass condition / or the reader is an authenticated reader, and sends the target tag sequence of the electronic tag to the reader. If they are not equal, it determines that the reader is a false reader, and the electronic tag does not send the target tag sequence of the electronic tag to the reader.

[0118] Further references Figure 6 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for identifying a tag. Figure 2 or Figure 3 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0119] like Figure 6 As shown, the apparatus 600 for identifying a tag in this embodiment is applied to a server, and includes: a first receiving unit 601, an acquisition unit 602, and an identification unit 603. The first receiving unit is configured to receive a target tag fusion sequence, wherein the target tag fusion sequence is generated by using a preset number of target tag sequences and sequence operations; the acquisition unit is configured to obtain a tag sequence set including each tag sequence in the preset number of target tag sequences; the identification unit is configured to, for each preset number of tag sequences in the tag sequence set, in response to detecting that a fusion sequence generated by using the preset number of tag sequences and sequence operations is the same as the target tag fusion sequence, determine that the preset number of tag sequences are target tag sequences.

[0120] In some embodiments, the apparatus further comprises: a presentation unit configured to use the target tag sequence to search for corresponding target information in a database, and present the target information.

[0121] In some embodiments, the identification unit includes: a first generation module, configured to use all label sequences in the label sequence set and sequence operations to generate a global label fusion sequence; a screening module, configured to determine, based on the difference between the global label fusion sequence and the target label fusion sequence, useless label sequences in the label sequence set that cannot be used to generate the target label fusion sequence; and an identification module, configured to determine that the number of remaining label sequences after removing the useless label sequences in the label sequence set is a preset number, in response to determining that the remaining label sequence is a target label sequence.

[0122] In some embodiments, the label sequence includes a binary label sequence, and the first generation module includes: a first value determination module, configured to perform the following processing on the value of each bit sequence in the first preset sequence: in response to detecting that there is a label sequence in the label sequence set whose value on the bit sequence is the first value, determining that the value on the bit sequence in the first preset sequence is the first value; or, a second value determination module, configured to determine that the value on the bit sequence in the first preset sequence is the second value in response to detecting that there is no label sequence in the label sequence set whose value on the bit sequence is the first value; a global label fusion sequence determination module, configured to determine the processed first preset sequence as a global label fusion sequence.

[0123] In some embodiments, the screening module includes: a useless label determination module, configured to determine the label sequence whose first sequence in the label sequence set is the first value as a useless label sequence in response to detecting that the first sequence in the global label fusion sequence is the first value and the first sequence in the target label fusion sequence is the second value; or, a first false label determination module, configured to determine that there is a false label sequence in the target label sequence in response to detecting that the second sequence in the global label fusion sequence is the second value and the second sequence in the target label fusion sequence is the first value; wherein the first value is used to characterize the presence of response information in the corresponding sequence of the label sequence, and the second value is used to characterize the absence of response information in the corresponding sequence of the label sequence.

[0124] In some embodiments, the apparatus further comprises: a second false label determination module configured to determine that false label sequences exist in a preset number of target label sequences in response to determining that the number of remaining label sequences after removing useless label sequences in the label sequence set is less than a preset number.

[0125] Each unit of the above-mentioned device 600 is similar to the reference Figure 2 or Figure 3 Therefore, the operations, features and technical effects described above for the tag identification method are also applicable to the units included in the device 600, and will not be repeated here.

[0126] Further references Figure 7 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for generating a fusion tag. Figure 4 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0127] like Figure 7As shown, the device 700 for generating a fusion tag of this embodiment is applied to a reader, and includes: a tag acquisition instruction sending module 701, a second generating module 702, and a target tag fusion sequence sending module 703. Among them, the tag acquisition instruction sending module is configured to send a tag acquisition instruction to the electronic tag in response to receiving a tag recognition instruction; the second generating module is configured to receive multiple target tag sequences returned based on the tag acquisition instruction, and use the multiple target tag sequences and sequence operations to generate a target tag fusion sequence; the target tag fusion sequence sending module is configured to send the target tag fusion sequence to the server.

[0128] In some embodiments, the target label sequence includes a binary label sequence, and the second generation module includes: a third value determination module, configured to perform the following processing on the value of each bit sequence in the second preset sequence: in response to detecting that there is a label sequence with a first value on the bit sequence among multiple target label sequences, determining that the value on the bit sequence in the second preset sequence is the first value; or, a fourth value determination module, configured to determine that the value on the bit sequence in the second preset sequence is the second value in response to detecting that there is a label sequence with a second value on the bit sequence among multiple target label sequences; a target label fusion sequence determination module, configured to determine the processed second preset sequence as the target label fusion sequence.

[0129] In some embodiments, the tag acquisition instruction sending module includes: a verification information sending module, configured to send verification information to the electronic tag instructing the verification reader; a code receiving module, configured to receive the tag code returned by the electronic tag based on the verification information; a feedback information sending module, configured to query feedback information based on the tag code and send feedback information to the electronic tag; a second generation module, including: a generation sub-module, configured to receive multiple target tag sequences returned based on the feedback information.

[0130] Each unit of the above-mentioned device 700 is similar to the reference Figure 4 Therefore, the operations, features and technical effects described above for the method for generating a fusion tag are also applicable to the units included in the device 700, and will not be described in detail here.

[0131] Further references Figure 8 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for sending a tag. Figure 5 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0132] like Figure 8As shown, the apparatus 800 for sending a tag in this embodiment is applied to an electronic tag, and includes: a tag acquisition instruction receiving module 801. The tag acquisition instruction receiving module is configured to send a target tag sequence to a reader in response to receiving a tag acquisition instruction, wherein multiple target tag sequences are used to generate a target tag fusion sequence.

[0133] In some embodiments, the tag acquisition instruction receiving module includes: a code sending module, configured to send a tag code to a reader in response to receiving verification information; a feedback information receiving module, configured to receive feedback information returned by the reader based on the tag code; and a tag sequence sending module, configured to send a target tag sequence to the reader in response to determining that the feedback information meets the verification pass condition.

[0134] Each unit of the above-mentioned device 800 is similar to the reference Figure 5 Therefore, the operations, features and technical effects described above for the method for sending tags are also applicable to the units included in the device 800, and will not be repeated here.

[0135] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0136] like Fig. 9 , is a block diagram of an electronic device 900 for a method for training an image recognition model according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0137] like Fig. 9As shown, the electronic device includes: one or more processors 901, a memory 902, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 901 is taken as an example.

[0138] The memory 902 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the method for training an image recognition model provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the method for training an image recognition model provided in the present application.

[0139] The memory 902 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the method for training an image recognition model in the embodiment of the present application (for example, the attached Figure 6 The processor 901 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 902, that is, the method for training the image recognition model in the above method embodiment is implemented.

[0140] The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of an electronic device for training an image recognition model, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 902 may optionally include a memory remotely arranged relative to the processor 901, and these remote memories may be connected to the electronic device for training the image recognition model via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0141] The electronic device for the method of training an image recognition model may further include: an input device 903, an output device 904, and a bus 905. The processor 901, the memory 902, the input device 903, and the output device 904 may be connected via the bus 905 or in other ways. Fig. 9 The connection via bus 905 is taken as an example.

[0142] The input device 903 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device for training the image recognition model, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 904 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0143] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0144] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0145] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0146] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0147] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0148] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0149] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for identifying a tag, applied to a server, comprising: receiving a target tag fusion sequence, wherein the target tag fusion sequence is generated by using a preset number of target tag sequences and a preset sequence operation; Acquire a tag sequence set including each tag sequence of the preset number of target tag sequences; For each preset number of tag sequences in the tag sequence set, in response to detecting that a fusion sequence generated by using the preset number of tag sequences and the preset sequence operation is the same as the target tag fusion sequence, the preset number of tag sequences are determined to be the target tag sequence.

2. The method according to claim 1, wherein: The method further comprises: The target tag sequence is used to search for corresponding target information in a database, and the target information is presented.

3. The method according to claim 1, wherein: For each preset number of label sequences in the label sequence set, in response to detecting that a fusion sequence generated by using the preset number of label sequences and the sequence operation is the same as the target label fusion sequence, determining the preset number of label sequences as the target label sequence includes: Using all label sequences in the label sequence set and the sequence operation to generate a global label fusion sequence; Determining, according to a difference between the global tag fusion sequence and the target tag fusion sequence, a useless tag sequence in the tag sequence set that cannot be used to generate the target tag fusion sequence; In response to determining that the number of remaining label sequences in the label sequence set after removing the useless label sequences is the preset number, the remaining label sequences are determined to be the target label sequences.

4. The method according to claim 3, wherein: The label sequence includes a binary label sequence, and the step of using all label sequences in the label sequence set and the sequence operation to generate a global label fusion sequence includes: The following processing is performed for the value of each bit sequence in the first preset sequence: in response to detecting that there is a tag sequence in the tag sequence set whose value on the bit sequence is a first value, determining that the value on the bit sequence in the first preset sequence is the first value; or, In response to detecting that there is no tag sequence in the tag sequence set whose value at the bit sequence is the first value, determining that the value at the bit sequence in the first preset sequence is the second value; The first preset sequence that has been processed is determined as the global label fusion sequence.

5. The method according to claim 4, wherein: The determining, according to the difference between the global label fusion sequence and the target label fusion sequence, a useless label sequence in the label sequence set that cannot be used to generate the target label fusion sequence includes: In response to detecting that the first bit sequence in the global label fusion sequence is the first value, and the first bit sequence in the target label fusion sequence is the second value, determining a label sequence in the label sequence set whose first bit sequence is the first value as a useless label sequence; or In response to detecting that the second bit sequence in the global label fusion sequence is the second value, and the second bit sequence in the target label fusion sequence is the first value, determining that a false label sequence exists in the target label sequence; The first value is used to indicate that the label sequence of the electronic tag has response information at the corresponding bit sequence, and the second value is used to indicate that the label sequence of the electronic tag has no response information at the corresponding bit sequence.

6. The method according to claim 3, wherein: The method further comprises: In response to determining that the number of remaining label sequences in the label sequence set after removing the useless label sequences is less than the preset number, it is determined that false label sequences exist in the preset number of target label sequences.

7. A method for generating a fusion tag, applied to a reader, comprising: In response to receiving the tag identification instruction, sending a tag acquisition instruction to the electronic tag; Receiving multiple target label sequences returned based on the label acquisition instruction, and using the multiple target label sequences and a preset sequence operation to generate a target label fusion sequence; The target tag fusion sequence is sent to a server, so that the server can identify a target tag sequence according to the target tag fusion sequence.

8. The method according to claim 7, wherein: The target label sequence includes a binary label sequence, and the step of using the multiple target label sequences and sequence operations to generate a target label fusion sequence includes: The following processing is performed for the value of each bit sequence in the second preset sequence: in response to detecting that there is a tag sequence whose value on the bit sequence is a first value among the multiple target tag sequences, determining that the value on the bit sequence in the second preset sequence is the first value; or, In response to detecting that there is a tag sequence whose value at the bit sequence is a second value among the multiple target tag sequences, determining that the value at the bit sequence in the second preset sequence is the second value; The processed second preset sequence is determined as the target tag fusion sequence.

9. The method according to claim 7, wherein: The step of sending a tag acquisition instruction to the electronic tag includes: Sending verification information instructing a verification reader to the electronic tag; Receiving a label code returned by the electronic label based on the verification information; querying feedback information based on the tag code, and sending the feedback information to the electronic tag; The receiving a plurality of target tag sequences returned based on the tag acquisition instruction includes: The multiple target tag sequences returned based on the feedback information are received.

10. A method for sending a tag, applied to an electronic tag, comprising: In response to receiving a tag acquisition instruction, a target tag sequence is sent to the reader, wherein multiple target tag sequences are used to generate a target tag fusion sequence based on a preset sequence operation, and the target tag fusion sequence is used for the server to identify to determine the target tag sequence.

11. The method according to claim 10, wherein: The step of sending a target tag sequence to a reader in response to receiving a tag acquisition instruction comprises: In response to receiving authentication information instructing the reader to authenticate, sending the tag code to the reader; Receiving feedback information returned by the reader based on the tag code; In response to determining that the feedback information meets the verification pass condition, a target tag sequence is sent to the reader.

12. A device for identifying a tag, applied to a server, comprising: A first receiving unit is configured to receive a target tag fusion sequence, wherein the target tag fusion sequence is generated by using a preset number of target tag sequences and a preset sequence operation; An acquisition unit is configured to acquire a tag sequence set including each tag sequence in the preset number of target tag sequences; The identification unit is configured to, for each preset number of label sequences in the label sequence set, determine that the preset number of label sequences are the target label sequences in response to detecting that a fusion sequence generated by using the preset number of label sequences and the preset sequence operation is the same as the target label fusion sequence.

13. The device according to claim 12, wherein: The device also includes: The presenting unit is configured to use the target tag sequence to search for corresponding target information in a database, and present the target information.

14. The device according to claim 12, wherein: The identification unit comprises: A first generating module is configured to use all label sequences in the label sequence set and the sequence operation to generate a global label fusion sequence; A screening module is configured to determine, according to a difference between the global tag fusion sequence and the target tag fusion sequence, useless tag sequences in the tag sequence set that cannot be used to generate the target tag fusion sequence; The identification module is configured to determine that the remaining label sequence is the target label sequence in response to determining that the number of remaining label sequences in the label sequence set after removing the useless label sequence is the preset number.

15. The device according to claim 14, wherein: The tag sequence includes a binary tag sequence, and the first generation module includes: The first value determination module is configured to perform the following processing on the value of each bit sequence in the first preset sequence: in response to detecting that there is a tag sequence in the tag sequence set whose value on the bit sequence is a first value, determine that the value on the bit sequence in the first preset sequence is the first value; or A second value determination module is configured to determine that the value of the bit sequence in the first preset sequence is the second value in response to detecting that there is no tag sequence in the tag sequence set whose value of the bit sequence is the first value; The global label fusion sequence determination module is configured to determine the first preset sequence that has been processed as the global label fusion sequence.

16. The device according to claim 15, wherein: The screening module comprises: a useless label determination module, configured to, in response to detecting that the first bit sequence in the global label fusion sequence is the first value and the first bit sequence in the target label fusion sequence is the second value, determine a label sequence in the label sequence set whose first bit sequence is the first value as a useless label sequence; or A first false label determination module is configured to determine that a false label sequence exists in the target label sequence in response to detecting that the second bit sequence in the global label fusion sequence is the second value and the second bit sequence in the target label fusion sequence is the first value; The first value is used to indicate that the label sequence of the electronic tag has response information at the corresponding bit sequence, and the second value is used to indicate that the label sequence of the electronic tag has no response information at the corresponding bit sequence.

17. The device according to claim 14, wherein: The device also includes: The second false label determination module is configured to determine that there are false label sequences in the preset number of target label sequences in response to determining that the number of remaining label sequences in the label sequence set after removing the useless label sequences is less than the preset number.

18. A device for generating a fusion tag, applied to a reader, comprising: a tag acquisition instruction sending module, configured to send a tag acquisition instruction to the electronic tag in response to receiving the tag identification instruction; A second generating module is configured to receive a plurality of target label sequences returned based on the label acquisition instruction, and generate a target label fusion sequence using the plurality of target label sequences and a preset sequence operation; The target tag fusion sequence sending module is configured to send the target tag fusion sequence to a server, so that the server can identify a target tag sequence according to the target tag fusion sequence.

19. The device according to claim 18, wherein: The target tag sequence includes a binary tag sequence, and the second generation module includes: The third value determination module is configured to perform the following processing on the value of each bit sequence in the second preset sequence: in response to detecting that there is a tag sequence whose value on the bit sequence is a first value in the multiple target tag sequences, determine that the value on the bit sequence in the second preset sequence is the first value; or a fourth value determination module, configured to, in response to detecting that there is a tag sequence whose value at the bit sequence is a second value among the plurality of target tag sequences, determine that the value at the bit sequence in the second preset sequence is the second value; The target tag fusion sequence determination module is configured to determine the processed second preset sequence as the target tag fusion sequence.

20. The device according to claim 18, wherein The tag acquisition instruction sending module includes: A verification information sending module, configured to send verification information indicating a verification reader to the electronic tag; A code receiving module, configured to receive a tag code returned by the electronic tag based on the verification information; a feedback information sending module, configured to query feedback information based on the tag code and send the feedback information to the electronic tag; The second generating module comprises: A generating submodule is configured to receive the multiple target tag sequences returned based on the feedback information.

21. A device for sending a label, applied to an electronic label, comprising: The tag acquisition instruction receiving module is configured to send a target tag sequence to the reader in response to receiving a tag acquisition instruction, wherein multiple target tag sequences are used to generate a target tag fusion sequence based on a preset sequence operation, and the target tag fusion sequence is used for the server to identify to determine the target tag sequence.

22. The device according to claim 21, wherein The label acquisition instruction receiving module includes: a code sending module, configured to send a tag code to the reader in response to receiving verification information indicating verification of the reader; A feedback information receiving module, configured to receive feedback information returned by the reader based on the tag code; The tag sequence sending module is configured to send a target tag sequence to the reader in response to determining that the feedback information meets the verification pass condition.

23. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6 or 7-9.

24. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6 or 7 to 9.

Citation Information

Patent Citations

  • Radio frequency recognition system and method

    CN101246538A

  • Anti-collision system and method for simultaneously reading multi label

    CN1845125A