CN102542231B - A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter - Google Patents

A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter Download PDF

Info

Publication number
CN102542231B
CN102542231B CN201210017849.0A CN201210017849A CN102542231B CN 102542231 B CN102542231 B CN 102542231B CN 201210017849 A CN201210017849 A CN 201210017849A CN 102542231 B CN102542231 B CN 102542231B
Authority
CN
China
Prior art keywords
label
write line
read write
slot
select
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210017849.0A
Other languages
Chinese (zh)
Other versions
CN102542231A (en
Inventor
袁锋超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hong Lu Technology Co Ltd
Original Assignee
Shenzhen Clou Electronics 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 Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN201210017849.0A priority Critical patent/CN102542231B/en
Publication of CN102542231A publication Critical patent/CN102542231A/en
Application granted granted Critical
Publication of CN102542231B publication Critical patent/CN102542231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Near-Field Transmission Systems (AREA)

Abstract

A kind of special ultrahigh frequency reader-writer anti-collision algorithm of electric intelligent meter, it is comprised the following steps:0) frequency hopping;1) Select orders are sent out;2) Query orders are sent;3) Collision Number C is set to 0, obtains total timeslot number Slot_Count;4) RN16 of circular wait label response;5) QueryRep orders are sent out;If 6) obtained the response of label in the 4th step, but do not interpret EPC, then C adds 1, if interpret come if N plus 1;7) if Slot is not 0, the 4th step is returned to;8) if A is not 0, the 3rd step is returned to;If A_Select is not 0, the 3rd step is returned to;9) EPC of N number of label is issued into host computer.The present invention greatly reduces collision probability, and improves reading speed.

Description

A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter
Technical field
The present invention relates to a kind of RFID anti-collision method, particularly a kind of special ultrahigh frequency reader-writer of electric intelligent meter is prevented Collision method.
Background technology
Existing collision-proof method is:
1) read write line sends Select orders, and the mark of taking inventory that the S of all labels is saved is put into A.
2) read write line sends Query orders, selects all S to save and takes inventory the label for being masked as A and taken inventory, the mark that will be received Sign number N to set to 0, put cycle-index A for 2, Q values are set to Qs.
3) read write line sets to 0 Collision Number C, according to Q values, obtains total timeslot number Slot_Count (2 Q powers), and will Slot is set to Slot_Count.
4) RN16 of read write line circular wait label response, sends ACK orders, so if the response of label is received to label After read EPC, the otherwise time of circular wait 2ms.
5) read write line sends QueryRep orders, and Slot subtracts 1.
If 6) read write line has obtained the response of label in the 3rd step, but EPC is not interpreted, then C adds 1, if interpreting Then N is carried out and has added 1.(it is interpreted go out EPC label take inventory mark and can be changed into B)
7) if Slot is not 0, the 4th step is come back to.
If 8) A is not for 0, A subtracts 1, Q adds 1 if C values more than Slot_Count 1/4, and Q subtracts 1 if less than 1/8, reads and writes Device will send out QueryAdjust orders to all of label, and selection S is saved to take inventory and is masked as the label of A and taken inventory, and returns to the 3rd Step.
9) EPC of N number of label is issued into host computer.
The above method, due to the substantial amounts of metal contained in electric intelligent meter, the signal generation to electronic tag is very big Interference, the signal for causing to be reflected back read write line is complicated, and discrimination is low.
The content of the invention
In order to solve the above technical problems, the invention provides a kind of special ultrahigh frequency reader-writer anticollision of electric intelligent meter Method.
Solving the technical scheme of above-mentioned technical problem is:
A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter, including:
0) the step of read write line is operated with frequency-hopping mode.
1) read write line hair Select orders, for by the S of all labels section the step of taking inventory mark and put A.
2) read write line sends Query orders, and the label that A is masked as selecting all S sections to take inventory is taken inventory, and will receive Number of tags N set to 0, put cycle-index A for 2, Q is set to Qs, the step of to put selection mark cycle number of times A_Select be 1.
3) for Collision Number C to be set to 0, according to Q values, total timeslot number Slot_Count is obtained, and Slot is set to Slot_ The step of Count.
4) for the RN16 of circular wait label response the step of, if read write line receives label response, read write line hair ACK The label is ordered, then read write line reads EPC, otherwise one section of read write line circular wait.
5) read write line hair QueryRep orders, the step of for subtracting 1 by Slot.
If 6) obtained the response of label in the 4th step, but read write line does not interpret EPC, then enter to be about to the step that C plus 1 Suddenly, come if read write line is interpreted, the step of enter to be about to N plus 1;
7) if Slot is not 0, the 4th step is returned to.
If 8) A is not 0, the step of carrying out A and subtract 1, the step of Q plus 1 is carried out if C values are more than the 1/4 of Slot_Count, If C values are less than the 1/8 of Slot_Count, the step of carrying out Q and subtract 1, read write line gives all of label hair QueryAdjust lives Order, is taken inventory for selecting S to save to take inventory to be masked as the label of A, the step of return to 3 step;If A_Select is not 0, enter Row A_Select subtracts 1, recalculates Qs values, the step of modification receiving sensitivity, read write line hair Select and Query orders, use The step of the label for selecting not taking inventory is taken inventory, is returned to 3 step.
9) for the EPC of N number of label to be issued into host computer the step of.
Used as improvement, total timeslot number Slot_Count is 2 Q powers.
As improvement, above-mentioned steps 4) time of circular wait automatically determines according to LF.
Used as improvement, in taking inventory every time, largest loop reads 6 and takes turns label.
The beneficial effects of the invention are as follows:Using frequently frequency hopping working method, can anti-stop signal interference;Add sensitivity Regulation, increases the probability that label is read;By repeating to send select and query orders, label is prevented because not parsing this Two are ordered and skip;Take inventory every time, largest loop reads 6 and takes turns label, and existing is 3 wheels, so that it is general greatly to reduce collision Rate, the label do not read is generally not because the reason for colliding;Stand-by period is automatically determined by LF, its time is much smaller than 2ms, improves the speed of reading;Therefore, for the foregoing reasons and the above method, the special superelevation of electric intelligent meter of the invention Frequency read write line collision-proof method, greatly reduces collision probability, and improve reading speed.
Brief description of the drawings
Fig. 1 is the flow chart of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter of the present invention.
Specific embodiment
The present invention will be described in further detail with reference to the accompanying drawings and detailed description.
As shown in figure 1, a kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter step is as follows:
0) the step of read write line is operated with frequency-hopping mode.
1) read write line hair Select orders, for by the S of all labels section the step of taking inventory mark and put A.
2) read write line sends Query orders, and the label that A is masked as selecting all S sections to take inventory is taken inventory, and will receive Number of tags N set to 0, put cycle-index A for 2, Q is set to Qs, the step of to put selection mark cycle number of times A_Select be 1.
3) for Collision Number C to be set to 0, according to Q values, total timeslot number Slot_Count, total timeslot number Slot_Count are obtained It is 2 Q powers;And the step of Slot is set into Slot_Count.
4) for the RN16 of circular wait label response the step of, if read write line receives label response, read write line hair ACK Order the label, then read write line reads EPC, otherwise one section of read write line circular wait, time of circular wait according to LF from It is dynamic to determine.
5) read write line hair QueryRep orders, the step of for subtracting 1 by Slot.
If 6) obtained the response of label in the 4th step, but read write line does not interpret EPC, then enter to be about to the step that C plus 1 Suddenly, come if read write line is interpreted, the step of enter to be about to N plus 1;
7) if Slot is not 0, the 4th step is returned to.
If 8) A is not 0, the step of carrying out A and subtract 1, the step of Q plus 1 is carried out if C values are more than the 1/4 of Slot_Count, If C values are less than the 1/8 of Slot_Count, the step of carrying out Q and subtract 1, read write line gives all of label hair QueryAdjust lives Order, is taken inventory for selecting S to save to take inventory to be masked as the label of A, the step of return to 3 step;If A_Select is not 0, enter Row A_Select subtracts 1, recalculates Qs values, the step of modification receiving sensitivity, read write line hair Select and Query orders, use The step of the label for selecting not taking inventory is taken inventory, is returned to 3 step.
9) for the EPC of N number of label to be issued into host computer the step of.
In above-mentioned steps, in taking inventory every time, largest loop reads 6 and takes turns label.
The present invention, can anti-stop signal interference using frequently frequency hopping working method;Adjustment of sensitivity is added, increases label The probability read;By repeating to send select and query orders, prevent label from being leaked because not parsing the two orders Read;Take inventory every time, largest loop reads 6 and takes turns label, and existing is 3 wheels, so as to greatly reduce collision probability, is not read Label is generally not because the reason for colliding;Stand-by period is automatically determined by LF, its time is much smaller than 2ms, improves reading Speed;Therefore, for the foregoing reasons and the above method, the special ultrahigh frequency reader-writer anticollision of electric intelligent meter of the invention Method, greatly reduces collision probability, and improve reading speed.
In the present invention, Select:Selection tag command;Slot:Time slot;Slot_Count:Timeslot number;QueryRep: Repeat to inquire about;QueryAdjust:Inquiry adjustment;RN16:16 random numbers;ACK:Confirm order;Q:Take inventory the timeslot number in cycle Mesh;A:Cycle-index;A_Select:Selection mark cycle number of times;N:Number of tags;C:Collision Number;EPC:Product code.

Claims (4)

1. a kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter, it is characterised in that:Including:
0) the step of read write line is operated with frequency-hopping mode;
1) read write line hair Select orders, for saving the S of all labels the step of taking inventory mark and put A, it is described that the S is saved Label takes inventory mark;
2) read write line sends Query orders, and the label that A is masked as selecting all S sections to take inventory is taken inventory, the mark that will be received Sign number N to set to 0, it is 2 to put cycle-index A, and Q is set into Qs, put and select mark cycle number of times A_Select the step of being 1, the Q is The number of time slot in cycle is taken inventory, the Qs is the initial value of the Q;
3) for Collision Number C to be set to 0, according to Q values, total timeslot number Slot_Count is obtained, and Slot is set to Slot_Count The step of, the Slot represents time slot;
4) for the RN16 of circular wait label response the step of, if read write line receives label response, read write line hair ACK orders To the label, then read write line reads EPC, and otherwise one section of read write line circular wait, the RN16 represents 16 random numbers, described EPC represents product code;
5) read write line hair QueryRep orders, the step of for subtracting 1 by Slot;
If 6) obtained the response of label in the 4th step, but read write line does not interpret EPC, then the step of enter to be about to C plus 1, if Read write line is interpreted and, then the step of enter to be about to N plus 1;
7) if Slot is not 0, the 4th step is returned to;
If 8) A is not 0, the step of carrying out A and subtract 1, the step of Q plus 1 is carried out if C values are more than the 1/4 of Slot_Count, if C Less than the 1/8 of Slot_Count, then the step of carrying out Q and subtract 1, read write line sends out QueryAdjust orders, use to value to all of label Taken inventory in selection S sections and be masked as the label of A and taken inventory, the step of return to 3 step;If A_Select is not 0, A_ is carried out Select subtracts 1, recalculates Qs values, the step of modification receiving sensitivity, read write line hair Select and Query orders, for selecting Select the label do not taken inventory to be taken inventory, the step of return to 3 step;
9) for the EPC of N number of label to be issued into host computer the step of.
2. anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter according to claim 1, it is characterised in that:Always Timeslot number Slot_Count is 2 Q powers.
3. anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter according to claim 1, it is characterised in that:On State step 4) time of circular wait automatically determines according to LF, and the LF represents low frequency read write line.
4. anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter according to claim 1, it is characterised in that: In taking inventory every time, largest loop reads 6 and takes turns label.
CN201210017849.0A 2012-01-19 2012-01-19 A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter Active CN102542231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210017849.0A CN102542231B (en) 2012-01-19 2012-01-19 A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210017849.0A CN102542231B (en) 2012-01-19 2012-01-19 A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter

Publications (2)

Publication Number Publication Date
CN102542231A CN102542231A (en) 2012-07-04
CN102542231B true CN102542231B (en) 2017-05-31

Family

ID=46349093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210017849.0A Active CN102542231B (en) 2012-01-19 2012-01-19 A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter

Country Status (1)

Country Link
CN (1) CN102542231B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903045B (en) * 2012-12-24 2018-01-09 中国科学院上海高等研究院 Mark generation system is taken inventory in the call of ultra-high frequency RFID label chip
CN104036210B (en) * 2014-05-27 2017-04-12 成都九洲电子信息系统股份有限公司 Test method of identifying multi-tag performance by UHF reader

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183422A (en) * 2007-12-20 2008-05-21 复旦大学 Random type anticollision algorithm combined Bit-Slot and ID-Slot
CN101286192A (en) * 2008-06-05 2008-10-15 复旦大学 Time slot ALOHA anticollision algorithm suitable for dynamic environment
CN101620665A (en) * 2009-08-10 2010-01-06 成都三零盛安信息系统有限公司 Ultrahigh frequency passive radio frequency identification reader and frequency hopping method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183422A (en) * 2007-12-20 2008-05-21 复旦大学 Random type anticollision algorithm combined Bit-Slot and ID-Slot
CN101286192A (en) * 2008-06-05 2008-10-15 复旦大学 Time slot ALOHA anticollision algorithm suitable for dynamic environment
CN101620665A (en) * 2009-08-10 2010-01-06 成都三零盛安信息系统有限公司 Ultrahigh frequency passive radio frequency identification reader and frequency hopping method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"面向电力智能表计资产管理的UHF RFID读写器研究";肖勇等;《华东电力》;20120731;第40卷(第7期);全文 *

Also Published As

Publication number Publication date
CN102542231A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN101286192B (en) Time slot ALOHA anticollision algorithm suitable for dynamic environment
CN102024163B (en) Anti-collision method with packet previewing mechanism
WO2006023601A3 (en) Product identication tag device and reader .
CN102509062B (en) RFID (radio frequency identification) dataflow multi-tag cleaning method based on sliding windows
CN102971999A (en) Method and system for radio frequency identification tag using reduced set communication protocol
Yihong et al. Multiple-bits-slot reservation aloha protocol for tag identification
CN201897802U (en) Data acquisition system applied to warehouse management
Liu et al. An improved anti-collision algorithm in RFID system
CN102542231B (en) A kind of anti-collision method for super-high frequency reader-writer dedicated for electricity intelligent meter
CN102708341A (en) Label anti-collision method for radio frequency identification (RFID) system
CN101093549B (en) Method for reading data of reader-writer in radio frequency recognition system, and method for sending data of label
CN112232463A (en) Low-power-consumption RFID read-write system and method
CN204463215U (en) The false proof traceability management system of a kind of artwork based on Internet of Things
CN105654010B (en) A kind of RFID tag collision-proof method based on adaptive search strategies
CN103971077A (en) ALOHA anti-collision method of ultrahigh frequency RFID system based on CRC code grouping
CN103679096A (en) Optimized RFID anti-collision method
KR20130122127A (en) Smart labeler system and method of converting data bi-directionally between bar code and rfid tag
CN104036210A (en) Test method of identifying multi-tag performance by UHF reader
CN105160373B (en) A kind of dynamic frame Slot-aloha algorithm independently recognized based on collision time slot
CN101246539B (en) Method and device for recognizing radio frequency signal and device for transmitting radio frequency signal
CN101923631A (en) Low-frequency ID card real time simulator based on CPLD
KR102198407B1 (en) Apparatus for managing stock of meter and method thereof
CN220651270U (en) Intelligent book management equipment based on RFID
CN202650071U (en) RFID collection safety monitoring channel device
CN100562883C (en) The device of the method for reading radio frequency signal, system and transmitting-receiving radiofrequency signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180528

Address after: 518000 17 floor, block A, CLOU building, North Road, Nanshan District, Xili street, Shenzhen, Guangdong.

Patentee after: Shenzhen Hong Lu Technology Co., Ltd.

Address before: 518000 5 building, T2 building, Nanshan District science and Technology Park, Shenzhen, Guangdong.

Patentee before: Kelu Electronic Science-Technology Co., Ltd., Shenzhen