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

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

Info

Publication number
CN102073835A
CN102073835A CN2009102286534A CN200910228653A CN102073835A CN 102073835 A CN102073835 A CN 102073835A CN 2009102286534 A CN2009102286534 A CN 2009102286534A CN 200910228653 A CN200910228653 A CN 200910228653A CN 102073835 A CN102073835 A CN 102073835A
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.)
Pending
Application number
CN2009102286534A
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.)
TIANJIN ZHONGXING SOFTWARE Co Ltd
Original Assignee
TIANJIN ZHONGXING SOFTWARE 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 TIANJIN ZHONGXING SOFTWARE Co Ltd filed Critical TIANJIN ZHONGXING SOFTWARE Co Ltd
Priority to CN2009102286534A priority Critical patent/CN102073835A/en
Publication of CN102073835A publication Critical patent/CN102073835A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an access method of an RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof. The equipment 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 is used for providing an interface for realizing the functions of the RFID reader; the secondary development interface is connected with the application module and is used for packaging interprocess communications to transform received operation requests into interprocess messages and transmit the messages; and the application module is connected between the functional interface module and the secondary development interface and is used for providing a human-computer interaction interface and calling the functional interface module according to the interprocess messages from the secondary development interface. According to the technical scheme provided by the invention, a human-computer interface section and an API (Application Program Interface) are integrated in one drive system so that the experience of users and the performance of the system can be improved.

Description

The access method of RFID reader and interface driving arrangement thereof
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of access method and interface driving arrangement thereof of RFID reader.
Background technology
At present, radio frequency identification (Radio Frequency Identification, RFID) just used fast in logistics field by technology.
The RFID reader provides the complete function of reader, when using the RFID reader separately, need provide the operation-interface of RFID reader, and promptly reader interfaces drives (Reader Interface Driver abbreviates RID as).For guaranteeing the security of RFID reader, RID is externally by application programming interface (Application Programming Interface, abbreviating API as) mode provides interface, the inside of shielding RFID reader realizes, provides basic to applications and checks, basic function function interface such as reading and writing; Simultaneously RID is responsible for finishing to the parameter configuration of reader and checks and the function of state alarm.RID is deployed on the reader connection machine (being generally the outer computer that connects reader), and the operation-interface of complete reader is provided for the user.
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 the not high problem of user experience in the prior art.
A kind of interface driving arrangement of RFID reader is provided according to an aspect of the present invention.
Interface driving arrangement according to RFID reader of the present invention comprises: functional interface module, second development interface and application module.Wherein, functional interface module is connected with the RFID reader, is used to provide the functional interface of realizing the RFID reader; Second development interface is connected with application module, is used for Inter-Process Communication is encapsulated, and the operation requests that receives is converted into inter-process messages and sends; Application module is connected between functional interface module and the second development interface, is used to provide human-computer interaction interface, 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.
Access method according to RFID reader of the present invention comprises: 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 the message format that the RFID reader can be discerned; Inter-process messages after transforming are sent to the RFID reader, and obtain from the result of RFID reader to the operation of the inter-process messages correspondence after transforming.
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 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, perhaps 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 of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the interface driving arrangement structural representation according to the RFID reader of the embodiment of the invention;
Fig. 2 is for comprising the general frame figure of RFID reader interfaces driving arrangement according to the preferred embodiment of the invention;
Fig. 3 is the access method process flow diagram according to the RFID reader of the embodiment of the invention;
Fig. 4 is the communication flow diagram according to the functional interface module of the embodiment of the invention and RFID reader.
Embodiment
Functional overview
In the embodiment of the invention, the mode by DLL realizes RFID reader functionality interface module, is used to provide the functional interface of realizing the RFID reader; 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 realizes operation to the RFID reader; Realize and second development interface is a mode with DLL, be used for Inter-Process Communication is encapsulated, and the operation requests that receives is converted into inter-process messages and sends.
Under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up 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 is used for description and interpretation the present invention, and be not used in qualification the present invention.
Device embodiment
According to the embodiment of the invention, at first provide a kind of interface driving arrangement of RFID reader.
Fig. 1 is the interface driving arrangement structural representation according to the RFID reader of the embodiment of the invention.As shown in Figure 1, the interface driving arrangement according to the RFID reader of the embodiment of the invention comprises: functional interface module 10, second development interface 12 and application module 14.Wherein,
Functional interface module 10 is connected with the RFID reader, is used to provide the functional interface of realizing the RFID reader;
In specific implementation process, can be connected by RS232 serial ports or network interface between functional interface module 10 and the RFID reader.
Second development interface 12 is connected with application module 14, is used for Inter-Process Communication is encapsulated, and the operation requests that receives is converted into inter-process messages and sends;
In specific implementation process, can be connected by pipeline between second development interface 12 and the application module 14.
Application module 14 is connected between functional interface module 10 and the second development interface 12, is used to provide human-computer interaction interface, 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 is used for the execution result of calling function interface module 10 is returned to second development interface 12.
And,, only on taskbar, show an icon because process tray does not show human window when operation, representation program moves, and process tray is when program run, and its main window is invisible, therefore, can not disturb the runnable interface of foreground program, can not show unnecessary window yet.Therefore, in embodiments of the present invention, application module 14 is developed as process tray, an icon display is announced in the district in taskbar right-hand member static state, and response user's mouse action.
In specific implementation process, because dynamic link library file (Dynamic Linkable Library, abbreviate DLL as) can reduce the size of execution (EXE) file and to the demand of memory headroom, and can be used by a plurality of application programs 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, the style and the expansion style of main frame window need be set respectively.
Two, the icon with the representation program operation adds taskbar.
Three, realize user and program interaction.
Realize user and program interaction, promptly when the user clicks or double-click left mouse button or right button on this icon, will carry out corresponding operation, should respond the intention that the user stops this program at least.
Four, delete program icon during EOP (end of program)
When EOP (end of program), need the icon in the deletion announcement district, should call the Shell_NotifyIcon function simultaneously.
Five, set up the pipe service device, handle pipeline message
Inter-Process Communication (not having set membership between two processes) can only use named pipes, message, socket etc. to carry out communication.Because named pipes has flexibly, does not rely on advantages such as forms, speed are fast, so the mode of embodiment of the invention Inter-Process Communication employing named pipes realizes.Particularly, can at first create a named pipes, wait for the link of other processes then, treat the link of other processes after, read ducted message earlier, 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 is equal to functional interface module 10 among Fig. 1, is connected with RFID reader 2, 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 discerned sends to RFID reader 2 by the message conversion that receives, wait for RFID reader 2 return execution results, to realize the encapsulation work of associative operation.Pallet Application and Development 13 is equal to application module 14 among Fig. 1, is connected between reader internal interface 11 and the 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 encapsulate, and the operation requests of caller is converted into inter-process messages sends to pallet Application and Development 13, and after pallet Application and Development 13 executed associative operation, return results was given second development interface 15.And pallet Application and Development 13 also provides human-computer interaction interface, and according to calling reader internal interface 11 from the inter-process messages of second development interface 15.Particularly, the caller that receives of above-mentioned second development interface 15 includes but not limited to by the aforesaid operations request that application system 3 sends: check, reading and writing, lock and inquiry RFID reader 2.
Method embodiment
According to the embodiment of the 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 invention.As shown in Figure 3, the access method according to the RFID reader of the embodiment of the invention comprises the steps (step S301-step S305):
Step S301: will be converted into inter-process messages to the operation requests of RFID reader;
Step S303:, inter-process messages are converted into the message format that the RFID reader can be discerned by the calling function interface;
Step S305: the inter-process messages after will transforming send to the RFID reader, and obtain from the result of RFID reader to the operation of the inter-process messages correspondence after transforming.
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 invention.As shown in Figure 4, mainly may further comprise the steps (step S401-step S407) according to the functional interface module of the embodiment of the invention and the communication process of RFID reader:
Step S401: functional interface module is set up local TCP/IP service as server end, waits for the link of RFID reader.The RFID reader is initiated the link to server end as client.
Step S403: after having set up link, functional interface module writes director data in network, and perhaps other data send to the RFID reader by network.
Step S405:RFID reader reading of data from network, and make response and handle, the 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 by the embodiment of the invention provides by man-machine interface part and api interface are merged in a drive system, can improve the performance of user experience and system.And, in embodiments of the present invention, provide man-machine interface to the user with process tray, therefore, can not disturb the runnable interface of foreground program, can not show unnecessary window yet; In addition, in embodiments of the present invention, realize functional interface module and second development interface, can reduce the size of execute file and the demand of memory headroom in the mode of DLL.
Obviously, those skilled in the art should be understood that, above-mentioned each step of the present invention can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of steps in them are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the interface driving arrangement of a wireless radio frequency discrimination RFID reader is characterized in that, comprising:
Functional interface module is connected with the RFID reader, is used to provide the functional interface of realizing described RFID reader;
Second development interface is connected with described application module, is used for Inter-Process Communication is encapsulated, and the operation requests that receives is converted into inter-process messages and sends;
Application module is connected between described functional interface module and the described second development interface, is used to provide human-computer interaction interface, and calls described functional interface module according to the described inter-process messages from described second development interface.
2. the interface driving arrangement of RFID reader according to claim 1 is characterized in that, the execution result that described application module also is used for calling described functional interface module returns to described second development interface.
3. the interface driving arrangement 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 driving arrangement of RFID reader according to claim 1 is characterized in that, is connected by serial ports or network interface between described functional interface and the described RFID reader.
5. the interface driving arrangement of RFID reader according to claim 1 is characterized in that, is connected by pipeline between described application module and the described second development interface.
6. according to the interface driving arrangement of each described RFID reader in the claim 1 to 5, it is characterized in that described application module is a 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 the message format that described RFID reader can be discerned;
Inter-process messages after transforming are sent to described RFID reader, and obtain result from the operation of the inter-process messages correspondence of described RFID reader after to described conversion.
CN2009102286534A 2009-11-23 2009-11-23 Access method of RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof Pending CN102073835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102286534A CN102073835A (en) 2009-11-23 2009-11-23 Access method of RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102286534A CN102073835A (en) 2009-11-23 2009-11-23 Access method of RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof

Publications (1)

Publication Number Publication Date
CN102073835A true CN102073835A (en) 2011-05-25

Family

ID=44032370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102286534A Pending CN102073835A (en) 2009-11-23 2009-11-23 Access method of RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof

Country Status (1)

Country Link
CN (1) CN102073835A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446736A (en) * 2016-08-31 2017-02-22 天津灵创智恒软件技术有限公司 Method for accessing register in RFID reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446736A (en) * 2016-08-31 2017-02-22 天津灵创智恒软件技术有限公司 Method for accessing register in RFID reader

Similar Documents

Publication Publication Date Title
US7877091B2 (en) Method and system for executing a container managed application on a processing device
US20220075696A1 (en) Application Exception Recovery
CN112257135B (en) Model loading method and device based on multithreading, storage medium and terminal
CN107291456B (en) Multi-screen display control method and system
CN101237256B (en) Electronic device and NFC-control method based on other electronic device
CN102253855B (en) A kind of method and apparatus transmitting shared drive
CN106990908B (en) Local touch shielding method, device, system, equipment and storage medium
CN102314348A (en) Android system development framework and development device
CN112035272A (en) Method and device for interprocess communication and computer equipment
CN111371809B (en) Server based on reverse proxy architecture and GIS service access control method
CN110012095A (en) A kind of system and method for mobile intelligent terminal connection cloud desktop server
CN103593189A (en) Method for implementing user mode drive program in embedded Linux
CN109032587B (en) Data stream management framework, method, terminal equipment and storage medium
CN111414643A (en) Data authority control method, device, server and storage medium
CN112231017B (en) Virtual keyboard and mouse method and device compatible with Android running environment running on Linux
CN101819524B (en) Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof
CN102404633A (en) Monitoring module, intelligent television system and television
CN102541549A (en) Method and device for integrating television application modules
WO2023124141A1 (en) Input method calling method and related device
CN111880675B (en) Interface display method and device and electronic equipment
CN107483412B (en) HTML5web worker migration method and system
CN102073835A (en) Access method of RFID (Radio Frequency Identification Device) reader and interface driving equipment thereof
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
CN105446732A (en) Operation realization method, device and system of 64-bit program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110525