CN114373246B - RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction - Google Patents
RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction Download PDFInfo
- Publication number
- CN114373246B CN114373246B CN202111493733.XA CN202111493733A CN114373246B CN 114373246 B CN114373246 B CN 114373246B CN 202111493733 A CN202111493733 A CN 202111493733A CN 114373246 B CN114373246 B CN 114373246B
- Authority
- CN
- China
- Prior art keywords
- data
- electronic tag
- time
- point time
- starting point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012937 correction Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004364 calculation method Methods 0.000 claims abstract description 115
- 238000007781 pre-processing Methods 0.000 claims abstract description 16
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 238000012216 screening Methods 0.000 claims description 11
- 238000012360 testing method Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 abstract description 9
- 238000012935 Averaging Methods 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/22—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people in connection with sports or games
- G07C1/24—Race time-recorders
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Abstract
The invention provides an RFID timing and loop counting system and method based on a weak directional antenna and error correction, and relates to the technical field of motion timing. An RFID timing loop system based on weak directional antenna and error correction obtains adjustment time through a preprocessing module; the RFID read-write module respectively acquires a plurality of starting point time data and a plurality of ending point time data of each electronic tag; the first calculation module calculates average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag respectively; the second calculation module performs time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag; the time correction module corrects the initial timing data of each electronic tag according to the adjustment time, so that the error correction of the time in two aspects of averaging processing and preprocessing of the read data is realized, and the timing accuracy is improved.
Description
Technical Field
The invention relates to the technical field of motion timing, in particular to an RFID timing loop system and method based on a weak directional antenna and error correction.
Background
For a long time, the timing and counting in the track sports are realized through manual operation, so that the data volume is huge, the labor intensity is high, errors are easy to occur, and the real-time meaning is lost.
The prior art can save a large amount of manpower and financial resources through the use of RFID technology, and on the other hand can automatically record the number of turns and the score of students, thereby ensuring the accuracy, the reliability and the fairness of the competition. The existing time-measuring and time-counting loop system adopts a small antenna technology, wherein the small antenna refers to a carpet antenna with small power, small coverage area and larger coverage area, and the distance is about 20-40 cm, and in actual use, a plurality of small antennas are adopted to be connected left and right and front and back. The antennas are interconnected to form a "carpet" of length 3-7 meters and width 50 cm or so, and the antennas are expensive to manufacture, resulting in high costs. The other is to use a weak directional antenna, namely a weak directional antenna, wherein the single antenna of the weak directional antenna has high power, wide coverage range and low cost, and the radiation range can be 3-7 m, but the RFID timing system using the weak directional antenna has time errors when reading data, so that the timing is inaccurate.
Disclosure of Invention
The invention aims to provide an RFID timing and counting system and method based on a weak directional antenna and error correction, which are used for solving the problem that the timing is inaccurate due to time errors when the RFID timing system adopting the weak directional antenna in the prior art reads data.
In a first aspect, an embodiment of the present application provides an RFID timing loop system based on a weak directional antenna and error correction, including:
the preprocessing module is used for acquiring adjustment time;
The RFID read-write module is used for respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag;
The first calculation module is used for calculating average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag respectively to obtain starting point time calculation data and end point time calculation data of each electronic tag;
The second calculation module is used for carrying out time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag;
And the time correction module is used for correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag.
In the implementation process, the adjustment time is obtained through a preprocessing module; the RFID read-write module respectively acquires a plurality of starting point time data and a plurality of ending point time data of each electronic tag; the first calculation module calculates average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag respectively to obtain starting point time calculation data and end point time calculation data of each electronic tag, so that the read time data are averaged to reduce errors; the second calculation module performs time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag; the time correction module corrects the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag, so that error correction is carried out on the time in two aspects of averaging processing and preprocessing of the read data, and the timing accuracy is improved.
Based on the first aspect, in some embodiments of the invention, the first computing module includes:
The first array unit is used for storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
The first data conversion unit is used for extracting and converting all data in the time array into INT type data to obtain a plurality of INT type data;
An average calculating unit, configured to calculate an average value of a plurality of INT-type data, and obtain a data average value;
And the second data conversion unit is used for converting the average value of the data into DATATIME type data to obtain starting point time calculation data or end point time calculation data of each electronic tag.
Based on the first aspect, in some embodiments of the present invention, the first computing module further includes:
The array clearing unit is used for clearing the data in the first array unit after calculating the average value of a plurality of starting point time data or a plurality of ending point time data of each electronic tag respectively.
Based on the first aspect, in some embodiments of the invention, further comprising:
The data selection adjustment module is used for respectively screening the last read time from the plurality of starting point time data and the plurality of end point time data of each electronic tag to be used as starting point time calculation data and end point time calculation data.
Based on the first aspect, in some embodiments of the present invention, the data selection adjustment module includes:
The second array unit is used for storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
The data screening unit is used for screening and extracting the last read time from the time array as starting point time calculation data or end point time calculation data of each electronic tag.
Based on the first aspect, in some embodiments of the invention, further comprising:
The collision error judging module is used for acquiring and judging whether the electronic tags collide according to the frequency information read by the electronic tags, and if yes, the collision error correcting module is called; if not, ending;
and the collision error correction module is used for correcting the initial timing data corresponding to the electronic tag to obtain final timing data.
In a second aspect, an embodiment of the present application provides an RFID timing and looping method based on a weak directional antenna and error correction, including the steps of:
acquiring adjustment time;
Respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag;
Respectively calculating average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag to obtain starting point time calculation data and end point time calculation data of each electronic tag;
performing time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag;
And correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag.
In the implementation process, the adjustment time is obtained; then respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag; then respectively calculating the average value of a plurality of starting point time data and a plurality of end point time data of each electronic tag to obtain starting point time calculation data and end point time calculation data of each electronic tag, so as to average the read time data to reduce errors; then, calculating the starting point time calculation data and the end point time calculation data of each electronic tag in a time-consuming manner to obtain initial timing data of each electronic tag; and finally, correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag, and realizing error correction on the time in two aspects of averaging and preprocessing the read data, thereby improving the timing accuracy.
Based on the second aspect, in some embodiments of the present invention, the step of calculating the average value of the plurality of start time data and the plurality of end time data of each electronic tag, respectively, to obtain the start time calculation data and the end time calculation data of each electronic tag includes the steps of:
Storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
Extracting and converting all data in the time array into INT type data to obtain a plurality of INT type data;
calculating the average value of a plurality of INT type data to obtain a data average value;
and converting the average value of the data into DATATIME type data to obtain starting point time calculation data or end point time calculation data of each electronic tag.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory for storing one or more programs; a processor. The method as described in any one of the first aspects is implemented when the one or more programs are executed by the processor.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the first aspects above.
The embodiment of the invention has at least the following advantages or beneficial effects:
The embodiment of the invention provides an RFID (radio frequency identification) timing loop system and method based on a weak directional antenna and error correction, wherein the adjustment time is acquired through a preprocessing module; the RFID read-write module respectively acquires a plurality of starting point time data and a plurality of ending point time data of each electronic tag; the first calculation module calculates average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag respectively to obtain starting point time calculation data and end point time calculation data of each electronic tag, so that the read time data are averaged to reduce errors; the second calculation module performs time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag; the time correction module corrects the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag, so that error correction is carried out on the time in two aspects of averaging processing and preprocessing of the read data, and the timing accuracy is improved. The data selection adjustment module is used for adjusting the data selection from the aspect of reading the data, so that the accuracy of data selection is improved, and the time error is reduced. And acquiring and judging whether the electronic tag collides or not according to the frequency information read by each electronic tag by using a collision error judging module, and correcting initial timing data corresponding to the electronic tag by using a collision error correcting module to obtain final timing data. Therefore, the collision error is directly corrected, and the timing accuracy is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of an RFID timing loop system based on a weak directional antenna and error correction according to an embodiment of the present invention;
FIG. 2 is a flowchart of an RFID timing and looping method based on weak directional antennas and error correction according to an embodiment of the present invention;
Fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Icon: 110-a preprocessing module; 120-an RFID read-write module; 130-a first computing module; 131-a first array unit; 132-a first data conversion unit; 133-an average calculation unit; 134-a second data conversion unit; 135-an array clearing unit; 140-a second calculation module; 150-a time correction module; 160-a data selection adjustment module; 161-a second plurality of units; 162-a data screening unit; 170-a collision error judging module; 180-a collision error correction module; 101-memory; 102-a processor; 103-communication interface.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Examples
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The various embodiments and features of the embodiments described below may be combined with one another without conflict.
Referring to fig. 1, fig. 1 is a block diagram of an RFID timing loop system based on a weak directional antenna and error correction according to an embodiment of the present invention. The RFID time counting and loop system based on the weak directional antenna and error correction comprises:
A preprocessing module 110, configured to obtain an adjustment time; since the antenna is assumed to have a deviation each time, the reading range of the reader is different each time, so that the difference between the test result and the actual result occurs, and the difference is basically fixed, the difference can be obtained by the preprocessing module 110, and further, correction can be performed. After the antenna is erected, a single circle of test is carried out on the system by using a stopwatch before the system starts to be used, and data is compared after the test to obtain a difference value, wherein the difference value is the adjustment time and can be manually input into the preprocessing module 110 or can be calculated in the system.
The RFID read-write module 120 is configured to obtain a plurality of start time data and a plurality of end time data of each electronic tag respectively; the RFID read/write module 120 reads a plurality of time data of the electronic tag within the reading range through the RFID reader, reads the start time data from the RFID reader at the start point, reads the end time data from the RFID reader at the end point, and reads the data from the RFID reader at the end point.
The first calculating module 130 is configured to calculate average values of a plurality of start time data and a plurality of end time data of each electronic tag, respectively, to obtain start time calculation data and end time calculation data of each electronic tag; assuming that the athlete moves at an average speed of 100 meters in 10 seconds, the distance travelled in 0.1 seconds is 1 meter. For a 0.1s scan period of the RFID reader, the initial acquisition point of the card number may be anywhere 1m before the finish line. Therefore, at normal operating speeds, the error range is less than 1m, and a timing accuracy of 0.1s can be achieved within the allowable range. However, the accuracy of time cannot be effectively guaranteed by single time reading, so that an error is eliminated by taking an average value of all times of a single electronic tag within the reading range of a reader, and two people passing through the time is guaranteed to be consistent as much as possible in time. The above process of calculating the average value may be accomplished by:
A first array unit 131, configured to store a plurality of start time data or a plurality of end time data of each electronic tag into a preset array, to obtain a time array; the preset array may be a preset buffer array, which is used to store a plurality of reading times when each electronic tag passes through the reader, for example, to record the reading time, a DATETIMES [ ] attribute, DATETIMES [ ] attribute is created in the originally created RFID-Info as an array capable of storing a plurality of time types, and when the electronic tag passes through the antenna reading range, the reading time when the reading thread is triggered can be recorded in the array for subsequent data processing. By setting the array, storage of a plurality of time data is facilitated.
A first data conversion unit 132, configured to extract and convert all data in the time array into an INT type, so as to obtain a plurality of INT type data; because the data of the time array are all time data, the data type is time data, and in order to facilitate the later calculation, the data needs to be converted into integer data, namely INT type data. The conversion of the time data into the INT type data can be achieved by using the existing data type conversion technology, and therefore, the description thereof will not be repeated here.
An average calculating unit 133 for calculating an average of the plurality of INT-type data to obtain a data average; the calculated average value may be calculated using an average function.
The second data conversion unit 134 is configured to convert the average data into DATATIME type data, so as to obtain start time calculation data or end time calculation data of each electronic tag. The data type of the obtained data average value is integer data, and in order to facilitate time calculation, the integer data needs to be converted into time type data, namely DATATIME type data. The conversion of the integer data into the time-type data can be accomplished by using the prior art, and therefore, the description thereof is omitted herein.
Wherein, to ensure accuracy of each data storage, the first computing module 130 further includes:
The array clearing unit 135 is configured to clear the data in the first array unit 131 after calculating the average value of the plurality of start time data or the plurality of end time data of each electronic tag. The above-mentioned clear is that after the averaging treatment, the array is emptied, so that it can ensure that the array is empty when the next data storage is implemented, so that the accuracy of data can be ensured.
The second calculating module 140 is configured to perform time-consuming calculation according to the start time calculation data and the end time calculation data of each electronic tag, so as to obtain initial timing data of each electronic tag; the calculation of the time-consuming time refers to the difference between the end time and the start time, and the obtained result is the initial timing data.
The time correction module 150 is configured to correct the initial timing data of each electronic tag according to the adjustment time, so as to obtain final timing data of each electronic tag. The correction means that the adjustment time is added with the initial timing data, and finally the final timing data is obtained. For example: the adjustment time was 2 seconds, and the initial timing data was 5 minutes 11 seconds, and the final timing data was 5 minutes 13 seconds.
In the above implementation process, the preprocessing module 110 acquires the adjustment time; the RFID read-write module 120 respectively acquires a plurality of start time data and a plurality of end time data of each electronic tag; the first calculation module 130 calculates average values of a plurality of start time data and a plurality of end time data of each electronic tag, respectively, to obtain start time calculation data and end time calculation data of each electronic tag, so as to average the read time data to reduce errors; the second calculation module 140 performs time-consuming calculation according to the start time calculation data and the end time calculation data of each electronic tag to obtain initial timing data of each electronic tag; the time correction module 150 corrects the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag, so that the error correction of the read data in two aspects of averaging and preprocessing module 110 is realized, and the timing accuracy is improved.
Wherein, still include:
the data selection adjustment module 160 is configured to screen the last read time from the plurality of start time data and the plurality of end time data of each electronic tag as start time calculation data and end time calculation data, respectively. In the reading process of the RFID reader, a plurality of electronic tags enter the RFID reader at the same time, errors among the first reading time of all the electronic tags are maximum, because the tags need to be subjected to complex anti-collision algorithm operation before the first reading is completed, after the operation is completed, the tags update the reading time according to the filtering time, and at the moment, the errors among the electronic tags are reduced. The RFID system is connected, the middle-long distance running test system and SAAT-8000 reader management software are started, two programs are started to read a card, an electronic tag passes through a card reader, display content is recorded through screen recording software, frame-by-frame analysis is carried out through video editing software, the time in the middle-long distance running test system is found to be the same as the first updating time in the SAAT-8000 reader management software, and therefore the fact that data in the middle-long distance running test system are selected to be the first read data can be explained. As can be seen from the above, the data selection of the long-distance running timing system has a large error, and according to experiments, the error between the last reading of each electronic tag is small. Thus, the last reading of the electronic tag within the RFID reader reading range can be used as the final time.
The screening can be performed by using a preset array, and is mainly completed by the following units:
A second array unit 161, configured to store a plurality of start time data or a plurality of end time data of each electronic tag into a preset array, so as to obtain a time array; the second array unit 161 functions in the same manner as the first array unit 131, and will not be described again.
The data filtering unit 162 is configured to filter and extract the last read time from the time array as the start time calculation data or the end time calculation data of each electronic tag. The filtering may be to directly select the last data in the array as the starting time calculation data or the ending time calculation data of each electronic tag. The last read time can be conveniently screened out by storing in an array mode.
In the implementation process, the data selection adjustment module 160 is used for respectively screening the last read time from the plurality of start time data and the plurality of end time data of each electronic tag to serve as the start time calculation data and the end time calculation data, and the data selection is adjusted in the aspect of reading data selection, so that the accuracy of data selection is improved, and the time error is reduced.
In addition, since the last reading time actually reads the position of the card reader at the rear of the reading range, the position of the recording time is usually behind the finishing line, which results in the final reading time being slightly longer than the actual time.
The anti-collision algorithm is an important cause of errors generated by the system for the delay of the reading time of the electronic tag, and further comprises:
The collision error judging module 170 is configured to obtain and judge whether the electronic tag collides according to the number of times information read by each electronic tag, and if yes, call the collision error correcting module 180; if not, ending; since there is a significant difference between the number of times of final reading of the collided electronic tag and the number of times of non-collided electronic tag, the number of times of reading can be used as a basis for judging whether collision occurs. The judgment may be that the number of times information is compared with a preset number of collisions, if the number of times is larger than the preset number of collisions, the collision is not generated, and if the number of times is not larger than the preset number of collisions, the collision is sent. The preset number of collisions may be empirically set or may be derived from experimental data. For example: through field experiments, the average reading times of the collided electronic tags are less than 4 times, and the number of times of the non-collided electronic tags is more than 10 times in the process of running through the timing area. And (3) continuing to utilize the buffer arrays to judge the recorded reading times in each electronic tag array, and judging that the collision tag occurs if the reading times are less than four times.
The collision error correction module 180 is configured to correct the initial timing data corresponding to the electronic tag, so as to obtain final timing data. The correction refers to error correction by combining estimation of collision errors according to different numbers of collision labels, and the estimation of the collision errors can be set empirically or can be obtained through analysis according to experimental data.
In the implementation process, the collision error judging module 170 acquires and judges whether the electronic tag collides according to the frequency information read by each electronic tag, if yes, the collision error correcting module 180 is called; if not, the collision error correction module 180 corrects the initial timing data corresponding to the electronic tag to obtain final timing data. Therefore, the collision error is directly corrected, and the timing accuracy is further improved.
Based on the same inventive concept, the invention also provides an RFID timing and looping method based on the weak directional antenna and the error correction, please refer to fig. 2, fig. 2 is a flowchart of an RFID timing and looping method based on the weak directional antenna and the error correction according to an embodiment of the invention. The RFID timing and loop counting method based on the weak directional antenna and error correction comprises the following steps:
Step S110: acquiring adjustment time;
Step S120: respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag;
Step S130: respectively calculating average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag to obtain starting point time calculation data and end point time calculation data of each electronic tag;
The step of calculating the average value of the plurality of start time data and the plurality of end time data of each electronic tag to obtain the start time calculation data and the end time calculation data of each electronic tag includes the following steps:
Firstly, storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
then, extracting and converting all data in the time array into INT type data to obtain a plurality of INT type data;
then, calculating the average value of a plurality of INT type data to obtain a data average value;
And finally, converting the average value of the data into DATATIME type data to obtain starting point time calculation data or end point time calculation data of each electronic tag.
Wherein, still include the following step: and after calculating the average value of a plurality of starting point time data or a plurality of ending point time data of each electronic tag respectively, clearing the data in the first array unit.
Step S140: performing time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag;
Step S150: and correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag.
In the implementation process, the adjustment time is obtained; then respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag; then respectively calculating the average value of a plurality of starting point time data and a plurality of end point time data of each electronic tag to obtain starting point time calculation data and end point time calculation data of each electronic tag, so as to average the read time data to reduce errors; then, calculating the starting point time calculation data and the end point time calculation data of each electronic tag in a time-consuming manner to obtain initial timing data of each electronic tag; and finally, correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag, and realizing error correction on the time in two aspects of averaging and preprocessing the read data, thereby improving the timing accuracy.
Wherein, still include the following step: and screening out the last read time from the plurality of starting point time data and the plurality of end point time data of each electronic tag respectively to serve as starting point time calculation data and end point time calculation data. Wherein, still include the following step:
Firstly, storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
And then screening and extracting the last read time from the time array as starting point time calculation data or end point time calculation data of each electronic tag.
In the implementation process, the last read time is selected from the plurality of starting point time data and the plurality of end point time data of each electronic tag to serve as the starting point time calculation data and the end point time calculation data, and adjustment is performed in the aspect of reading data selection, so that the accuracy of data selection is improved, and the time error is reduced.
Wherein, still include the following step:
Firstly, acquiring and judging whether the electronic tag collides according to the frequency information read by each electronic tag, if so, correcting initial timing data corresponding to the electronic tag to obtain final timing data; if not, ending.
In the implementation process, whether the electronic tag collides or not is judged by acquiring and according to the frequency information read by each electronic tag, if yes, the initial timing data corresponding to the electronic tag is corrected, and final timing data is obtained; if not, ending; the collision error correction module directly corrects the collision error, and the timing accuracy is further improved.
Referring to fig. 3, fig. 3 is a schematic block diagram of an electronic device according to an embodiment of the present application. The electronic device comprises a memory 101, a processor 102 and a communication interface 103, wherein the memory 101, the processor 102 and the communication interface 103 are electrically connected with each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 101 may be used to store software programs and modules, such as program instructions/modules corresponding to an RFID timing and loop system based on weak directional antennas and error correction according to embodiments of the present application, and the processor 102 executes the software programs and modules stored in the memory 101, thereby performing various functional applications and data processing. The communication interface 103 may be used for communication of signaling or data with other node devices.
The Memory 101 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 102 may be an integrated circuit chip with signal processing capabilities. The processor 102 may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
It will be appreciated that the configuration shown in fig. 3 is merely illustrative, and that the electronic device may also include more or fewer components than shown in fig. 3, or have a different configuration than shown in fig. 3. The components shown in fig. 3 may be implemented in hardware, software, or a combination thereof.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The above functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above-described method of the various embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above is only a preferred embodiment of the present application, and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (8)
1. An RFID time counting and loop system based on a weak directional antenna and error correction, comprising:
the preprocessing module is used for acquiring adjustment time, wherein the adjustment time is the difference value between the test result and the actual result;
The RFID read-write module is used for respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag;
The first calculation module is used for calculating average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag respectively to obtain starting point time calculation data and end point time calculation data of each electronic tag;
The second calculation module is used for carrying out time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag;
The time correction module is used for correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag;
Further comprises:
the data selection and adjustment module is used for screening out the last read time from the plurality of starting point time data and the plurality of end point time data of each electronic tag respectively to be used as starting point time calculation data and end point time calculation data;
The collision error judging module is used for acquiring and judging whether the electronic tags collide according to the frequency information read by the electronic tags, and if yes, the collision error correcting module is called; if not, ending;
and the collision error correction module is used for correcting the initial timing data corresponding to the electronic tag to obtain final timing data.
2. The RFID timing loop system based on weak directional antennas and error correction of claim 1, wherein the first computing module comprises:
The first array unit is used for storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
The first data conversion unit is used for extracting and converting all data in the time array into INT type data to obtain a plurality of INT type data;
An average calculating unit, configured to calculate an average value of a plurality of INT-type data, and obtain a data average value;
And the second data conversion unit is used for converting the average value of the data into DATATIME type data to obtain starting point time calculation data or end point time calculation data of each electronic tag.
3. The RFID timing loop system based on weak directional antennas and error correction of claim 2, wherein the first computing module further comprises:
The array clearing unit is used for clearing the data in the first array unit after calculating the average value of a plurality of starting point time data or a plurality of ending point time data of each electronic tag respectively.
4. The RFID timing loop system based on weak directional antennas and error correction of claim 1, wherein the data selection adjustment module comprises:
The second array unit is used for storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
The data screening unit is used for screening and extracting the last read time from the time array as starting point time calculation data or end point time calculation data of each electronic tag.
5. An RFID time counting and counting method based on weak directional antenna and error correction is characterized by comprising the following steps:
acquiring adjustment time, wherein the adjustment time is the difference value between the test result and the actual result;
Respectively acquiring a plurality of starting point time data and a plurality of ending point time data of each electronic tag;
Respectively calculating average values of a plurality of starting point time data and a plurality of end point time data of each electronic tag to obtain starting point time calculation data and end point time calculation data of each electronic tag;
performing time-consuming calculation according to the starting point time calculation data and the end point time calculation data of each electronic tag to obtain initial timing data of each electronic tag;
correcting the initial timing data of each electronic tag according to the adjustment time to obtain the final timing data of each electronic tag;
the method also comprises the following steps:
The last read time is respectively screened out from a plurality of starting point time data and a plurality of end point time data of each electronic tag to be used as starting point time calculation data and end point time calculation data;
Acquiring and judging whether the electronic tags collide according to the frequency information read by each electronic tag, and if yes, calling a collision error correction module; if not, ending;
and correcting the initial timing data corresponding to the electronic tag to obtain final timing data.
6. The RFID timing and loop method based on weak directional antenna and error correction according to claim 5, wherein the step of calculating average values of a plurality of start time data and a plurality of end time data of each electronic tag, respectively, to obtain start time calculation data and end time calculation data of each electronic tag comprises the steps of:
Storing a plurality of starting point time data or a plurality of ending point time data of each electronic tag into a preset array to obtain a time array;
Extracting and converting all data in the time array into INT type data to obtain a plurality of INT type data;
calculating the average value of a plurality of INT type data to obtain a data average value;
and converting the average value of the data into DATATIME type data to obtain starting point time calculation data or end point time calculation data of each electronic tag.
7. An electronic device, comprising:
a memory for storing one or more programs;
A processor;
the method of any of claims 5-6 is implemented when the one or more programs are executed by the processor.
8. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 5-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111493733.XA CN114373246B (en) | 2021-12-08 | 2021-12-08 | RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111493733.XA CN114373246B (en) | 2021-12-08 | 2021-12-08 | RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114373246A CN114373246A (en) | 2022-04-19 |
CN114373246B true CN114373246B (en) | 2024-05-03 |
Family
ID=81139756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111493733.XA Active CN114373246B (en) | 2021-12-08 | 2021-12-08 | RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114373246B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101556644A (en) * | 2009-03-06 | 2009-10-14 | 上海复旦微电子股份有限公司 | Back link frequency regulating method in RFID label and circuit for realizing method thereof |
WO2011009768A2 (en) * | 2009-07-20 | 2011-01-27 | Siemens Aktiengesellschaft | A method and reader for reading tag data a radio frequency identification system |
CN102456145A (en) * | 2010-10-28 | 2012-05-16 | 盛乐信息技术(上海)有限公司 | Region positioning system |
CN102930611A (en) * | 2012-10-22 | 2013-02-13 | 大连闻仕达科技有限公司 | Multipurpose running imaging timing system |
JP2013061151A (en) * | 2011-09-10 | 2013-04-04 | Denso Wave Inc | Radio tag reader and monitor system |
CN203930962U (en) * | 2014-06-17 | 2014-11-05 | 合肥学院 | Intelligent timing and lap counting system for sports meeting based on RFID |
CN104852776A (en) * | 2015-04-23 | 2015-08-19 | 中国电子科技集团公司第四十一研究所 | Radio-frequency signal calibration method based on virtual channels |
CN110579209A (en) * | 2019-10-08 | 2019-12-17 | 上海市东方海事工程技术有限公司 | Positioning error compensation method and system based on RFID positioning technology |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3232414A1 (en) * | 2008-04-14 | 2017-10-18 | Mojix, Inc. | Radio frequency identification tag location estimation and tracking system |
-
2021
- 2021-12-08 CN CN202111493733.XA patent/CN114373246B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101556644A (en) * | 2009-03-06 | 2009-10-14 | 上海复旦微电子股份有限公司 | Back link frequency regulating method in RFID label and circuit for realizing method thereof |
WO2011009768A2 (en) * | 2009-07-20 | 2011-01-27 | Siemens Aktiengesellschaft | A method and reader for reading tag data a radio frequency identification system |
CN102456145A (en) * | 2010-10-28 | 2012-05-16 | 盛乐信息技术(上海)有限公司 | Region positioning system |
JP2013061151A (en) * | 2011-09-10 | 2013-04-04 | Denso Wave Inc | Radio tag reader and monitor system |
CN102930611A (en) * | 2012-10-22 | 2013-02-13 | 大连闻仕达科技有限公司 | Multipurpose running imaging timing system |
CN203930962U (en) * | 2014-06-17 | 2014-11-05 | 合肥学院 | Intelligent timing and lap counting system for sports meeting based on RFID |
CN104852776A (en) * | 2015-04-23 | 2015-08-19 | 中国电子科技集团公司第四十一研究所 | Radio-frequency signal calibration method based on virtual channels |
CN110579209A (en) * | 2019-10-08 | 2019-12-17 | 上海市东方海事工程技术有限公司 | Positioning error compensation method and system based on RFID positioning technology |
Also Published As
Publication number | Publication date |
---|---|
CN114373246A (en) | 2022-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10339800B2 (en) | Method and device for processing traffic road information | |
CN109444839B (en) | Target contour acquisition method and device | |
US20210192190A1 (en) | Comparison method and apparatus based on a plurality of face image frames and electronic device | |
CN112584234A (en) | Video image frame complementing method and related device | |
CN107908998B (en) | Two-dimensional code decoding method and device, terminal equipment and computer readable storage medium | |
CN111832492B (en) | Static traffic abnormality judging method and device, computer equipment and storage medium | |
CN112348686B (en) | Claim settlement picture acquisition method and device and communication equipment | |
US20230274399A1 (en) | Motion-based pixel propagation for video inpainting | |
CN115546705B (en) | Target identification method, terminal device and storage medium | |
CN112465871A (en) | Method and system for evaluating accuracy of visual tracking algorithm | |
CN111680546A (en) | Attention detection method, attention detection device, electronic equipment and storage medium | |
CN111553234A (en) | Pedestrian tracking method and device integrating human face features and Re-ID feature sorting | |
CN110738067B (en) | Method and device for improving code scanning efficiency | |
CN114373246B (en) | RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction | |
CN114299030A (en) | Object detection model processing method, device, equipment and storage medium | |
CN102306279B (en) | Method for identifying video scores and device | |
CN117351395A (en) | Night scene target detection method, system and storage medium | |
CN111259680A (en) | Two-dimensional code image binarization processing method and device | |
CN113298852A (en) | Target tracking method and device, electronic equipment and computer readable storage medium | |
CN112286780A (en) | Method, device and equipment for testing recognition algorithm and storage medium | |
CN108475430B (en) | Picture quality evaluation method and device | |
CN110428264A (en) | Fake method, device, equipment and medium are tested in identification based on dot matrix screen antifalsification label | |
CN115620005A (en) | Image identification method, device, equipment and storage medium | |
CN112950961B (en) | Traffic flow statistical method, device, equipment and storage medium | |
CN112508065B (en) | Robot and positioning method and device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |