CN103268264A - Low-coupling multiple-event synchronous radio frequency identification device (RFID) middleware system and achieving method thereof - Google Patents

Low-coupling multiple-event synchronous radio frequency identification device (RFID) middleware system and achieving method thereof Download PDF

Info

Publication number
CN103268264A
CN103268264A CN2013101712687A CN201310171268A CN103268264A CN 103268264 A CN103268264 A CN 103268264A CN 2013101712687 A CN2013101712687 A CN 2013101712687A CN 201310171268 A CN201310171268 A CN 201310171268A CN 103268264 A CN103268264 A CN 103268264A
Authority
CN
China
Prior art keywords
middleware
event
middleware server
interface
module
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.)
Granted
Application number
CN2013101712687A
Other languages
Chinese (zh)
Other versions
CN103268264B (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.)
Chengdu Hongfu Radio Technology Co., Ltd.
Original Assignee
WUXI CHANGDA INFORMATION 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 WUXI CHANGDA INFORMATION TECHNOLOGY Co Ltd filed Critical WUXI CHANGDA INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310171268.7A priority Critical patent/CN103268264B/en
Publication of CN103268264A publication Critical patent/CN103268264A/en
Application granted granted Critical
Publication of CN103268264B publication Critical patent/CN103268264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a low-coupling multiple-event synchronous radio frequency identification device (RFID) middleware system and an achieving method thereof. The system comprises at least one middleware server for performing management and data processing of an accessed device, an upper-layer application layer for formulating event rules, and a middleware server managing center for scheduling the middleware server, transferring event rules and gathering events to be processed. The upper-layer application layer, the middleware server managing center and each middleware server are connected in sequence. By adopting the low-coupling multiple-event synchronous RFID middleware system and the achieving method, the defects including low event execution efficiency, small application range and the like in the prior art can be overcome to achieve the advantages of high event execution efficiency and large application range.

Description

A kind of eventful synchronous RFID middleware system of low coupling and its implementation
Technical field
The present invention relates to the RFID technical field, particularly, relate to eventful synchronous RFID middleware system and its implementation of a kind of low coupling.
Background technology
Radio frequency identification (Radio Frequency Identification is called for short RFID) technology is a kind of automatic identification technology, is one of gordian technique of current Internet of Things.
The basic composition of rfid system has: label, reader, middleware and background system.Label mainly comprises following components: coding/decoding circuit, memory bank, coupled antenna, communication circuit processed, power supply (active label, passive label does not have power supply).The effect of rfid interrogator is to trigger electronic tag also to establish a communications link with it, transmits data between background server and this label.The RFID middleware is a kind of message-oriented middleware, it is software systems that are between reader and the background server system, in rfid system, bring into play the effect of intermediary between application program and the label, be responsible for handling the data stream from label or the sensor of one or more readers.Background system can be analyzed and manage the data that reader is uploaded, and it can be standard database or like product as SQL, Oracle.In different application items, background system can be an independent PC machine, also can be large scale computer, even can come system is managed by global communications network.
The RFID middleware provides the access interface of standard for different rfid interrogators, can support the rfid interrogator of multiple model.Communication interface and the access interface of compatibility standard are provided, the function call of secondary development can be provided for the software of development interface layer.The RFID middleware interface has defined a metastable higher layer applications environment; no matter how the hardware system of bottom and the application systems software on upper strata update; as long as the middleware upgrading is upgraded; and keep the interface definition of middleware RFID acquisition system constant; application software needs any modification hardly, thereby has protected enterprise at applied software development and the significant investment in safeguarding.
Simultaneously, burden when using the RFID middleware to help to alleviate enterprise's secondary development is upgraded them and is seemed handy when having software systems now, can guarantee the relatively stable of software systems simultaneously, and to the function expansion of software systems etc., simplified the complicacy of exploitation etc.
Existing RFID middleware after the client allocate event rule, can only receive and handle an event at every turn simultaneously, can not two or more events carry out simultaneously, and this has just reduced utilization factor and the efficient of whole rfid system.
In realizing process of the present invention, the inventor finds to exist at least in the prior art event execution efficient to hang down and defectives such as the scope of application is little.
Summary of the invention
The objective of the invention is to, at the problems referred to above, propose a kind of eventful synchronous RFID middleware system of low coupling, carry out the high and big advantage of the scope of application of efficient with realization event.
Second purpose of the present invention is, proposes the implementation method of eventful synchronous RFID middleware system of more than one described low couplings.
For achieving the above object, the technical solution used in the present invention is: a kind of eventful synchronous RFID middleware system of low coupling, comprise at least one middleware server of handling with data for access device is managed, be used for to formulate the upper layer application layer of event rules, be used for the middleware server administrative center that corresponding middleware server is dispatched, event rules is transmitted and pending event is gathered; Described upper layer application layer, middleware server administrative center and each middleware server connect successively.
Further, described upper layer application layer comprises the client that has for the upper level applications of formulating event rules.
Further, described client comprises PC or mobile phone or panel computer or palm PC or notebook computer.
Further, described middleware server administrative center comprises the middleware dispatching system for the corresponding middleware server of scheduling, and is used for that corresponding middleware server is fed back to the upper layer application layer to the result of corresponding event and gets the middleware event system; Described middleware dispatching system and middleware event system are connected between each middleware server and the upper layer application layer.
Further, described middleware dispatching system comprises data acquisition unit, and/or described middleware event system comprises the data ultramagnifier.
Further, each middleware server, comprise for the analysis result of basis to pending event, call the upper layer application interface module of respective handling module, be used for being responsible for the read write line that inserts corresponding middleware server is managed, link to each other with each rfid interrogator downwards, and the device management module that upwards links to each other with the upper layer application interface module, be used for being responsible for the data of coming in and going out from device management module are gone heavily, remove the data processing module of wrong and various conversion operations, be used for responsible label information to receiving from data processing module, divide into groups to integrate according to rule of classification, and result is passed to the event processing module of upper layer application interface; Each module of described device management module, data processing module and event processing module is connected, also is connected to respectively the upper layer application interface module successively.
Further, described upper layer application interface module comprises the device management module interface that is connected with device management module, the data processing module interface that is connected with data processing module, the event processing module interface that is connected with event processing module; Wherein:
Described device management module interface, be used for the title of the logic read write line of transmission event definition, the condition of work of read write line, if when given filter device module and event packets, device management module can not send to the upper layer application interface module with the original tag data by this interface to event;
Described data processing module interface be used for to transmit the value of filter module, and when if event is the allocate event grouping, filtered data can be sent to the upper layer application interface module by this interface data processing module;
Described event processing module interface is used for transmitting the event packets rule of definition, and event processing module can be sent to the upper layer application interface module with the data after the grouping by this interface.
Further, described data processing module comprises the data-carrier store that arranges based on improved Hash table, and the unified interface URLData interface that provides for device management module; And/or,
Described event processing module is included as the unified interface FilterData interface that data processing module provides; And/or,
Described device management module, be included as the unified operation-interface that rfid interrogator provides, this is unified operation-interface and comprises and read label ReadTag interface, writing labels WriteTag interface, read user area ReadUser interface, write user area WriteUser interface and communication interface function C omPort interface.
Further, described pending event comprises multinomial in logic read write line, boundary condition, filter template and the grouping template.
Simultaneously, another technical scheme that the present invention adopts is: a kind of implementation method of eventful synchronous RFID middleware system according to above-described low coupling comprises:
⑴ after middleware server administrative center opens, middleware server is with the current state that successfully is connected to middleware server administrative center and informs middleware server administrative center oneself, this current state comprises idle condition or waiting status or busy condition;
After the program for the treatment of the upper layer application layer is formulated event rules, middleware server administrative center will obtain the current middleware server that is in idle condition, and the event rules that the upper layer application layer is formulated is transmitted to this middleware server will handle; After corresponding middleware server receives event rules, event rules is resolved, and carry out corresponding subsequent treatment according to rule;
⑵ after middleware server is opened, middleware server administrative center certainly will be dynamically connected; If this moment, middleware server administrative center did not open, then this middleware server connects the failure of middleware server administrative center;
After this, every the value of default duration according to connection status variable state, judge whether connect middleware server administrative center again; If state=0, then middleware server and the not successful connection of middleware server administrative center connects in trial again, until successful connection; If state=1, then middleware server and the successful connection of middleware server administrative center can communicate;
⑶ middleware server is given return message the program of upper layer application layer with after middleware server administrative center successfully is connected;
This moment, the upper layer application layer can be formulated corresponding event rules according to demand, sent to middleware server administrative center;
When middleware server admin center receives an event, just open a thread, utilize this thread, middleware server administrative center is currently connected to the state of each middleware server in the middleware server administrative center by judgement, choose wherein one or more middleware servers and carry out event handling, namely realized eventful synchronous execution.
Eventful synchronous RFID middleware system of the low coupling of various embodiments of the present invention and its implementation, owing to comprise at least one middleware server of handling with data for access device is managed, be used for to formulate the upper layer application layer of event rules, be used for the middleware server administrative center that corresponding middleware server is dispatched, event rules is transmitted and pending event is gathered; Can once carry out a plurality of events, be beneficial to the later stage upgrading of middleware and safeguard, be convenient to enterprise and select the module that will work according to own demand, reducing resource waste, and the low coupling between the realization module; Thereby can overcome the low and little defective of the scope of application of event execution efficient in the prior art, carry out the high and big advantage of the scope of application of efficient with realization event.
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.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
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 eventful synchronous RFID middleware system of the low coupling of the present invention and the principle of work synoptic diagram of its implementation;
Fig. 2 is eventful synchronous RFID middleware system of the low coupling of the present invention and the middleware server principle of work synoptic diagram of its implementation;
Fig. 3 is eventful synchronous RFID middleware system of the low coupling of the present invention and the Hash table structural representation of its implementation;
Fig. 4 is the schematic flow sheet of the implementation method of eventful synchronous RFID middleware system of the low coupling of the present invention.
Embodiment
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 restriction the present invention.
The RFID middleware can provide the access interface of standard for different rfid interrogators, can support the rfid interrogator of multiple model; Communication interface and the access interface of compatibility standard are provided, the function call of secondary development can be provided for the software of development interface layer.The RFID middleware interface has defined a metastable higher layer applications environment; no matter how the hardware system of bottom and the application systems software on upper strata update; as long as the middleware upgrading is upgraded; and keep the interface definition of middleware RFID acquisition system constant; application software needs any modification hardly, thereby has protected enterprise at applied software development and the significant investment in safeguarding.
But the RFID middleware also faces this a series of problems, and as speed that data are handled, to the efficient of usage factor of system resource and event handling etc., these all have been called RFID middleware problem demanding prompt solution.Therefore eventful synchronous RFID middleware system and its implementation of the low coupling of the various embodiments described above of the present invention have been proposed.Use eventful synchronous RFID middleware system and its implementation of this low coupling, burden when helping to alleviate enterprise's secondary development, they are upgraded seem handy when having software systems now, simultaneously can guarantee the relatively stable of software systems, and to the function expansion of software systems etc., simplified the complicacy of exploitation etc.
System embodiment
At the weak point of existing RFID middleware Technology, according to the embodiment of the invention, as shown in Figure 1-Figure 3, provide a kind of eventful synchronous RFID middleware system of low coupling.Should hang down eventful synchronous RFID middleware system of coupling, can manage dissimilar read write lines, at existing RFID middleware Technology weak point, existing RFID middleware framework is improved design, make rfid system can once carry out a plurality of events, be beneficial to later stage upgrading and the maintenance of middleware, also be convenient to the module that enterprise will work according to the demand selection of oneself, reducing resource waste, and realized low coupling between the module; And adopted a kind of improved Hash table in the data structure that data are handled, be beneficial to searching fast of data.
Referring to Fig. 1, eventful synchronous RFID middleware system of the low coupling of present embodiment, mainly comprise three-decker: the upper layer application layer that is used for formulating event rules, be used for carrying out the middleware server administrative center of middleware scheduling and middleware incident management, and be used for being responsible for the equipment that inserts corresponding middleware server is managed a plurality of middleware servers of handling with data; Upper layer application layer, middleware server administrative center and a plurality of middleware server connect successively.The quantity of middleware server is at least one, and middleware server administrative center is responsible, and the middleware event rules is transmitted and search and the set of middleware event to middleware server being dispatched and controlled, also being responsible for; That is to say, middleware server administrative center can be according to the event rules of client (client that namely has upper level applications) formulation, dispatch different middleware servers, and realize the forwarding to event rules, can realize a plurality of event synchronization operations thus.Utilize eventful synchronous RFID middleware system of this low coupling, a plurality of events are carried out simultaneously, solve the shortcoming that middleware once can only be carried out an event.
In eventful synchronous RFID middleware system of the low coupling of above-described embodiment, formulate event rules based on the upper layer application layer, middleware server administrative center to middleware server dispatch, the forwarding of event rules and the set of event, middleware server is responsible for the equipment that inserts corresponding intermediate server managed with data and is handled.At corresponding middleware server the equipment that inserts self is carried out in the data handling procedure, adopt improved Hash table to carry out the access of data.Utilize eventful synchronous RFID middleware system of this low coupling, a plurality of events are carried out simultaneously, solve the shortcoming that existing middleware once can only be carried out an event.
Eventful synchronous RFID middleware system of the low coupling of above-described embodiment is that eventful the synchronous RFID middleware system that meets the ALE standard is the ALE system.There are three kinds of service states in this ALE system: idle condition, busy condition and waiting status.Idle condition refers to that this ALE for receiving any event, can be called; Waiting status refers to that the later event of this ALE enters, just the condition that begins in event; Busy condition refer to that the existing event of this ALE enters, and the event condition that begins arrives.
Eventful synchronous RFID middleware system of the low coupling of above-described embodiment, workflow comprises:
⑴ after middleware server administrative center opened, middleware server was with the current state (idle condition or waiting status or busy condition) that successfully is connected to middleware server administrative center and informs middleware server administrative center oneself.After the program for the treatment of the upper layer application layer is formulated event rules, middleware server administrative center will obtain the current middleware server that is in idle condition, and the event rules that the upper layer application layer is formulated is transmitted to this middleware server will handle; After corresponding middleware server receives event rules, event rules is resolved, and carry out corresponding subsequent treatment according to rule.
⑵ after middleware server is opened, middleware server administrative center certainly will be dynamically connected; If this moment, middleware server administrative center did not open, then this middleware server connects the failure of middleware server administrative center.After this, every the value of default duration (as 30s) according to connection status variable state, judge whether connect middleware server administrative center again.If state=0, then middleware server and the not successful connection of middleware server administrative center connects in trial again, until successful connection; If state=1, then middleware server and the successful connection of middleware server administrative center can communicate.
⑶ middleware server is given return message the program of client (client that namely has upper level applications) with after middleware server administrative center successfully is connected.This moment, client can be formulated corresponding event rules according to demand, sent to middleware server administrative center.When middleware server admin center receives an event, just open a thread, utilize this thread, middleware server administrative center is currently connected to the state of each middleware server in the middleware server administrative center by judgement, choose wherein one or more middleware servers and carry out event handling, namely realized eventful synchronous execution.
Referring to Fig. 2, above-mentioned middleware server, mainly be made up of following module: device management module, data processing module, event processing module and upper layer application interface module (being the ALE AIM), each module of device management module, data processing module and event processing module are connected, also are connected to respectively the upper layer application interface module successively.Between the corresponding module in device management module, data processing module, event processing module and the upper layer application interface module, communicate and exchanges data by predefined interface.Communication between each module and data transmission are formulated unified interface, like this, intercom mutually by the interface of formulating between each module, as long as keep the unchangeability of communication interface between each module, change wherein some modules, other modules that are attached thereto do not need to change.Each module adopts the form of assembly to finish, can determine which assembly to be called according to the rule that formulation is quoted on the upper strata, make system select the assembly module that to work according to the demand of upper layer application, rather than simultaneously all assembly modules all are incorporated in the system, this will reduce resource waste.
Wherein, above-mentioned upper layer application interface module, the result after can resolving according to event, which module judgement need call; If not pre-defined filter template in the event, then the upper layer application interface module only needs invocation facility administration module, event processing module to communicate and the data transmission; If stipulated device-dependent event in the event definition, then the upper layer application interface module only needs the invocation facility administration module to communicate and the data transmission, this moment middleware server to return to the data of upper layer application layer be the original tag data; If the various aspects of events such as regulation logic read write line, boundary condition, filter template, grouping template in the event definition, then three modules all need to be called.By the upper layer application interface module, can realize the low coupling between the middleware server assembly.
The said equipment administration module can be responsible for the read write line that inserts middleware server is managed, and links to each other with each rfid interrogator downwards, upwards links to each other with the upper layer application interface module.Be connected to the equipment of middleware server before using, all need in middleware server, register.Though read write line has different modes with the PC interface communication, device management module provides unified interface function to realize management to different read write lines.Device management module also provides other read-write api function (as: ReadTag, WriteTag etc.) to unify operational hardware equipment.Device management module has also been opened up a buffer zone, this is because rfid interrogator is very fast to the picking rate of data, for avoiding having little time to handle the situation generation of being lost when mass data is read middleware server, so data are deposited in earlier in the middle of the buffer zone, and at buffer zone label are carried out the unified format conversion according to EPCglobal TDS1.6.
Above-mentioned data processing module is responsible for operations such as wrong and various conversion are gone heavily, gone to the data of coming in and going out from device management module.In data processing module, be provided with a data buffer zone.Data processing module provides URLData interface and device management module to communicate, to obtain through the label data after the consolidation form conversion.Data processing module obtains the filtering rule of event by the FilterRule interface of upper layer application interface module, so that label data is carried out corresponding filter operation.Data after will handling by the FilterData interface simultaneously pass to event processing module.
In data processing module, adopted a kind of improved Hash table to come data are stored.Referring to Fig. 3, each table is a chained list, and when read write line read a label data, the key value of utilizing hash function to calculate if key value corresponding position does not have label data, was then directly inserted label in the table.If the existing label in key value corresponding position exists, then need the label that newly reads whether identical with the label data of this position, as if difference, then label data is inserted in the chained list of this key corresponding position; Otherwise, the label data that newly reads is abandoned.
Like this, the The data Hash table of data processing module is stored, can be so that the quick insertion of data and searching.Because the RFID middleware server requires to handle a large amount of label datas in real time, therefore require the short average length of search of having of algorithm.And the hash function utilization will be searched the key word of element and mapped directly to an address.Because this middleware server only is deployed under the windows platform, enough system resource is arranged, so can adopt Hash table to come data are stored again.
Above-mentioned event processing module, be responsible for the label information to receiving from data processing module, divide into groups to integrate according to rule of classification, and result is passed to the upper layer application interface, pass to middleware server administrative center by the upper layer application interface layer, be transmitted to upper level applications.
In above-mentioned middleware server, the ALE interface module upwards links to each other with the upper layer application layer, handles with event handling, data downwards all to link to each other with equipment control, and event processing module upwards links to each other with the ALE interface module, links to each other with data processing module downwards; Data processing module upwards links to each other with event processing module with the ALE interface module, links to each other with the equipment control layer downwards, and described device management module upwards can link to each other with data processing module with the ALE interface module, links to each other with hardware device downwards.The ALE AIM can be according to the requirement of upper layer application, decision is the label data of url form to the upper layer application transmission, or XML file, and provide unified interface to each module of lower floor, comprising: device management module interface (DeviceCtl interface), data processing module interface (FilterRule interface), event processing module interface (GroupData interface).
The DeviceCtl interface transmits the title of the logic read write line of event definition, the condition of work of read write line, if event is when given filter device module and event packets, device management module can send to the ALE interface module with the original tag data by this interface; The FilterRule interface transmits the value of filter module, and when if event is the allocate event grouping, filtered data can be sent to the ALE interface module by this interface data processing module; The event packets rule of GroupData interface transmission definition, and event processing module can be sent to the ALE interface module with the data after the grouping by this interface.
Event processing module provides unified interface FilterData for data processing module, and data processing module provides unified interface URLData interface for device management module.The FilterData interface label data of data processing module after handling that receive to hang oneself.Device management module provides unified operation-interface for rfid interrogator, as: read label ReadTag interface, writing labels WriteTag interface, read user area ReadUser interface, write user area WriteUser interface and communication interface function C omPort interface etc.Middleware server can obtain the current status indicator of corresponding middleware (idle or wait or busy), and middleware server administrative center can dispatch middleware according to the current state sign of middleware.
In the above-described embodiments, the RFID middleware server adopts a kind of better method that is called as link setup to use linked list array or vector to deposit the label data item.For example, when depositing label data, use the array list that comprises n chained list, the initial value of all chained lists is empty.When conflict takes place, new is inserted in the corresponding chained list.
Eventful synchronous RFID middleware system of the low coupling of above-described embodiment also adopts modular structure, and each module is directly carried out the transmission of the mutual and data of information by interface, and each module is an independently assembly.As long as keep the interface unchangeability of each module, no matter the inside of module realizes how changing, other modules of calling it does not need to make any change; And client can be according to demand and the state of middleware, dispatches the middleware system on each PC.
Method embodiment
According to the embodiment of the invention, provide the implementation method of eventful synchronous RFID middleware system of the low coupling of a kind of above-described embodiment.Referring to Fig. 3, the implementation method of eventful synchronous RFID middleware system of the low coupling of present embodiment comprises:
Step 1: after middleware server administrative center opens, middleware server is with the current state that successfully is connected to middleware server administrative center and informs middleware server administrative center oneself, this current state comprises idle condition or waiting status or busy condition;
Step 2: after the program for the treatment of the upper layer application layer is formulated event rules, middleware server administrative center will obtain the current middleware server that is in idle condition, and the event rules that the upper layer application layer is formulated is transmitted to this middleware server will handle; After corresponding middleware server receives event rules, event rules is resolved, and carry out corresponding subsequent treatment according to rule;
Step 3: after middleware server is opened, middleware server administrative center certainly will be dynamically connected; If this moment, middleware server administrative center did not open, then this middleware server connects the failure of middleware server administrative center;
Step 4: after this, every the value of default duration according to connection status variable state, judge whether connect middleware server administrative center again; If state=0, then middleware server and the not successful connection of middleware server administrative center connects in trial again, until successful connection; If state=1, then middleware server and the successful connection of middleware server administrative center can communicate;
Step 5: middleware server is given return message the program of upper layer application layer with after middleware server administrative center successfully is connected;
This moment, the upper layer application layer can be formulated corresponding event rules according to demand, sent to middleware server administrative center;
Step 6: when middleware server admin center receives an event, just open a thread, utilize this thread, middleware server administrative center is currently connected to the state of each middleware server in the middleware server administrative center by judgement, choose wherein one or more middleware servers and carry out event handling, namely realized eventful synchronous execution.
In the implementation method of eventful synchronous RFID middleware system of the low coupling of present embodiment, eventful synchronous RFID middleware system of low coupling can not repeat them here referring to the related description of Fig. 1-Fig. 3 and said system embodiment.
Compared with prior art, adopt eventful synchronous RFID middleware system of low coupling of the various embodiments described above of the present invention and the RFID middleware structure that its implementation shows, can realize the distributed management of each module, and each module can independently be used, enterprise can select to require the module of work according to the demand of oneself like this, to reduce resource waste.And utilize this middleware structure, in the subsequent upgrade and maintenance of middleware, if only need the function of certain part of change only to need corresponding module is changed, as long as keep the consistance of this module external interface, other modules do not need to revise or only need a spot of modification.This has just alleviated workload and the burden of enterprise to middleware upgrading and maintenance.
The temporary data structure of existing RFID middleware label data adopts chained list and tree, and the middleware server of the various embodiments described above of the present invention only is deployed under the windows platform, therefore can adopt hash to show data are stored.Because when obtaining label data, realize and do not know the number of label data, thus adopted a kind of data structure of improved hash table to keep in label data, when label data is gone heavily to handle, can reduce the query time to label data, improve data processing efficiency.
It should be noted that at last: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment the present invention is had been described in detail, for a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. one kind is hanged down eventful the synchronous RFID middleware system that is coupled, it is characterized in that, comprise at least one middleware server of handling with data for access device is managed, be used for to formulate the upper layer application layer of event rules, be used for the middleware server administrative center that corresponding middleware server is dispatched, event rules is transmitted and pending event is gathered; Described upper layer application layer, middleware server administrative center and each middleware server connect successively.
2. eventful of low coupling according to claim 1 synchronous RFID middleware system is characterized in that, described upper layer application layer comprises the client that has for the upper level applications of formulating event rules.
3. eventful of low coupling according to claim 2 synchronous RFID middleware system is characterized in that described client comprises PC or mobile phone or panel computer or palm PC or notebook computer.
4. according to eventful synchronous RFID middleware system of each described low coupling among the claim 1-3, it is characterized in that, described middleware server administrative center, comprise the middleware dispatching system for the corresponding middleware server of scheduling, and be used for that corresponding middleware server is fed back to the upper layer application layer to the result of corresponding event and get the middleware event system; Described middleware dispatching system and middleware event system are connected between each middleware server and the upper layer application layer.
5. eventful of low coupling according to claim 4 synchronous RFID middleware system is characterized in that, described middleware dispatching system comprises data acquisition unit, and/or described middleware event system comprises the data ultramagnifier.
6. according to eventful synchronous RFID middleware system of each described low coupling among the claim 1-3, it is characterized in that, each middleware server, comprise for the analysis result of basis to pending event, call the upper layer application interface module of respective handling module, be used for being responsible for the read write line that inserts corresponding middleware server is managed, link to each other with each rfid interrogator downwards, and the device management module that upwards links to each other with the upper layer application interface module, be used for being responsible for the data of coming in and going out from device management module are gone heavily, remove the data processing module of wrong and various conversion operations, be used for responsible label information to receiving from data processing module, divide into groups to integrate according to rule of classification, and result is passed to the event processing module of upper layer application interface; Each module of described device management module, data processing module and event processing module is connected, also is connected to respectively the upper layer application interface module successively.
7. eventful of low coupling according to claim 6 synchronous RFID middleware system, it is characterized in that, described upper layer application interface module, comprise the device management module interface that is connected with device management module, the data processing module interface that is connected with data processing module, the event processing module interface that is connected with event processing module; Wherein:
Described device management module interface, be used for the title of the logic read write line of transmission event definition, the condition of work of read write line, if when given filter device module and event packets, device management module can not send to the upper layer application interface module with the original tag data by this interface to event;
Described data processing module interface be used for to transmit the value of filter module, and when if event is the allocate event grouping, filtered data can be sent to the upper layer application interface module by this interface data processing module;
Described event processing module interface is used for transmitting the event packets rule of definition, and event processing module can be sent to the upper layer application interface module with the data after the grouping by this interface.
8. eventful of low coupling according to claim 6 synchronous RFID middleware system, it is characterized in that, described data processing module comprises the data-carrier store that arranges based on improved Hash table, and the unified interface URLData interface that provides for device management module; And/or,
Described event processing module is included as the unified interface FilterData interface that data processing module provides; And/or,
Described device management module, be included as the unified operation-interface that rfid interrogator provides, this is unified operation-interface and comprises and read label ReadTag interface, writing labels WriteTag interface, read user area ReadUser interface, write user area WriteUser interface and communication interface function C omPort interface.
9. according to eventful synchronous RFID middleware system of each described low coupling among the claim 1-3, it is characterized in that described pending event comprises multinomial in logic read write line, boundary condition, filter template and the grouping template.
10.1 the implementation method of eventful synchronous RFID middleware system of a low coupling according to claim 1 is characterized in that, comprising:
⑴ after middleware server administrative center opens, middleware server is with the current state that successfully is connected to middleware server administrative center and informs middleware server administrative center oneself, this current state comprises idle condition or waiting status or busy condition;
After the program for the treatment of the upper layer application layer is formulated event rules, middleware server administrative center will obtain the current middleware server that is in idle condition, and the event rules that the upper layer application layer is formulated is transmitted to this middleware server will handle; After corresponding middleware server receives event rules, event rules is resolved, and carry out corresponding subsequent treatment according to rule;
⑵ after middleware server is opened, middleware server administrative center certainly will be dynamically connected; If this moment, middleware server administrative center did not open, then this middleware server connects the failure of middleware server administrative center;
After this, every the value of default duration according to connection status variable state, judge whether connect middleware server administrative center again; If state=0, then middleware server and the not successful connection of middleware server administrative center connects in trial again, until successful connection; If state=1, then middleware server and the successful connection of middleware server administrative center can communicate;
⑶ middleware server is given return message the program of upper layer application layer with after middleware server administrative center successfully is connected;
This moment, the upper layer application layer can be formulated corresponding event rules according to demand, sent to middleware server administrative center;
When middleware server admin center receives an event, just open a thread, utilize this thread, middleware server administrative center is currently connected to the state of each middleware server in the middleware server administrative center by judgement, choose wherein one or more middleware servers and carry out event handling, namely realized eventful synchronous execution.
CN201310171268.7A 2013-05-10 2013-05-10 A kind of multi event synchronization RFID middleware system of low coupling and its implementation Active CN103268264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310171268.7A CN103268264B (en) 2013-05-10 2013-05-10 A kind of multi event synchronization RFID middleware system of low coupling and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310171268.7A CN103268264B (en) 2013-05-10 2013-05-10 A kind of multi event synchronization RFID middleware system of low coupling and its implementation

Publications (2)

Publication Number Publication Date
CN103268264A true CN103268264A (en) 2013-08-28
CN103268264B CN103268264B (en) 2016-03-30

Family

ID=49011896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310171268.7A Active CN103268264B (en) 2013-05-10 2013-05-10 A kind of multi event synchronization RFID middleware system of low coupling and its implementation

Country Status (1)

Country Link
CN (1) CN103268264B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450936A (en) * 2016-05-30 2017-12-08 阿里巴巴集团控股有限公司 The middleware upgrade method and device of a kind of Mobile solution
CN108134746A (en) * 2017-12-19 2018-06-08 深圳交控科技有限公司 The processing method and processing device of rail traffic data
CN109471736A (en) * 2018-09-14 2019-03-15 叮联信息技术有限公司 Event information uninterruptedly transmits at random and Real-Time Sharing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070013518A1 (en) * 2005-07-14 2007-01-18 Cisco Technology, Inc. Provisioning and redundancy for RFID middleware servers
CN101477635A (en) * 2008-12-12 2009-07-08 华南理工大学 Embedded RFID middleware based on light-weight ALE
CN101957927A (en) * 2010-11-12 2011-01-26 福州联迅信息科技有限公司 Middleware architecture of Internet of things and SOA architecture-based middleware of Internet of things
CN102281197A (en) * 2011-08-12 2011-12-14 华南理工大学 Radio frequency identification (RFID) router architecture system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070013518A1 (en) * 2005-07-14 2007-01-18 Cisco Technology, Inc. Provisioning and redundancy for RFID middleware servers
CN101477635A (en) * 2008-12-12 2009-07-08 华南理工大学 Embedded RFID middleware based on light-weight ALE
CN101957927A (en) * 2010-11-12 2011-01-26 福州联迅信息科技有限公司 Middleware architecture of Internet of things and SOA architecture-based middleware of Internet of things
CN102281197A (en) * 2011-08-12 2011-12-14 华南理工大学 Radio frequency identification (RFID) router architecture system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450936A (en) * 2016-05-30 2017-12-08 阿里巴巴集团控股有限公司 The middleware upgrade method and device of a kind of Mobile solution
CN108134746A (en) * 2017-12-19 2018-06-08 深圳交控科技有限公司 The processing method and processing device of rail traffic data
CN108134746B (en) * 2017-12-19 2021-11-19 深圳交控科技有限公司 Method and device for processing rail transit data
CN109471736A (en) * 2018-09-14 2019-03-15 叮联信息技术有限公司 Event information uninterruptedly transmits at random and Real-Time Sharing method

Also Published As

Publication number Publication date
CN103268264B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN100531055C (en) Data synchronous system and its method
CN106815338A (en) A kind of real-time storage of big data, treatment and inquiry system
CN103209223A (en) Distributed application conversation information sharing method and system and application server
CN104092767A (en) Posting/subscribing system for adding message queue models and working method thereof
CN109816321A (en) A kind of service management, device, equipment and computer readable storage medium
CN110162388A (en) A kind of method for scheduling task, system and terminal device
CN105320085A (en) Method, apparatus and system for acquiring industrial automation data
CN105024839B (en) A kind of method and device of software release upgrade
CN103199968A (en) Sending method of messages and system
CN101453487A (en) Memory to storage communication for hybrid systems
CN102833141A (en) CAN (control area network) open slave station system based on DSP (digital signal processor) 28335
CN102902669A (en) Distribution information capturing method based on internet system
CN108369562A (en) Intelligently encoding memory architecture with enhanced access scheduling device
CN110392882A (en) It is created in batches in the network for including virtualization network function by pipe function
CN104166738A (en) Database query processing method and device
CN110704465B (en) Method, device and storage medium for processing service work list
CN102523200A (en) Internet of things information processing method
CN109213493A (en) Container dispositions method, special resource management terminal and readable storage medium storing program for executing
CN109408286A (en) Data processing method, device, system, computer readable storage medium
CN104615684A (en) Mass data communication concurrent processing method and system
CN101917394A (en) Middleware system for sharing data in mobile phone equipment and working method
CN109816481A (en) Bill processing method, device and computer readable storage medium
CN103179193A (en) Data transmission system and data transmission method used for distributed application system
CN103268264B (en) A kind of multi event synchronization RFID middleware system of low coupling and its implementation
CN107870982A (en) Data processing method, system and computer-readable recording 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171108

Address after: West Street, Qingyang District of Chengdu City, Sichuan province 610000 84 1 unit 1 Building 6 floor, No. 628

Patentee after: Chengdu Hongfu Radio Technology Co., Ltd.

Address before: 214135 Jiangsu province Wuxi city Wuxi District Branch Park University Science Park China sensor network Liye floor B District 406 room

Patentee before: Wuxi Changda Information Technology Co., Ltd.