CN102693434B - Communication apparatus and method for interface layer of radio frequency identification device - Google Patents

Communication apparatus and method for interface layer of radio frequency identification device Download PDF

Info

Publication number
CN102693434B
CN102693434B CN201110069850.3A CN201110069850A CN102693434B CN 102693434 B CN102693434 B CN 102693434B CN 201110069850 A CN201110069850 A CN 201110069850A CN 102693434 B CN102693434 B CN 102693434B
Authority
CN
China
Prior art keywords
connection
event
data processing
handling device
connection request
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
CN201110069850.3A
Other languages
Chinese (zh)
Other versions
CN102693434A (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 CN201110069850.3A priority Critical patent/CN102693434B/en
Priority to PCT/CN2011/076021 priority patent/WO2012126212A1/en
Publication of CN102693434A publication Critical patent/CN102693434A/en
Application granted granted Critical
Publication of CN102693434B publication Critical patent/CN102693434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10019Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers.
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention discloses a communication apparatus and a method for an interface layer of a radio frequency identification (RFID) device, wherein the apparatus comprises a connection maintenance pool which is used for storing all connections to be established and information of each connection; a device connector which is used for initiating a connection request to the RFID device, and when a response message returned by the RFID device is detected, the device connector establishes a connection which is requested to be established by the connection request, occupies resources of a message processor and registers a data processing event in the message processor; a connection receiver which is used for monitoring a connection request event, and when the connection request event is received, the connection receiver establishes a connection requested by the connection request event, occupies resources of the message processor and registers a data processing event in the message processor; and the message processor which is used for monitoring the data processing event and processing the data processing event when the data processing event is monitored. Basing on the apparatus and the method, the RFID device is enabled to be a client terminal and a service terminal simultaneously, so that the effects of requirements in different scenes can be satisfied.

Description

The communicator of interface layer of radio frequency identification device and method
Technical field
The present invention relates to the communications field, in particular to a kind of communicator and method of interface layer of radio frequency identification device.
Background technology
Along with the high speed development of Internet of Things, radio-frequency (RF) identification (Radio Frequency Identification, referred to as RFID) technology progresses into people's routine work and the every field in living, and then the performance requirement of application server device interface layer is also increasingly strong.As everyone knows, in general network service, network establishment of connection is initiated by client usually, and service end only need monitor corresponding port, response connection request.
The network communications scheme used in current application server mainly contains two types: a kind of is connection for each client, all distribute independent thread to process it, this scheme is easy to realize, good performance can be obtained when linking number is little, but owing to distributing separately a thread to the connection of each client, therefore, RFID application server can only as service end or client, and can not both as client as service end, and, when height is concurrent, thread switching can consume server resource in a large number, so that have a strong impact on system performance, another kind of scheme is based on I/O (Input/Output, referred to as IO) multiplexing technique and Reactor pattern, the event request connected is received by independent thread, and the event received is distributed to thread pool process, although this scheme can make full use of server resource, but RFID application server equally also can only as service end or client, and when height is concurrent, if event request can not be processed in time, can have a strong impact on the response time of server, therefore its handling property need to optimize.
In the application of RFID, according to low level read write line (Low-Level Reader Protocol, referred to as LLRP) requirement of agreement, RFID device both initiatively can be initiated to connect as client, the connection request also can initiated as service end response application.In order to meet the communication needs of LLRP agreement, require that RFID application also can simultaneously as client and service end, but, according to current above-mentioned two kinds of network communications scheme, RFID device can only as client or service end, and simultaneously as client and service end, thus can not can not meet the demand of different scene.
Summary of the invention
Fundamental purpose of the present invention is the communicator and the method that provide a kind of interface layer of radio frequency identification device, at least to solve the problem.
According to a further aspect in the invention, provide a kind of communicator of interface layer of radio frequency identification device, comprising:
Connect and safeguard pond, for the information storing all connections to be set up and connect described in each, and read the information of each described connection to be set up successively, if the pattern of the described connection of reading is Passive Mode, then trigger and connect receiver, if the pattern of the described connection of reading is aggressive mode, then trigger equipment connector; Described equipment connector, for initiating the connection request to RFID device according to the information of the described connection of reading, after the response message that described RFID device returns being detected, set up described connection request ask set up connection, seize the resource of message handling device, by the data processing event registration of the described connection of foundation to described message handling device; Described connection receiver, for monitoring connection request event, after receiving connection request event, set up the connection that described connection request event is asked, seize the resource of described message handling device, by the data processing event registration of this connection of foundation to described message handling device; Described message handling device, for monitoring the data processing event be registered to wherein, and after listening to described data processing event, processing said data process event.
Further, described equipment connector comprises: connect initiated event audiomonitor, for detecting the response message of described connection request, and after described response message being detected, triggering and connecting initiated event treatment pond; Described connection initiated event treatment pond, for complete described connection request ask the establishment of connection operation of setting up, and seize the resource of described message handling device, by the data processing event registration of described connection set up to described message handling device.
Further, described connection initiated event treatment pond also for complete described connection request ask the establishment of connection operation of setting up after, upgrade described connection and safeguard that the described connection request stored in pond institute asks the information of connection of foundation.
Further, described connection receiver comprises: connect and receive event sniffer, for the information according to the described connection of reading, monitor predetermined port, from described Port detecting connection request event, and when listening to connection request event, trigger to connect receiving treatment pond; Described connection receives treatment pond, for the treatment of described connection request event, sets up the connection that described connection request event is asked, seizes the resource of described message handling device, by the data processing event registration of this connection of foundation to described message handling device.
Further, described connection receives treatment pond also for after setting up the connection that described connection request event asks, and upgrades described connection and safeguards that the described connection request stored in pond institute asks the information of the connection of foundation.
Further, described message handling device is used for described data processing event to be divided into multiple child-operation, performs child-operation described in each in order respectively.
Further, described message handling device comprises: data processing event sniffer, for monitoring the data processing event being registered to described message handling device, and when listening to described data processing event, and Trigger message process scheduler module; Described Message Processing scheduler module, for dispatching a thread in default multiple threads, processing said data process event.
According to an aspect of the present invention, provide a kind of communication means of interface layer of radio frequency identification device, comprise: step 1, read the information connecting and safeguard the connection that of storing in pond is to be set up, if the pattern of described connection is aggressive mode, then perform step 2, if the pattern of described connection is Passive Mode, perform step 3; Step 2, equipment connector initiates the connection request to RFID device according to the information of described connection, after the response message that described RFID device returns being detected, set up described connection, then the resource of message handling device is seized, by the data processing event registration of the described connection of foundation to described message handling device, perform step 4; Step 3, connect receiver according to the information of described connection, monitor predetermined port, after receiving connection request event, set up the connection that described connection request event is asked, seize the resource of described message handling device, by the data processing event registration of this connection of foundation to described message handling device; Step 4, described message handling device monitors the data processing event be registered to wherein, and after listening to described data processing event, processing said data process event.
Further, described equipment connector is after setting up described connection, and described method also comprises: described equipment connector upgrade described connection safeguard the described connection request stored in pond ask the information of connection set up.
Further, after the connection that described connection request event asks set up by described connection receiver, described method also comprises: described connection receiver upgrade described connection safeguard the described connection request stored in pond ask the information of the connection of setting up.
Further, described in described message processor processes, data processing event comprises: described data processing event is divided into multiple child-operation by described message handling device, and the thread called in default multiple threads performs child-operation described in each in order respectively.
Further, multiple described child-operation comprises: read, resolve, encapsulate and distribution.
Pass through the present invention, in RFID application server by equipment connector be connected receiver initiate respectively connection request and receive connection request, thus solve RFID device in prior art can only as client or service end, and can not simultaneously as the problem of client and service end, and then optimize network service performance, the demand of different scene can be met.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of the communicator of RFID device interface layer according to the embodiment of the present invention;
Fig. 2 is the structural representation of the communicator of RFID device interface layer according to the preferred embodiment of the invention;
Fig. 3 is the process flow diagram of the communication means of RFID device interface layer according to the embodiment of the present invention;
Fig. 4 to connect schematic flow sheet according to the mixed mode in the preferred embodiment of the present invention;
Fig. 5 is the process flow diagram carrying out data processing event handling according to the message handling device of the embodiment of the present invention;
Fig. 6 is the structural representation of Message Processing four level production line according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
According to the communicator embodiments providing a kind of RFID device interface layer, this device is positioned at RFID application server side, Fig. 1 is the structural representation of the communicator of RFID device interface layer according to the embodiment of the present invention, as shown in Figure 1, this device mainly comprises: connect and safeguard pond 11, for storing all connections to be set up and each information connected, and read the information of each connection to be set up successively, if the pattern of the connection of reading is Passive Mode, then trigger and connect receiver 13, if the pattern of the connection of reading is aggressive mode, then trigger equipment connector 12, equipment connector 12, for initiating the connection request to RFID device according to the information of the connection of reading, after the response message that RFID device returns being detected, connect request institute ask foundation connection, seize the resource of message handling device 14, by the data processing event registration of the connection of foundation to message handling device 14, described connection receiver 13, for monitoring connection request event, after receiving connection request event, the connection that the request event that connects is asked, seize the resource of message handling device 14, by the data processing event registration of this connection of foundation to message handling device 14, message handling device 14, for monitoring the data processing event be registered to wherein, and after listening to data processing event, process data processing event.
By the said apparatus that the embodiment of the present invention provides, by arranging equipment connector 12 in RFID application server side and being connected receiver 13, connection request can be initiated respectively and receive connection request, thus RFID device can be realized simultaneously as the function of client and service end.And, said apparatus supports the connection establishment strategy of RFID device mixing link setup pattern, safeguard that pond manages by unified connection, and use unified message handling device to process connection, ensure that the equipment of different communication mode can both be set up with application to be on the one hand connected, enable the connection of different mode carry out unified maintenance and process on the other hand, reduce the development difficulty of system maintenance different mode connection and the complexity of system, and effectively improve the performance of system.
Generally, connect the connection and each information connected safeguarding in pond 11 and store various difference connected mode to be set up, in the embodiment of the embodiment of the present invention, each connect information can using device number with link No. as the unique identification information be connected, certainly, connection is safeguarded in pond 11 and can also be stored other information, such as, the socket handle (for identifying connection) in corresponding connection can also be preserved, and the information of corresponding RFID device (such as, reader).
In the preferred implementation of the embodiment of the present invention, as shown in Figure 2, equipment connector 12 can comprise and connects initiated event audiomonitor 122 and be connected initiated event treatment pond 124, wherein, connect initiated event audiomonitor 122 for detecting the response message of connection request, and after response message being detected, trigger and connect initiated event treatment pond 124; Connecting initiated event treatment pond 124, for completing the establishment of connection operation that connection request institute asks to set up, and seizing the resource of message handling device 14, by the data processing event registration of the connection of foundation to message handling device 14.
In actual applications, after equipment connector 12 initiates to connect, connect initiated event audiomonitor 122 to be responsible for monitoring connection initiated event, after waiting for connection establishment success, connect initiated event audiomonitor 122 once connection event be detected, just connection event is given the thread process connected in initiated event treatment pond 124.
In a preferred implementation of the embodiment of the present invention, connecting initiated event treatment pond 124 can also be used for after completing the establishment of connection operation that connection request institute asks to set up, upgrade connect safeguard the connection request that stores in pond 11 ask the information of the connection of foundation.Be about to connect and safeguard that the state updating of this connection stored in pond 11 is for connect, and, the relevant information of this connection (such as, the IP address etc. of RFID device) can also be stored in connection and safeguard in pond 11.
In another preferred embodiment of the embodiment of the present invention, as shown in Figure 2, connect receiver 13 can comprise connection reception event sniffer 134 and be connected reception treatment pond 132.Wherein, connecting and receive event sniffer 134 for according to connecting the information safeguarding the connection that pond 11 is read, monitor predetermined port, from Port detecting connection request event, and when listening to connection request event, triggering to connect receiving treatment pond 132; Connect and receive treatment pond 132 for the treatment of connection request event, the connection that the request event that connects is asked, seizes the resource of message handling device 14, by the data processing event registration of this connection of foundation to message handling device 14.In order to reach better effect, connecting and receiving treatment pond 132 also for after the connection of asking at the request event that connects, upgrade to connect and safeguard that the connection request institute stored in pond 11 asks the information of the connection of foundation.Wherein, the identification informations such as the port numbers that can comprise the port that needs are monitored are safeguarded in the information of the connection that pond 11 is read in connection.
In order to good invention effect can be reached, as shown in Figure 2, message handling device 14 can comprise data processing event sniffer 142 and Message Processing scheduler module 144.Wherein, data processing event sniffer 142, for monitoring the data processing event being registered to message handling device 14, and when listening to data processing event, Trigger message process scheduler module 144; Message Processing scheduler module 144, for dispatching a thread in default multiple threads, processing said data process event.
By the said apparatus that the embodiment of the present invention provides, by equipment connector and the scheduling strategy being connected receiver and seizing the message processor processes time, avoid when height is concurrent, due to the high loaded process of message handling device, and the event registration request newly connected cannot be responded; Meanwhile, because the number of request of event action is far below the number of request of Message Processing event, therefore, seizing message handling device, can't cause very large impact to message processing performance, improve the transfer velocity of connection handling simultaneously.
In a preferred implementation of the embodiment of the present invention, data processing event can be divided into multiple child-operation by message handling device 14, and then perform child-operation described in each in order respectively, such as, data processing event sniffer 142 is responsible for monitoring the Message Processing event on connecting, after Message Processing event being detected, just Message Processing event is transferred to Message Processing scheduler module process 144, the byte stream that Message Processing scheduler module 144 is responsible for connecting network reads, resolve, encapsulation operation, and result is distributed to higher level and applies process the most at last.By this embodiment, the different disposal step of many message connected can be made simultaneously to carry out, thus take full advantage of the performance of processor multinuclear, accelerate the treatment scheme of message, effectively improve the handling capacity of Message Processing, significantly improve the handling property of network communication layer.
Fig. 3 is the process flow diagram of the communication means of RFID device interface layer according to the embodiment of the present invention, and as shown in Figure 3, the communication means of the RFID device interface layer in the embodiment of the present invention comprises:
Step S302, reads the information connecting and safeguard the connection that of storing in pond is to be set up, if the pattern connected is aggressive mode, then performs step S304, if the pattern connected is Passive Mode, performs step S306;
Such as, can judge that according to the IP address and port numbers whether specifying connection in the information of the connection of reading the pattern of this connection is active module or passive module.Wherein, connection safeguards that the link information in pond can be added by upper layer application.
In embodiment in embodiments of the present invention, when connect pattern be aggressive mode time, first can to carry out initialization to Connecting quantity, then initiate to connect, and this connection to be registered in the connection initiated event audiomonitor of equipment connector simultaneously.
Step S304, equipment connector initiates the connection request to RFID device according to the information of this connection, after the response message that RFID device returns being detected, connect, then the resource of message handling device is seized, by the data processing event registration of the connection of foundation to message handling device, perform step S308;
Safeguard the link information real-time update stored in pond to make connection, in the present embodiment, equipment connector after a connection is established, can upgrade to connect and safeguard that the connection request stored in pond institute asks the information of connection of foundation.
Wherein, one can be arranged in equipment connector connect initiated event audiomonitor and be connected initiated event treatment pond, connect initiated event audiomonitor after connection initiated event being detected, this event is given the connection initiated event treatment pond being responsible for attended operation, after connection initiated event treatment pond completes this establishment of connection, attempt the processing time of seizing message handling device.When after the processing time getting message handling device, connect initiated event treatment pond simultaneously by the data processing event registration of this connection in the data processing event sniffer of message handling device, then perform step S308.
Step S306, connects receiver according to the information connected, monitors predetermined port, after receiving connection request event, the connection that the request event that connects is asked, seizes the resource of message handling device, by the data processing event registration of this connection of foundation to message handling device;
Such as, event sniffer can be received by the connection connected in receiver and monitor connection request event, after listening to connection request event, this event is given the connection being responsible for receiving connection handling and receive event handling pond, connect and receive event handling pond after completing the operation receiving and connect, corresponding link information in updating maintenance pond simultaneously, and attempt the processing time of seizing message handling device.When after the processing time getting message handling device, connect and receive event handling pond by the data processing event registration of this connection in the data processing event sniffer of message handling device.
Equally, safeguarding the link information real-time update stored in pond to make connection, after the connection that the request event that connects is asked, connecting receiver and also upgrading to connect simultaneously and safeguard that the connection request stored in pond institute asks the information of connection of foundation.
Step S308, message handling device monitors the data processing event be registered to wherein, and after listening to data processing event, process data processing event.
In embodiment of the present invention embodiment, data processing event can be divided into the mode of multiple child-operation by message processor processes data processing event, and preferably, the Thread Count preset is identical with suboperand.Such as, the thread called in default multiple threads performs child-operation described in each in order respectively, wherein, multiple child-operation comprises: read, resolve, encapsulate with distribution thus the different disposal step of many message be connected can be made simultaneously to carry out, make full use of the performance of modern processors multinuclear, accelerate the treatment scheme of message, effectively improve the handling capacity of Message Processing, significantly improve the handling property of network communication layer.And the mode of multiple child-operation can adopt needing data to be processed to carry out four level production lines and process, first by data processing event sniffer, the data processing event of this connection received is handed to Message Processing scheduler module, distribute to default multiple threads by Message Processing scheduler module again to process in order, such as, message handling device can comprise the following steps the process of one of them data processing event:
Step 1, enters the first order process of four level production lines: read network bytes stream, and will read result stored in buffer memory;
Step 2, enters the second level process of four level production lines: by the byte stream in buffer memory, resolve to Frame;
Step 3, enters the third level process of four level production lines: by the Frame parsed, be packaged into message object;
Step 4, enters the fourth stage process of four level production lines: by packaged message, is distributed to the application on upper strata, for being used as further process.
Fig. 4 to connect schematic flow sheet according to the mixed mode in the preferred embodiment of the present invention, composition graphs 2, and in embodiments of the present invention, for the RFID device of the mixing link setup pattern that the present invention supports, its connection establishment method mainly comprises the following steps:
Step 401: after system starts, flow process starts;
Step 402: obtain the link information to be set up connecting and safeguard in pond, wherein, all relevant informations to be connected can be responsible for interpolation by upper layer application;
Step 403: judge the IP address and the port numbers that whether specify connection in the link information got, if do not specified, be considered as being dynamically connected, enter into step 404, if specified, is considered as initiatively connecting, enters into step 408;
Step 404: connect the connection that receiver creates Passive Mode;
Step 405: registration connects reception event and receives event sniffer to connection, the request of connecting of waiting facilities;
Step 406: listen to after connecting reception event, connects and receives the operation that event handling pond completes connection establishment;
Step 407: situation about connecting according to reality, and after upgrading the link information in connection pool, enter into step 411;
Step 408: equipment connector creates the connection of aggressive mode;
Step 409: initiate the connection request to equipment, and registration connects initiated event to connection initiated event audiomonitor, the link setup response of waiting facilities;
Step 410: after obtaining the response of equipment, connects initiated event treatment pond and completes establishment of connection;
Step 411: the process event seizing message event processor, makes its releasing resource;
Step 412: by Message Processing event registration to message event processor;
Step 413: the resource of release message event handler, is returned to message event processor;
Step 414: the running status judging system, if system continues to run, turns back to step 402, otherwise enters into step 415;
Step 415: stop process, flow process terminates.
Fig. 5 is the message handling device preemptive policy schematic diagram according to the embodiment of the present invention, as shown in Figure 5, for the successful equipment connector of connection establishment or connection receiver, message handling device processes according to following flow chart of data processing its connection initiated event reported or connection reception event:
Step 501: after system starts, flow process starts;
Step 502: obtain process data resource requirement;
Step 503: monitor the Message Processing event connected, after reporting message to be connected, meets at the process of Message Processing pond by the Message Processing event listened to;
Step 504: Message Processing pond processing messages;
Step 505: detect whether to have equipment connector or connect receiver and seize its resource of occupying, seize request if existed, then perform step 506, if there is no seize request, then perform step 507;
Step 506: discharge the resource of occupying, suspends process;
Step 507: the running status judging system, if system continues to run, turns back to step 502, otherwise enters into step 508;
Step 508: stop process, flow process terminates.
Fig. 6 is the structural representation of Message Processing four level production line according to the preferred embodiment of the invention, as shown in Figure 6, the structure of Message Processing four level production line that the Message Processing scheduler module in the message handling device of the embodiment of the present invention adopts processes being reported to the Message Processing event of message handling device, specifically comprises:
The process of the process of message is split as FOUR EASY STEPS, is respectively: read, resolve, encapsulate and distribution, wherein, read operation is responsible for the byte stream that fetch equipment sends, and by its buffer memory; Parse operation is responsible for scanning the data in buffer memory, searches frame head, postamble, resolves a frame; Encapsulation operation is responsible for frame data being packaged into the object needed for upper layer application or structure; Distribution operation is responsible for packaged object or structure to consign to upper layer application to process.
In the embodiment of the embodiment of the present invention, need to be divided into by whole message processing procedure four steps to process, although for single message parse, its processing speed is slower than directly processing, data volume concurrent at message height is large, the process of pipeline system just demonstrates its advantage, such as, in the processing time of average a piece of news, 1/4 of original message process mode is about, effectively can increase the handling capacity of system, improve the network performance of system.
As can be seen from the above description, present invention achieves following technique effect:
The pattern that connects is mixed and unified connection safeguards that the mode managed is carried out in pond by supporting RFID device, use unified message handling device to connecting the method processed simultaneously, adopt the communicator of interface layer of radio frequency identification device, ensure that the equipment of different communication mode can both be set up with application to be on the one hand connected, the connection of different mode is enable to carry out unified maintenance and process on the other hand, thus reduce the development difficulty of system maintenance different mode connection and the complexity of system, and effectively improve the performance of system.Further, in embodiments of the present invention, by equipment connector be connected receiver and seize the message processor processes time, thus avoid when height is concurrent, due to the high loaded process of message handling device, and the event registration request newly connected cannot be responded; Meanwhile, because the number of request of event action is far below the number of request of Message Processing event, therefore, seizing message handling device, can't cause very large impact to message processing performance, improve the transfer velocity of connection handling simultaneously.In addition, in the embodiment of the present invention, when processing data processing event, the treatment scheme of data processing event (i.e. message) is split multiple sub-step, and introduces the tupe of multi-stage pipeline, the different disposal step of many message connected is carried out simultaneously, make full use of the performance of modern processors multinuclear, accelerate the treatment scheme of message, effectively improve the handling capacity of Message Processing, significantly improve the handling property of network communication layer.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to 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 amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a communicator for radio frequency discrimination RFID device interface layer, is characterized in that, comprising:
Connect and safeguard pond, for the information storing all connections to be set up and connect described in each, and read the information of each described connection to be set up successively, if the pattern of the described connection of reading is Passive Mode, then trigger and connect receiver, if the pattern of the described connection of reading is aggressive mode, then trigger equipment connector;
Described equipment connector, for initiating the connection request to RFID device according to the information of the described connection of reading, after the response message that described RFID device returns being detected, set up described connection request ask set up connection, seize the resource of message handling device, by the data processing event registration of the described connection of foundation to described message handling device;
Described connection receiver, for monitoring connection request event, after receiving connection request event, set up the connection that described connection request event is asked, seize the resource of described message handling device, by the data processing event registration of this connection of foundation to described message handling device;
Described message handling device, for monitoring the data processing event be registered to wherein, and after listening to described data processing event, processing said data process event.
2. device according to claim 1, is characterized in that, described equipment connector comprises:
Connect initiated event audiomonitor, for detecting the response message of described connection request, and after described response message being detected, triggering and connecting initiated event treatment pond;
Described connection initiated event treatment pond, for complete described connection request ask the establishment of connection operation of setting up, and seize the resource of described message handling device, by the data processing event registration of described connection set up to described message handling device.
3. device according to claim 2, it is characterized in that, described connection initiated event treatment pond also for complete described connection request ask the establishment of connection operation of setting up after, upgrade described connection and safeguard that the described connection request stored in pond institute asks the information of connection of foundation.
4. device according to claim 1, is characterized in that, described connection receiver comprises:
Connecting and receive event sniffer, for the information according to the described connection of reading, monitor predetermined port, from described Port detecting connection request event, and when listening to connection request event, triggering to connect receiving treatment pond;
Described connection receives treatment pond, for the treatment of described connection request event, sets up the connection that described connection request event is asked, seizes the resource of described message handling device, by the data processing event registration of this connection of foundation to described message handling device.
5. device according to claim 4, it is characterized in that, described connection receives treatment pond also for after setting up the connection that described connection request event asks, and upgrades described connection and safeguards that the described connection request stored in pond institute asks the information of the connection of foundation.
6. device according to any one of claim 1 to 5, is characterized in that, described message handling device is used for described data processing event to be divided into multiple child-operation, performs child-operation described in each in order respectively.
7. device according to claim 6, is characterized in that, described message handling device comprises:
Data processing event sniffer, for monitoring the data processing event being registered to described message handling device, and when listening to described data processing event, Trigger message process scheduler module;
Described Message Processing scheduler module, for dispatching a thread in default multiple threads, processing said data process event.
8. a communication means for RFID device interface layer, is characterized in that, comprising:
Step 1, reads the information connecting and safeguard the connection that of storing in pond is to be set up, if the pattern of described connection is aggressive mode, then performs step 2, if the pattern of described connection is Passive Mode, performs step 3;
Step 2, equipment connector initiates the connection request to RFID device according to the information of described connection, after the response message that described RFID device returns being detected, set up described connection, then the resource of message handling device is seized, by the data processing event registration of the described connection of foundation to described message handling device, perform step 4;
Step 3, connect receiver according to the information of described connection, monitor predetermined port, after receiving connection request event, set up the connection that described connection request event is asked, seize the resource of described message handling device, by the data processing event registration of this connection of foundation to described message handling device;
Step 4, described message handling device monitors the data processing event be registered to wherein, and after listening to described data processing event, processing said data process event.
9. method according to claim 8, it is characterized in that, described equipment connector is after setting up described connection, and described method also comprises: described equipment connector upgrade described connection safeguard the described connection request stored in pond ask the information of connection set up.
10. method according to claim 8, it is characterized in that, after the connection that described connection request event asks set up by described connection receiver, described method also comprises: described connection receiver upgrade described connection safeguard the described connection request stored in pond ask the information of the connection of setting up.
Method according to any one of 11. according to Claim 8 to 10, it is characterized in that, described in described message processor processes, data processing event comprises: described data processing event is divided into multiple child-operation by described message handling device, and the thread called in default multiple threads performs child-operation described in each in order respectively.
12. methods according to claim 11, is characterized in that, multiple described child-operation comprises: read, resolve, encapsulate and distribution.
CN201110069850.3A 2011-03-22 2011-03-22 Communication apparatus and method for interface layer of radio frequency identification device Active CN102693434B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110069850.3A CN102693434B (en) 2011-03-22 2011-03-22 Communication apparatus and method for interface layer of radio frequency identification device
PCT/CN2011/076021 WO2012126212A1 (en) 2011-03-22 2011-06-21 Communication apparatus and method for interface layer of radio frequency identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110069850.3A CN102693434B (en) 2011-03-22 2011-03-22 Communication apparatus and method for interface layer of radio frequency identification device

Publications (2)

Publication Number Publication Date
CN102693434A CN102693434A (en) 2012-09-26
CN102693434B true CN102693434B (en) 2015-01-28

Family

ID=46858850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110069850.3A Active CN102693434B (en) 2011-03-22 2011-03-22 Communication apparatus and method for interface layer of radio frequency identification device

Country Status (2)

Country Link
CN (1) CN102693434B (en)
WO (1) WO2012126212A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684909B (en) * 2013-11-30 2017-06-13 广州西维尔计算机系统有限公司 Information processing method and system based on event source
CN107203545B (en) * 2016-03-17 2021-01-26 创新先进技术有限公司 Data processing method and device
CN107656823A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 The processing method and related system of a kind of operation flow

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373509A (en) * 2008-10-10 2009-02-25 华南理工大学 RFID intermediate part based on distributed ALE
CN101692737A (en) * 2009-08-07 2010-04-07 华南理工大学 Light weight data synchronous architecture opposite to mobile RFID
CN101887528A (en) * 2009-05-12 2010-11-17 数伦计算机技术(上海)有限公司 Universal RFID tag, read-write terminal and system and communication method of RFID system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7273179B2 (en) * 2004-07-09 2007-09-25 Datalogic Scanning, Inc. Portable data reading device with integrated web server for configuration and data extraction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373509A (en) * 2008-10-10 2009-02-25 华南理工大学 RFID intermediate part based on distributed ALE
CN101887528A (en) * 2009-05-12 2010-11-17 数伦计算机技术(上海)有限公司 Universal RFID tag, read-write terminal and system and communication method of RFID system
CN101692737A (en) * 2009-08-07 2010-04-07 华南理工大学 Light weight data synchronous architecture opposite to mobile RFID

Also Published As

Publication number Publication date
CN102693434A (en) 2012-09-26
WO2012126212A1 (en) 2012-09-27

Similar Documents

Publication Publication Date Title
CN111580995B (en) Synchronous communication method and system of distributed cloud platform and Internet of things intelligent terminal based on MQTT asynchronous communication scene
CN102780613B (en) A kind of method and apparatus of distributed apparatus communication between plates
CN103139157B (en) A kind of based on the network communication method of socket, Apparatus and system
CN107770269B (en) A kind of service response method and its terminal
CN110958281B (en) Data transmission method and communication device based on Internet of things
CN105516086B (en) Method for processing business and device
CN108270732A (en) A kind of Streaming Media processing method and system
US20200052982A1 (en) In situ triggered function as a service within a service mesh
WO2019056203A1 (en) Low-delay audio and video transmission method, device and computer readable storage medium
CN111698167B (en) Message processing method and device
CN108243222A (en) Server network architecture method and device
CN106559447A (en) The method for processing business and system of JSLEE containers
CN102693434B (en) Communication apparatus and method for interface layer of radio frequency identification device
CN109818977B (en) Access server communication optimization method, access server and communication system
CN109788251B (en) Video processing method, device and storage medium
CN111277599B (en) Remote call processing method and device
CN106302432B (en) A kind of communication device and control method based on car networking
CN113965628A (en) Message scheduling method, server and storage medium
CN112068963A (en) Distributed scheduling system of embedded system
CN108429703B (en) DHCP client-side online method and device
CN115695592A (en) AT command processing method, device and equipment
CN114371935A (en) Gateway processing method, gateway, device and medium
CN114244758A (en) Network diagnosis method, storage medium, electronic device and system of android platform
CN113992740A (en) Middleware based on autonomous control and data transmission method
CN112968951A (en) Service node connection method and device, storage medium and electronic device

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: 20160907

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