[go: up one dir, main page]

CN103927633B - A kind of Item Information traceability system perceived with relevance and method - Google Patents

A kind of Item Information traceability system perceived with relevance and method Download PDF

Info

Publication number
CN103927633B
CN103927633B CN201410186414.8A CN201410186414A CN103927633B CN 103927633 B CN103927633 B CN 103927633B CN 201410186414 A CN201410186414 A CN 201410186414A CN 103927633 B CN103927633 B CN 103927633B
Authority
CN
China
Prior art keywords
rfid
information
query
data
server
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.)
Expired - Fee Related
Application number
CN201410186414.8A
Other languages
Chinese (zh)
Other versions
CN103927633A (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.)
Computer Network Information Center of CAS
Original Assignee
Computer Network Information Center of CAS
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 Computer Network Information Center of CAS filed Critical Computer Network Information Center of CAS
Priority to CN201410186414.8A priority Critical patent/CN103927633B/en
Publication of CN103927633A publication Critical patent/CN103927633A/en
Application granted granted Critical
Publication of CN103927633B publication Critical patent/CN103927633B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开一种具有关联性感知的物品信息追溯系统及方法。信息服务器通过捕获接口接受中间件处理后的RFID原始数据;结合逻辑处理形成RFID标识数据存储在信息数据库中;通过注册接口将RFID映射数据发布到发现服务器;通过查询接口向应用开放RFID标识数据的共享查询。发现服务器通过注册接口接受信息服务器的RFID映射数据发布;经过关联性分析后将RFID映射数据存储在映射数据库内;通过通信接口提供不同发现服务器之间的RFID映射数据共享;通过查询接口向应用开放RFID映射数据的查询。本发明在充分考虑物品间组合或者拆分等包容关系改变导致RFID数据产生动态关联的基础上,保证了追溯查询结果的完整性。

The invention discloses an article information traceability system and method with correlation perception. The information server accepts the raw RFID data processed by the middleware through the capture interface; combines logic processing to form RFID identification data and stores it in the information database; publishes the RFID mapping data to the discovery server through the registration interface; opens the RFID identification data to the application through the query interface Shared query. The discovery server accepts the release of RFID mapping data from the information server through the registration interface; stores the RFID mapping data in the mapping database after correlation analysis; provides sharing of RFID mapping data between different discovery servers through the communication interface; opens to applications through the query interface Query for RFID mapping data. The present invention ensures the integrity of the retrospective query results on the basis of fully considering the dynamic association of RFID data caused by the change of inclusive relationship such as combination or split among items.

Description

一种具有关联性感知的物品信息追溯系统及方法An item information traceability system and method with correlation perception

技术领域technical field

本发明属于计算机网络技术领域,具体涉及一种具有关联性感知的物品信息追溯系统及方法。The invention belongs to the technical field of computer networks, and in particular relates to an article information traceability system and method with correlation perception.

背景技术Background technique

国际标准化组织GS1对可追溯性(Traceability)给出了一个明确的定义,即能否通过标识记录来查询验证一个物品的历史、位置以及其它应用情况。由此可知,追溯服务最为关注的核心问题包括两点,即怎样标识一个物品以及如何查找相应的标识记录数据。The International Organization for Standardization GS1 has given a clear definition of traceability, that is, whether the history, location and other application conditions of an item can be queried and verified through identification records. It can be seen that the core issues that traceability services are most concerned about include two points, that is, how to identify an item and how to find the corresponding identification record data.

射频标识技术(Radio-frequency identification,RFID)正是这样一种无需直接接触的自动化标识与数据采集技术,可用来追踪和定位目标对象。其主要特点是:Radio-frequency identification technology (Radio-frequency identification, RFID) is such an automatic identification and data collection technology without direct contact, which can be used to track and locate target objects. Its main features are:

1)针对唯一标识问题:采用RFID技术作为物品标识手段,与传统的一维条码、二维条码相比,最大的优点莫过于可通过无线射频信号自动识别目标对象并获取相关数据,整个识别过程基本上无需人工干预。1) For the unique identification problem: using RFID technology as the means of item identification, compared with traditional one-dimensional barcodes and two-dimensional barcodes, the biggest advantage is that it can automatically identify target objects and obtain relevant data through radio frequency signals. The entire identification process Virtually no human intervention is required.

2)针对标识记录查找问题:可以选择基于“data-on-tag”模式,将标识记录直接存储在RFID标签中;也可以选择基于“data-on-network”模式,将标识记录存储在网络中,再用RFID标识和网络存储地址之间的映射关系作为搜索的路由提示。2) For the identification record search problem: you can choose to store the identification record directly in the RFID tag based on the "data-on-tag" mode; you can also choose to store the identification record in the network based on the "data-on-network" mode , and then use the mapping relationship between the RFID identifier and the network storage address as the routing prompt for the search.

因此,RFID技术近年来受到了学术界和产业界的高度关注,已经被广泛运用于物流管理、食品溯源、防伪验证、产品召回等许多应用领域,从而形成了一个可以用于实现全球范围内物品追踪和定位的泛在网络。Therefore, RFID technology has received high attention from academia and industry in recent years, and has been widely used in many application fields such as logistics management, food traceability, anti-counterfeiting verification, product recall, etc. A ubiquitous network for tracking and location.

目前,基于RFID技术提供追溯服务的系统,主要包括EPCglobal组织提出的EPCglobal网络,DIALOG系统,以及ePedigree体系等。但是现有方案普遍缺乏对RFID数据间关联性的考虑,导致追溯的服务质量(完整性)受到影响。已有方案的不足之处在于对RFID数据之间的包容关联性缺乏重视,仅将包容关联性作为一种RFID数据压缩的基础,而在进行追溯的过程中没有考虑加入对包容关联性的分析。这就导致如果查询功能涉及到数据间的关联性,现有方案就无法保证查询结果的完整性。At present, systems that provide traceability services based on RFID technology mainly include the EPCglobal network proposed by the EPCglobal organization, the DIALOG system, and the ePedigree system. However, the existing schemes generally lack the consideration of the correlation between RFID data, which leads to the impact on the traceability service quality (integrity). The disadvantage of the existing schemes is that they do not pay enough attention to the inclusive correlation between RFID data, and only use the inclusive correlation as a basis for RFID data compression, but do not consider the analysis of inclusive correlation in the process of traceability. . As a result, if the query function involves the correlation between data, the existing scheme cannot guarantee the integrity of the query results.

如附图1所示,以基于RFID技术的药品监管应用为例。药品的完整生命周期包括“生产-运输-销售-使用”四个阶段。假设供应链的每一个参与者,从生产商、大分销商、小分销商、零售商到购买者都独立维护自己的信息数据。RFID标签采用EPC编码,单品(item)本身以及承载单品的箱子(case)、集装箱托盘(pallet)将被分别贴上不同的RFID标签。单品(标识为SGTIN1)在<L1,T2>先被装入一个箱子(标识为SSCC1),然后箱子在<L2,T4>被放置在集装箱托盘上(标识为SSCC2)。当物品被从大型的分销商转手给小型的分销商后,又经历了另一个集装箱托盘(标识为SSCC3)的封装。最终单品被销售给普通购买者。这样,RFID数据可能被分散到多个不同的服务器中存储,标签之间就会存在动态的包容关联性。对普通用户而言,并不知道物品在供应链上经过的组合以及拆分过程。As shown in Figure 1, the drug supervision application based on RFID technology is taken as an example. The complete life cycle of a drug includes four stages of "production-transportation-sales-use". Assume that every participant in the supply chain, from manufacturers, large distributors, small distributors, retailers to buyers, maintains its own information data independently. The RFID tag adopts EPC code, and the item itself, the case and the pallet carrying the item will be affixed with different RFID tags. A single item (identified as SGTIN1) is first packed into a box (identified as SSCC1) at <L1, T2>, and then the box is placed on a container pallet (identified as SSCC2) at <L2, T4>. After the item is transferred from a large distributor to a small distributor, it undergoes packaging in another container pallet (identified as SSCC3). The final item is sold to ordinary buyers. In this way, RFID data may be distributed to multiple different servers for storage, and there will be dynamic containment associations between tags. For ordinary users, they do not know the combination and disassembly process of items in the supply chain.

比如药品监管机构接到群众举报,发现单品标识为SGTIN1的药物虽然尚未超过有效期,但已经变质失去药效。经过分析,药品变质最可能的原因是在运输途中没有保证始终存放在2~10℃的低温环境。为了定位到变质情况发生的具体位置和相关责任人,以求在今后的运输中避免再发生类似的问题,就需要追溯查询药品运输过程中在每一个物流仓库存储时的温度数据。如果药品都是装入大型货箱统一运输,各仓库都保留了货箱的历史记录。那么仅查询标识SGTIN1所关联的物品信息数据,就无法解决这一实际需求。For example, the drug regulatory agency received reports from the masses and found that although the drug with the single product label SGTIN1 has not expired, it has deteriorated and lost its efficacy. After analysis, the most likely reason for the deterioration of the drug is that it was not guaranteed to be stored in a low temperature environment of 2-10°C during transportation. In order to locate the specific location of the deterioration and the relevant responsible person, so as to avoid similar problems in future transportation, it is necessary to trace the temperature data of each logistics warehouse during the transportation of medicines. If the medicines are transported uniformly in large containers, each warehouse keeps the historical records of the containers. Then only querying the item information data associated with the identifier SGTIN1 cannot solve this actual demand.

发明内容Contents of the invention

本发明针对上述问题,提供一种具有关联性感知的物品信息追溯系统以及相应的追溯查询方法,在充分考虑物品间组合或者拆分等包容关系改变导致RFID数据产生动态关联的基础上,保证追溯查询结果的完整性。在用户仅输入单品标识的情况下,不仅返回该标识的相关物品信息,还能够返回全部与该物品发生过具有时态特征的容器信息。Aiming at the above problems, the present invention provides an item information traceability system with correlation perception and a corresponding traceability query method, which ensures traceability on the basis of fully considering the dynamic association of RFID data caused by changes in the inclusive relationship between items such as combination or split. Integrity of query results. In the case where the user only inputs the item ID, not only the related item information of the ID is returned, but also all container information with temporal characteristics that have occurred with the item.

本发明采用的技术方案如下:The technical scheme that the present invention adopts is as follows:

一种具有关联性感知的物品信息追溯系统,其包括至少一个发现服务器和至少一个信息服务系统;An item information traceability system with relevance perception, which includes at least one discovery server and at least one information service system;

所述发现服务器包括:The discovery server includes:

注册接口,与所述信息服务系统中的信息服务器连接以接收RFID映射数据发布;The registration interface is connected with the information server in the information service system to receive the RFID mapping data release;

查询接口,向应用程序开放以进行RFID映射数据的查询;Query interface, open to applications for querying RFID mapping data;

查询处理模块,用于处理针对RFID标识的查询请求;A query processing module, configured to process a query request for RFID identification;

关联性分析模块,用于分析物品RFID标识的映射数据之间可能存在的包容关系,进行关联性分析;The correlation analysis module is used to analyze the containment relationship that may exist between the mapping data of the item RFID identification, and perform correlation analysis;

映射数据库,用于存储经关联性分析得到的物品RFID身份标识与存储物品信息的信息服务器地址标识之间的映射关系;The mapping database is used to store the mapping relationship between the RFID identification of the item obtained through correlation analysis and the address identification of the information server storing the item information;

所述信息服务系统包括:The information service system includes:

阅读器,用于通过无线射频通信方式获取RFID标签中承载的物品身份标识;The reader is used to obtain the item identification carried in the RFID tag through radio frequency communication;

中间件,用于对阅读器获取的原始RFID数据进行预处理,并形成具有一定语义的RFID事件;The middleware is used to preprocess the raw RFID data acquired by the reader and form RFID events with certain semantics;

信息服务器,包括:注册接口,与所述发现服务器的注册接口连接以进行RFID映射数据的注册发布;捕获接口,与中间件连接以接收其上传的RFID标识;查询接口,向应用程序开放以进行RFID标识数据的共享查询;信息数据库,用于存储经中间件处理后的RFID标识数据。The information server includes: a registration interface, which is connected with the registration interface of the discovery server to register and issue the RFID mapping data; a capture interface, which is connected with the middleware to receive the RFID identification uploaded by it; a query interface, which is opened to the application program to perform Shared query of RFID identification data; information database for storing RFID identification data processed by middleware.

进一步地,所述发现服务器还包括通信接口,向其他发现服务器开放,进行发现服务器之间的映射数据共享。Further, the discovery server also includes a communication interface, which is open to other discovery servers for sharing mapping data between discovery servers.

进一步地,所述发现服务器还包括过滤模块,用于利用时间属性信息对所述关联性分析进行过滤,避免信息冗余。Further, the discovery server further includes a filtering module, configured to use time attribute information to filter the association analysis to avoid information redundancy.

进一步地,所述阅读器对原始RFID数据进行的预处理包括过滤处理、去重处理。Further, the preprocessing performed by the reader on the original RFID data includes filtering processing and deduplication processing.

一种采用上述系统的具有关联性感知的物品信息追溯方法,其步骤包括:A method for tracing item information with correlation perception using the above-mentioned system, the steps of which include:

1)信息拥有者向发现服务器注册所拥有的RFID事件记录,同时公布相应的安全策略;1) The information owner registers the RFID event records owned by the discovery server, and announces the corresponding security policy at the same time;

2)查询请求者向所述发现服务器发起针对RFID标识的查询请求,同时提交身份权能凭证;2) The query requester initiates a query request for the RFID identification to the discovery server, and submits the identity capability certificate at the same time;

3)所述发现服务器检索以步骤2)所述RFID标识为关键字的映射记录,并进行关联性分析,查找该RFID标识关联的容器标识的映射记录;3) The discovery server retrieves the mapping record with the RFID identification as the key in step 2), and performs correlation analysis to find the mapping record of the container identification associated with the RFID identification;

4)所述发现服务器检验查询者是否对所述RFID标识对应的信息数据具有合法的访问权限;如果是授权的合法用户则向查询请求者返回可访问的相关地址列表,否则拒绝提供服务或者直接丢弃查询请求;4) The discovery server checks whether the inquirer has legal access rights to the information data corresponding to the RFID identification; if it is an authorized legal user, it returns an accessible list of relevant addresses to the query requester, otherwise it refuses to provide services or directly Discard the query request;

5)根据步骤4)获取的所述地址列表,查询请求者与地址对应的所有信息服务器并建立通信连接,同时向所述所有信息服务器分别提交身份权能凭证;5) According to the address list obtained in step 4), inquire about all information servers corresponding to the address of the requester and establish a communication connection, and simultaneously submit identity certificates to all information servers respectively;

6)所有信息服务器认证通过后,将RFID标识所关联物品的信息数据返回给查询请求者。6) After all the information servers pass the authentication, the information data of the items associated with the RFID tags will be returned to the query requester.

本发明提出了一种新的追溯系统架构,包括RFID标签、阅读器、中间件、信息服务、发现服务以及应用;建立了追溯信息的数据结构,包括阅读器的原始记录、信息服务器中存储的标识记录以及查询所需的映射记录等;提出了一种改进的发现服务模型(目录服务模型),加入了RFID数据的关联性分析模块以及冗余数据过滤模块;以及相应的追溯查询算法:根据用户输入的单品标识,返回该标识的相关物品信息,以及全部与该物品发生过具有时态特征的容器物品的信息。与现有技术相比,本发明在用户仅输入单品标识的情况下,不仅返回该标识的相关物品信息,还能够返回全部与该物品发生过具有时态特征的容器信息;在保证查询结果完整性的同时,也确保其准确性,通过时间属性过滤,避免冗余。The present invention proposes a new traceability system architecture, including RFID tags, readers, middleware, information services, discovery services, and applications; the data structure of traceability information is established, including the original records of the readers, the information stored in the information server Identification records and mapping records required for query, etc.; an improved discovery service model (directory service model) is proposed, and a correlation analysis module of RFID data and a redundant data filtering module are added; and the corresponding retrospective query algorithm: According to The item ID entered by the user will return the related item information of the ID, as well as the information of all container items with temporal characteristics that have occurred with the item. Compared with the prior art, the present invention not only returns the related item information of the item when the user only inputs the item ID, but also returns all container information with temporal characteristics that have occurred with the item; while ensuring that the query results While ensuring completeness, it also ensures its accuracy, and filters through time attributes to avoid redundancy.

附图说明Description of drawings

图1为基于RFID技术的药品监管应用示意图;Figure 1 is a schematic diagram of the application of drug supervision based on RFID technology;

图2为具有关联性感知的追溯系统架构图;Figure 2 is a traceability system architecture diagram with correlation perception;

图3为追溯信息的数据结构示例图;Figure 3 is an example diagram of the data structure of traceability information;

图4为具有关联性感知的追溯方法的示意图;Fig. 4 is a schematic diagram of a traceability method with correlation perception;

图5为加入关联性分析的追溯查询的流程图。Fig. 5 is a flow chart of retrospective query with correlation analysis added.

具体实施方式Detailed ways

下面通过具体实施例和附图,对本发明做进一步说明。The present invention will be further described below through specific embodiments and accompanying drawings.

1.追溯系统的架构1. Architecture of traceability system

图2所示为具有关联性感知的物品信息追溯系统的架构图,包括发现服务器(或称发现服务模块)、两个独立的信息服务系统(分别对应公司A和公司B),发现服务器分别与两个独立的信息服务系统通过注册接口相连。任一独立的信息服务系统包括信息服务器、中间件、阅读器及标签,阅读器通过无线射频通信方式获取标签中承载的物品身份标识,阅读器与中间件相连,中间件与信息服务器及ERP系统相连。Figure 2 shows the architecture diagram of the item information traceability system with correlation perception, including the discovery server (or discovery service module), two independent information service systems (corresponding to company A and company B respectively), and the discovery server and Two independent information service systems are connected through the registration interface. Any independent information service system includes information server, middleware, reader and label. The reader obtains the item identification carried by the label through radio frequency communication. The reader is connected with the middleware, and the middleware is connected with the information server and ERP system. connected.

其中追溯系统的核心是信息服务器(Information Service)和发现服务器(Discovery Service),在此基础上辅助其它应用程序实现追溯查询、定位查询、防伪认证等功能。Among them, the core of the traceability system is the Information Service and the Discovery Service. On this basis, it assists other applications to realize functions such as traceability query, location query, and anti-counterfeiting authentication.

如图2所示,发现服务器具体包括注册接口、查询接口、通信接口、查询处理模块、关联性分析模块、过滤模块和映射数据库。查询处理模块用于用于处理查询请求者发起的针对RFID标识的查询请求。映射数据库用于存储物品身份标识与存储详细物品信息的信息服务器地址标识之间的映射关系。关联性分析模块用于分析标识映射数据之间可能存在的包容关系。过滤模块用于借助时间属性信息对上述关联分析进行过滤,避免信息冗余。信息服务系统包括阅读器、中间件和信息服务器。阅读器用于通过无线射频通信方式获取RFID标签中承载的物品身份标识。中间件用于对阅读器获取的原始RFID数据进行过滤、去重等预处理,并形成具有一定语义的RFID事件。信息服务器包括:注册接口、捕获接口、查询接口和信息数据库。As shown in Figure 2, the discovery server specifically includes a registration interface, a query interface, a communication interface, a query processing module, a correlation analysis module, a filtering module and a mapping database. The query processing module is used for processing the query request for the RFID identification initiated by the query requester. The mapping database is used to store the mapping relationship between the item ID and the address ID of the information server storing the detailed item information. The association analysis module is used to analyze the containment relationship that may exist between the identity mapping data. The filtering module is used to filter the above association analysis with the help of time attribute information to avoid information redundancy. The information service system includes readers, middleware and information servers. The reader is used to obtain the item identification carried in the RFID tag through radio frequency communication. The middleware is used to perform preprocessing such as filtering and deduplication on the original RFID data acquired by the reader, and form RFID events with certain semantics. Information server includes: registration interface, capture interface, query interface and information database.

信息服务器通过捕获接口,接受中间件处理后的RFID原始数据上传;结合逻辑处理后,形成RFID标识数据,存储在信息服务器的信息数据库中;通过注册接口,将RFID映射数据发布到发现服务器;通过查询接口,向应用开放RFID标识数据的共享查询。发现服务器通过注册接口,接受信息服务器的RFID映射数据发布;经过关联性分析后,将RFID映射数据存储在发现服务器的映射数据库内;通过通信接口,提供不同发现服务器之间的RFID映射数据共享;通过查询接口,向应用开放RFID映射数据的查询。Through the capture interface, the information server accepts the upload of the original RFID data processed by the middleware; after combining logical processing, the RFID identification data is formed and stored in the information database of the information server; through the registration interface, the RFID mapping data is released to the discovery server; through Query interface, which opens shared query of RFID identification data to applications. The discovery server accepts the release of the RFID mapping data of the information server through the registration interface; after correlation analysis, stores the RFID mapping data in the mapping database of the discovery server; provides sharing of RFID mapping data between different discovery servers through the communication interface; Through the query interface, the query of the RFID mapping data is opened to the application.

具体来讲,当物品进入阅读器识读范围后,阅读器即可通过无线射频通信自动获取电子标签中承载的物品身份标识,从而生成原始的RFID标识数据。为了去除数据冗余,需要先经过中间件的去重、过滤等预处理操作,并结合企业信息系统中其它的物品相关信息,形成具有一定语义的RFID事件,再最后存入信息服务器。但是不同于互联网中可借助网页间超链接关系抓取网页信息的搜索服务,RFID网络中的数据源是含有企业机密的信息服务器,追溯查询只面向经过授权的合作方开放。所以要想在全局范围内实现对RFID数据信息的灵活追溯,基本前提是信息拥有者需要将一定的索引信息,即RFID数据与所在数据源之间的映射关系,发布到索引服务器供其它节点查询。为了保证信息拥有者的隐私性,同时也需要发布相应的安全策略。从实现角度看,信息服务和发现服务的基础设施都可以由大型企业或者公司自行维护,发现服务作为一种纽带性的联通信息服务也可以由第三方进行托管。Specifically, when an item enters the reading range of the reader, the reader can automatically obtain the item identification carried in the electronic tag through radio frequency communication, thereby generating the original RFID identification data. In order to remove data redundancy, it is necessary to go through pre-processing operations such as deduplication and filtering of middleware, and combine other item-related information in the enterprise information system to form RFID events with certain semantics, and finally store them in the information server. However, unlike the search service on the Internet that can use the hyperlink relationship between web pages to grab web page information, the data source in the RFID network is an information server containing corporate secrets, and retrospective inquiries are only open to authorized partners. Therefore, in order to achieve flexible traceability of RFID data information on a global scale, the basic premise is that the information owner needs to publish certain index information, that is, the mapping relationship between RFID data and the data source, to the index server for other nodes to query . In order to ensure the privacy of information owners, it is also necessary to issue corresponding security policies. From the perspective of implementation, the infrastructure of information service and discovery service can be maintained by large enterprises or companies, and discovery service, as a linking Unicom information service, can also be hosted by a third party.

2.追溯信息的数据结构2. Data structure of traceability information

追溯中所涉及的数据可以划分为三类,分别是阅读器读取电子标签的原始记录,信息服务器中存储的RFID事件记录,以及发现服务器中存储的索引信息记录。发现服务器根据查询请求,利用返回的数据生成设有该RFID标签的商品的位置信息或运行轨迹。具体来说,所涉及的各种数据如图3所示,分别说明如下:The data involved in the traceability can be divided into three categories, namely the original record of the reader reading the electronic tag, the RFID event record stored in the information server, and the index information record stored in the discovery server. According to the query request, the discovery server uses the returned data to generate the location information or running track of the commodity with the RFID tag. Specifically, the various data involved are shown in Figure 3, and are described as follows:

1)原始记录(Initial_record):未经处理的原始观测数据包括三个维度的属性,即观测目标oid,观测事件发生时间eventTime和观测地点readPoint。1) Original record (Initial_record): The unprocessed original observation data includes three-dimensional attributes, namely the observation target oid, the observation event occurrence time eventTime and the observation location readPoint.

2)物品信息(Thing_information):除了反映RFID标签是否在某一时间出现在某一位置的签到信息外,基于RFID网络的物联网应用通常还需要关注标签所附着对象的其它属性信息,例如物品类型、产地等,从而提供更复杂的查询响应。这些应用数据可以统一抽象为“键-值”对的形式<propertyID,propertyValue>。2) Item information (Thing_information): In addition to the check-in information reflecting whether the RFID tag appears at a certain location at a certain time, IoT applications based on RFID networks usually need to pay attention to other attribute information of the object to which the tag is attached, such as item type , place of origin, etc., thereby providing more complex query responses. These application data can be uniformly abstracted into the form of "key-value" pair <propertyID, propertyValue>.

3)事件记录(event_record):经过中间件处理程序,整合原始记录和物品信息后可以形成有意义的RFID事件记录。根据是否发生包容关系转变,又可以分为普通的观测事件(Observation_event)和聚合事件(Aggregation_event)。后者的观测对象包括单品标识cid和容器标识pid,并增加了事件行为的概念,action选项可以取值为“add”(组合)或者“delete”(分解)。阅读器读取的RFID标签原始信息中含有专门的字段,来表示是观测事件还是聚合事件,以标识是否发生包容关系转变。3) Event record (event_record): Through the middleware processing program, a meaningful RFID event record can be formed after integrating the original record and item information. According to whether the containment relationship changes, it can be divided into ordinary observation events (Observation_event) and aggregation events (Aggregation_event). The observation objects of the latter include the item identifier cid and the container identifier pid, and the concept of event behavior is added. The action option can take the value of "add" (combination) or "delete" (decomposition). The original information of the RFID tag read by the reader contains a special field to indicate whether it is an observation event or an aggregation event, so as to identify whether a containment relationship transition occurs.

4)映射记录(map_record):发现服务器的映射数据库中存储映射记录即索引信息,这些索引信息只是信息服务器中详细物品信息的一个简单摘要。这种映射关系的核心就是作为键值的对象标识oid和存储相关事件记录的信息源地址map。为了增加对数据间包容关联性的分析,还保存了可能的行为属性action和事件发生的时间eventTime。如果action取值为空,说明只是普通的观测事件,则容器标识pid也为空。注册者向发现服务器注册,注册者的地址就是这里的源地址。发现服务器在接受到注册信息后,即可生成对应的映射记录。4) Mapping record (map_record): The mapping record, namely index information, is stored in the mapping database of the discovery server, and the index information is just a simple summary of the detailed item information in the information server. The core of this mapping relationship is the object identifier oid as a key value and the information source address map that stores related event records. In order to increase the analysis of the inclusive correlation between data, the possible behavior attribute action and eventTime when the event occurs are also saved. If the value of action is empty, it means that it is just a common observation event, and the container identifier pid is also empty. The registrant registers with the discovery server, and the address of the registrant is the source address here. After the discovery server receives the registration information, it can generate the corresponding mapping record.

5)发布者信息(Publisher_profile):为了保证发布者对索引信息的机密性,可以在发现服务上设置相应的安全策略。这往往就需要发布者公布一定的身份信息,例如发布者ID、姓名、地址、邮箱、affiliation(单位或者组织机构),以及身份公钥等可用于加密解密的认证辅助信息。5) Publisher information (Publisher_profile): In order to ensure the confidentiality of the publisher's index information, corresponding security policies can be set on the discovery service. This often requires the publisher to publish certain identity information, such as publisher ID, name, address, email address, affiliation (unit or organization), and identity public key and other authentication auxiliary information that can be used for encryption and decryption.

3.具有关联性感知的追溯过程3. Relational-aware traceability process

图4所示为实现一次完整的追溯过程中信息发布者和信息查询者之间的交互流程示意图,具体说明如下:Figure 4 is a schematic diagram of the interaction process between the information publisher and the information inquirer during a complete traceability process, and the specific description is as follows:

1)信息拥有者(信息服务器A、B)向发现服务器(发现服务器)注册所拥有的RFID事件记录,同时公布相应的安全策略。1) Information owners (information servers A, B) register their own RFID event records with the discovery server (discovery server), and publish corresponding security policies at the same time.

2)查询请求者向发现服务器发起针对特定RFID标识(或者标识区间)的查询请求,同时提交身份权能凭证。2) The query requester initiates a query request for a specific RFID identification (or identification range) to the discovery server, and submits an identity capability certificate at the same time.

3)发现服务器首先检索以用户请求的RFID标识为关键字的映射记录,再通过关联性分析模块进行关联系分析,查找该RFID标识关联的容器标识的映射记录。3) The discovery server first retrieves the mapping record with the RFID identifier requested by the user as the key, and then performs correlation analysis through the correlation analysis module to find the mapping record of the container identifier associated with the RFID identifier.

映射记录反映了标识和地址之间的映射关系,即被标识物品的信息被存储在哪个地址的服务器内。此外,还会包括注册时间、注册人、关联关系以及其它的附属信息。The mapping record reflects the mapping relationship between the identification and the address, that is, in which address the information of the identified item is stored in the server. In addition, registration time, registrant, affiliation and other auxiliary information will also be included.

4)发现服务器检验查询者是否对上述RFID标识对应的信息数据具有合法的访问权,如果是授权的合法用户,则可以向查询请求者返回可访问的相关地址列表,即根据查询的标识,去检索DNS之类的目录服务器中的数据库,获得相关的标识映射记录(其中含有地址信息)。如果不是授权的合法用户,则拒绝提供服务或者直接丢弃查询请求。4) The discovery server checks whether the inquirer has legal access to the information data corresponding to the above-mentioned RFID identification. If it is an authorized legal user, it can return a list of relevant addresses that can be accessed to the query requester, that is, according to the identification of the query, go to A database in a directory server such as DNS is searched for the relevant ID mapping record (which contains address information). If it is not an authorized legal user, refuse to provide services or directly discard the query request.

5)根据步骤4)获取的地址列表,查询请求者与地址对应的所有信息服务器建立通信连接,同时向所以信息服务器提交身份权能凭证。5) According to the address list obtained in step 4), the query requester establishes communication connections with all the information servers corresponding to the addresses, and submits identity and capability certificates to all information servers at the same time.

6)信息服务器认证通过则将返回RFID标识所关联的详细物品信息数据。6) If the information server passes the authentication, it will return the detailed item information data associated with the RFID tag.

在加入关联性分析后,发现服务进行映射记录检索的主要思想是:首先根据用户请求的RFID标识为关键字查找映射记录;然后分析是否存在有聚合行为的映射记录;如果有,则将可能的容器标识加入待查队列,再递归地进行查询。加入关联性分析的算法执行的流程如图5所示,对其中的递归查询说明如下:After adding association analysis, the main idea of discovery service for mapping record retrieval is: first, search for mapping records based on the RFID identifier requested by the user as a keyword; then analyze whether there is a mapping record with aggregation behavior; The container ID is added to the queue to be checked, and then the query is performed recursively. The execution flow of the algorithm adding correlation analysis is shown in Figure 5, and the description of the recursive query is as follows:

a)设定时间上限和时间下限,查询以id为关键字的映射记录;a) Set the upper limit and lower limit of time, and query the mapping records with id as the key;

b)如果存在以查询ID为关键字的映射记录,则提取其中的非聚合记录加入DS响应队列,进入步骤c);否则返回空的DS响应队列;b) If there is a mapping record with the query ID as the key, extract the non-aggregated records and add them to the DS response queue, and enter step c); otherwise, return an empty DS response queue;

c)判断是否还有聚合记录,如果没有则返回DS响应队列;如果有则进入步骤d);c) Judging whether there is an aggregation record, if not, return to the DS response queue; if there is, enter step d);

d)按照容器标识pid对聚合行为对应的映射记录进行分组;d) group the mapping records corresponding to the aggregation behavior according to the container identifier pid;

e)对每一个分组,判断是否有组合事件,组合事件是指多个物品之间由于位置共存所发生的聚合事件,通常存在外层的容器物品;如果有组合事件,则将该pid标识的下限时间修改为最早的组合事件发生时间;如果没有,则判断是否有拆分事件,拆分事件是指上述组合关系的状态解除;如果有拆分事件则将该pid标识的上限时间修改为最晚的拆分事件发生时间,如果没有拆分事件则结束该递归查询。e) For each group, determine whether there is a combination event. A combination event refers to an aggregation event that occurs between multiple items due to the coexistence of locations. Usually, there is an outer container item; if there is a combination event, identify the pid The lower limit time is modified to the earliest combination event occurrence time; if not, then judge whether there is a split event, the split event refers to the release of the state of the above combination relationship; if there is a split event, modify the upper limit time identified by the pid to the latest The later split event occurrence time, if there is no split event, end the recursive query.

考虑到追溯查询的基本形式主要有两种,即定位查询(track)和追踪查询(trace),前者只关注物品当前的最新位置,而后者的查询目标则是物品的完整运动轨迹,所以在发现服务开始前,应该首先判断用户查询类型。如果是定位查询,需要在每次查询结束后,对映射记录按照时间属性进行排序,始终保留最新的一条映射记录。Considering that there are mainly two basic forms of retrospective query, namely location query (track) and tracking query (trace), the former only focuses on the current latest position of the item, while the query target of the latter is the complete movement track of the item, so when discovering Before starting the service, the user query type should be judged first. If it is a positioning query, it is necessary to sort the mapping records according to the time attribute after each query, and always keep the latest mapping record.

此外,还有一点很重要的因素需要考虑,即容器的可重用性。由于RFID电子标签通常会在被标识物品的全生命周期中与之共存,而箱子、集装箱托盘等容器在物流运输的过程中往往会被长期使用,这就使得单品和容器之间的包容关系只是暂时的。如果仅以容器的RFID标识直接进行检索,很可能会获得大量无关信息。一方面,冗余信息降低了查询性能,造成网络通信负载加大。另一方面,物流公司可能和多家具有竞争性业务的企业展开合作。查询者通常根据业务逻辑,只对一段时间内的容器信息具有访问权限,如果不加控制的随意放大访问权限就可能造成信息拥有者的隐私泄露。因此,本发明中采用时间属性进行过滤,避免获取过多的冗余结果,即通过调整时间上限与下限,缩小查询的区间实现过滤。In addition, there is another very important factor to consider, namely the reusability of the container. Since RFID electronic tags usually coexist with the marked items in their entire life cycle, and containers such as boxes and container pallets are often used for a long time in the process of logistics and transportation, this makes the inclusive relationship between single items and containers only temporarily. If only the RFID identification of the container is used for direct retrieval, it is likely to obtain a large amount of irrelevant information. On the one hand, redundant information reduces query performance and increases network communication load. On the other hand, a logistics company may cooperate with multiple companies with competing businesses. Inquirers usually only have access to container information within a certain period of time based on business logic. If the access rights are arbitrarily enlarged without control, the privacy of the information owner may be leaked. Therefore, in the present invention, the time attribute is used for filtering to avoid obtaining too many redundant results, that is, filtering is realized by adjusting the upper and lower limits of the time and narrowing the query interval.

以上实施例仅用以说明本发明的技术方案而非对其进行限制,本领域的普通技术人员可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明的精神和范围,本发明的保护范围应以权利要求所述为准。The above embodiments are only used to illustrate the technical solution of the present invention and not to limit it. Those of ordinary skill in the art can modify or equivalently replace the technical solution of the present invention without departing from the spirit and scope of the present invention. The scope of protection should be determined by the claims.

Claims (4)

1. a kind of Item Information retroactive method perceived with relevance, this method are applied to a kind of Item Information traceability system, The Item Information traceability system includes at least one discovery server and at least one information service system;
The discovery server includes:
Registration interface, it is connected with the information server in described information service system to receive RFID mapping data publications;
Query interface, opened to application program to carry out the inquiry of RFID mapping data;
Query processing module, for handling the inquiry request for RFID marks;
Correlation analysis module, for analyze article RFID mark mapping data between containment relationship that may be present, carry out Correlation analysis, the single product inputted according to user identify, and return to the relative article information of the mark, and all sent out with the article Gave birth to the information of the container article with temporal feature;
Mapping database, for storing the article RFID identity obtained through correlation analysis and the information of storage article information Mapping relations between server address mark;
Described information service system includes:
Reader, for obtaining the article identity carried in RFID label tag mark by twireless radio-frequency communication mode;
Middleware, for being pre-processed to the raw RFID data that reader obtains, and formed with certain semantic RFID Event;
Information server, including:Registration interface, it is connected with the registration interface of the discovery server to carry out RFID mapping data Registration issue;Interface is captured, is connected with middleware and is identified with receiving the RFID of its upload;Query interface, opened to application program Put to carry out the shared inquiry of RFID mark datas;Information database, number is identified for storing the RFID after middleware processes According to;
The Item Information retroactive method perceived with relevance comprises the following steps:
1) information owner is to the RFID event record for finding that server registration is possessed, while announces corresponding security strategy;
2) inquiry request person to it is described discovery server initiate for RFID mark inquiry request, while submit identity powers and functions with Card;
3) it is described to find that server retrieval is identified as the map record of keyword with RFID step 2) described, and carry out relevance point Analysis, search the map record of the container identification of RFID mark associations;
4) whether the discovery server check inquiry has legal access to information data corresponding to RFID marks Authority;If the validated user authorized then returns to addressable relative address list to inquiry request person, otherwise refusal provides Service directly abandons inquiry request;
5) address list obtained according to step 4), inquiry request person's all information servers corresponding with address are established logical Letter connection, while identity powers and functions voucher is submitted respectively to all information servers;
6) all information server certifications are by rear, by RFID identify associated by the information data of article return to inquiry request Person.
2. the method as described in claim 1, it is characterised in that:Step 2) the inquiry request for RFID marks is to be directed to The inquiry request of particular RFID mark, or the inquiry request for RFID marks section;Before discovery service starts first Judge user's query type:Locating query and tracking are inquired about.
3. the method as described in claim 1, it is characterised in that:Step 3) the correlation analysis, is asked according to user first RFID be identified as keyword search map record;Then analyse whether to there are the map record of polymerization behavior;If so, then Will likely container identification add queue to be checked, then recursively inquired about.
4. the method as described in claim 1, it is characterised in that:Time attribute is used to filter inquiry request to avoid obtaining Take excessive redundant results.
CN201410186414.8A 2014-05-05 2014-05-05 A kind of Item Information traceability system perceived with relevance and method Expired - Fee Related CN103927633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410186414.8A CN103927633B (en) 2014-05-05 2014-05-05 A kind of Item Information traceability system perceived with relevance and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410186414.8A CN103927633B (en) 2014-05-05 2014-05-05 A kind of Item Information traceability system perceived with relevance and method

Publications (2)

Publication Number Publication Date
CN103927633A CN103927633A (en) 2014-07-16
CN103927633B true CN103927633B (en) 2018-03-02

Family

ID=51145848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410186414.8A Expired - Fee Related CN103927633B (en) 2014-05-05 2014-05-05 A kind of Item Information traceability system perceived with relevance and method

Country Status (1)

Country Link
CN (1) CN103927633B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719105A (en) * 2014-12-03 2016-06-29 镇江雅迅软件有限责任公司 Inventory quick lookup method based on keywords
CN104539748A (en) * 2014-12-09 2015-04-22 中国电子科技集团公司第十五研究所 Unified addressing method for resources of internet of things
CN105894305B (en) * 2016-03-30 2020-03-31 广州中国科学院计算机网络信息中心 Service discovery method and system
CN108614821B (en) * 2016-12-09 2020-10-13 中国地质调查局发展研究中心 Geological data interconnection and mutual-checking system
CN106790763A (en) * 2017-01-18 2017-05-31 北京鑫通运科信息技术有限公司 A kind of Internet of Things unifies the implementation and system of trace platform
CN107197001B (en) * 2017-05-05 2019-12-27 工业和信息化部电信研究院 Industrial internet component information method
CN112669122A (en) * 2017-05-11 2021-04-16 微重力(北京)科技有限公司 Article query comparison method and device, storage medium and processor
US11068496B2 (en) * 2017-10-20 2021-07-20 Jpmorgan Chase Bank, N.A. System and method for data management
CN108460604B (en) * 2018-02-07 2022-06-24 中国科学院计算机网络信息中心 An industrial hemp traceability system and method based on identification service
CN108173973B (en) * 2018-02-13 2020-10-16 宁夏乐智博科技有限公司 Public article positioning method and system
CN108399440B (en) * 2018-03-09 2019-11-08 海南大学 A supply chain RFID intelligent anti-counterfeiting method based on event microstructure pattern
CN110298528B (en) * 2018-03-23 2024-06-18 北京京东尚科信息技术有限公司 Method and device for grouping articles
CN111078720A (en) * 2019-11-06 2020-04-28 中国科学院计算机网络信息中心 A method and system for associating entity objects and data objects based on identification
CN111832079B (en) * 2020-07-16 2024-01-30 湖南大学 Block chain-based query result integrity verification method in EPC global network
CN111882334A (en) * 2020-08-05 2020-11-03 复旦大学 Identification data discovery service system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515334A (en) * 2009-04-07 2009-08-26 华中科技大学 Electronic tag data filtering method used for radio frequency identification middleware
CN101625742A (en) * 2009-06-25 2010-01-13 北京大学 Method and system for realizing distributed RFID discovery service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7866543B2 (en) * 2006-11-21 2011-01-11 International Business Machines Corporation Security and privacy enforcement for discovery services in a network of electronic product code information repositories
CN103763359B (en) * 2014-01-09 2017-01-11 中国科学院计算机网络信息中心 Hybrid-structure-based discovery service system building method and query method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515334A (en) * 2009-04-07 2009-08-26 华中科技大学 Electronic tag data filtering method used for radio frequency identification middleware
CN101625742A (en) * 2009-06-25 2010-01-13 北京大学 Method and system for realizing distributed RFID discovery service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于RFID酒类防伪溯源体系研究与实现;胡杏;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130715;I386-I149 *

Also Published As

Publication number Publication date
CN103927633A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN103927633B (en) A kind of Item Information traceability system perceived with relevance and method
Dasaklis et al. Defining granularity levels for supply chain traceability based on IoT and blockchain
Wu et al. RFID enabled traceability networks: a survey
CN111459985B (en) Identification information processing method and device
US8756686B2 (en) Communication protocol for a containment-aware discovery service
US20180131765A1 (en) Methods and systems for endpoint device operating system in an asset intelligence platform
Agrawal et al. Towards traceability across sovereign, distributed RFID databases
US8832145B2 (en) Search method for a containment-aware discovery service
Chamekh et al. Context aware middleware for RFID based pharmaceutical supply chain
CN112528323B (en) Data processing method and device
US8832123B2 (en) Filter method for a containment-aware discovery service
US20080157930A1 (en) Object name service for RFID tags
Byun et al. Efficient and privacy-enhanced object traceability based on unified and linked EPCIS events
Li et al. A scalable and high-efficiency discovery service using a new storage
CN106156338A (en) The date storage method of a kind of INFORMATION DISCOVERY server and INFORMATION DISCOVERY method
CN114529306A (en) Block chain-based free forging supply chain traceability system
Shao et al. A cold chain logistics traceability system framework based on the identification and resolution system for Industrial Internet
Ding et al. Research on Food Safety Traceability Technology Based on RFID Security Authentication and 2-Dimensional Code
Shi et al. A secure platform for information sharing in EPCglobal network
Precht et al. Transparency Disclosure for End Consumers in Private Food Supply Chains-A Systematic Literature Review
Horn et al. Distributed digital product memories
Abuhashim Intelligent Blockchain-Enabled Applications for Sharing Economy
Fernando et al. A RFID architecture framework for global supply chain applications
Liu et al. Research on trusted traceability method of large-scale manufacturing industry based on blockchain
Wu Enabling Traceability in Large-Scale RFID Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180302