CN105631376B - RFID middleware and RFID data transmission realizing method - Google Patents

RFID middleware and RFID data transmission realizing method Download PDF

Info

Publication number
CN105631376B
CN105631376B CN201511019937.4A CN201511019937A CN105631376B CN 105631376 B CN105631376 B CN 105631376B CN 201511019937 A CN201511019937 A CN 201511019937A CN 105631376 B CN105631376 B CN 105631376B
Authority
CN
China
Prior art keywords
label data
label
upper layer
reader
application system
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
CN201511019937.4A
Other languages
Chinese (zh)
Other versions
CN105631376A (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.)
Institute of Information Engineering of CAS
Original Assignee
Institute of Information Engineering of CAS
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 Institute of Information Engineering of CAS filed Critical Institute of Information Engineering of CAS
Priority to CN201511019937.4A priority Critical patent/CN105631376B/en
Publication of CN105631376A publication Critical patent/CN105631376A/en
Application granted granted Critical
Publication of CN105631376B publication Critical patent/CN105631376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Abstract

A kind of RFID middleware of present invention offer and RFID data transmission realizing method, RFID middleware include:Processing module and read write tag module, read write tag module is for reading label data from the reader of unlatching after receiving the read-write that the processing module is sent and sending the processing module to;The unique mark label that the tag match upper layer application system for the label data that processing module is used to make to receive specifies required label data, and the label data after transmission matching is connect with upper layer application system.The present invention is by the tag ID of the label data to getting, the unique mark label for going matching upper layer application system to specify required label data.Make upper layer application system establish Socket with middleware services by the matching of tag ID and mark label to communicate, realize the transmission of data information.

Description

RFID middleware and RFID data transmission realizing method
Technical field
The present invention relates to field of communication technology more particularly to a kind of RFID middleware and RFID data transmission realizing methods
Background technology
Radio-frequency recognition system is generally made of three parts:Label, reader and apply support programs, middleware be using branch An important component for supportting software is the bridge for being connected RFID hardware device (label, reader) and enterprise application software. As the concerning security matters carrier managing and control system of radio-frequency recognition system, the mainly management and control to being attached to the RFID tag on carrier.Certainly right It is just particularly important in the design and deployment of the RFID middleware that carrier managing and control system is responsible for acquiring and handling data information.Mesh Before, IBM RFID middlewares are a set of based on JAVA and to follow a set of open RFID middleware production of J2EE enterprise architectures exploitation Product can help enterprise to simplify the step of implementing RFID projects, can meet the requirement of business processes magnanimity cargo data.Oracle RFID middleware be Oracle have an eye on the future RFID great market and develop it is a set of based on JAVA follow J2EE enterprise The middleware product of industry framework.Oracle middlewares rely on oracle database, give full play at the data of oracle database Reason advantage meets requirement of the enterprise to magnanimity RFID data storage and analyzing processing.
The either RFID middleware of IBM, Oracle or Microsoft all provides powerful support to enterprise's application.This The integrated RFID tag data acquisition solution of kind can meet the requirement of most of enterprise, but under different scenes Using not being required for so complicated integrated data acquisition platform.
In the application system of enterprise, RFID middleware is suggested and is applied to as a kind of unified solution In enterprise-level platform.It is often integrated with the RFID middleware of large database, complexity and cost are higher, are not particularly suited for The system application of lightweight.And for the standalone version application in small-sized LAN, using large-scale enterprise-level platform RFID middleware solution, just seem excessively redundancy.
Invention content
A kind of RFID middleware of present invention offer and RFID data transmission realizing method, it is complicated in the prior art for solving The problem of degree and the higher RFID middleware of cost are unsuitable for using in small application system.
In a first aspect, the present invention provides a kind of RFID middleware, including:Processing module and read write tag module, wherein
Read write tag module is read after receiving the read-write that the processing module is sent from the reader of unlatching Label data is taken, and sends the processing module to;
Processing module, for making the tag match upper layer application system of the label data received refer to required label data Fixed unique mark label, and the label data after transmission matching is connect with upper layer application system.
Preferably, further include:Disconnection reconnecting module, the detection signal sent for receiving the processing module, and according to The connection state for detecting all readers of signal detection executes reader reconnection operation automatically in reader broken string.
Preferably, further include:Initialization module, the enabling signal sent for receiving the processing module, and according to opening Dynamic signal opens each reader and startup disconnection reconnecting thread and tag read thread.
Preferably, further include:Closedown module, the shutdown signal sent for receiving the processing module remove reader Caching and the every thread of closing.
Preferably, the processing module includes filter element and matching transfer unit, wherein
Filter element is filtered processing for the label data to acquisition, and is sent to matching transfer unit;
Transfer unit is matched, the tag match upper layer application system of the label data for making to receive is to required number of tags According to specified unique mark label, and the label data after transmission matching is connect with upper layer application system.
Preferably, the disconnection reconnecting module includes alarm unit, for sending out fault warning after multiple reconnection failure.
On the other hand, the present invention provides a kind of RFID data transmission realizing method based on above-mentioned RFID middleware, including:
When receiving the label data requirement request that upper layer application system is sent out, RFID middleware obtains a variety of differences and connects The label data of mouth reader, and the tag match upper layer application system of the label data received is made to refer to required label data Fixed unique mark label;
RFID middleware sends the label data after matching to current upper layer application system.
Preferably, further include:RFID middleware detects the connection state of all readers in real time, in reader broken string situation Lower automatic execution reader reconnection operation;Alarm is sent out after multiple reconnection failure.
Preferably, label data is filtered processing before coding is sent to label data.
Preferably, RFID middleware receives the turn-off request that user terminal is sent, and removes reader caching and closes Every thread.
As shown from the above technical solution, the present invention goes to matching upper layer to answer by the tag ID of the label data to getting The unique mark label that required label data is specified with system.By tag ID and mark label matching make upper layer application system with Middleware services establish Socket communications, realize the transmission of data information.To make RFID middleware to user's transparence, user Upper layer application systematic difference business only need to be paid close attention to, is not required to the configuration it is to be understood that in terms of data acquisition.
Description of the drawings
Fig. 1 is the structural schematic diagram for the RFID middleware that one embodiment of the invention provides;
Fig. 2 is the flow diagram for the data transmission implementation method that another embodiment of the present invention provides;
Fig. 3 is the flow diagram that reader connection state provided by the invention detects thread;
Fig. 4 is the flow diagram that reader provided by the invention reads and writes thread.
Specific implementation mode
With reference to the accompanying drawings and examples, the specific implementation mode of the present invention is described in further detail.Implement below Example is not limited to the scope of the present invention for illustrating the present invention.
As Fig. 1 show one embodiment of the invention provide a kind of RFID middleware, including:Processing module and read write tag Module, wherein
Read write tag module is read after receiving the read-write that the processing module is sent from the reader of unlatching Label data is taken, and sends the processing module to.
Processing module, for making the tag match upper layer application system of the label data received refer to required label data Fixed unique mark label, and the label data after transmission coding is connect with upper layer application system.Wherein, it is wrapped in the processing module Include filter element and matching transfer unit, wherein
Filter element is filtered processing for the label data to acquisition, and is sent to matching transfer unit;
Transfer unit is matched, the tag match upper layer application system of the label data for making to receive is to required number of tags According to specified unique mark label, and the label data after transmission matching is connect with upper layer application system.
The present invention goes matching upper layer application system to required label data by the tag ID of the label data to getting Specified unique mark label.Upper layer application system is set to establish Socket with middleware services by the matching of tag ID and mark label Communication, realizes the transmission of data information.To make RFID middleware to user's transparence, user need to only pay close attention to upper layer application system Applied business, be not required to the configuration it is to be understood that in terms of data acquisition.
RFID middleware is further explained, the RFID middleware further includes:Disconnection reconnecting module, is used for The detection signal that the processing module is sent is received, and according to the connection state of detection all readers of signal detection, is being read and write Reader reconnection operation is executed automatically in the case of device broken string.The module periodically checks each connection for opening reader, In the case of broken string, Auto-reconnect predetermined number of times, after reaching predetermined number of times, pop-up prompting frame prompt user checks that cable connects feelings Condition and reader electrifying condition.
Initialization module, the enabling signal sent for receiving the processing module, and it is each according to enabling signal unlatching Reader and startup disconnection reconnecting thread and tag read thread.Closedown module is sent for receiving the processing module Shutdown signal removes reader caching and closes every thread.
It should be noted that above-mentioned shutdown signal, enabling signal, detection signal and read-write are processing modules according to upper The request signal that sends out of layer application system make to closedown module, initialization module, detection module and read write tag module Control instruction.
As shown in Fig. 2, the present invention provides a kind of data transmission implementation method based on above-mentioned RFID middleware, including:
S1, when receiving the label data requirement request that upper layer application system is sent out, RFID middleware obtain it is a variety of not With the label data of interface reader, and make the tag match upper layer application system of the label data received to required number of tags According to specified unique mark label.In this step, label data before transmitting, need to be filtered label data processing. When reader acquires label data, RFID middleware detects the connection state of all readers in real time, in reader broken string situation Lower automatic execution reader reconnection operation;Alarm is sent out after multiple reconnection failure.In addition, when RFID middleware receives user The turn-off request that terminal is sent removes reader caching and closes every thread.
As shown in figure 3, when detecting the connection status of reader, if reader does not have successful connection, by Stutas 1 set is 0;It is 11 set of Stutas if reader connection is normal.It detects thread loops to execute, as long as reader one Direct-open, the thread is just always in detecting state position Stutas 1.
As shown in figure 4, the first detecting state position Stutas 1 after reading thread and opening, illustrates to read if Stutas1 is 1 Write device successful connection, then enter initialization function, in initialization function 2 set of Status be 1, Status 2 It is for preventing reader from repeatedly being initialized.When entering Rule of judgment next time, it is found that Status 2 has been set to 1 explanation It is initialized, it just omits the step of reader initializes but directly reads data.
S2, RFID middleware send the label data after matching to current upper layer application system.
The present invention goes matching upper layer application system to required label data by the tag ID of the label data to getting Specified unique mark label.Upper layer application system is set to establish Socket with middleware services by the matching of tag ID and mark label Communication, realizes the transmission of data information.To make RFID middleware to user's transparence, user need to only pay close attention to upper layer application system Applied business, be not required to the configuration it is to be understood that in terms of data acquisition.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.
One of ordinary skill in the art will appreciate that:The above embodiments are only used to illustrate the technical solution of the present invention., and It is non-that it is limited;Although present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art It should be understood that:Its still can with technical scheme described in the above embodiments is modified, either to which part or All technical features carries out equivalent replacement;And these modifications or replacements, it does not separate the essence of the corresponding technical solution this hair Bright claim limited range.

Claims (8)

1. a kind of RFID middleware, which is characterized in that including:Processing module and read write tag module, wherein
Read write tag module reads mark after receiving the read-write that the processing module is sent from the reader of unlatching Data are signed, and send the processing module to;
Processing module, the tag match upper layer application system of the label data for making to receive specify required label data Unique mark label, and the label data after transmission matching is connect with upper layer application system;
The processing module includes filter element and matching transfer unit, wherein
Filter element is filtered processing for the label data to acquisition, and is sent to matching transfer unit;
Transfer unit is matched, for making the tag match upper layer application system of the label data received refer to required label data Fixed unique mark label, and the label data after transmission matching is connect with upper layer application system.
2. RFID middleware according to claim 1, which is characterized in that further include:Disconnection reconnecting module, for receiving The detection signal that processing module is sent is stated, and according to the connection state of detection all readers of signal detection, is broken in reader In the case of execute reader reconnection operation automatically.
3. RFID middleware according to claim 1, which is characterized in that further include:Initialization module, it is described for receiving The enabling signal that processing module is sent, and each reader and startup disconnection reconnecting thread and label are opened according to enabling signal Read and write thread.
4. RFID middleware according to claim 1, which is characterized in that further include:Closedown module, for receiving the place The shutdown signal that reason module is sent removes reader caching and closes every thread.
5. RFID middleware according to claim 2, which is characterized in that the disconnection reconnecting module includes alarm unit, For sending out fault warning after multiple reconnection failure.
6. a kind of RFID data based on RFID middleware described in the claims 1-5 any claims transmits realization side Method, which is characterized in that including:
When receiving the label data requirement request that upper layer application system is sent out, RFID middleware obtains a variety of distinct interfaces and reads The label data of device is write, and the tag match upper layer application system of the label data received is made to specify required label data Unique mark label;
RFID middleware sends the label data after matching to current upper layer application system;
Wherein, label data is filtered processing before coding is sent to label data.
7. data transmission implementation method according to claim 6, which is characterized in that further include:RFID middleware is examined in real time The connection state for surveying all readers executes reader reconnection operation automatically in reader broken string;When multiple reconnection is lost Alarm is sent out after losing.
8. data transmission implementation method according to claim 6, which is characterized in that RFID middleware receives user terminal The turn-off request sent removes reader caching and closes every thread.
CN201511019937.4A 2015-12-29 2015-12-29 RFID middleware and RFID data transmission realizing method Active CN105631376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511019937.4A CN105631376B (en) 2015-12-29 2015-12-29 RFID middleware and RFID data transmission realizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511019937.4A CN105631376B (en) 2015-12-29 2015-12-29 RFID middleware and RFID data transmission realizing method

Publications (2)

Publication Number Publication Date
CN105631376A CN105631376A (en) 2016-06-01
CN105631376B true CN105631376B (en) 2018-07-20

Family

ID=56046294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511019937.4A Active CN105631376B (en) 2015-12-29 2015-12-29 RFID middleware and RFID data transmission realizing method

Country Status (1)

Country Link
CN (1) CN105631376B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372713A (en) * 2016-10-21 2017-02-01 国网辽宁省电力有限公司葫芦岛供电公司 Cable trench cover plate based on embedded information identification function of resin matrix section bar
CN107704787B (en) * 2017-09-13 2019-11-05 中国科学院信息工程研究所 A kind of method and apparatus of malice RFID reader intrusion detection
CN113315707B (en) * 2021-05-26 2022-11-18 西安热工研究院有限公司 Method for label routing of multi-site cascade mode data transmission middleware

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808462A (en) * 2004-12-20 2006-07-26 韩国电子通信研究院 Rfid reader interface and event management apparatus for supporting multi-protocol-based heterogeneous readers and method therefor
CN101515334A (en) * 2009-04-07 2009-08-26 华中科技大学 Electronic tag data filtering method used for radio frequency identification middleware
CN102479071A (en) * 2010-11-23 2012-05-30 上海宝信软件股份有限公司 Method and device for filtering tag events of middleware of RFID (Radio Frequency Identification) application system
CN104166862A (en) * 2013-05-16 2014-11-26 中国科学院信息工程研究所 Active and passive RFID-based data acquisition and monitoring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7953826B2 (en) * 2005-07-14 2011-05-31 Cisco Technology, Inc. Provisioning and redundancy for RFID middleware servers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808462A (en) * 2004-12-20 2006-07-26 韩国电子通信研究院 Rfid reader interface and event management apparatus for supporting multi-protocol-based heterogeneous readers and method therefor
CN101515334A (en) * 2009-04-07 2009-08-26 华中科技大学 Electronic tag data filtering method used for radio frequency identification middleware
CN102479071A (en) * 2010-11-23 2012-05-30 上海宝信软件股份有限公司 Method and device for filtering tag events of middleware of RFID (Radio Frequency Identification) application system
CN104166862A (en) * 2013-05-16 2014-11-26 中国科学院信息工程研究所 Active and passive RFID-based data acquisition and monitoring method

Also Published As

Publication number Publication date
CN105631376A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN105631376B (en) RFID middleware and RFID data transmission realizing method
JP5506135B2 (en) Monitoring device and detecting method for detecting opening of package
US9571416B2 (en) Server and computer interaction via local shared objects
US20130021597A1 (en) Cable identification
CN106031050B (en) A kind of information processing method and NFC terminal
WO2006074096A3 (en) System for developing and deploying radio frequency identification enabled software applications
CN105872088A (en) Operating system switching method and device for driverless vehicle
KR101883260B1 (en) Upgradeable distribution framework, cable connector, and cabling management system
CN109409445A (en) Carrier management method, management terminal, equipment and system in Optical Distribution Network
US20100001063A1 (en) Transaction override using radio frequency identification
CN109640078A (en) Set-top box test method, device, set-top box and computer readable storage medium
RU2009100926A (en) DATA ARCHITECTURE AND MANAGEMENT ON THE SIDE OF THE INTELLIGENT MAP TERMINAL
US8860807B2 (en) Real time physical asset inventory management through triangulation of video data capture event detection and database interrogation
US20200290807A1 (en) Method and system for generating rfid labels using rfid encoder attachment
CN107423157A (en) A kind of hard disk hanging method, module and operating system
CN107995033A (en) A kind of ONU configuration files upgrade method and device
CN109376025A (en) Abnormality eliminating method, device, computer equipment and storage medium
CN109271096A (en) NVME storage expansion system
Kheddam et al. Monitoring of RFID failures resulting from LLRP misconfigurations
US20190251347A1 (en) Object characterization and authentication
CN112634493B (en) Intelligent door lock, terminal equipment, control method of intelligent door lock and storage medium
CN105138490B (en) The filtration system and method for serial data
CN106851535A (en) Method and device for sharing Bluetooth by multiple systems
Ya'acob et al. RFID (NFC) application employment on inventory tracking to improve security
CN103268690B (en) Night patrol alarming linkage management and control system and control method

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