CN115510883A - Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system - Google Patents

Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system Download PDF

Info

Publication number
CN115510883A
CN115510883A CN202110633414.8A CN202110633414A CN115510883A CN 115510883 A CN115510883 A CN 115510883A CN 202110633414 A CN202110633414 A CN 202110633414A CN 115510883 A CN115510883 A CN 115510883A
Authority
CN
China
Prior art keywords
electronic tag
time
tag
reader
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110633414.8A
Other languages
Chinese (zh)
Inventor
刁尚华
邓银刚
谢洪涛
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhongrong Digital Technology Co ltd
Original Assignee
Shenzhen Zhongrong Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhongrong Digital Technology Co ltd filed Critical Shenzhen Zhongrong Digital Technology Co ltd
Priority to CN202110633414.8A priority Critical patent/CN115510883A/en
Publication of CN115510883A publication Critical patent/CN115510883A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card

Abstract

The application discloses a time sequence adjusting method, a storage medium, a reader-writer, an electronic tag and a system. The method comprises the following steps: receiving a plurality of label data in a statistical period and determining an electronic label corresponding to each label data to obtain an electronic label list of the statistical period; comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted; and generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction. According to the embodiment of the application, the tag data transmitted by the electronic tags can be determined not to be received according to the condition of the tag data received in the statistical period, the time sequence adjusting instructions of the electronic tags are generated, and the corresponding electronic tags are controlled to adjust the time sequence of transmitting the tag data next time, so that the tag data transmitted next time by the electronic tags can be received, and the data transmission efficiency is improved.

Description

Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a timing adjustment method, a storage medium, a reader/writer, an electronic tag, and a system.
Background
The Radio Frequency Identification (RFID) technology is a technology for realizing non-contact automatic identification by spatial coupling of radio frequency signals. The core components of the radio frequency identification system comprise a reader-writer and an electronic tag, wherein the reader-writer receives information from the electronic tag, and can realize upper management of the whole application system by being connected with a computer, and the electronic tag remotely and wirelessly transmits information stored in the reader-writer so as to identify the identity of an article, a person or an appliance represented by the electronic tag.
At present, when a radio frequency identification system works, a plurality of electronic tags may be simultaneously in the action range of a reader-writer, and when the plurality of electronic tags simultaneously send data to the reader-writer, communication collision and data mutual interference collision occur, so that the data transmission efficiency is low.
Disclosure of Invention
The embodiment of the application provides a time sequence adjusting method, a storage medium, a reader-writer, an electronic tag and a system, which can improve the data transmission efficiency.
In a first aspect, an embodiment of the present application provides a timing adjustment method, including:
receiving a plurality of label data in a statistical period and determining an electronic label corresponding to each label data to obtain an electronic label list of the statistical period;
comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted;
and generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
In a second aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the flow in the timing adjustment method provided in the embodiment of the present application.
In a third aspect, an embodiment of the present application further provides a reader, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute a flow in the timing adjustment method provided in the embodiment of the present application by calling the computer program stored in the memory.
In a fourth aspect, an embodiment of the present application further provides an electronic tag, configured to transmit tag data to a reader/writer, where the reader/writer is the reader/writer provided in the embodiment of the present application, and when the electronic tag is a target electronic tag, receive a timing adjustment instruction transmitted by the reader/writer, so as to adjust a transmission time for transmitting next tag data according to the timing adjustment instruction.
In a fifth aspect, an embodiment of the present application further provides a timing adjustment system, including a reader/writer and an electronic tag, where the reader/writer is configured to receive multiple tag data in a statistics period and determine an electronic tag corresponding to each tag data, obtain an electronic tag list of the statistics period, compare the electronic tag list of the statistics period with a preset electronic tag list, determine a target electronic tag to be adjusted, and generate a timing adjustment instruction of the target electronic tag, so as to control the target electronic tag to adjust an emission time for emitting next tag data according to the timing adjustment instruction, where the electronic tag is configured to emit tag data to the reader/writer, and when the electronic tag is the target electronic tag, the electronic tag is further configured to receive the timing adjustment instruction emitted by the reader/writer, so as to adjust an emission time for emitting next tag data according to the timing adjustment instruction.
In the embodiment of the application, firstly, a plurality of label data are received in a statistical period, and an electronic label corresponding to each label data is determined to obtain an electronic label list of the statistical period; then comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted; and further generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction. According to the embodiment of the application, the tag data transmitted by the electronic tags are determined not to be received according to the condition of the tag data received in the statistical period, the time sequence needs to be adjusted, the time sequence adjusting instructions of the electronic tags are generated, and the corresponding electronic tags are controlled to adjust the time sequence of transmitting the tag data next time, so that the tag data transmitted next time by the electronic tags at this time can be received, and the data transmission efficiency is improved.
Drawings
The technical solutions and advantages of the present application will be apparent from the following detailed description of specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a scene schematic diagram of a timing adjustment method according to an embodiment of the present application.
Fig. 2 is a first flowchart illustrating a timing adjustment method according to an embodiment of the present disclosure.
Fig. 3 is a schematic distribution diagram of tag data received within a statistical period T according to an embodiment of the present application.
Fig. 4 is a second flowchart of the timing adjustment method according to the embodiment of the present application.
Fig. 5 is a first structural schematic diagram of a reader/writer according to an embodiment of the present application.
Fig. 6 is a second schematic structural diagram of a reader/writer according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic tag provided in an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a timing adjustment system according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All embodiments obtained by a person skilled in the art without making any inventive step on the basis of the embodiments in this application are within the scope of protection of the present invention.
The terms "first," "second," "third," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, or apparatus, terminal, system comprising a list of steps is not necessarily limited to those steps or modules or elements expressly listed, and may include other steps or modules or elements not expressly listed, or inherent to such process, method, apparatus, terminal, or system.
It should be noted that the following text and accompanying drawings are only used for explaining the timing adjusting method, the storage medium, the reader/writer, the electronic tag and the system provided in the embodiments of the present application, and do not limit the steps in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic view of a timing adjustment method according to an embodiment of the present disclosure. The scenario may include a herd 100, an electronic tag 200, a reader 300, and a user 400.
In the livestock breeding industry, in order to know the health condition of livestock groups in time, a user is often required to observe the health condition of the livestock groups in person. The stockman needs to enter the enclosure to perform a health check on the livestock, such as measuring questions of the livestock. Not only the environment is dirty, but also for large-scale farms with a large number of livestock, the efficiency of examining the health status of the livestock one by one is very low.
In the present application, each animal in the livestock group 100 is worn with an electronic tag 200, and the electronic tag 200 can collect data related to the animal, for example, the electronic tag 200 can be worn on the ear of the animal for collecting temperature data and/or motion data of the animal, etc.
The electronic tag 200 and the reader 300 are two important components of the rfid system. Communication connection is pre-established between the electronic tag 200 and the reader-writer 300, the reader-writer 300 can receive tag data acquired by the electronic tag 200, feed back the tag data, and further process the tag data subsequently, for example, the health condition of livestock can be judged according to the tag data. Wherein, the electronic tag 200 may comprise an RFID electronic tag, and the reader/writer 300 may comprise an RFID reader/writer.
The reader-writer 300 can also establish communication connection with other internet devices, such as mobile phones, computers and other devices of the breeding personnel or other related personnel, so that the tag data received from the electronic tag 200 can be sent to the mobile phones, computers and other devices of the breeding personnel or other related personnel, various data of each livestock can be reported in real time, and a breeding house can judge the health condition of the livestock according to the data of the livestock, and further determine whether to take relevant measures such as examination and treatment on the livestock.
The electronic tag 200 may transmit tag data to the reader 300, and the reader 300 may adopt the timing adjustment method provided in this embodiment of the present application, receive a plurality of tag data in a statistical period and determine an electronic tag corresponding to each tag data, obtain an electronic tag list of the statistical period, compare the electronic tag list of the statistical period with a preset electronic tag list, determine a target electronic tag to be adjusted, generate a timing adjustment instruction of the target electronic tag, and control the target electronic tag to adjust a transmission time for transmitting next tag data according to the timing adjustment instruction.
When the electronic tag 200 is a target electronic tag, the electronic tag 200 receives a timing adjustment instruction transmitted by the reader/writer 300 to adjust a transmission time for transmitting next tag data according to the timing adjustment instruction.
The embodiment of the application provides a timing sequence adjusting method, which can be applied to a reader-writer provided by the embodiment of the application. Referring to fig. 2, fig. 2 is a first flowchart illustrating a timing adjustment method according to an embodiment of the present disclosure, where the timing adjustment method includes:
s101, receiving a plurality of label data in a statistical period, determining an electronic label corresponding to each label data, and obtaining an electronic label list of the statistical period.
The electronic tag periodically transmits tag data to the reader-writer, and the reader-writer receives a plurality of tag data transmitted by the electronic tag within a statistical period T, wherein the plurality of tag data can be from the plurality of electronic tags. The duration of the statistical period T may be preset, for example, written into the reader by a user through an instruction.
In one embodiment, the collector may include a transmitting antenna and a receiving antenna. And when the counting period begins, the collector starts the receiving antenna, and the receiving antenna is used for receiving the tag data transmitted by the electronic tag.
When a plurality of tag data arrive at the reader/writer end at the same time, communication collision occurs due to mutual interference between the tag data, so that the reader/writer cannot correctly recognize the tag data, and this phenomenon becomes "collision". Due to the occurrence of the collision, the reader-writer cannot read part of the tag data, and the data transmission efficiency between the electronic tag and the reader-writer is low.
In one embodiment, when the electronic tag periodically transmits tag data, the transmission period is not constant, but slightly fluctuates. The transmission period of the electronic tag for transmitting the tag data can be represented by t + r, where t is a fixed period in the transmission period and r is a random factor. r may be greater than 0, smaller than 0, or equal to 0. When the electronic tag transmits tag data at a certain time, if a random factor r of an emission period is greater than 0, the emission period representing the electronic tag is greater than a fixed period, if r is less than 0, the emission period representing the electronic tag is smaller than the fixed period, and if r =0, the emission period representing the electronic tag is equal to the fixed period. Thus, the emission period of the electronic tag fluctuates randomly with respect to a fixed period.
Due to the existence of the random factor, even if two electronic tags collide at a certain time, when the tag signals are transmitted next time, the transmission periods of the two electronic tags may fluctuate randomly due to the existence of the random factor, so that the time for transmitting the tag data is staggered, and the time for reaching the reader-writer is also staggered. Therefore, for two electronic tags with tag data possibly colliding, although the tag data of the two electronic tags sometimes cannot be received by all the readers due to collision, the tag data of the two electronic tags cannot be received by all the readers due to collision, and due to the existence of the random factor, the tag data transmitted by the two electronic tags can be received by all the readers in some cases.
In an embodiment, the electronic tags corresponding to the received tag data may be determined, so that after the statistical period T is ended, the electronic tag list of the statistical period T is obtained. And the electronic tag list of the statistical period is the source of all the tag data received in the statistical period T.
The electronic tag corresponding to the tag data can be determined by checking the identifier. Each electronic tag contains a mutually distinct identifier, i.e. a tag ID. When sending tag data to the reader/writer, each electronic tag carries an identifier of a corresponding electronic tag, and the electronic tag corresponding to the tag data can be determined according to the identifier carried by each tag data.
The electronic tag list of the statistical period T may be in the form of an identifier, that is, the electronic tag list of the statistical period T may include identifiers of electronic tags corresponding to all tag data received within the statistical period T.
S102, comparing the electronic tag list of the statistical period with a preset electronic tag list, and determining a target electronic tag to be adjusted.
All electronic tags expected to be read by a reader-writer are preset, and a preset electronic tag list is obtained. The preset electronic tag list may exist in the form of identifiers, that is, the preset electronic tag list may include identifiers of all electronic tags that the reader/writer desires to read. All the electronic tags that the reader-writer desires to read may be, for example, electronic tags carried by each animal in a livestock group.
And after the electronic tag list of the statistical period T is obtained, comparing the electronic tag list of the statistical period T with a preset electronic tag list, and determining the electronic tags which are contained in the preset electronic tag list but not contained in the electronic tag list of the statistical period as the target electronic tags to be adjusted.
When the electronic tag is included in the preset electronic tag list, the reader-writer expects to read the electronic tag, and when the electronic tag is not included in the electronic list of the statistical period, it indicates that the reader-writer does not actually read the electronic tag in the statistical period T. Therefore, the determined target electronic tags to be adjusted are electronic tags that may have transmitted tag data within the statistical period T but have not been read by the reader/writer, and the tag data of these electronic tags may not be read due to the "collision".
And S103, generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
In one embodiment, the timing adjustment instruction includes an identifier of the target electronic tag and a target time interval between the target electronic tag transmitting tag data and transmitting the next tag data, and the identifier of each electronic tag is unique. The step of generating the timing adjustment instruction of the target electronic tag may include:
(1) And determining the target time interval of the target electronic tag.
The step of determining the target time interval of the target electronic tag may include:
and (1.1) determining an idle time slot in the statistical period according to the receiving time of each label data.
And (1.2) determining the target time interval of the target electronic tag according to the idle time slot.
The statistical period T of the reader/writer may include a plurality of equally divided time slots. For example, a minimum identification interval of the reader/writer is obtained, a controllable minimum control interval of the electronic tag is obtained, the larger of the minimum identification interval and the minimum control interval is determined as a division scale of the statistical period, the duration of the statistical period is T, and the division scale is tx, the statistical period is averagely divided into n parts, n = T/tx, each divided time interval is used as a time slot, and time slots T1, T2, T3, T4, T5 \8230; "8230are obtained.
In all slots of the counting period T, idle slots may be included. And recording the receiving time of each label data while receiving a plurality of label data in the statistical period T, and determining the idle time slot in the statistical period according to the distribution condition of the receiving time of each label data in each time slot. The standard of the free time slot may be defined by itself, for example, a time slot containing tag data whose number is smaller than a preset threshold is used as the free time slot.
For example, referring to fig. 3, fig. 3 is a schematic diagram illustrating distribution of tag data received within a statistical period T according to an embodiment of the present disclosure. In fig. 2, the statistical period T is divided into 5 time slots (T1, T2, T3, T4, T5) as an example, and one of the time slots represents the tag data received in the time slot.
According to the receiving time of each label data, the distribution situation of the label data in each time slot can be determined as follows: 1 tag data is distributed in the time slot t1, 1 tag data is distributed in the time slot t2, 3 tag data is distributed in the time slot t3, 1 tag data is distributed in the time slot t4, and 0 tag data is distributed in the time slot t 5.
According to the distribution of the receiving time of each label data in each time slot, the idle time slot in the statistical period can be determined. For example, when the number of tag data in a certain slot is 0, the tag data may be determined as a free slot. For example, time slot t5 in fig. 2 may be determined as an idle time slot.
After the idle time slot is determined, the target time interval of the target electronic tag can be determined according to the time corresponding to the idle time slot and the time when the target electronic tag originally intends to transmit tag data next time.
(2) And generating a timing adjustment instruction according to the identifier and the target time interval.
According to the identifier and the target time interval, a time sequence adjusting instruction of the target electronic tag can be generated. The time sequence adjusting instruction can be used for adjusting the time when the target electronic tag transmits the tag data next time, so that the tag data transmitted next time by the electronic tag is staggered with the tag data of other electronic tags which may collide originally, and the tag data of the target electronic tag can be received by the reader-writer in an idle time slot, and the tag data of the target electronic tag can also be successfully read by the reader-writer.
In one embodiment, the electronic tag turns on the antenna and the antenna is in a transmitting state, transmits tag data to the reader-writer through the antenna, converts the transmitting state of the antenna into a receiving state after the tag data is transmitted each time, and extends the turn-on time tr of the antenna to receive a timing sequence adjustment instruction transmitted by the reader-writer. The extension time tr of the antenna can be set as desired. After the time tr is passed, the antenna of the electronic tag is turned off.
When the antenna is in a receiving state, if the electronic tag receives a time sequence adjusting instruction transmitted by the reader-writer, the electronic tag is indicated as a target electronic tag, and the transmitting time of transmitting next tag data is adjusted according to the time sequence adjusting instruction, so that the time interval between the target electronic tag transmitting the tag data and the transmitting of the next tag data is equal to the target time interval. And then, sending adjustment response information to the reader-writer, wherein the adjustment response information is used for indicating that the target electronic tag has adjusted the transmission time for transmitting the next tag data according to the time sequence adjustment instruction.
In one embodiment, the reader includes a receiving antenna and a transmitting antenna, and the receiving antenna and the transmitting antenna can be continuously turned on and simultaneously operate. And in the counting period T, the reader-writer receives a plurality of label data through the receiving antenna, determines the electronic label corresponding to each label data, and can obtain the electronic label list of the counting period T after the counting period T is finished. And in the statistical period T +1, the reader-writer compares the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted, and adds an identifier of the target electronic tag into a tag adjustment set. And then, generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
In addition, during the statistical period T +1, the reader/writer may receive the adjustment response information from the target electronic tag through the receiving antenna. When the adjustment response information is received from the target electronic tag, the identifier of the target electronic tag is added into the adjustment success set so as to identify that the timing adjustment instruction of the target electronic tag has been successfully transmitted and successfully responds.
Therefore, after generating the timing adjustment command of the target electronic tag, the reader firstly determines whether the adjustment success set includes the identifier of the target electronic tag. If the adjustment success set comprises the identifier of the target electronic tag, which indicates that the time sequence adjustment instruction of the target electronic tag has been successfully transmitted and successfully responds, deleting the identifier of the target electronic tag from the tag adjustment set and the adjustment success set; and if the adjustment success set does not contain the identifier of the target electronic tag, the timing adjustment instruction is not transmitted to the target electronic tag, or the timing adjustment instruction is transmitted to the target electronic tag but is not successfully responded, transmitting the timing adjustment instruction to the target electronic tag.
It should be noted that the statistical period T +1 is the next statistical period of the statistical period T, and only represents that the above steps can be respectively executed in two periods before and after. Meanwhile, the statistical period T and the statistical period T +1 may be any statistical period of the reader/writer. Because the transmitting antenna and the receiving antenna contained in the reader-writer work independently and do not interfere with each other, and can realize respective functions simultaneously, all the steps in the statistical period T and the statistical period T +1 can be executed simultaneously in any statistical period.
For example, the reader/writer may receive a plurality of tag data through the receiving antenna in the statistical period T, and determine an electronic tag corresponding to each tag data. Meanwhile, the reader-writer can compare an electronic tag list obtained according to the last statistical period (namely the statistical period T-1) with a preset electronic tag list to determine a target electronic tag to be adjusted in the statistical period T-1, generate a timing sequence adjusting instruction of the target electronic tag in the statistical period T-1, send the timing sequence adjusting instruction of the target electronic tag in the statistical period T-1 to the corresponding target electronic tag through the transmitting antenna, and receive corresponding adjusting response information through the receiving antenna.
And after the counting period T is finished, the reader-writer can obtain an electronic tag list of the counting period T, the electronic tag list obtained in the counting period T is compared with a preset electronic tag list in the counting period T +1 to determine a target electronic tag of the counting period T, a time sequence adjusting instruction of the target electronic tag of the counting period T is generated, the time sequence adjusting instruction of the target electronic tag in the counting period T is sent to the corresponding target electronic tag through the transmitting antenna, and corresponding adjusting response information is received through the receiving antenna. Meanwhile, the reader-writer can receive a plurality of tag data in the statistical period T +1 through the receiving antenna, and determine the electronic tag corresponding to each tag data, so as to obtain the electronic tag list of the statistical period T +1 after the statistical period T +1 is finished, and further determine which electronic tag timing adjustment instructions need to be generated in the period T +2, and so on.
In one embodiment, as a new target electronic tag is determined every statistical period, adding an identifier of the new target electronic tag to the tag adjustment set; as the timing adjustment instruction of each target electronic tag is successfully responded, adding the identifier of the responded target electronic tag to a successful adjustment set; and continuously polling the tag adjustment set by the reader-writer, and deleting the identifier of the corresponding target electronic tag from the tag adjustment set and the successful adjustment set when the time sequence adjustment instruction of the target electronic tag corresponding to the identifier in the tag adjustment set is successfully responded. Therefore, the tag adjustment set and the identifiers contained in the successful adjustment set are adjusted in real time, so that the identifiers in the two sets can reflect the state of each electronic tag in real time (whether adjustment is needed or not and whether adjustment is successful or not).
Referring to fig. 4, fig. 4 is a second flowchart illustrating a timing adjustment method according to an embodiment of the present disclosure, where the timing adjustment method includes:
s201, receiving a plurality of label data in a statistical period and determining an electronic label corresponding to each label data.
The electronic tag periodically transmits tag data to the reader-writer, and the reader-writer receives a plurality of tag data transmitted by the electronic tag in a statistical period, wherein the plurality of tag data can be from the plurality of electronic tags. The duration of the statistical period T may be preset, for example, written into the reader by a user through an instruction.
In one embodiment, the collector may include a transmitting antenna and a receiving antenna. And when the counting period starts, the collector starts the receiving antenna, and the receiving antenna is used for receiving the tag data transmitted by the electronic tag.
S202, judging whether the time of the electronic tag corresponding to each tag data is consistent with the time of the reader-writer. If so, the process proceeds to step S205, otherwise, the process proceeds to step S203.
The electronic tag and the reader-writer both comprise clocks for recording the real-time of the electronic tag and the real-time of the reader-writer. The clock may be provided on a clock label, for example.
In some cases, the electronic tag and reader/writer may not be clocked in unison. For example, at a certain time, the time of the reader/writer is 21. The clock timing of the electronic tag and the reader-writer is inconsistent, which causes that the receiving time recorded by the tag data received by the reader-writer and the transmitting time carried by the electronic tag when the tag data is transmitted cannot be corresponded. For example, the transmission time of the tag data transmitted by the electronic tag end is 21. In this case, the transmission time and the reception time are obtained according to two sets of timing systems, respectively, and cannot be used for subsequent processing.
In an embodiment, when the reader receives the tag data of the electronic tag, it first determines whether the time of the electronic tag corresponding to the tag data is consistent with the time of the reader. If the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer, normally recording the receiving time of the tag data transmitted by the electronic tag; if the time of the electronic tag corresponding to the tag data is inconsistent with the time of the reader-writer, the receiving time corresponding to the tag data transmitted by the electronic tag is not recorded, but the time of the reader-writer is aligned with the time of the electronic tag, and the receiving time is not recorded until the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer.
When judging whether the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer, the transmitting time (timed by the electronic tag) carried by the tag data and the receiving time (timed by the reader-writer) when the tag data reaches the reader-writer can be obtained, and whether the difference value between the transmitting time and the receiving time of the tag data is within a preset error range or not is judged.
The error range may be, for example, ± 1 millisecond (1 ms). When the difference between the transmitting time and the receiving time of the tag data is less than or equal to 1ms, judging that the difference between the transmitting time and the receiving time of the tag data is within a preset error range, and judging that the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer; and when the difference value between the transmitting time and the receiving time of the tag data is less than-1 ms or the difference value between the transmitting time and the receiving time of the tag data is more than 1ms, judging that the difference value between the transmitting time and the receiving time of the tag data is not in a preset error range, and judging that the time of the electronic tag corresponding to the tag data is inconsistent with the time of the reader-writer.
And S203, determining the electronic tag inconsistent with the time of the reader-writer as the electronic tag to be calibrated.
And S204, generating a time alignment instruction of the electronic tag to be calibrated so as to adjust the time of the electronic tag to be calibrated according to the time alignment instruction, so that the time of the electronic tag to be calibrated is consistent with the time of the collector.
And when the time of the electronic tag corresponding to the tag data is inconsistent with the time of the reader-writer, determining the electronic tag corresponding to the tag data as the electronic tag to be calibrated, and generating a time alignment instruction of the electronic tag to be calibrated so as to adjust the time of the electronic tag to be calibrated.
When the time of the electronic tag to be calibrated is aligned with the time of the reader-writer, the time of the electronic tag to be calibrated can be calibrated to be consistent with the time of the reader-writer by taking the time of the reader-writer as a standard.
In one embodiment, the electronic tag turns on the antenna and the antenna is in a transmitting state, transmits tag data to the reader through the antenna, converts the transmitting state of the antenna into a receiving state after the tag data is transmitted each time, and extends the turn-on time tr of the antenna to receive a time alignment instruction transmitted by the reader. The extension time tr of the antenna can be set as needed. After the time tr, the antenna of the electronic tag is turned off.
When the antenna is in a receiving state, if the electronic tag receives a time alignment instruction transmitted by the reader-writer, the electronic tag is indicated to be a time-waiting electronic tag, and the time of the time-waiting electronic tag is adjusted according to the time alignment instruction, so that the time of the time-waiting electronic tag is consistent with the time of the collector. And then, sending timing response information to the reader-writer, wherein the timing response information is used for indicating that the target electronic tag has adjusted the time of the electronic tag to be calibrated according to the time alignment instruction.
In one embodiment, the reader/writer includes a receiving antenna and a transmitting antenna, and the receiving antenna and the transmitting antenna can be continuously turned on and simultaneously operated. The reader-writer receives the tag data through the receiving antenna and judges whether the time of the electronic tag corresponding to the tag data is consistent with that of the reader-writer. And if the time of the electronic tag corresponding to the tag data is inconsistent with the time of the reader-writer, determining the electronic tag corresponding to the tag data as a to-be-corrected electronic tag, adding the identifier of the to-be-corrected electronic tag to a time correction tag set, and generating a time alignment instruction of the to-be-corrected electronic tag.
Meanwhile, the reader-writer can receive timing response information from the electronic tag to be calibrated through the receiving antenna. When the time correction response information is received from the time correction electronic tag, the identifier of the time correction electronic tag is added into the time correction success set to identify that the time alignment instruction of the time correction electronic tag has been successfully transmitted and successfully responded.
In an embodiment, the reader may read the timing tag set in a cycle, and first determine whether the timing success set includes the identifier of the timing electronic tag indicated by the identifier in the timing tag set. If the time correction success set comprises the identifier of the electronic tag to be corrected, which indicates that the time alignment instruction of the electronic tag to be corrected is successfully transmitted and successfully responds, deleting the identifier of the electronic tag to be corrected from the tag time correction set and the time correction success set; and if the time correction success set does not contain the identifier of the electronic tag to be corrected, which indicates that a time alignment instruction has not been transmitted to the electronic tag to be corrected, or the electronic tag to be corrected transmits the time alignment instruction but has not been successfully responded, transmitting the time alignment instruction to the electronic tag to be corrected.
And S205, recording the receiving time of the label data.
And when the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer, recording the receiving time of the tag data.
And S206, obtaining the electronic tag list of the statistical period when the statistical period is finished.
By determining the electronic tags corresponding to the received tag data, the electronic tag list of the statistical period can be obtained after the statistical period is finished. The electronic tag list of the statistical period is the source of all the tag data received in the statistical period.
The electronic tag corresponding to the tag data can be determined by checking the identifier. Each electronic tag contains a mutually distinct identifier, i.e. a tag ID. When sending tag data to the reader/writer, each electronic tag carries an identifier of a corresponding electronic tag, and the electronic tag corresponding to the tag data can be determined according to the identifier carried by each tag data.
The electronic tag list of the statistical period may exist in the form of an identifier, that is, the electronic tag list of the statistical period T may include identifiers of electronic tags corresponding to all tag data received in the statistical period.
S207, comparing the electronic tag list of the statistical period with a preset electronic tag list, and determining a target electronic tag to be adjusted.
All electronic tags expected to be read by a reader-writer are preset, and a preset electronic tag list is obtained. The preset electronic tag list may exist in the form of identifiers, that is, the preset electronic tag list may include identifiers of all electronic tags that the reader/writer desires to read. All the electronic tags that the reader-writer desires to read may be, for example, electronic tags carried by each animal in a livestock group.
And after the electronic tag list of the statistical period is obtained, comparing the electronic tag list of the statistical period with a preset electronic tag list, and determining the electronic tags which are contained in the preset electronic tag list but not contained in the electronic tag list of the statistical period as target electronic tags to be adjusted.
And S208, determining the idle time slot in the statistical period according to the recorded receiving time of each label data.
The statistical period of the reader/writer may include a plurality of equally divided time slots. For example, a minimum identification interval of the reader-writer is obtained, a controllable minimum control interval of the electronic tag is obtained, the larger one of the minimum identification interval and the minimum control interval is determined as a division scale of the statistical period, if the duration of the statistical period is T and the division scale is x, the statistical period is averagely divided into n parts, n = T/x, each divided time interval is used as a time slot, and time slots 1, 2, 3, 4, 5 \8230, 8230and 8230are obtained.
Among all the slots of the statistical period, idle slots may be included. And recording the receiving time of each label data while receiving a plurality of label data in the statistical period, and determining the idle time slot in the statistical period according to the distribution condition of the receiving time of each label data in each time slot. The standard of the free time slot may be defined by itself, for example, a time slot containing tag data with a quantity smaller than a preset threshold is used as the free time slot.
For example, referring to fig. 2, fig. 2 is a schematic diagram illustrating distribution of tag data received in a statistical period according to an embodiment of the present disclosure. In fig. 2, the statistical period is divided into 5 time slots (1, 2, 3, 4, 5) as an example, and a symbol in each time slot represents the tag data received in the time slot.
According to the receiving time of each label data, the distribution situation of the label data in each time slot can be determined as follows: in time slot 1, 1 tag data is distributed, in time slot 2, 3 tag data is distributed, in time slot 3, 1 tag data is distributed, and in time slot 4, 0 tag data is distributed.
According to the distribution of the receiving time of each label data in each time slot, the idle time slot in the statistical period can be determined. For example, when the number of tag data in a certain slot is 0, the tag data may be determined as a free slot. For example, slot 5 in fig. 2 may be determined as a free slot.
S209, determining the target time interval of the target electronic tag according to the idle time slot.
After the idle time slot is determined, the target time interval of the target electronic tag can be determined according to the time corresponding to the idle time slot and the time when the target electronic tag originally intends to transmit the tag data next time.
S210, generating a time sequence adjusting instruction according to the identifier of the target electronic tag and the target time interval, and controlling the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
According to the identifier and the target time interval, a timing adjustment instruction of the target electronic tag can be generated. The time sequence adjusting instruction can be used for adjusting the time when the target electronic tag transmits the tag data next time, so that the tag data transmitted next time by the electronic tag is staggered with the tag data of other electronic tags which may collide originally, and the tag data of the target electronic tag can be received by the reader-writer in the idle time slot, and the tag data of the target electronic tag can be successfully read by the reader-writer.
In one embodiment, the electronic tag turns on the antenna and the antenna is in a transmitting state, transmits tag data to the reader-writer through the antenna, converts the transmitting state of the antenna into a receiving state after the tag data is transmitted each time, and extends the turn-on time tr of the antenna to receive a timing sequence adjustment instruction transmitted by the reader-writer. The extension time tr of the antenna can be set as desired. After the time tr is passed, the antenna of the electronic tag is turned off.
When the antenna is in a receiving state, if the electronic tag receives a time sequence adjusting instruction transmitted by the reader-writer, the electronic tag is indicated as a target electronic tag, and the transmitting time of transmitting the next tag data is adjusted according to the time sequence adjusting instruction, so that the time interval between the target electronic tag transmitting the tag data and the transmitting of the next tag data is equal to the target time interval. And then sending adjustment response information to the reader-writer, wherein the adjustment response information is used for indicating that the target electronic tag has adjusted the transmitting time for transmitting the next tag data according to the time sequence adjustment instruction.
In one embodiment, the reader/writer includes a receiving antenna and a transmitting antenna, and the receiving antenna and the transmitting antenna can be continuously turned on and simultaneously operated. And in the counting period T, the reader-writer receives a plurality of label data through the receiving antenna, determines the electronic label corresponding to each label data, and can obtain the electronic label list of the counting period T after the counting period T is finished. And in the statistical period T +1, the reader-writer compares the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted, and adds an identifier of the target electronic tag into a tag adjustment set. And then, generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
In addition, during the statistical period T +1, the reader/writer may receive the adjustment response information from the target electronic tag through the receiving antenna. When the adjustment response information is received from the target electronic tag, the identifier of the target electronic tag is added into the adjustment success set so as to identify that the timing adjustment instruction of the target electronic tag has been successfully transmitted and successfully responds.
Therefore, after generating the timing adjustment command of the target electronic tag, the reader firstly determines whether the adjustment success set includes the identifier of the target electronic tag. If the adjustment success set comprises the identifier of the target electronic tag, which indicates that the time sequence adjustment instruction of the target electronic tag has been successfully transmitted and successfully responds, deleting the identifier of the target electronic tag from the tag adjustment set and the adjustment success set; and if the adjustment success set does not contain the identifier of the target electronic tag, the timing adjustment instruction is not transmitted to the target electronic tag, or the timing adjustment instruction is transmitted to the target electronic tag but is not successfully responded, transmitting the timing adjustment instruction to the target electronic tag.
As can be seen from the above, in the timing adjustment method provided in the embodiment of the present application, first, a plurality of tag data are received in a statistical period, and an electronic tag corresponding to each tag data is determined, so as to obtain an electronic tag list of the statistical period; then comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted; and further generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction. According to the embodiment of the application, the tag data transmitted by the electronic tags are determined not to be received according to the condition of the tag data received in the statistical period, the time sequence needs to be adjusted, the time sequence adjusting instructions of the electronic tags are generated, and the corresponding electronic tags are controlled to adjust the time sequence of transmitting the tag data next time, so that the tag data transmitted next time by the electronic tags at this time can be received, and the data transmission efficiency is improved.
The present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is enabled to execute the flow in the timing adjustment method provided in this embodiment.
The embodiment of the application also provides a reader-writer. Referring to fig. 5, fig. 5 is a first structural schematic diagram of a reader/writer according to an embodiment of the present disclosure. The reader 300 may include a memory 311, a processor 312, and other components. Those skilled in the art will appreciate that the reader/writer configuration shown in fig. 5 does not constitute a limitation of the reader/writer, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The memory 311 may be used to store applications and data. The memory 311 stores applications containing executable code. The application programs may constitute various functional modules. The processor 312 executes various functional applications and data processing by running an application program stored in the memory 311.
The processor 312 is a control center of the reader/writer, connects various parts of the entire reader/writer by using various interfaces and lines, and performs various functions of the reader/writer and processes data by running or executing an application program stored in the memory 311 and calling data stored in the memory 311, thereby integrally monitoring the reader/writer.
In this embodiment, the processor 312 in the reader/writer loads the executable code corresponding to the processes of one or more application programs into the memory 311 according to the following instructions, and the processor 312 runs the application programs stored in the memory 311, thereby implementing the process:
receiving a plurality of label data in a statistical period and determining an electronic label corresponding to each label data to obtain an electronic label list of the statistical period;
comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted;
and generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a second structure of a reader/writer according to an embodiment of the present disclosure. The reader/writer 300 may include therein a control unit 310, a clock chip 320, a power supply 330, a wireless transmission unit 340, a reception antenna 350, and a transmission antenna 360.
Wherein, the control Unit 310 may be a Micro Control Unit (MCU); the Clock chip 320 may be a Real Time Clock (RTC) in the form of an integrated circuit, and uses a crystal oscillator as a Clock source to provide accurate Real Time; the power supply 330 is used to supply power to the reader/writer 300; the wireless transmission unit 340 may establish a wireless connection with the server, thereby transmitting the tag data received by the reader/writer to the server.
The receiving antenna 350 and the transmitting antenna 360 included in the reader-writer can work independently without interference, and realize respective functions. The reader/writer 300 may receive a plurality of tag data through the receiving antenna 350 during the statistical period T, and transmit a timing adjustment command generated according to the tag data received during the statistical period T-1 to the target electronic tag through the transmitting antenna 360, and receive adjustment response information of the timing adjustment command from the target electronic tag through the receiving antenna 350.
In addition, the reader/writer 300 may also transmit a time alignment instruction to the electronic tag to be time-calibrated through the transmitting antenna 360, and receive time-calibration response information of the time alignment instruction from the electronic tag to be time-calibrated through the receiving antenna 350.
In one embodiment, the control unit 310 includes a memory 311 and a processor 312. The memory 311 stores a computer program, and the processor 312 calls the computer program stored in the memory 311, thereby implementing the following processes:
receiving a plurality of label data in a statistical period and determining an electronic label corresponding to each label data to obtain an electronic label list of the statistical period;
comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted;
and generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
In an embodiment, when the electronic tag list of the statistical period is compared with a preset electronic tag list, and a target electronic tag to be adjusted is determined, the processor 312 performs:
and determining the electronic tags which are contained in the preset electronic tag list but not contained in the electronic tag list of the statistical period as target electronic tags to be adjusted.
In an embodiment, the electronic tags include mutually different identifiers, and after determining the target electronic tag to be adjusted, the processor 312 further performs:
adding the identifier of the target electronic tag into a tag adjustment set;
the processor 312 also performs:
and when receiving the adjustment response information from the target electronic tag, adding the identifier of the target electronic tag into the adjustment success set, wherein the adjustment response information is used for indicating that the target electronic tag has adjusted the transmission time for transmitting the next tag data according to the time sequence adjustment instruction.
In an embodiment, after generating the timing adjustment instruction of the target electronic tag, the processor 312 further performs:
if the identifier of the target electronic tag is contained in the adjustment success set, deleting the identifier of the target electronic tag from the tag adjustment set and the adjustment success set;
and if the identifier of the target electronic tag is not contained in the adjustment successful set, transmitting a time sequence adjustment instruction to the target electronic tag.
In an embodiment, the timing adjustment instruction of the target electronic tag includes an identifier of the target electronic tag and a target time interval between the target electronic tag transmitting tag data and transmitting next tag data, and when the timing adjustment instruction of the target electronic tag is generated, the processor 312 performs:
determining a target time interval of a target electronic tag;
and generating a timing adjustment instruction according to the identifier and the target time interval.
In one embodiment, processor 312 further performs:
when a plurality of label data are received, recording the receiving time of each label data;
the counting period includes a plurality of equally divided time slots, and when determining the target time interval of the target electronic tag, the processor 312 performs:
determining idle time slots in a statistical period according to the receiving time of each label data;
and determining a target time interval of the target electronic tag according to the idle time slot.
In one embodiment, the method is applied to a reader/writer, and when recording the receiving time of each tag data, the processor 312 performs:
and if the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer, recording the receiving time of the tag data.
In one embodiment, processor 312 further performs:
if the time of the electronic tag corresponding to the tag data is inconsistent with the time of the reader-writer, determining the electronic tag inconsistent with the time of the reader-writer as an electronic tag to be calibrated;
and generating a time alignment instruction of the electronic tag to be calibrated so as to adjust the time of the electronic tag to be calibrated according to the time alignment instruction, so that the time of the electronic tag to be calibrated is consistent with the time of the collector.
In an embodiment, the electronic tags include identifiers that are different from each other, and after determining the electronic tag that is inconsistent with the time of the reader/writer as the electronic tag to be calibrated, the processor 312 further performs:
adding an identifier of the electronic tag to be calibrated into a tag timing set;
the processor 312 also performs:
and when the time correction response information is received from the time correction electronic tag, adding the time correction electronic tag into the time correction success set, wherein the time correction response information is used for indicating that the time of the time correction electronic tag is adjusted according to the time alignment instruction.
In an embodiment, after generating the time alignment instruction of the electronic tag to be calibrated, the processor 312 further performs:
if the time correction success set contains the identifier of the electronic tag to be corrected, deleting the identifier of the electronic tag to be corrected from the tag time correction set and the time correction success set;
and if the time correction success set does not contain the identifier of the electronic tag to be corrected, transmitting a time alignment instruction to the local electronic tag to be corrected.
As can be seen from the above, in the reader provided in the embodiment of the present application, first, a plurality of tag data are received in a statistical period, and an electronic tag corresponding to each tag data is determined, so as to obtain an electronic tag list of the statistical period; then comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted; and further generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction. According to the embodiment of the application, the tag data transmitted by the electronic tags are determined not to be received according to the condition of the tag data received in the statistical period, the time sequence needs to be adjusted, the time sequence adjusting instructions of the electronic tags are generated, and the corresponding electronic tags are controlled to adjust the time sequence of transmitting the tag data next time, so that the tag data transmitted next time by the electronic tags at this time can be received, and the data transmission efficiency is improved.
The embodiment of the present application further provides an electronic tag, where the electronic tag is configured to transmit tag data to the reader 300 provided in the embodiment of the present application.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic tag according to an embodiment of the present disclosure. The electronic tag 200 may include a control unit 210, a clock chip 220, a power supply 230, a sensor 240, and an antenna 250, among others.
Wherein, the control Unit 210 may be a Micro Control Unit (MCU); the Clock chip 220 may be a Real-Time Clock (RTC) in the form of an integrated circuit, and uses a crystal oscillator as a Clock source to provide accurate Real-Time; the power supply 230 is used for supplying power to the electronic tag 200, and the power supply 230 may be a battery; the sensor 240 is used to collect data, for example, the sensor 240 may be a temperature sensor for collecting temperature data of a herd, the sensor 240 may also be a motion sensor for collecting motion data of a herd, and the like.
The operating state of the antenna 250 includes a transmitting state and a receiving state. The electronic tag may turn on the antenna 250, and the antenna 250 is in a transmitting state, transmit tag data to the reader/writer 300 through the antenna 250, after the tag data is transmitted each time, convert the transmitting state of the antenna 250 into a receiving state, and extend the turn-on time tr of the antenna 250 to receive a timing adjustment instruction and/or a time alignment instruction transmitted by the reader/writer. The extension time tr of the antenna can be set as desired. After the time tr elapses, the antenna 250 of the electronic tag is turned off.
When the electronic tag 200 is a target electronic tag, the electronic tag 200 receives a timing adjustment instruction transmitted by the reader through the antenna 250, so as to adjust a transmission time for transmitting next tag data according to the timing adjustment instruction. After the transmission timing for transmitting the next tag data is adjusted according to the timing adjustment instruction, the antenna 250 is switched to the transmission state, and the adjustment response information is transmitted to the reader/writer 300 through the antenna 250.
When the electronic tag 200 is a timing electronic tag, the electronic tag 200 receives a time alignment command transmitted by the reader through the antenna 250, so as to adjust the time of the timing electronic tag according to the time alignment command. After the time of the electronic tag to be calibrated is adjusted according to the time alignment instruction, the antenna 250 is switched to a transmission state, and adjustment response information is transmitted to the reader-writer 300 through the antenna 250.
The embodiment of the application also provides a time sequence adjusting system. Referring to fig. 8, fig. 8 is a schematic structural diagram of a timing adjustment system according to an embodiment of the present disclosure. The timing adjustment system includes a reader/writer 300 and an electronic tag 200:
the reader-writer 300 is configured to receive a plurality of tag data in a statistical period, determine an electronic tag corresponding to each tag data, obtain an electronic tag list of the statistical period, compare the electronic tag list of the statistical period with a preset electronic tag list, determine a target electronic tag to be adjusted, generate a timing adjustment instruction of the target electronic tag, and control the target electronic tag to adjust an emission time for emitting next tag data according to the timing adjustment instruction;
the electronic tag 200 is configured to transmit tag data to the reader/writer 300, and when the electronic tag is a target electronic tag, the electronic tag is further configured to receive a timing adjustment instruction transmitted by the reader/writer, so as to adjust a transmission time for transmitting next tag data according to the timing adjustment instruction.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the timing adjustment method, and are not described herein again.
It should be noted that, for the timing adjustment method of the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process for implementing the timing adjustment method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, the computer program can be stored in a computer readable storage medium, such as a memory, and executed by at least one processor, and the execution process can include, for example, the process of the embodiment of the timing adjustment method. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the timing adjustment apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The timing adjustment method, the storage medium, the reader/writer, the electronic tag and the system provided by the embodiment of the present application are introduced in detail, a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A timing adjustment method, comprising:
receiving a plurality of label data in a statistical period and determining an electronic label corresponding to each label data to obtain an electronic label list of the statistical period;
comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted;
and generating a time sequence adjusting instruction of the target electronic tag so as to control the target electronic tag to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
2. The timing adjustment method according to claim 1, wherein the comparing the electronic tag list of the statistical period with a preset electronic tag list to determine a target electronic tag to be adjusted includes:
and determining the electronic tags which are contained in the preset electronic tag list but not contained in the electronic tag list of the statistical period as target electronic tags to be adjusted.
3. The timing adjustment method according to claim 1, wherein the electronic tags include identifiers that are different from each other, and after determining the target electronic tag to be adjusted, the method further comprises:
adding the identifier of the target electronic tag into a tag adjustment set;
the method further comprises the following steps:
and when receiving an adjustment response message from the target electronic tag, adding the identifier of the target electronic tag into an adjustment success set, wherein the adjustment response message is used for indicating that the target electronic tag has adjusted the transmission time for transmitting the next tag data according to the time sequence adjustment instruction.
4. The timing adjustment method according to claim 3, wherein after the generating the timing adjustment command of the target electronic tag, the method further comprises:
if the adjustment success set contains the identifier of the target electronic tag, deleting the identifier of the target electronic tag from the tag adjustment set and the adjustment success set;
and if the identifier of the target electronic tag is not contained in the adjustment successful set, transmitting the timing adjustment instruction to the target electronic tag.
5. The timing adjustment method according to claim 1, wherein the timing adjustment instruction of the target electronic tag includes an identifier of the target electronic tag and a target time interval between the target electronic tag transmitting the tag data and transmitting the next tag data, and the generating the timing adjustment instruction of the target electronic tag includes:
determining a target time interval of the target electronic tag;
and generating the timing adjustment instruction according to the identifier and the target time interval.
6. The timing adjustment method of claim 5, further comprising:
recording the receiving time of each label data when receiving the plurality of label data;
the statistical period comprises a plurality of equally divided time slots, and the determining the target time interval of the target electronic tag comprises:
determining an idle time slot in the statistical period according to the receiving time of each label data;
and determining the target time interval of the target electronic tag according to the idle time slot.
7. The timing adjustment method according to claim 6, wherein the method is applied to a reader/writer, and the recording of the reception time of each tag data includes:
and if the time of the electronic tag corresponding to the tag data is consistent with the time of the reader-writer, recording the receiving time of the tag data.
8. The timing adjustment method of claim 7, further comprising:
if the time of the electronic tag corresponding to the tag data is inconsistent with the time of the reader-writer, determining the electronic tag inconsistent with the time of the reader-writer as the electronic tag to be calibrated;
and generating a time alignment instruction of the electronic tag to be calibrated so as to adjust the time of the electronic tag to be calibrated according to the time alignment instruction, so that the time of the electronic tag to be calibrated is consistent with the time of the collector.
9. The timing adjustment method according to claim 8, wherein the electronic tags include identifiers that are different from each other, and after determining that the electronic tag that does not coincide with the time of the reader/writer is the electronic tag to be checked, the method further comprises:
adding the identifier of the electronic tag to be calibrated into a tag timing set;
the method further comprises the following steps:
and when receiving time correction response information from the time-waiting electronic tag, adding the time-waiting electronic tag into a time correction successful set, wherein the time correction response information is used for indicating that the time of the time-waiting electronic tag is adjusted according to the time alignment instruction.
10. The timing adjustment method according to claim 9, wherein after the generating the time alignment instruction of the electronic tag to be calibrated, the method further comprises:
if the time correcting successful set contains the identifier of the electronic tag to be corrected, deleting the identifier of the electronic tag to be corrected from the tag time correcting set and the time correcting successful set;
and if the time-correcting successful set does not contain the identifier of the electronic tag to be corrected, transmitting the time alignment instruction to the local electronic tag to be corrected.
11. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the steps in the timing adjustment method according to any one of claims 1 to 10.
12. A reader/writer characterized by comprising: a processor and a memory, the memory having a computer program stored therein, the processor executing the steps of the timing adjustment method according to any one of claims 1 to 10 by calling the computer program stored in the memory.
13. An electronic tag, wherein the electronic tag is configured to:
transmitting the tag data to a reader/writer, the reader/writer being the reader/writer according to claim 12;
and when the electronic tag is a target electronic tag, receiving a time sequence adjusting instruction transmitted by the reader-writer so as to adjust the transmitting time of transmitting the next tag data according to the time sequence adjusting instruction.
14. A timing adjustment system, comprising:
the reader-writer is used for receiving a plurality of label data in a statistical period, determining an electronic label corresponding to each label data to obtain an electronic label list of the statistical period, comparing the electronic label list of the statistical period with a preset electronic label list, determining a target electronic label to be adjusted, generating a time sequence adjusting instruction of the target electronic label, and controlling the target electronic label to adjust the transmitting time for transmitting the next label data according to the time sequence adjusting instruction;
and the electronic tag is used for transmitting tag data to a reader-writer, and when the electronic tag is a target electronic tag, the electronic tag is also used for receiving a time sequence adjusting instruction transmitted by the reader-writer so as to adjust the transmitting time for transmitting the next tag data according to the time sequence adjusting instruction.
CN202110633414.8A 2021-06-07 2021-06-07 Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system Pending CN115510883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110633414.8A CN115510883A (en) 2021-06-07 2021-06-07 Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110633414.8A CN115510883A (en) 2021-06-07 2021-06-07 Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system

Publications (1)

Publication Number Publication Date
CN115510883A true CN115510883A (en) 2022-12-23

Family

ID=84499023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110633414.8A Pending CN115510883A (en) 2021-06-07 2021-06-07 Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system

Country Status (1)

Country Link
CN (1) CN115510883A (en)

Similar Documents

Publication Publication Date Title
CN101178765B (en) Method and system for tuning an RFID interrogator
Su et al. Idle slots skipped mechanism based tag identification algorithm with enhanced collision detection
US8207856B2 (en) Systems and methods for RFID tag arbitration where RFID tags generate multiple random numbers for different arbitration sessions
He et al. An ALOHA-based improved anti-collision algorithm for RFID systems
US20100019883A1 (en) Methods of identifying RFID tag for preventing RFID tag collision, RFID reader and RFID tag using the same
US20070236335A1 (en) Ahead-of-time scheduling of commands in RFID reader systems
CN109002743B (en) Anti-collision method for label checking and reader-writer
US20070236331A1 (en) Preventing timeout of RFID tag in timed state of air-interface protocol
CN101923625A (en) Tag anti-collision method and system
Yu et al. Reducing reader collision for mobile RFID
CN101178766A (en) Method and system for tuning an rfid interrogator
US9785803B2 (en) Method, apparatus and system for collecting tags using bit map in RFID system
CN109784434B (en) Intelligent container and RFID (radio frequency identification) tag query and inventory method and system thereof
CN115510883A (en) Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system
Wang Efficient DFSA algorithm in RFID systems for the internet of things
CN115510881A (en) Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system
KR100829794B1 (en) Method of identifying radio frequency tag in rfid system
CN113283260B (en) Method for intelligently switching channels of multi-channel reader-writer, reader-writer and storage medium
CN106127094B (en) Radio frequency identification system and its multiple labels anti-collision preanalysis formula recognition methods
CN101499121B (en) Anti-collision method for radio frequency recognition
CN102034067A (en) Multi-label anti-collision method for radio frequency identification, reader and system
WO2024037612A1 (en) Data transceiving method and apparatus, computer-readable storage medium, and communication device
Cerciello et al. Optimization of tag anti-collision algorithm for EPC Gen2 RFID
Landaluce et al. A high throughput anticollision protocol to decrease the energy consumption in a passive RFID system
CN115510882A (en) Timing sequence adjusting method, storage medium, reader-writer, electronic tag and system

Legal Events

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