CN106650535A - Multi-object data exchange method based on radio frequency identification - Google Patents

Multi-object data exchange method based on radio frequency identification Download PDF

Info

Publication number
CN106650535A
CN106650535A CN201611188898.5A CN201611188898A CN106650535A CN 106650535 A CN106650535 A CN 106650535A CN 201611188898 A CN201611188898 A CN 201611188898A CN 106650535 A CN106650535 A CN 106650535A
Authority
CN
China
Prior art keywords
rfid tag
data exchange
write line
read write
random number
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
CN201611188898.5A
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.)
Wuhan Longteng Technology Co Ltd
Original Assignee
Wuhan Longteng 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 Wuhan Longteng Technology Co Ltd filed Critical Wuhan Longteng Technology Co Ltd
Priority to CN201611188898.5A priority Critical patent/CN106650535A/en
Publication of CN106650535A publication Critical patent/CN106650535A/en
Pending legal-status Critical Current

Links

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/10019Methods 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 resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers.

Abstract

The invention belongs to the technical field of internet of things, and discloses a multi-object data exchange method based on radio frequency identification (RFID). When a plurality of RFID tags in one batch need to exchange data with a reader-writer, the value of an internal counter for the RFID tags is set via communication between the reader-writer and the RFID tags, and only one RFID tag is guaranteed to exchange data with the reader-writer at one time according to the value of the internal counter, so that the technical problem of communication conflict when the plurality of RFID tags simultaneously communicate with the reader-writer is solved; further, when the reader-writer cannot correctly receive the identification code of the RFID tag, further communication is performed via a retransmission mode, so that the problem of data exchange failure caused by incorrect receiving at one time is avoided; and moreover, when the identification code cannot be correctly received multiple times, the counter is reset, so that the problem of data exchange failure caused by a reason that the identification code of the same RFID tag cannot be correctly received multiple times is avoided.

Description

A kind of many object data exchange methods based on RF identification
Technical field
The invention belongs to internet of things field, hands over more particularly, to a kind of many object datas based on RF identification Change method.
Background technology
Internet of Things (Internet of Things) is referred to the end-equipment of ubiquitous (Ubiquitous) (Devices) and facility (Facilities), including sensor, mobile terminal, industrial system, the numerical control for possessing " inherent intelligence " System, home intelligent facility, video monitoring system etc. and " external enable " (Enabled), such as stick RFID (Radio Frequency Identification, RF identification) the various assets (Assets) of label, the individual of portable radio terminal with Vehicle etc. " intelligent object or animal " or " SMART DUST " is (Mote), by various wireless and/or wired long range and/ Or short distance communication real-time performance is interconnected (M2M), applies big integrated (Grand Integration) and based on cloud meter The SaaS operation isotypes of calculation, in Intranet (Intranet), private network (Extranet), and/or internet (Internet) environment Under, using appropriate security assurance information mechanism, there is provided safely controllable or even personalized real time on-line monitoring, positioning review, Alarm linkage, dispatch control, program management, remotely control, safety precaution, long-range repair and maintenance, online upgrading, statistical report form, decision-making The management and service functions such as support, leader's desktop (Cockpit Dashboard shown in collection), realize to the " high of " all things on earth " It is effect, energy-conservation, safe and environment-friendly " " pipe, control, battalion " integration.
In technology of Internet of things, it is conventional means to carry out data exchange by RFID, for example, transport, store in a warehouse and manage in logistics The scenes such as reason need the information to article to be obtained anywhere or anytime or updated.In prior art, typically by read write line Once read and write a RFID tag, but generally need once to realize the acquisition of multiple Item Information or more to improve efficiency Newly, that is, the data message (as shown in Figure 1) that multiple RFID tags are once read and write by read write line is needed, it is multiple in this case RFID tag is communicated so as to communication contention aware can occur with read write line simultaneously.
The content of the invention
For the disadvantages described above or Improvement requirement of prior art, the invention provides a kind of many objects based on RF identification Method for interchanging data, its object is to when multiple RFID tags while when being communicated with read write line, can realize each RFID Label carries out successively data exchange, thus solves to be sent out when multiple RFID tags are communicated with read write line simultaneously in prior art The technical problem of raw communication contention aware.
For achieving the above object, the invention provides a kind of many object data exchange methods based on RF identification, including Following steps:
S1, the RFID tag for carrying out data exchange will be needed to be set to state to be identified, and its internal counter is arranged For 0;The RFID tag at least two for needing to carry out data exchange;
S2, if in state to be identified RFID tag, then it is all in state to be identified and internal counter be 0 RFID tag to read write line send identification code;
If the number of the identification code that S3, the read write line are received is more than 1, to all in state to be identified RFID tag sends and unsuccessfully orders;If the number of the identification code that the read write line is received is 1, S7 is gone to step;
If S4, to receive the internal counter of the RFID tag unsuccessfully ordered not be 0, the inside of the RFID tag Counter adds 1;If the internal counter for receiving the RFID tag unsuccessfully ordered is 0, the RFID tag produces first Random number or the second random number;
If the random number that S5, the RFID tag are produced is the first random number, the RFID marks of the first random number are produced The internal counter of label remains 0, and again to read write line transmission identification code, and go to step S3;If the RFID tag The random number of generation is the second random number, then the internal counter for producing the RFID tag of the second random number plus 1, and goes to step S6;
If the random number that S6, all RFID tags are produced is the second random number, read write line is in all The RFID tag of state to be identified sends success command, the RFID tag of all states to be identified for receiving success command it is interior Portion's counter subtracts 1, and goes to step S2;
If S7, the read write line are not properly received the identification code of the RFID tag, the read write line sends one Individual to retransmit order, the RFID tag to read write line sends identification code, and goes to step S7;If the read write line connects be properly received To the identification code of the RFID tag, then the data exchange command comprising the identification code is sent, the RFID tag is arrived After the data exchange command, data exchange is carried out with the read write line into data exchange state, institute after the completion of data exchange State RFID tag to be updated to recognize state;The read write line sends success command, all to receive the to be identified of success command The internal counter of the RFID tag of state subtracts 1;
If the internal counter of S8, only one of which RFID tag is equal to 1 and returns response, S7 is gone to step;Otherwise turn Step S3.
In one embodiment of the present of invention, if the read write line sends the number of times for retransmitting order more than given threshold, Go to step S2.
In one embodiment of the present of invention, the span of the given threshold is 3-10.
In one embodiment of the present of invention, the data exchange command in step S7 is reading data command, the data It is exchanged for the read write line and reads data from the RFID tag.
In one embodiment of the present of invention, the data exchange command in step S7 is to write data command, the data It is exchanged for the read write line and writes data to the RFID tag.
In one embodiment of the present of invention, the identification code of the RFID tag is unique electricity that the RFID tag has Son coding.
In one embodiment of the present of invention, first random number is 0, and second random number is 1.
In one embodiment of the present of invention, first random number is 1, and second random number is 0.
In one embodiment of the present of invention, the RFID tag is encoded using EPC.
In one embodiment of the present of invention, the information of the EPC codings includes:Production firm's code name, client's code name, species Numbering and serial number.
In general, by the contemplated above technical scheme of the present invention compared with prior art, with following beneficial effect Really:
(1) present invention arranges the internal counter of RFID tag by the communication between read write line and RFID tag Value, so as to ensure to carry out data exchange between an only one of which RFID tag and read write line according to the value of internal counter, So as to solve when multiple RFID tags while there is the technical problem of communication contention aware when being communicated with read write line;
(2) further, when read write line cannot be correctly received the identification code of RFID tag, carried out by retransmission mode Further communication, it is to avoid because being once unable to properly receive and caused data exchange failure problem;And repeatedly cannot be just When really reception, re-start counter setting, it is to avoid the identification code because being repeatedly unable to properly receive same RFID tag And caused data exchange failure problem;
(3) further, RFID tag is encoded using EPC, for example, can include production firm's code name, client's code name, plant The information such as class numbering and serial number, such that it is able to flexible the information that can be preserved in RFID tag is arranged, and is conveniently adapted to not Same application scenarios.
Description of the drawings
Fig. 1 is the schematic diagram that multiple RFID tags are communicated with read write line simultaneously in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of many object data exchange methods in the embodiment of the present invention based on RF identification;
Fig. 3 is EPC coding schematic diagrams in the embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used in the restriction present invention.As long as additionally, technical characteristic involved in invention described below each embodiment Not constituting conflict each other just can be mutually combined.
As shown in Fig. 2 a kind of many object data exchange methods based on RF identification are embodiments provided, including Following steps:
S1, the RFID tag for carrying out data exchange will be needed to be set to state to be identified, and its internal counter is arranged For 0;The RFID tag at least two for needing to carry out data exchange;
S2, if in state to be identified RFID tag, then it is all in state to be identified and internal counter be 0 RFID tag to read write line send identification code;
Normally, the identification code of the RFID tag is unique electronic code that the RFID tag has.For example may be used To be encoded using EPC.Preferably as shown in figure 3, the information of EPC codings can include:Production firm's code name, client's code name, kind Class is numbered and serial number.
If the number of the identification code that S3, the read write line are received is more than 1, to all in state to be identified RFID tag sends and unsuccessfully orders;If the number of the identification code that the read write line is received is 1, S7 is gone to step;
If S4, to receive the internal counter of the RFID tag unsuccessfully ordered not be 0, the inside of the RFID tag Counter adds 1;If the internal counter for receiving the RFID tag unsuccessfully ordered is 0, the RFID tag produces first Random number or the second random number;
If the random number that S5, the RFID tag are produced is the first random number, the RFID marks of the first random number are produced The internal counter of label remains 0, and again to read write line transmission identification code, and go to step S3;If the RFID tag The random number of generation is the second random number, then the internal counter for producing the RFID tag of the second random number plus 1, and goes to step S6;
Specifically, first random number is different with the value of the second random number, is only used for playing a part of differentiation, to it Concrete value is not construed as limiting.Such as described first random number is 1, and second random number is 0;Or first random number is 0, second random number is 1.As long as it is different with the value of the second random number to meet the first random number.In present invention enforcement In example in corresponding accompanying drawing, with first random number as 0, second random number is to illustrate as a example by 1.
If the random number that S6, all RFID tags are produced is the second random number, read write line is in all The RFID tag of state to be identified sends success command, the RFID tag of all states to be identified for receiving success command it is interior Portion's counter subtracts 1, and goes to step S2;
If S7, the read write line are not properly received the identification code of the RFID tag, the read write line sends one Individual to retransmit order, the RFID tag to read write line sends identification code, and goes to step S7;If the read write line connects be properly received To the identification code of the RFID tag, then the data exchange command comprising the identification code is sent, the RFID tag is arrived After the data exchange command, data exchange is carried out with the read write line into data exchange state, institute after the completion of data exchange State RFID tag to be updated to recognize state;The read write line sends success command, all to receive the to be identified of success command The internal counter of the RFID tag of state subtracts 1;
In this step, further, if the read write line sends the number of times for retransmitting order more than given threshold (generally The span of the given threshold is 3-10), then go to step S2;
Further, to read data command, the data exchange is the read-write to data exchange command described in this step Device reads data from the RFID tag;Or the data exchange command, to write data command, the data exchange is described Read write line to the RFID tag writes data.
If the internal counter of S8, only one of which RFID tag is equal to 1 and returns response, S7 is gone to step;Otherwise turn Step S3.
The method that the present invention is provided can apply to various use RFID and carry out the scene of data exchange, such as logistics fortune Give, warehousing management etc., these application scenarios are required to realize and the data exchange between a batch and multiple RFID tags.
As it will be easily appreciated by one skilled in the art that the foregoing is only presently preferred embodiments of the present invention, not to The present invention, all any modification, equivalent and improvement made within the spirit and principles in the present invention etc. are limited, all should be included Within protection scope of the present invention.

Claims (10)

1. a kind of many object data exchange methods based on RF identification, it is characterised in that methods described comprises the steps:
S1, the RFID tag for carrying out data exchange will be needed to be set to state to be identified, and its internal counter is set to into 0; The RFID tag at least two for needing to carry out data exchange;
S2, if the RFID tag in state to be identified, then it is all in state to be identified and internal counter is 0 RFID tag to read write line sends identification code;
If the number of the identification code that S3, the read write line are received is more than 1, to all RFID marks in state to be identified Sign and issue to send and unsuccessfully order;If the number of the identification code that the read write line is received is 1, S7 is gone to step;
If S4, to receive the internal counter of the RFID tag unsuccessfully ordered not be 0, the count internal of the RFID tag Device adds 1;If the internal counter for receiving the RFID tag unsuccessfully ordered is 0, it is random that the RFID tag produces first Number or the second random number;
If the random number that S5, the RFID tag are produced is the first random number, the RFID tag of the first random number is produced Internal counter remains 0, and again to read write line transmission identification code, and go to step S3;If the RFID tag is produced Random number be the second random number, then the internal counter for producing the RFID tag of the second random number plus 1, and goes to step S6;
If the random number that S6, all RFID tags are produced is the second random number, read write line is to all in waiting to know The RFID tag of other state sends success command, the inside meter of the RFID tag of all states to be identified for receiving success command Number device subtracts 1, and goes to step S2;
If S7, the read write line are not properly received the identification code of the RFID tag, the read write line sends a weight Say the word, the RFID tag to read write line sends identification code, and goes to step S7;If the read write line has correctly received described The identification code of RFID tag, then send the data exchange command comprising the identification code, and the RFID tag is to the number After according to exchange command, data exchange is carried out with the read write line into data exchange state, the RFID after the completion of data exchange Tag update is to recognize state;The read write line sends success command, all states to be identified for receiving success command The internal counter of RFID tag subtracts 1;
If the internal counter of S8, only one of which RFID tag is equal to 1 and returns response, S7 is gone to step;Otherwise go to step S3。
2. many object data exchange methods of RF identification are based on as claimed in claim 1, it is characterised in that its feature exists In if the number of times of read write line transmission repeating transmission order goes to step S2 more than given threshold.
3. many object data exchange methods of RF identification are based on as claimed in claim 1 or 2, it is characterised in that described to set The span for determining threshold value is 3-10.
4. many object data exchange methods of RF identification are based on as claimed in claim 1 or 2, it is characterised in that the step To read data command, the data exchange is the read write line from the RFID tag receive data to data exchange command in rapid S7 According to.
5. many object data exchange methods of RF identification are based on as claimed in claim 1 or 2, it is characterised in that the step To write data command, the data exchange is that the read write line writes number to the RFID tag to data exchange command in rapid S7 According to.
6. many object data exchange methods of RF identification are based on as claimed in claim 1 or 2, it is characterised in that described The identification code of RFID tag is unique electronic code that the RFID tag has.
7. many object data exchange methods based on RF identification as claimed in claim 1 or 2, it is characterised in that described the One random number is 0, and second random number is 1.
8. many object data exchange methods based on RF identification as claimed in claim 1 or 2, it is characterised in that described the One random number is 1, and second random number is 0.
9. many object data exchange methods of RF identification are based on as claimed in claim 1 or 2, it is characterised in that described RFID tag is encoded using EPC.
10. many object data exchange methods of RF identification are based on as claimed in claim 9, it is characterised in that the EPC is compiled The information of code includes:Production firm's code name, client's code name, species numbering and serial number.
CN201611188898.5A 2016-12-21 2016-12-21 Multi-object data exchange method based on radio frequency identification Pending CN106650535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611188898.5A CN106650535A (en) 2016-12-21 2016-12-21 Multi-object data exchange method based on radio frequency identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611188898.5A CN106650535A (en) 2016-12-21 2016-12-21 Multi-object data exchange method based on radio frequency identification

Publications (1)

Publication Number Publication Date
CN106650535A true CN106650535A (en) 2017-05-10

Family

ID=58834349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611188898.5A Pending CN106650535A (en) 2016-12-21 2016-12-21 Multi-object data exchange method based on radio frequency identification

Country Status (1)

Country Link
CN (1) CN106650535A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550547A (en) * 1994-09-12 1996-08-27 International Business Machines Corporation Multiple item radio frequency tag identification protocol
US20070176751A1 (en) * 1994-09-09 2007-08-02 Cesar Christian L Multiple Item Radio Frequency Tag Identification Protocol
CN101136053A (en) * 2006-10-11 2008-03-05 中兴通讯股份有限公司 Multiple labels anti-collision method used for radio frequency recognizing
CN101430753A (en) * 2007-11-08 2009-05-13 中兴通讯股份有限公司 Label anti-collision method for radio frequency recognition system
CN102456117A (en) * 2010-10-18 2012-05-16 上海复莱信息技术有限公司 Multi-tag radio-frequency identification anti-collision algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070176751A1 (en) * 1994-09-09 2007-08-02 Cesar Christian L Multiple Item Radio Frequency Tag Identification Protocol
US5550547A (en) * 1994-09-12 1996-08-27 International Business Machines Corporation Multiple item radio frequency tag identification protocol
CN101136053A (en) * 2006-10-11 2008-03-05 中兴通讯股份有限公司 Multiple labels anti-collision method used for radio frequency recognizing
CN101430753A (en) * 2007-11-08 2009-05-13 中兴通讯股份有限公司 Label anti-collision method for radio frequency recognition system
CN102456117A (en) * 2010-10-18 2012-05-16 上海复莱信息技术有限公司 Multi-tag radio-frequency identification anti-collision algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘金艳等: ""无线射频识别多标签防碰撞算法综述"", 《计算机集成制造系统》 *

Similar Documents

Publication Publication Date Title
CN206209389U (en) For the device of the multi-mode RFST communications in Process Control System
WO2016032693A1 (en) Apparatus and method for performing an item picking process
CN104463545A (en) Warehouse data processing system
US9875458B2 (en) Tracking of built components by using ID tags
US10474938B2 (en) Inventory management system
CN103336932B (en) It is programmed while the label of selection
CN103218591A (en) Anti-counterfeiting system based on RFID (radio frequency identification), and working method of same
CN112437420A (en) Multifunctional electronic label system based on NB-IoT (5G)
JP2008107918A (en) Mobile body identification managing system, card reader, and mobile body identification managing method
CN102750638B (en) RFID (Radio Frequency Identification Device)-based product anti-channel conflict checking system and realization method thereof
CN102929240A (en) Internet of things-based intelligent storehouse environment monitoring and article managing system
CN111539677A (en) RFID fixed asset management system and method based on block chain
CN107272541A (en) A kind of Campus Security monitoring system and method based on LAN
CN106650535A (en) Multi-object data exchange method based on radio frequency identification
CN206594681U (en) A kind of many object data switches based on radio frequency identification
CN205318416U (en) Device management system based on RFID
CN108512866A (en) A kind of client terminal device, remote control system and method based on LoRa and RFID
CN110956047A (en) Prefabricated part composite integrated identification method based on automatic identification technology
CN109272085B (en) RFID intelligent tool management system based on cloud data
CN105095926B (en) A kind of stagewise distant range active electronic tag and its recognition methods
Yogitha et al. Recent trends and issues in IoT
CN102324005A (en) Security authentication method, system and device for terminal without computing capability
CN107563240B (en) Wearable device integrated electronic tag data analysis method and system
CN204946057U (en) Internet of Things radio frequency identification card
CN116306755B (en) Commodity checking method, commodity checking system, computer equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication