CN102693434A - 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 PDFInfo
- Publication number
- CN102693434A CN102693434A CN2011100698503A CN201110069850A CN102693434A CN 102693434 A CN102693434 A CN 102693434A CN 2011100698503 A CN2011100698503 A CN 2011100698503A CN 201110069850 A CN201110069850 A CN 201110069850A CN 102693434 A CN102693434 A CN 102693434A
- Authority
- CN
- China
- Prior art keywords
- connection
- event
- data processing
- message
- message processor
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods 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/10019—Methods 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.
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种RFID设备接口层的通信装置及方法,其中,该装置包括:连接维护池,用于存储所有待建立的连接以及各个连接的信息;设备连接器,用于发起对RFID设备的连接请求,在检测到RFID设备返回的响应消息后,建立连接请求所请求建立的连接,抢占消息处理器的资源,将数据处理事件注册到消息处理器;连接接收器,用于监听连接请求事件,在接收到连接请求事件后,建立连接请求事件所请求的连接,抢占消息处理器的资源,将数据处理事件注册到消息处理器;消息处理器,用于监听数据处理事件,在监听到数据处理事件后,处理数据处理事件。通过本发明,使得RFID设备能同时作为客户端和服务端,从而可以满足不同场景的需求的效果。
The invention discloses a communication device and method of an RFID device interface layer, wherein the device includes: a connection maintenance pool for storing all connections to be established and information about each connection; a device connector for initiating a connection to the RFID device The connection request, after detecting the response message returned by the RFID device, establishes the connection requested by the connection request, seizes the resources of the message processor, and registers the data processing event to the message processor; the connection receiver is used to monitor the connection request event, after receiving the connection request event, establish the connection requested by the connection request event, seize the resources of the message processor, and register the data processing event to the message processor; the message processor is used to monitor the data processing event, After the data processing event, handle the data processing event. Through the present invention, the RFID device can be used as the client and the server at the same time, so as to meet the requirements of different scenarios.
Description
技术领域 technical field
本发明涉及通信领域,具体而言,涉及一种射频识别设备接口层的通信装置及方法。The present invention relates to the field of communication, in particular to a communication device and method for an interface layer of a radio frequency identification device.
背景技术 Background technique
随着物联网的高速发展,射频识别(Radio Frequency Identification,简称为RFID)技术逐渐进入到人们日常工作和生活中的各个领域,进而对应用服务器设备接口层的性能需求也日趋强烈。众所周知,在一般的网络通信中,网络连接的建立通常由客户端发起,服务端只需监听相应的端口,响应连接请求。With the rapid development of the Internet of Things, radio frequency identification (Radio Frequency Identification, referred to as RFID) technology has gradually entered various fields of people's daily work and life, and the performance requirements for the interface layer of application server equipment are also becoming increasingly strong. As we all know, in general network communication, the establishment of a network connection is usually initiated by the client, and the server only needs to monitor the corresponding port and respond to the connection request.
目前的应用服务器中使用的网络通信方案主要有两种类型:一种是针对每一个客户端的连接,都分配单独的线程对其进行处理,这种方案易于实现,在连接数不大的情况下能够获得良好的性能,但是由于对每个客户端的连接单独分配一个线程,因此,RFID应用服务器只能作为服务端或客户端,而不能既作为客户端又作为服务端,并且,在高并发的情况下,线程切换会大量消耗服务器资源,以致严重影响系统性能;另一种方案是基于输入/输出(Input/Output,简称为IO)多路复用技术和Reactor模式,由单独的线程接收连接的事件请求,并将接收到的事件分配给线程池处理,这种方案虽然能够充分利用服务器资源,但是RFID应用服务器同样也只能作为服务端或客户端,并且在高并发的情况下,若不能及时处理事件请求,会严重影响服务器的响应时间,因此其处理性能还有待优化。There are mainly two types of network communication schemes used in the current application server: one is to allocate a separate thread for each client connection to process it, this scheme is easy to implement, and when the number of connections is not large Good performance can be obtained, but because each client connection is assigned a thread separately, the RFID application server can only be used as a server or a client, but not both as a client and a server, and, in high concurrency Under normal circumstances, thread switching will consume a large amount of server resources, which seriously affects system performance; another solution is based on input/output (Input/Output, referred to as IO) multiplexing technology and Reactor mode, and a separate thread receives the connection event requests, and assign the received events to the thread pool for processing. Although this solution can make full use of server resources, the RFID application server can only serve as the server or client, and in the case of high concurrency, if Failure to process event requests in time will seriously affect the response time of the server, so its processing performance needs to be optimized.
在RFID的应用中,根据低级别读写器(Low-Level Reader Protocol,简称为LLRP)协议的要求,RFID设备既可以作为客户端主动发起连接,也能够作为服务端响应应用发起的连接请求。为了满足LLRP协议的通信需要,要求RFID应用也能够同时作为客户端和服务端,然而,按照目前的上述两种网络通信方案,RFID设备只能作为客户端或服务端,而不能同时作为客户端和服务端,从而不能满足不同场景的需求。In the application of RFID, according to the requirements of the Low-Level Reader Protocol (LLRP) protocol, the RFID device can act as a client to actively initiate a connection, or as a server to respond to a connection request initiated by an application. In order to meet the communication needs of the LLRP protocol, it is required that the RFID application can also serve as the client and the server at the same time. However, according to the current above two network communication schemes, the RFID device can only be used as the client or the server, but not at the same time. And the server, so it cannot meet the needs of different scenarios.
发明内容 Contents of the invention
本发明的主要目的在于提供一种射频识别设备接口层的通信装置及方法,以至少解决上述问题。The main purpose of the present invention is to provide a communication device and method for an interface layer of a radio frequency identification device, so as to at least solve the above problems.
根据本发明的另一方面,提供了一种射频识别设备接口层的通信装置,包括:According to another aspect of the present invention, a radio frequency identification device interface layer communication device is provided, including:
连接维护池,用于存储所有待建立的连接以及各个所述连接的信息,并依次读取各个待建立的所述连接的信息,如果读取的所述连接的模式为被动模式,则触发连接接收器,如果读取的所述连接的模式为主动模式,则触发设备连接器;所述设备连接器,用于根据读取的所述连接的信息发起对RFID设备的连接请求,在检测到所述RFID设备返回的响应消息后,建立所述连接请求所请求建立的连接,抢占消息处理器的资源,将建立的所述连接的数据处理事件注册到所述消息处理器;所述连接接收器,用于监听连接请求事件,在接收到连接请求事件后,建立所述连接请求事件所请求的连接,抢占所述消息处理器的资源,将建立的该连接的数据处理事件注册到所述消息处理器;所述消息处理器,用于监听注册到其中的数据处理事件,并在监听到所述数据处理事件后,处理所述数据处理事件。The connection maintenance pool is used to store all the connections to be established and the information of each of the connections, and read the information of each of the connections to be established in sequence, and if the mode of the read connection is passive mode, trigger the connection The receiver, if the read mode of the connection is an active mode, then trigger the device connector; the device connector is used to initiate a connection request to the RFID device according to the read information of the connection. After the response message returned by the RFID device, establish the connection requested by the connection request, seize the resources of the message processor, and register the data processing event of the established connection to the message processor; the connection receives The device is used to monitor the connection request event, and after receiving the connection request event, establishes the connection requested by the connection request event, preempts the resource of the message processor, and registers the data processing event of the established connection in the A message processor; the message processor is configured to monitor the data processing event registered therein, and process the data processing event after monitoring the data processing event.
进一步地,所述设备连接器包括:连接发起事件监听器,用于检测所述连接请求的响应消息,并在检测到所述响应消息后,触发连接发起事件处理池;所述连接发起事件处理池,用于完成所述连接请求所请求建立的连接的建立操作,并抢占所述消息处理器的资源,将建立的所述连接的数据处理事件注册到所述消息处理器。Further, the device connector includes: a connection initiation event listener, configured to detect a response message of the connection request, and after detecting the response message, trigger a connection initiation event processing pool; the connection initiation event processing The pool is configured to complete the establishment operation of the connection requested by the connection request, seize the resources of the message processor, and register the data processing event of the established connection to the message processor.
进一步地,所述连接发起事件处理池还用于在完成所述连接请求所请求建立的连接的建立操作后,更新所述连接维护池中存储的所述连接请求所请求建立的连接的信息。Further, the connection initiation event processing pool is further configured to update the information of the connection requested to be established by the connection request stored in the connection maintenance pool after the establishment operation of the connection requested by the connection request is completed.
进一步地,所述连接接收器包括:连接接收事件监听器,用于根据读取的所述连接的信息,监听预定的端口,从所述端口检测连接请求事件,并在监听到连接请求事件时,触发连接接收处理池;所述连接接收处理池,用于处理所述连接请求事件,建立所述连接请求事件所请求的连接,抢占所述消息处理器的资源,将建立的该连接的数据处理事件注册到所述消息处理器。Further, the connection receiver includes: a connection reception event listener, configured to listen to a predetermined port according to the read connection information, detect a connection request event from the port, and when a connection request event is detected, , triggering the connection reception processing pool; the connection reception processing pool is used to process the connection request event, establish the connection requested by the connection request event, seize the resource of the message processor, and establish the data of the connection Handle events registered to the message handler.
进一步地,所述连接接收处理池还用于在建立所述连接请求事件所请求的连接后,更新所述连接维护池中存储的所述连接请求所请求建立的连接的信息。Further, the connection receiving processing pool is further configured to update the information of the connection requested to be established by the connection request stored in the connection maintenance pool after the connection requested by the connection request event is established.
进一步地,所述消息处理器用于将所述数据处理事件分为多个子操作,分别按顺序执行各个所述子操作。Further, the message processor is configured to divide the data processing event into multiple sub-operations, and execute each of the sub-operations in sequence.
进一步地,所述消息处理器包括:数据处理事件监听器,用于监听注册到所述消息处理器的数据处理事件,并在监听到所述数据处理事件时,触发消息处理调度模块;所述消息处理调度模块,用于调度预设的多个线程中的一个线程,处理所述数据处理事件。Further, the message processor includes: a data processing event listener, configured to monitor a data processing event registered to the message processor, and trigger a message processing scheduling module when the data processing event is detected; the The message processing scheduling module is configured to schedule one thread among the preset multiple threads to process the data processing event.
根据本发明的一个方面,提供了一种射频识别设备接口层的通信方法,包括:步骤1,读取连接维护池中存储的一个待建立的连接的信息,如果所述连接的模式为主动模式,则执行步骤2,如果所述连接的模式为被动模式,执行步骤3;步骤2,设备连接器根据所述连接的信息发起对RFID设备的连接请求,在检测到所述RFID设备返回的响应消息后,建立所述连接,然后抢占消息处理器的资源,将建立的所述连接的数据处理事件注册到所述消息处理器,执行步骤4;步骤3,连接接收器根据所述连接的信息,监听预定的端口,在接收到连接请求事件后,建立所述连接请求事件所请求的连接,抢占所述消息处理器的资源,将建立的该连接的数据处理事件注册到所述消息处理器;步骤4,所述消息处理器监听注册到其中的数据处理事件,并在监听到所述数据处理事件后,处理所述数据处理事件。According to one aspect of the present invention, a communication method for an interface layer of a radio frequency identification device is provided, comprising: Step 1, reading information of a connection to be established stored in the connection maintenance pool, if the mode of the connection is an active mode , then execute step 2, if the connection mode is passive mode, execute step 3; step 2, the device connector initiates a connection request to the RFID device according to the connection information, and detects the response returned by the RFID device After the message, establish the connection, then seize the resources of the message processor, register the data processing event of the established connection to the message processor, and perform step 4; step 3, connect the receiver according to the information of the connection , listening to a predetermined port, after receiving a connection request event, establishing the connection requested by the connection request event, preempting the resources of the message processor, and registering the established data processing event of the connection to the message processor ; Step 4, the message processor monitors the data processing event registered in it, and processes the data processing event after monitoring the data processing event.
进一步地,所述设备连接器在建立所述连接之后,所述方法还包括:所述设备连接器更新所述连接维护池中存储的所述连接请求所请求建立的连接的信息。Further, after the device connector establishes the connection, the method further includes: the device connector updating information of the connection requested to be established by the connection request stored in the connection maintenance pool.
进一步地,所述连接接收器建立所述连接请求事件所请求的连接之后,所述方法还包括:所述连接接收器更新所述连接维护池中存储的所述连接请求所请求建立的连接的信息。Further, after the connection receiver establishes the connection requested by the connection request event, the method further includes: the connection receiver updates the information stored in the connection maintenance pool of the connection requested by the connection request to be established information.
进一步地,所述消息处理器处理所述数据处理事件包括:所述消息处理器将所述数据处理事件分为多个子操作,调用预设的多个线程中的一个线程按顺序分别执行各个所述子操作。Further, the processing of the data processing event by the message processor includes: the message processor divides the data processing event into a plurality of sub-operations, calling one of the preset multiple threads to execute each sub-operation respectively in sequence. subroutine operation.
进一步地,多个所述子操作包括:读取、解析、封装和分发。Further, the multiple sub-operations include: reading, parsing, encapsulating and distributing.
通过本发明,在RFID应用服务器中通过设备连接器和连接接收器分别发起连接请求和接收连接请求,从而解决了现有技术中RFID设备只能作为客户端或服务端,而不能同时作为客户端和服务端的问题,进而优化了网络通信性能,能够满足不同场景的需求。Through the present invention, in the RFID application server, a connection request is initiated and a connection request is received respectively through a device connector and a connection receiver, thereby solving the problem that the RFID device in the prior art can only be used as a client or a server, but not simultaneously as a client And server problems, and then optimize the network communication performance, to meet the needs of different scenarios.
附图说明 Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的RFID设备接口层的通信装置的结构示意图;Fig. 1 is a schematic structural diagram of a communication device of an RFID device interface layer according to an embodiment of the present invention;
图2是根据本发明优选实施例的RFID设备接口层的通信装置的结构示意图;Fig. 2 is a schematic structural diagram of a communication device of an RFID device interface layer according to a preferred embodiment of the present invention;
图3是根据本发明实施例的RFID设备接口层的通信方法的流程图;Fig. 3 is the flowchart of the communication method of the RFID equipment interface layer according to the embodiment of the present invention;
图4是根据本发明优选实施例中的混合模式建立连接流程示意图;Fig. 4 is a schematic diagram of a connection establishment flow chart according to a mixed mode in a preferred embodiment of the present invention;
图5是根据本发明实施例的消息处理器进行数据处理事件处理的流程图;5 is a flow chart of a message processor performing data processing event processing according to an embodiment of the present invention;
图6是根据本发明优选实施例的消息处理四级流水线的结构示意图。Fig. 6 is a schematic structural diagram of a message processing four-stage pipeline according to a preferred embodiment of the present invention.
具体实施方式 Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
根据本发明实施例提供了一种RFID设备接口层的通信装置,该装置位于RFID应用服务器侧,图1是根据本发明实施例的RFID设备接口层的通信装置的结构示意图,如图1所示,该装置主要包括:连接维护池11,用于存储所有待建立的连接以及各个连接的信息,并依次读取各个待建立的连接的信息,如果读取的连接的模式为被动模式,则触发连接接收器13,如果读取的连接的模式为主动模式,则触发设备连接器12;设备连接器12,用于根据读取的连接的信息发起对RFID设备的连接请求,在检测到RFID设备返回的响应消息后,建立连接请求所请求建立的连接,抢占消息处理器14的资源,将建立的连接的数据处理事件注册到消息处理器14;所述连接接收器13,用于监听连接请求事件,在接收到连接请求事件后,建立连接请求事件所请求的连接,抢占消息处理器14的资源,将建立的该连接的数据处理事件注册到消息处理器14;消息处理器14,用于监听注册到其中的数据处理事件,并在监听到数据处理事件后,处理数据处理事件。According to an embodiment of the present invention, a communication device of an RFID device interface layer is provided, and the device is located on the RFID application server side. Fig. 1 is a schematic structural diagram of a communication device of an RFID device interface layer according to an embodiment of the present invention, as shown in Fig. 1 , the device mainly includes: a connection maintenance pool 11, which is used to store all connections to be established and the information of each connection, and to read the information of each connection to be established in turn, and if the mode of the read connection is a passive mode, trigger Connect receiver 13, if the mode of the connection of reading is active mode, then trigger device connector 12; Device connector 12, be used for initiating the connection request to RFID device according to the information of the connection of reading, detect RFID device After returning the response message, establish the connection requested by the connection request, seize the resources of the message processor 14, and register the data processing event of the established connection to the message processor 14; the connection receiver 13 is used to monitor the connection request event, after receiving the connection request event, set up the connection requested by the connection request event, seize the resources of the message processor 14, and register the data processing event of the connection established to the message processor 14; the message processor 14 is used for Listen to the data processing events registered in it, and process the data processing events after listening to the data processing events.
通过本发明实施例提供的上述装置,通过在RFID应用服务器侧设置设备连接器12和连接接收器13,可以分别发起连接请求和接收连接请求,从而可以实现RFID设备同时作为客户端和服务端的功能。并且,上述装置支持RFID设备混合建链模式的连接建立策略,通过统一的连接维护池进行管理,并使用统一的消息处理器对连接进行处理,一方面保证了不同通讯模式的设备都能够与应用建立起连接,另一方面使不同模式的连接能够进行统一的维护和处理,降低了系统维护不同模式连接的开发难度和系统的复杂度,并有效提高了系统的性能。Through the above-mentioned device provided by the embodiment of the present invention, by setting the device connector 12 and the connection receiver 13 on the RFID application server side, the connection request can be initiated and the connection request can be received respectively, so that the function of the RFID device as the client and the server at the same time can be realized . In addition, the above-mentioned device supports the connection establishment strategy of the hybrid link establishment mode of RFID equipment, manages it through a unified connection maintenance pool, and uses a unified message processor to process the connection. On the one hand, it ensures that devices with different communication modes can communicate with the application The connection is established, on the other hand, the connections of different modes can be maintained and processed in a unified manner, which reduces the development difficulty and complexity of the system for maintaining different modes of connections, and effectively improves the performance of the system.
一般情况下,连接维护池11中存储各种不同待建立连接方式的连接及各个连接的信息,在本发明实施例的具体实施方式中,各个连接的信息可以以设备号和链路号作为连接的唯一标识信息,当然,连接维护池11中还可以存储其他信息,例如,还可以保存相应连接上的socket句柄(用于标识连接),以及相应RFID设备(例如,阅读器)的信息。In general, the connection maintenance pool 11 stores various connections to be established in different ways and the information of each connection. In the specific implementation manner of the embodiment of the present invention, the information of each connection can use the device number and link number as the connection Of course, other information can also be stored in the connection maintenance pool 11, for example, the socket handle (used to identify the connection) on the corresponding connection and the information of the corresponding RFID device (for example, a reader) can also be stored.
在本发明实施例的优选实施方式,如图2所示,设备连接器12可以包括连接发起事件监听器122和连接发起事件处理池124,其中,连接发起事件监听器122用于检测连接请求的响应消息,并在检测到响应消息后,触发连接发起事件处理池124;连接发起事件处理池124,用于完成连接请求所请求建立的连接的建立操作,并抢占消息处理器14的资源,将建立的连接的数据处理事件注册到消息处理器14。In a preferred implementation of the embodiment of the present invention, as shown in FIG. 2, the device connector 12 may include a connection initiation event listener 122 and a connection initiation event processing pool 124, wherein the connection initiation event listener 122 is used to detect the connection request response message, and after detecting the response message, trigger the connection initiation event processing pool 124; the connection initiation event processing pool 124 is used to complete the establishment operation of the connection requested by the connection request, and seize the resources of the message processor 14, and A data processing event of an established connection is registered to the message handler 14 .
在实际应用中,在设备连接器12发起连接之后,连接发起事件监听器122负责监听连接发起事件,等待连接建立成功后,连接发起事件监听器122一旦检测到连接事件,就将连接事件交给连接发起事件处理池124中的线程处理。In practical applications, after the device connector 12 initiates a connection, the connection initiation event listener 122 is responsible for monitoring the connection initiation event, and after the connection is successfully established, once the connection initiation event listener 122 detects the connection event, it will hand over the connection event to The connection initiates thread processing in the event processing pool 124 .
在本发明实施例的一个优选实施方式中,连接发起事件处理池124还可以用于在完成连接请求所请求建立的连接的建立操作后,更新连接维护池11中存储的连接请求所请求建立的连接的信息。即将连接维护池11中存储的该连接的状态更新为已建立连接,并且,还可以将该连接的相关信息(例如,RFID设备的IP地址等)存储在连接维护池11中。In a preferred implementation of the embodiment of the present invention, the connection initiation event processing pool 124 can also be used to update the connection request requested to be established stored in the connection maintenance pool 11 after the connection establishment operation requested by the connection request is completed. connection information. That is to update the state of the connection stored in the connection maintenance pool 11 as an established connection, and also store the relevant information of the connection (for example, the IP address of the RFID device, etc.) in the connection maintenance pool 11 .
本发明实施例的另一个优选实施例中,如图2所示,连接接收器13可以包括连接接收事件监听器132和连接接收处理池134。其中,连接接收事件监听器132用于根据连接维护池11读取的连接的信息,监听预定的端口,从端口检测连接请求事件,并在监听到连接请求事件时,触发连接接收处理池134;连接接收处理池134用于处理连接请求事件,建立连接请求事件所请求的连接,抢占消息处理器14的资源,将建立的该连接的数据处理事件注册到消息处理器14。为了达到更好的效果,连接接收处理池134还用于在建立连接请求事件所请求的连接后,更新连接维护池11中存储的连接请求所请求建立的连接的信息。其中,连接维护池11读取的连接的信息中可以包括需要监听的端口的端口号等标识信息。In another preferred embodiment of the embodiment of the present invention, as shown in FIG. 2 , the connection receiver 13 may include a connection reception event listener 132 and a connection reception processing pool 134 . Wherein, the connection reception event listener 132 is used to monitor a predetermined port according to the connection information read by the connection maintenance pool 11, detect a connection request event from the port, and trigger the connection reception processing pool 134 when a connection request event is detected; The connection receiving processing pool 134 is used to process the connection request event, establish the connection requested by the connection request event, seize the resource of the message processor 14 , and register the data processing event of the established connection to the message processor 14 . In order to achieve a better effect, the connection receiving processing pool 134 is also configured to update the information of the connection requested to be established by the connection request stored in the connection maintenance pool 11 after the connection requested by the connection request event is established. Wherein, the connection information read by the connection maintenance pool 11 may include identification information such as the port number of the port to be monitored.
为了能达到较好的发明效果,如图2所示,消息处理器14可以包括数据处理事件监听器142和消息处理调度模块144。其中,数据处理事件监听器142,用于监听注册到消息处理器14的数据处理事件,并在监听到数据处理事件时,触发消息处理调度模块144;消息处理调度模块144,用于调度预设的多个线程中的一个线程,处理所述数据处理事件。In order to achieve a better effect of the invention, as shown in FIG. 2 , the message processor 14 may include a data processing event listener 142 and a message processing scheduling module 144 . Wherein, the data processing event listener 142 is used to monitor the data processing event registered to the message processor 14, and triggers the message processing scheduling module 144 when the data processing event is monitored; the message processing scheduling module 144 is used to schedule preset A thread of the plurality of threads handles the data processing event.
通过本发明实施例提供的上述装置,通过设备连接器和连接接收器抢占消息处理器处理时间的调度策略,避免了在高并发的情况下,由于消息处理器的高负荷运转,而无法响应新建立连接的事件注册请求;同时,由于事件操作的请求数远低于消息处理事件的请求数,因此,对消息处理器的抢占,并不会对消息处理性能造成很大的影响,同时提高了连接处理的转移速度。Through the above-mentioned device provided by the embodiment of the present invention, the scheduling strategy of preempting the processing time of the message processor by the device connector and the connection receiver avoids that in the case of high concurrency, due to the high load operation of the message processor, it cannot respond to new messages. The event registration request for establishing a connection; at the same time, since the number of requests for event operations is much lower than the number of requests for message processing events, the preemption of message processors will not have a great impact on message processing performance, while improving Transfer speed for connection processing.
在本发明实施例的一个优选实施方式中,消息处理器14可以将数据处理事件分为多个子操作,进而分别按顺序执行各个所述子操作,例如,数据处理事件监听器142负责监听连接上的消息处理事件,当检测到消息处理事件之后,便将消息处理事件交由消息处理调度模块处理144,消息处理调度模块144负责对网络连接上的字节流进行读取、解析、封装操作,并最终将处理结果派发给上级应用处理。通过该实施方式,可以使多条连接上的消息的不同处理步骤同时进行,从而充分利用了处理器多核的性能,加快消息的处理流程,有效地提高了消息处理的吞吐量,大幅提升了网络通讯层的处理性能。In a preferred implementation of the embodiment of the present invention, the message processor 14 can divide the data processing event into a plurality of sub-operations, and then execute each of the sub-operations in order, for example, the data processing event listener 142 is responsible for monitoring the connection After the message processing event is detected, the message processing event will be handed over to the message processing scheduling module for processing 144. The message processing scheduling module 144 is responsible for reading, parsing, and encapsulating the byte stream on the network connection. And finally dispatch the processing result to the superior application for processing. Through this implementation mode, different processing steps of messages on multiple connections can be performed simultaneously, thereby making full use of the performance of multi-core processors, speeding up the processing flow of messages, effectively improving the throughput of message processing, and greatly improving network performance. The processing performance of the communication layer.
图3是根据本发明实施例的RFID设备接口层的通信方法的流程图,如图3所示,本发明实施例中的RFID设备接口层的通信方法包括:Fig. 3 is the flowchart of the communication method of the RFID device interface layer according to the embodiment of the present invention, as shown in Fig. 3, the communication method of the RFID device interface layer in the embodiment of the present invention comprises:
步骤S302,读取连接维护池中存储的一个待建立的连接的信息,如果连接的模式为主动模式,则执行步骤S304,如果连接的模式为被动模式,执行步骤S306;Step S302, read the information of a connection to be established stored in the connection maintenance pool, if the connection mode is the active mode, then perform step S304, if the connection mode is the passive mode, perform step S306;
例如,可以根据读取的连接的信息中是否指定了连接的IP地址和端口号来判断该连接的模式是主动模块还是被动模块。其中,连接维护池中的连接信息可以由上层应用添加。For example, it can be judged whether the mode of the connection is an active module or a passive module according to whether the connected IP address and port number are specified in the read connection information. Wherein, the connection information in the connection maintenance pool can be added by an upper layer application.
在本发明实施例中的具体实施方式中,当连接的的模式为主动模式时,可以先要对连接参数进行初始化,再发起连接,并同时将该连接注册到设备连接器的连接发起事件监听器中。In the specific implementation manner in the embodiment of the present invention, when the connection mode is the active mode, the connection parameters can be initialized first, and then the connection is initiated, and at the same time, the connection is registered to the connection initiation event monitoring of the device connector device.
步骤S304,设备连接器根据该连接的信息发起对RFID设备的连接请求,在检测到RFID设备返回的响应消息后,建立连接,然后抢占消息处理器的资源,将建立的连接的数据处理事件注册到消息处理器,执行步骤S308;Step S304, the device connector initiates a connection request to the RFID device according to the connection information, establishes the connection after detecting the response message returned by the RFID device, then seizes the resources of the message processor, and registers the data processing event of the established connection To the message processor, execute step S308;
为了使连接维护池中存储的连接信息实时更新,在本实施例中,设备连接器在建立连接之后,可以更新连接维护池中存储的连接请求所请求建立的连接的信息。In order to update the connection information stored in the connection maintenance pool in real time, in this embodiment, after the connection is established, the device connector may update the connection information stored in the connection maintenance pool requested by the connection request to be established.
其中,设备连接器中可以设置一个连接发起事件监听器和连接发起事件处理池,连接发起事件监听器在检测到连接发起事件后,将该事件交给负责完成连接操作的连接发起事件处理池,连接发起事件处理池完成该连接的建立后,尝试抢占消息处理器的处理时间。当获取到消息处理器的处理时间后,连接发起事件处理池同时将该连接的数据处理事件注册到消息处理器的数据处理事件监听器中,再执行步骤S308。Among them, a connection initiation event listener and a connection initiation event processing pool can be set in the device connector. After the connection initiation event listener detects the connection initiation event, it will hand over the event to the connection initiation event processing pool responsible for completing the connection operation. After the connection initiation event processing pool completes the establishment of the connection, it tries to preempt the processing time of the message processor. After obtaining the processing time of the message processor, the connection initiation event processing pool simultaneously registers the data processing event of the connection into the data processing event listener of the message processor, and then executes step S308.
步骤S306,连接接收器根据连接的信息,监听预定的端口,在接收到连接请求事件后,建立连接请求事件所请求的连接,抢占消息处理器的资源,将建立的该连接的数据处理事件注册到消息处理器;Step S306, the connection receiver monitors the predetermined port according to the connection information, and after receiving the connection request event, establishes the connection requested by the connection request event, seizes the resources of the message processor, and registers the data processing event of the established connection to the message handler;
例如,可以由连接接收器中的连接接收事件监听器监听连接请求事件,在监听到连接请求事件后,将该事件交给负责接收连接处理的连接接收事件处理池,连接接收事件处理池在完成接收连接的操作之后,同时更新维护池中相应的连接信息,并尝试抢占消息处理器的处理时间。当获取到消息处理器的处理时间后,连接接收事件处理池将该连接的数据处理事件注册到消息处理器的数据处理事件监听器中。For example, the connection request event can be monitored by the connection receiving event listener in the connection receiver. After listening to the connection request event, the event is handed over to the connection receiving event processing pool responsible for receiving the connection processing. After the connection receiving event processing pool is completed After receiving the connection operation, update the corresponding connection information in the maintenance pool at the same time, and try to preempt the processing time of the message processor. After obtaining the processing time of the message processor, the connection receiving event processing pool registers the data processing event of the connection to the data processing event listener of the message processor.
同样,为了使连接维护池中存储的连接信息实时更新,在建立连接请求事件所请求的连接之后,连接接收器还同时更新连接维护池中存储的连接请求所请求建立的连接的信息。Similarly, in order to update the connection information stored in the connection maintenance pool in real time, after the connection requested by the connection request event is established, the connection receiver also simultaneously updates the information of the connection requested by the connection request stored in the connection maintenance pool.
步骤S308,消息处理器监听注册到其中的数据处理事件,并在监听到数据处理事件后,处理数据处理事件。In step S308, the message processor monitors the data processing event registered therein, and processes the data processing event after monitoring the data processing event.
在本发明实施例具体实施方式中,消息处理器处理数据处理事件可以将数据处理事件分为多个子操作的方式,优选地,预设的线程数与子操作数相同。例如,调用预设的多个线程中的一个线程按顺序分别执行各个所述子操作,其中,多个子操作包括:读取、解析、封装和分发从而可以使多条连接上的消息的不同处理步骤同时进行,充分利用现代处理器多核的性能,加快消息的处理流程,有效地提高了消息处理的吞吐量,大幅提升了网络通讯层的处理性能。而多个子操作的方式可以采用对需要处理的数据进行四级流水线进行处理,首先由数据处理事件监听器将接收到的该连接的数据处理事件转交给消息处理调度模块,再由消息处理调度模块分配给预设的多个线程按顺序进行处理,例如,消息处理器对其中一个数据处理事件的处理可以包括以下步骤:In the specific implementation manner of the embodiment of the present invention, the message processor may process the data processing event by dividing the data processing event into multiple sub-operations. Preferably, the preset number of threads is the same as the number of sub-operations. For example, calling one of the preset multiple threads executes each of the sub-operations in sequence, wherein the multiple sub-operations include: reading, parsing, encapsulating and distributing so that different processing of messages on multiple connections can be performed The steps are carried out at the same time, making full use of the multi-core performance of modern processors, speeding up the message processing process, effectively improving the throughput of message processing, and greatly improving the processing performance of the network communication layer. The way of multiple sub-operations can be processed by four-stage pipeline for the data to be processed. First, the data processing event listener will transfer the received data processing event of the connection to the message processing scheduling module, and then the message processing scheduling module Multiple threads assigned to presets are processed sequentially. For example, the processing of one of the data processing events by a message processor may include the following steps:
步骤1,进入四级流水线的第一级处理:读取网络字节流,并将读取结果存入缓存中;Step 1, enter the first-level processing of the four-level pipeline: read the network byte stream, and store the read result in the cache;
步骤2,进入四级流水线的第二级处理:将缓存中的字节流,解析成数据帧;Step 2, enter the second-level processing of the four-level pipeline: parse the byte stream in the cache into a data frame;
步骤3,进入四级流水线的第三级处理:将解析出的数据帧,封装成消息对象;Step 3, enter the third-level processing of the four-level pipeline: encapsulate the parsed data frame into a message object;
步骤4,进入四级流水线的第四级处理:将封装好的消息,派发给上层的应用,以供应用做进一步的处理。Step 4, enter the fourth-level processing of the four-level pipeline: distribute the encapsulated message to the upper-layer application for further processing.
图4是根据本发明优选实施例中的混合模式建立连接流程示意图,结合图2,在本发明实施例中,对于本发明所支持的混合建链模式的RFID设备,其连接建立方法主要包括以下步骤:Fig. 4 is a schematic diagram of a connection establishment process in a mixed mode according to a preferred embodiment of the present invention. In combination with Fig. 2, in the embodiment of the present invention, for the RFID device in the hybrid link establishment mode supported by the present invention, its connection establishment method mainly includes the following step:
步骤401:系统启动后,流程开始;Step 401: After the system is started, the process starts;
步骤402:获取连接维护池中的待建立的连接信息,其中,所有待建立连接的相关信息可以由上层应用负责添加;Step 402: Obtain the information about the connections to be established in the connection maintenance pool, wherein all related information about the connections to be established can be added by the upper layer application;
步骤403:判断获取到的连接信息中是否指定了连接的IP地址和端口号,如果未指定,视为被动连接,进入到步骤404,如果指定,视为主动连接,进入到步骤408;Step 403: Judging whether the connection IP address and port number are specified in the obtained connection information, if not specified, it is regarded as a passive connection, and enters step 404, if specified, it is regarded as an active connection, and enters step 408;
步骤404:连接接收器创建被动模式的连接;Step 404: connect the receiver to create a passive mode connection;
步骤405:注册连接接收事件到连接接收事件监听器,等待设备的建立连接请求;Step 405: register the connection receiving event to the connection receiving event listener, and wait for the connection establishment request of the device;
步骤406:监听到连接接收事件之后,连接接收事件处理池完成连接建立的操作;Step 406: After listening to the connection receiving event, the connection receiving event processing pool completes the connection establishment operation;
步骤407:根据实际连接的情况,并更新连接池中的连接信息之后,进入到步骤411;Step 407: According to the actual connection situation, after updating the connection information in the connection pool, go to step 411;
步骤408:设备连接器创建主动模式的连接;Step 408: the device connector creates a connection in active mode;
步骤409:发起对设备的连接请求,并注册连接发起事件到连接发起事件监听器,等待设备的建链响应;Step 409: Initiate a connection request to the device, register a connection initiation event to the connection initiation event listener, and wait for a link establishment response from the device;
步骤410:得到设备的响应之后,连接发起事件处理池完成连接的建立;Step 410: After getting the response from the device, the connection initiation event processing pool completes the establishment of the connection;
步骤411:抢占消息事件处理器的处理事件,使其释放资源;Step 411: Preempting the processing event of the message event handler to release resources;
步骤412:将消息处理事件注册到消息事件处理器;Step 412: Register the message processing event to the message event handler;
步骤413:释放消息事件处理器的资源,将其交回给消息事件处理器;Step 413: release the resources of the message event handler and hand them back to the message event handler;
步骤414:判断系统的运行状态,若系统继续运行,返回到步骤402,否则进入到步骤415;Step 414: Determine the operating status of the system, if the system continues to operate, return to step 402, otherwise enter step 415;
步骤415:停止处理,流程结束。Step 415: Stop processing, and the flow ends.
图5是根据本发明实施例的消息处理器抢占策略示意图,如图5所示,对于连接建立成功的设备连接器或者连接接收器,消息处理器对其上报的连接发起事件或连接接收事件按照以下的数据处理流程进行处理:Fig. 5 is a schematic diagram of a message processor preemption strategy according to an embodiment of the present invention. As shown in Fig. 5, for a device connector or a connection receiver whose connection is successfully established, the message processor reports a connection initiation event or a connection reception event according to The following data processing procedures are processed:
步骤501:系统启动后,流程开始;Step 501: After the system is started, the process starts;
步骤502:获取处理数据所需资源;Step 502: Obtain resources required for data processing;
步骤503:监听连接的消息处理事件,待连接上报消息之后,将监听到的消息处理事件交于消息处理池处理;Step 503: Monitor the message processing event of the connection, and after the connection reports the message, hand over the monitored message processing event to the message processing pool for processing;
步骤504:消息处理池处理消息;Step 504: the message processing pool processes the message;
步骤505:检测是否有设备连接器或连接接收器抢占其所占有的资源,如果存在抢占请求,则执行步骤506,如果不存在抢占请求,则执行步骤507;Step 505: Detect whether there is a device connector or connection receiver preempting its occupied resources, if there is a preemption request, perform step 506, if there is no preemption request, then perform step 507;
步骤506:释放所占有的资源,暂停处理;Step 506: Release the occupied resources and suspend processing;
步骤507:判断系统的运行状态,若系统继续运行,返回到步骤502,否则进入到步骤508;Step 507: Determine the operating status of the system, if the system continues to operate, return to step 502, otherwise enter step 508;
步骤508:停止处理,流程结束。Step 508: Stop processing, and the flow ends.
图6是根据本发明优选实施例的消息处理四级流水线的结构示意图,如图6所示,本发明实施例的消息处理器中的消息处理调度模块采用的消息处理四级流水线的结构对上报到消息处理器的消息处理事件进行处理,具体包括:6 is a schematic structural diagram of a four-stage message processing pipeline according to a preferred embodiment of the present invention. As shown in FIG. The message processing event to the message processor is processed, including:
将消息的处理的过程拆分为四步操作,分别为:读取、解析、封装和分发,其中,读取操作负责读取设备发送的字节流,并将其缓存;解析操作负责扫描缓存中的数据,查找帧头、帧尾,解析一帧;封装操作负责将帧数据封装成上层应用所需的对象或结构;分发操作负责将封装好的对象或结构交付给上层应用来处理。The process of message processing is divided into four steps: reading, parsing, encapsulation and distribution. Among them, the reading operation is responsible for reading the byte stream sent by the device and caching it; the parsing operation is responsible for scanning the cache The data in the frame is searched for the frame header and frame tail, and a frame is parsed; the encapsulation operation is responsible for encapsulating the frame data into the object or structure required by the upper-layer application; the distribution operation is responsible for delivering the encapsulated object or structure to the upper-layer application for processing.
在本发明实施例的具体实施方式中,需要将整个消息处理过程分为四个步骤来处理,虽然对于单个的消息解析,其处理速度比直接处理要慢一些,但在消息高并发、数据量大的情况下,流水线方式的处理就显示出其优势,例如,平均一条消息的处理时间,约为原有消息处理方式的1/4,可有效地增加系统的吞吐量,提高系统的网络性能。In the specific implementation of the embodiment of the present invention, the entire message processing process needs to be divided into four steps for processing, although for a single message analysis, its processing speed is slower than direct processing, but in the case of high message concurrency and data volume In large cases, pipeline processing shows its advantages. For example, the average processing time of a message is about 1/4 of the original message processing method, which can effectively increase the throughput of the system and improve the network performance of the system. .
从以上的描述中,可以看出,本发明实现了如下技术效果:From the above description, it can be seen that the present invention achieves the following technical effects:
通过支持RFID设备混合建立连接的模式以及统一的连接维护池进行管理的方式,同时使用统一的消息处理器对连接进行处理的方法,采用射频识别设备接口层的通信装置,一方面保证了不同通讯模式的设备都能够与应用建立起连接,另一方面使不同模式的连接能够进行统一的维护和处理,从而降低了系统维护不同模式连接的开发难度和系统的复杂度,并有效提高了系统的性能。并且,在本发明实施例中,由设备连接器和连接接收器抢占消息处理器处理时间,从而避免了在高并发的情况下,由于消息处理器的高负荷运转,而无法响应新建立连接的事件注册请求;同时,由于事件操作的请求数远低于消息处理事件的请求数,因此,对消息处理器的抢占,并不会对消息处理性能造成很大的影响,同时提高了连接处理的转移速度。另外,本发明实施例中,在对数据处理事件进行处理时,将数据处理事件(即消息)的处理流程拆分多个子步骤,并引入多级流水线的处理模式,使多条连接上的消息的不同处理步骤同时进行,充分利用现代处理器多核的性能,加快消息的处理流程,有效地提高了消息处理的吞吐量,大幅提升了网络通讯层的处理性能。By supporting the mixed connection establishment mode of RFID equipment and the unified connection maintenance pool management method, and using the unified message processor to process the connection, the communication device of the interface layer of the radio frequency identification equipment is adopted, on the one hand, different communication is guaranteed Devices in different modes can establish connections with applications. On the other hand, connections in different modes can be maintained and processed in a unified manner, thereby reducing the development difficulty of maintaining different modes of connection and the complexity of the system, and effectively improving the system. performance. Moreover, in the embodiment of the present invention, the processing time of the message processor is preempted by the device connector and the connection receiver, thereby avoiding the failure to respond to the newly established connection in the case of high concurrency due to the high load operation of the message processor. Event registration requests; at the same time, since the number of requests for event operations is far lower than the number of requests for message processing events, the preemption of message processors will not have a great impact on message processing performance, and at the same time improve the connection processing. transfer speed. In addition, in the embodiment of the present invention, when processing a data processing event, the processing flow of the data processing event (that is, a message) is split into multiple sub-steps, and a multi-stage pipeline processing mode is introduced, so that multiple connected messages Different processing steps are carried out at the same time, making full use of the multi-core performance of modern processors, speeding up the message processing process, effectively improving the throughput of message processing, and greatly improving the processing performance of the network communication layer.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (12)
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 true CN102693434A (en) | 2012-09-26 |
CN102693434B CN102693434B (en) | 2015-01-28 |
Family
ID=46858850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110069850.3A Expired - Fee Related 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103684909A (en) * | 2013-11-30 | 2014-03-26 | 广州西维尔计算机系统有限公司 | Method for processing messages on basis of event sources |
CN107657530A (en) * | 2016-07-25 | 2018-02-02 | 武汉票据交易中心有限公司 | The processing method and system of a kind of operation flow |
CN107203545B (en) * | 2016-03-17 | 2021-01-26 | 创新先进技术有限公司 | Data processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060006231A1 (en) * | 2004-07-09 | 2006-01-12 | Psc Scanning, Inc. | Portable data reading device with integrated web server for configuration and data extraction |
CN101373509A (en) * | 2008-10-10 | 2009-02-25 | 华南理工大学 | A Kind of RFID Middleware 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 |
-
2011
- 2011-03-22 CN CN201110069850.3A patent/CN102693434B/en not_active Expired - Fee Related
- 2011-06-21 WO PCT/CN2011/076021 patent/WO2012126212A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060006231A1 (en) * | 2004-07-09 | 2006-01-12 | Psc Scanning, Inc. | Portable data reading device with integrated web server for configuration and data extraction |
CN101373509A (en) * | 2008-10-10 | 2009-02-25 | 华南理工大学 | A Kind of RFID Middleware 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 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103684909A (en) * | 2013-11-30 | 2014-03-26 | 广州西维尔计算机系统有限公司 | Method for processing messages on basis of event sources |
CN107203545B (en) * | 2016-03-17 | 2021-01-26 | 创新先进技术有限公司 | Data processing method and device |
CN107657530A (en) * | 2016-07-25 | 2018-02-02 | 武汉票据交易中心有限公司 | The processing method and system of a kind of operation flow |
Also Published As
Publication number | Publication date |
---|---|
WO2012126212A1 (en) | 2012-09-27 |
CN102693434B (en) | 2015-01-28 |
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 | |
US11716264B2 (en) | In situ triggered function as a service within a service mesh | |
WO2021042840A1 (en) | Data processing method and apparatus, server, and computer-readable storage medium | |
CN102571568B (en) | Task processing method and device | |
CN104468638B (en) | A kind of distributed data processing method and system | |
CN105141603B (en) | Communication data transmission method and system | |
CN108810170A (en) | resource allocation method and system | |
CN111490963A (en) | Data processing method, system, equipment and storage medium based on QUIC protocol stack | |
CN105515837A (en) | Event-driven high-concurrency WEB traffic generator | |
CN112929210A (en) | Method and system for gateway routing application plug-in built on WebFlux framework and application of gateway routing application plug-in | |
CN102693434B (en) | Communication apparatus and method for interface layer of radio frequency identification device | |
CN112104679A (en) | Method, apparatus, device and medium for processing hypertext transfer protocol request | |
CN102761545B (en) | Service processing method, service processor and service processing system | |
CN103441952B (en) | Based on multinuclear or the processing method of network data packets of many-core flush bonding processor | |
CN105245579B (en) | A kind of distribution network system mass data Communication processing method and system | |
CN100512132C (en) | Method for implementing service logic operation environment | |
CN104714783B (en) | task processing method and device | |
CN111796906A (en) | Container management method, device, equipment and storage medium | |
CN103034545A (en) | Communication framework and method based on ACE (adaptive communication environment) and communication method among function modules | |
CN117478524A (en) | Method, device, equipment and medium for server simulation test | |
CN115412500B (en) | Asynchronous communication method, system, medium and equipment supporting load balancing strategy | |
CN111240867B (en) | Information communication system and method | |
CN108319505A (en) | Network data communication system and method based on IOCP mechanism combinations pond fragment | |
CN115098283A (en) | An IPC message processing method, system, storage medium and device | |
CN104717300A (en) | Task processing method and 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150128 |
|
CF01 | Termination of patent right due to non-payment of annual fee |