CN101819524B - Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof - Google Patents

Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof Download PDF

Info

Publication number
CN101819524B
CN101819524B CN2009100046998A CN200910004699A CN101819524B CN 101819524 B CN101819524 B CN 101819524B CN 2009100046998 A CN2009100046998 A CN 2009100046998A CN 200910004699 A CN200910004699 A CN 200910004699A CN 101819524 B CN101819524 B CN 101819524B
Authority
CN
China
Prior art keywords
interface
rfid reader
module
inter
functional
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
CN2009100046998A
Other languages
Chinese (zh)
Other versions
CN101819524A (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.)
ZTE Intelligent IoT Technology Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009100046998A priority Critical patent/CN101819524B/en
Publication of CN101819524A publication Critical patent/CN101819524A/en
Application granted granted Critical
Publication of CN101819524B publication Critical patent/CN101819524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an access method of an RFID (Radio Frequency Identification Device) reader and an interface driving device thereof. The interface driving device comprises a functional interface module, a secondary development interface and an application module, wherein the functional interface module is connected with the RFID reader and used for providing a functional interface for realizing the RFID reader; the secondary development interface is connected with the application module and used for packaging interprocess communication, converting a received operation request into an interprocess message and transmitting the interprocess message; and the application module is connected between the functional interface module and the secondary development interface and used for providing a man-machine interaction interface and invoking the functional interface module according to the interprocess message of the secondary development interface. According to the technical scheme, the man-machine interface part and an API (Application Program Interface) are fused in a driving system, therefore, the user experience and the system performance can be improved.

Description

The access method of RFID reader and interface driver equipment thereof
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of access method and interface driver equipment thereof of RFID reader.
Background technology
At present, radio frequency identification (Radio Frequency Identification, RFID) technology is just applied fast in logistics field.
The RFID reader provides the complete function of reader, when using the RFID reader separately, need to provide the operation-interface of RFID reader, and reader interfaces drives (ReaderInterface Driver, referred to as RID).For guaranteeing the security of RFID reader, RID is externally by application programming interface (Application Programming Interface, referred to as API) mode provides interface, the inside of shielding RFID reader realizes, provides basic to applications and checks, the basic function function interface such as reading and writing; Simultaneously RID has been responsible for the parameter configuration of reader and has checked and the function of state alarm.RID is deployed in reader and connects on machine and (be generally the outer computer that connects reader), for the user provides the operation-interface of complete reader.
At present, the implementation of RID is the interface that directly is provided for RFID reader basic function, and api interface only is provided in this implementation, and man-machine interface is not provided, and is not easy to user's use, and the user embodies not high.
Summary of the invention
In view of this, the invention provides a kind of access method and driving arrangement thereof of RFID reader, in order to solve user in prior art, experience not high problem.
A kind of interface driver equipment of RFID reader is provided according to an aspect of the present invention.
According to the interface driver equipment of RFID reader of the present invention, comprise: functional interface module, second development interface and application module.Wherein, functional interface module, be connected with the RFID reader, for the functional interface of realizing the RFID reader is provided; Second development interface, be connected with application module, for Inter-Process Communication is encapsulated, the operation requests received is converted into to inter-process messages and sent; Application module, be connected between functional interface module and second development interface, for human-computer interaction interface is provided, and according to the inter-process messages calling function interface module from second development interface.
A kind of access method of RFID reader is provided according to another aspect of the present invention.
According to the access method of RFID reader of the present invention, comprise: will be converted into inter-process messages to the operation requests of RFID reader; By the calling function interface, inter-process messages are converted into to the message format that the RFID reader can be identified; Inter-process messages after transforming are sent to the RFID reader, and obtain the result from the corresponding operation to the inter-process messages after transforming of RFID reader.
By above-mentioned at least one scheme of the present invention, man-machine interface part and api interface are merged in a drive system, can improve the performance of user's experience and system.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions write, claims and accompanying drawing.
The accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms the part of instructions, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
Fig. 1 is the interface driver device structure schematic diagram according to the RFID reader of the embodiment of the present invention;
Fig. 2 is for comprising according to the preferred embodiment of the invention the general frame figure of RFID reader interfaces driving arrangement;
Fig. 3 is the access method process flow diagram according to the RFID reader of the embodiment of the present invention;
Fig. 4 is the communication flow diagram according to the functional interface module of the embodiment of the present invention and RFID reader.
Embodiment
Functional overview
In the embodiment of the present invention, the mode by DLL realizes RFID reader functionality interface module, for the functional interface of realizing the RFID reader is provided; Based on the above-mentioned functions interface module, the Application and Development module, so that human-computer interaction interface to be provided, and according to the inter-process messages calling function interface module from second development interface, thereby realize the operation to the RFID reader; Realize and second development interface is mode with DLL, for Inter-Process Communication is encapsulated, and the operation requests received is converted into to inter-process messages and is sent.
In the situation that do not conflict, embodiment and the feature in embodiment in the application can combine mutually.
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
Device embodiment
According to the embodiment of the present invention, at first provide a kind of interface driver equipment of RFID reader.
Fig. 1 is the interface driver device structure schematic diagram according to the RFID reader of the embodiment of the present invention.As shown in Figure 1, according to the interface driver equipment of the RFID reader of the embodiment of the present invention, comprise: functional interface module 10, second development interface 12 and application module 14.Wherein,
Functional interface module 10, be connected with the RFID reader, for the functional interface of realizing the RFID reader is provided;
In specific implementation process, between functional interface module 10 and RFID reader, can be connected by RS232 serial ports or network interface.
Second development interface 12, be connected with application module 14, for Inter-Process Communication is encapsulated, the operation requests received is converted into to inter-process messages and sent;
In specific implementation process, between second development interface 12 and application module 14, can be connected by pipeline.
Application module 14, be connected between functional interface module 10 and second development interface 12, for human-computer interaction interface is provided, and according to the inter-process messages calling function interface module 10 from second development interface 12.
In specific implementation process, after application module 14 receives above-mentioned inter-process messages, calling function interface module 10, functional interface module 10 by and the RFID reader between RS232 serial ports or network interface, indication RFID reader is carried out the operation corresponding with these inter-process messages, and obtain the result of operation, therefore, application module 14 also returns to second development interface 12 for the execution result by calling function interface module 10.
And, do not show human window when moving due to process tray, only on taskbar, show an icon, representation program moves, and when process tray moves in program, its main window is invisible, therefore, can not disturb the runnable interface of foreground program, also can not show unnecessary window.Therefore, in embodiments of the present invention, application module 14 is developed as to process tray, an icon is presented in the static announcement of taskbar right-hand member district, and response user's mouse action.
In specific implementation process, due to dynamic link library file (Dynamic LinkableLibrary, referred to as DLL) can reduce the size of execution (EXE) file and to the demand of memory headroom, and can by a plurality of application programs, be used simultaneously, therefore, functional interface module 10 and second development interface 12 adopt DLL to realize in embodiments of the present invention.
In specific implementation process, can realize above-mentioned process tray by following steps:
One, the main window of concealing program
Make the main window of program invisible, and task button on taskbar, do not occur, accomplish above-mentioned two aspects, style and the expansion style of main frame window need to be set respectively.
Two, the icon of representation program operation is added to taskbar.
Three, realize user and program interaction.
Realize user and program interaction, when the user clicks or double-click left mouse button or right button on this icon, will carry out corresponding operation, at least should respond the intention that the user stops this program.
Four, delete program icon during EOP (end of program)
When EOP (end of program), need to delete the icon in the announcement district, should call the Shell_NotifyIcon function simultaneously.
Five, set up the pipe service device, process pipeline message
Inter-Process Communication (between two processes without set membership) can only be used named pipes, message, socket etc. to carry out communication.Because named pipes has flexibly, do not rely on the advantages such as forms, speed are fast, therefore embodiment of the present invention Inter-Process Communication adopts the mode of named pipes to realize.Particularly, can at first create a named pipes, then wait for the link of other processes, after other process links, first read ducted message, then processing messages.
The general frame figure that comprises preferred embodiment of the present invention RFID reader interfaces driving arrangement that Fig. 2 is.As shown in Figure 2, general structure comprises according to the preferred embodiment of the invention: RFID reader interfaces driving arrangement 1, RFID reader 2 and application system 3.Wherein, RFID reader interfaces driving arrangement 1 comprises: reader internal interface 11, pallet Application and Development 13 and second development interface 15.Wherein, reader internal interface 11, be equal to functional interface module 10 in Fig. 1, with RFID reader 2, is connected, and comprising: check interface, read interface, write interface, lock interface, inquiry reader interfaces and configuration reader interfaces.The physical equipment of RFID reader 2 provides RS232 serial ports and network interface access mode usually, reader internal interface 11 is that the message format that RFID reader 2 inside can be identified sends to RFID reader 2 by the message conversion received, wait for that RFID reader 2 returns to the operation execution result, to realize the encapsulation work of associative operation.Pallet Application and Development 13, be equal to application module 14 in Fig. 1, is connected between reader internal interface 11 and second development interface 15, comprising: inquiry reader configuration module, renewal reader module and reader numbering maintenance module.15 pairs of Inter-Process Communications of second development interface are encapsulated, and the operation requests of caller is converted into to inter-process messages and sends to pallet Application and Development 13, after pallet Application and Development 13 executes associative operation, return results to second development interface 15.And pallet Application and Development 13 also provides human-computer interaction interface, and call reader internal interface 11 according to the inter-process messages from second development interface 15.Particularly, the aforesaid operations request that the caller that above-mentioned second development interface 15 receives sends by application system 3 includes but not limited to: check, reading and writing, lock and inquiry RFID reader 2.
Embodiment of the method
According to the embodiment of the present invention, also provide a kind of access method of RFID reader.
Fig. 3 is the access method process flow diagram according to the RFID reader of the embodiment of the present invention.As shown in Figure 3, comprise the steps (step S301-step S305) according to the access method of the RFID reader of the embodiment of the present invention:
Step S301: will be converted into inter-process messages to the operation requests of RFID reader;
Step S303: by the calling function interface, inter-process messages are converted into to the message format that the RFID reader can be identified;
Step S305: the inter-process messages after transforming are sent to the RFID reader, and obtain the result from the corresponding operation to the inter-process messages after transforming of RFID reader.
Fig. 4 communicates process flow diagram with the RFID reader by network interface for the functional interface module 10 according to the embodiment of the present invention.As shown in Figure 4, mainly comprise the following steps (step S401-step S407) according to the functional interface module of the embodiment of the present invention and the communication process of RFID reader:
Step S401: functional interface module, as server end, is set up local TCP/IP service, waits for the link of RFID reader.The RFID reader, as client, is initiated the link to server end.
Step S403: after having set up link, functional interface module writes director data in network, or other data, by network, sends to the RFID reader.
Step S405:RFID reader reading out data from network, and make response and process, result is sent to functional interface module by network.
Step S407: break link, when the sign off of client and server, or when a side need to disconnect for a certain reason, close linking of local and RFID reader.
As above, the technical scheme provided by the embodiment of the present invention, by man-machine interface part and api interface are merged in a drive system, can improve the performance of user's experience and system.And, in embodiments of the present invention, with process tray, to the user, provide man-machine interface, therefore, can not disturb the runnable interface of foreground program, can not show unnecessary window yet; In addition, in embodiments of the present invention, with mode practical function interface module and the second development interface of DLL, can reduce the size of execute file and to the demand of memory headroom.
Obviously, those skilled in the art should be understood that, above-mentioned each step of the present invention can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, perhaps they are made into respectively to each integrated circuit modules, or a plurality of steps in them are made into to the single integrated circuit module realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (7)

1. the interface driver equipment of a wireless radio frequency discrimination RFID reader, is characterized in that, comprising:
Functional interface module, be connected with the RFID reader, for the functional interface of realizing described RFID reader is provided;
Second development interface, be connected with application module, for Inter-Process Communication is encapsulated, the operation requests received is converted into to inter-process messages and sent;
Described application module, be connected between described functional interface module and described second development interface, for human-computer interaction interface is provided, and calls described functional interface module according to the described inter-process messages from described second development interface.
2. the interface driver equipment of RFID reader according to claim 1, is characterized in that, described application module also returns to described second development interface for the execution result that will call described functional interface module.
3. the interface driver equipment of RFID reader according to claim 1, is characterized in that, described functional interface module and described second development interface are realized in the dynamic link library mode.
4. the interface driver equipment of RFID reader according to claim 1, is characterized in that, between described functional interface and described RFID reader, by serial ports or network interface, is connected.
5. the interface driver equipment of RFID reader according to claim 1, is characterized in that, between described application module and described second development interface, by pipeline, is connected.
6. according to the interface driver equipment of the described RFID reader of any one in claim 1 to 5, it is characterized in that, described application module is process tray.
7. the access method of a RFID reader, is characterized in that, comprising:
To be converted into inter-process messages to the operation requests of RFID reader;
By the calling function interface, described inter-process messages are converted into to the message format that described RFID reader can be identified;
Inter-process messages after transforming are sent to described RFID reader, and obtain the result of operation corresponding to from described RFID reader inter-process messages after to described conversion.
CN2009100046998A 2009-02-27 2009-02-27 Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof Active CN101819524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100046998A CN101819524B (en) 2009-02-27 2009-02-27 Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100046998A CN101819524B (en) 2009-02-27 2009-02-27 Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof

Publications (2)

Publication Number Publication Date
CN101819524A CN101819524A (en) 2010-09-01
CN101819524B true CN101819524B (en) 2013-12-04

Family

ID=42654639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100046998A Active CN101819524B (en) 2009-02-27 2009-02-27 Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof

Country Status (1)

Country Link
CN (1) CN101819524B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004638B (en) * 2010-09-28 2015-07-22 中兴通讯股份有限公司 Secondary development method and development system of handheld reader-writer
CN102750505B (en) * 2011-04-19 2015-06-03 中兴通讯股份有限公司 Barcode scanning method, barcode scanning system and barcode scanning device of RF (Radio Frequency) identification reader
CN103731443B (en) * 2012-10-10 2017-05-31 天津中兴智联科技有限公司 A kind of method, apparatus and system for configuring reader serial communication attribute
CN104679513B (en) * 2015-02-12 2019-09-27 无锡识凌科技有限公司 A kind of device drives framework development approach in intelligent terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086763A (en) * 2007-06-15 2007-12-12 广东电子工业研究院有限公司 A collaborative working RFID reader and its collaborative work method
CN101344931A (en) * 2007-07-10 2009-01-14 上海科识通信息科技有限公司 RFID integration machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080197975A1 (en) * 2005-05-20 2008-08-21 Seung Hyup Ryoo Radio Frequency Identification Data Processing System

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086763A (en) * 2007-06-15 2007-12-12 广东电子工业研究院有限公司 A collaborative working RFID reader and its collaborative work method
CN101344931A (en) * 2007-07-10 2009-01-14 上海科识通信息科技有限公司 RFID integration machine

Also Published As

Publication number Publication date
CN101819524A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
US11803451B2 (en) Application exception recovery
US7877091B2 (en) Method and system for executing a container managed application on a processing device
US8788787B2 (en) Systems, methods and architecture for facilitating software access to acceleration technology
CN102253855B (en) A kind of method and apparatus transmitting shared drive
CN102314348A (en) Android system development framework and development device
CN103593189A (en) Method for implementing user mode drive program in embedded Linux
CN112035272A (en) Method and device for interprocess communication and computer equipment
CN113806116A (en) Protocol stack data transmission method based on Linux system, computer equipment and storage medium
CN110012095A (en) A kind of system and method for mobile intelligent terminal connection cloud desktop server
CN111414643A (en) Data authority control method, device, server and storage medium
CN101819524B (en) Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof
CN102541549A (en) Method and device for integrating television application modules
CN112231017A (en) Virtual keyboard and mouse method and device for compatible operation of Android operating system on Linux
CN107391274A (en) The processing method and processing device of deferred information
CN103034503B (en) A kind of script execution, system and browser
CN112506676B (en) Inter-process data transmission method, computer device and storage medium
CN106896956B (en) The implementation method of multi-point touch under one kind " road " system
CN102945264A (en) Method for intelligently starting distributed transaction
CN106844156B (en) WCF communication message interception method in intelligent building integrated management platform system
CN103077016B (en) A kind of moving object creation method, device and browser
CN111090430B (en) Application software development system under embedded system
CN102073835A (en) Access method of RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof
CN113656196B (en) Method and device for transferring files between applications of Linux compatible with Android
CN103019867B (en) Script execution between process, system and browser
CN114546683A (en) Service processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160905

Address after: 300308 Tianjin Airport Economic Zone, Binhai New Area seven East Road No. 2 Zhongxing Industrial Base

Patentee after: ZTE INTELLIGENT IOT TECHNOLOGY Co.,Ltd.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee before: ZTE Corp.

CP03 Change of name, title or address

Address after: Room 401, building 12, east area, airport business park, No. 80, Huanhe North Road, free trade zone (Airport Economic Zone), Binhai New Area, Tianjin 300000

Patentee after: Gaoxing Zhilian Technology Co.,Ltd.

Address before: 300308, Zhongxing Industrial base, 2 East seven, Airport Economic Zone, Tianjin Binhai New Area

Patentee before: ZTE INTELLIGENT IOT TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
CP01 Change in the name or title of a patent holder

Address after: Room 401, building 12, East Airport Business Park, 80 Huanhe North Road, Tianjin Binhai New Area pilot free trade zone (Airport Economic Zone)

Patentee after: Zte Intelligent Iot Technology Co.,Ltd.

Address before: Room 401, building 12, East Airport Business Park, 80 Huanhe North Road, Tianjin Binhai New Area pilot free trade zone (Airport Economic Zone)

Patentee before: Gaoxing Zhilian Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder