CN102446181A - XML-Based ISO15693 electronic tag data transformation method - Google Patents

XML-Based ISO15693 electronic tag data transformation method Download PDF

Info

Publication number
CN102446181A
CN102446181A CN2010105032797A CN201010503279A CN102446181A CN 102446181 A CN102446181 A CN 102446181A CN 2010105032797 A CN2010105032797 A CN 2010105032797A CN 201010503279 A CN201010503279 A CN 201010503279A CN 102446181 A CN102446181 A CN 102446181A
Authority
CN
China
Prior art keywords
data
xml
electronic tag
tag data
is015693
Prior art date
Application number
CN2010105032797A
Other languages
Chinese (zh)
Inventor
李泽
郑业鲁
韩威威
黄红星
Original Assignee
广东省农业科学院科技情报研究所
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 广东省农业科学院科技情报研究所 filed Critical 广东省农业科学院科技情报研究所
Priority to CN2010105032797A priority Critical patent/CN102446181A/en
Publication of CN102446181A publication Critical patent/CN102446181A/en

Links

Abstract

The invention provides an XML (Extensible Markup Language)-based ISO15693 electronic tag data transformation method. The method comprises describing a data transformation structure by means of the XML, and transforming data stored in an electronic tag and storing the data in an XML file. Specifically, the method comprises the following three steps of: (1) loading a description file and building the data transformation structure; (2) reading the data stored in the ISO15693 electronic tag in an internal memory by means of an RFID (Radio Frequency Identification) reader in combination with a program; and (3) storing the data in the internal memory as the XML file according to the transformation structure. The working flow of the method is indicated in figure 1. The method realizes the transformation from an electronic tag data storage structure to an application system data storage structure; and the data transformation structure can be configured dynamically without modifying program codes; therefore, the application range of the ISO15693 electronic tag is expanded.

Description

一种基于XML的IS015693电子标签数据转换方法 IS015693 an XML-based electronic tag data conversion method

[0001] 技术领域:本发明是一种基于XML的IS015693电子标签数据转换方法,属于信息技术类。 [0001] Technical Field: The present invention is an electronic tag data IS015693 conversion method based on XML, information technology belong.

技术背景: technical background:

[0002] IS015693电子标签广泛应用于身份识别、安全门禁、生产过程控制等多种无线射频识别系统,应用于农产品流通信息系统,其模写安全机制要求不高,但是数据交换量需求大,且不同的品种应用上数据的结构也不尽相同。 [0002] IS015693 widely used in many electronic tag RFID identification system, security access, process control, etc., is applied to agricultural products distribution information system, which security mechanisms do not ask the write mode, but a large amount of data exchange needs, and different data structure of the application are not the same species. 因此,本发明提出:利用XML描述数据转换结构;将电子标签存储的数据转换并保存在XML文件里。 Accordingly, the present invention provides: a data conversion using the XML structure; the data stored in the electronic tag converted and saved in an XML file. 该方法实现了电子标签数据存储结构到应用系统数据存储结构的转换,可动态配置数据转换结构不需修改程序代码,拓展了IS015693电子标签的应用范围。 The method enables the electronic tag data storage structure converts the data to the application system storage structure, the structure may be dynamic configuration data into the program code without modification, to expand the scope of application of the electronic label IS015693.

发明内容: SUMMARY:

[0003] 本发明提供了一种基于XML的IS015693电子标签数据转换方法,该方法利用XML 描述数据转换结构;将电子标签存储的数据转换并保存在XML文件里,该方法分3个步骤: (1)装载描述文件,构造数据转换结构;(2)用RFID读写器配合程序将IS015693电子标签存储的数据读进内存;C3)内存中的数据按转换结构保存成XML文件,其中: [0003] The present invention provides an XML-based electronic tag IS015693 data converting method of converting data structures described by using XML; electronic tag data stored in the converted and saved in an XML file, the process in three steps: ( 1) load profile, configuration data conversion structures; (2) mating with the RFID reader tag data of the electronic program IS015693 stored into memory; data C3) in memory structures stored by conversion into XML documents, wherein:

[0004] 描述文件:使用XML描述数据转换结构的文件。 [0004] The description file: file described using XML data conversion structure.

[0005] 转换结构:XML文件装载进内存所形成的节点树,每个节点存储需要转换的标签块号地址。 [0005] The conversion structure: XML file loaded into the memory node tree is formed, the need to convert each node stores the address tag block number.

[0006] 该方法分3个步骤: [0006] The method in three steps:

[0007] 1.装载描述文件,构造数据转换结构: [0007] 1. The loading profile, configuration data conversion structure:

[0008] 描述文件是定义异构数据的描述的XML文件,它的描述规则严格符合XML的标准。 [0008] description file is the definition of heterogeneous data describing the XML file that describes the rules of strict compliance with the XML standard. 描述文件中的所有元素均可拥有子元素,一个元素对应构成一个节点,所有的节点构成了转换结构。 All elements may have a profile in the child element, an element corresponding to a configuration node, all nodes constituting a conversion structure. 其结构如下表所示。 The structure shown in the following table.

[0009] [0009]

转换结枸 <Nodel> <beginl>0</beginl> <endl>0</endl> <code 1 ></code 1 > <begin2>l<^begin2> <end2>3</end2> code2></code2> <begin3>60</begin3> Conversion result citrate <Nodel> <beginl> 0 </ beginl> <endl> 0 </ endl> <code 1> </ code 1> <begin2> l <^ begin2> <end2> 3 </ end2> code2> < / code2> <begin3> 60 </ begin3>

[0010] [0010]

3 3

Figure CN102446181AD00041

[0011] 2.用RFID读写器配合程序将IS015693电子标签存储的数据读进内存: [0011] 2. Using the RFID reader with the program stored in the electronic tag data IS015693 into memory:

[0012] 经过步骤1后,方法用RFID读写器配合程序将IS015693电子标签存储的六十二块数据读进内存,每块8位十六进制的标签数据按块号排列形成内存数据。 [0012] After Step 1, with a method using RFID reader program IS015693 sixty-two electronic tag data stored into memory, each 8 hexadecimal tag data memory formed by the data block number order. 其结构如下表所示。 The structure shown in the following table.

[0013] [0013]

Figure CN102446181AD00042

[0014] 3.内存中的数据按转换结构保存成XML文件; Data [0014] 3. Memory saved as XML files in the conversion structure;

[0015] 经过步骤2后,转换结构已经形成,对节点进行遍历,按节点保存的块号地址将内 [0015] After step 2, the conversion structure has been formed, the nodes traversed by the stored node address to the block number

存中的标签数据放入节点中,最后把转换完的数据保存成XML文件。 Data stored in the tag into the node, and finally finished to save the converted data into an XML file. 其结构如下表所示。 The structure shown in the following table.

[0016] [0016]

Figure CN102446181AD00043

[0017] 该方法实现了IS015693电子标签应用于农产品流通信息系统的数据转换,利用XML描述数据转换结构;将电子标签存储的数据转换并保存在XML文件里。 [0017] The method enables the label to produce circulation IS015693 electronic information system data conversion, data conversion is described by using XML structure; the data stored in the electronic tag converted and saved in an XML file. 该方法实现了电子标签数据存储结构到应用系统数据存储结构的转换,可动态配置数据转换结构不需修改程序代码,拓展了IS015693电子标签的应用范围。 The method enables the electronic tag data storage structure converts the data to the application system storage structure, the structure may be dynamic configuration data into the program code without modification, to expand the scope of application of the electronic label IS015693. 满足了系统模写安全机制要求不高, 数据交换量大,不同的品种应用上数据的结构也不尽相同的应用需求。 The system meets the demanding security mechanisms write mode, data exchange a large amount of application data structures are not the same variety of different applications. 附图说明: BRIEF DESCRIPTION OF:

[0018] 附图1为总体技术工艺流程图。 [0018] Figure 1 is a process flow diagram of the overall technology. 具体实施方式: Detailed ways:

[0019] 基于XML的IS015693电子标签数据转换工作流程,其总体技术工艺流程示意如附图1 : [0019] Based on IS015693 electronic tag data converting XML workflow, the overall technical process drawings schematically as 1:

[0020] 1.装载描述文件,构造数据转换结构: [0020] 1. The loading profile, configuration data conversion structure:

[0021] 如下面表格,它是一个具体的基于行业的XML转换结构描述实例: [0021] The following table, which is a specific XML-based business conversion structure described as an example:

[0022] [0022]

Figure CN102446181AD00051

[0023] 2.用RFID读写器配合程序将IS015693电子标签存储的数据读进内存: [0023] 2. Using the RFID reader with the program stored in the electronic tag data IS015693 into memory:

[0024] 以下是一个运用该方法读取卡ID为“2E73371E000007E0”的电子标签数据的结构示例,示例中Block节点代表标签存储块,number为块号地址,节点的值为存储块保存的数据。 Saved [0024] The following is a method to read the card ID using a structural example of "2E73371E000007E0" electronic tag data, the example node represents Block tag memory blocks, number of block number address, the node value of the data memory blocks.

[0025] [0025]

Figure CN102446181AD00061

[0026] 3.内存中的数据按转换结构保存成XML文件: [0026] 3. The data stored in the memory according to the XML file conversion structure:

[0027] 经过以上步骤2,方法已经将电子标签的数据读到内存中。 [0027] After the above step 2, a method has been read into the electronic tag data memory. 由于当前的数据转换需求是“生猪养殖”,在转换结构中遍历所有下属生猪养殖的节点,将已经读进内存中的电子标签存储块数据按块号地址连续添加到转换结构中,最后保存成XML文件。 Since the current data conversion needs a "pig breeding", traversing all the nodes under the pig farming conversion structure, it has been read electronic tag storing the block data into memory by block number address continuously added to the converter structure, and finally stored into XML file.

[0028] [0028]

Figure CN102446181AD00062

[0029]<code4 name=1' 入栏时间”>20100630</code4> [0029] <code4 name = 1 'into the field of time "> 20100630 </ code4>

<begin5>7</begin5> <Begin5> 7 </ begin5>

<end5>7</end5> <End5> 7 </ end5>

<code5 name=”疫苗注射”>4E9456DE </code5> <Code5 name = "vaccine"> 4E9456DE </ code5>

<begin6>8</begin6> <Begin6> 8 </ begin6>

<end6>8</end6> <End6> 8 ​​</ end6>

<code6 name="预防用药”options="土霉素,牲血素,阿莫西林粉,维生素C,呼诺玢,帝诺扮,亚硝酸钠维生素E,其它">10001010</code6> </Sc> <Code6 name = "prophylaxis" options = "oxytetracycline, sacrifice blood pigment, amoxicillin powder, vitamin C, call Connaught Bin, Dino play, sodium nitrite vitamin E, other"> 10001010 </ code6> < / Sc>

Claims (4)

1.本发明提供了一种基于XML的IS015693电子标签数据转换方法,该方法利用XML 描述数据转换结构;将电子标签存储的数据转换并保存在XML文件里,该方法分3个步骤: (1)装载描述文件,构造数据转换结构;(2)用RFID读写器配合程序将IS015693电子标签存储的数据读进内存;C3)内存中的数据按转换结构保存成XML文件,其中:描述文件:使用XML描述数据转换结构的文件。 1. The present invention provides an XML-based electronic tag IS015693 data converting method of converting data structures described by using XML; electronic tag data stored in the converted and saved in an XML file, the process in three steps: (1 ) load profile, configuration data conversion structures; (2) mating with the RFID reader tag data of the electronic program IS015693 stored into memory; data C3) in memory by saving the XML file into the conversion structure, wherein: the profile: use XML description file data conversion structure. 转换结构:XML文件装载进内存所形成的节点树,每个节点存储需要转换的标签块号地址。 Conversion structure: XML file loaded into the memory node tree is formed, the need to convert each node stores the address tag block number.
2.根据权利要求1所述的一种基于XML的IS015693电子标签数据转换方法,其特征在于:其步骤(1)描述文件的内容包含对转换描述的元数据,一个XML描述元素对应一个转换结构节点,每个节点保存了需要转换的标签数据块号地址。 According to one of the claims 1 to IS015693 electronic tag data conversion method based on XML, characterized in that: steps (1) contains a description file conversion metadata description, a description of XML element corresponding to a conversion structure nodes, each node stores the tag data block number address to be converted.
3.根据权利要求1所述的一种基于XML的IS015693电子标签数据转换方法,其特征在于:其步骤O)电子标签的数据读进内存后按块号地址排列,每个块号地址对应一块标签数据。 According to one of the claims 1 to IS015693 electronic tag data conversion method based on XML, wherein: data which step O) the electronic tag read into memory arranged after the block number address, each address corresponding to a block number tag data.
4.根据权利要求1所述的一种基于XML的IS015693电子标签数据转换方法,其特征在于:其步骤(3)遍历转换结构的节点,按节点保存的块号地址将内存中的标签数据放入节点中,最后把转换完的数据保存成XML文件。 According to one of the claims 1 to IS015693 electronic tag data conversion method based on XML, characterized in that: steps (3) traversing the node conversion structure, according to the node stored in the tag data block number address discharge in memory ingress, and finally finished to save the converted data into an XML file.
CN2010105032797A 2010-10-09 2010-10-09 XML-Based ISO15693 electronic tag data transformation method CN102446181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105032797A CN102446181A (en) 2010-10-09 2010-10-09 XML-Based ISO15693 electronic tag data transformation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105032797A CN102446181A (en) 2010-10-09 2010-10-09 XML-Based ISO15693 electronic tag data transformation method

Publications (1)

Publication Number Publication Date
CN102446181A true CN102446181A (en) 2012-05-09

Family

ID=46008685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105032797A CN102446181A (en) 2010-10-09 2010-10-09 XML-Based ISO15693 electronic tag data transformation method

Country Status (1)

Country Link
CN (1) CN102446181A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460224A (en) * 2001-04-04 2003-12-03 皇家菲利浦电子有限公司 Internet enabled household appliance for processing bar code or RFID tags
CN1460369A (en) * 2000-06-20 2003-12-03 皇家菲利浦电子有限公司 Token-based personalization of smart appliances
JP2004110650A (en) * 2002-09-20 2004-04-08 Hitachi Information Systems Ltd Extensible markup language document processor
CN1836201A (en) * 2003-06-20 2006-09-20 Zih公司 Xml system
US20080275907A1 (en) * 2007-03-23 2008-11-06 International Business Machines Corporation Scalable algorithms for mapping-based xml transformation
CN101344931A (en) * 2007-07-10 2009-01-14 上海科识通信息科技有限公司 RFID integration machine
CN101571905A (en) * 2009-05-12 2009-11-04 中兴软件技术(杭州)有限公司 Application interface conversion system of RFID middleware and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460369A (en) * 2000-06-20 2003-12-03 皇家菲利浦电子有限公司 Token-based personalization of smart appliances
CN1460224A (en) * 2001-04-04 2003-12-03 皇家菲利浦电子有限公司 Internet enabled household appliance for processing bar code or RFID tags
JP2004110650A (en) * 2002-09-20 2004-04-08 Hitachi Information Systems Ltd Extensible markup language document processor
CN1836201A (en) * 2003-06-20 2006-09-20 Zih公司 Xml system
US20080275907A1 (en) * 2007-03-23 2008-11-06 International Business Machines Corporation Scalable algorithms for mapping-based xml transformation
CN101344931A (en) * 2007-07-10 2009-01-14 上海科识通信息科技有限公司 RFID integration machine
CN101571905A (en) * 2009-05-12 2009-11-04 中兴软件技术(杭州)有限公司 Application interface conversion system of RFID middleware and method

Similar Documents

Publication Publication Date Title
Yao et al. Describing the scene as a whole: joint object detection
CN100511176C (en) Method and system for rule-based generation of automation test scripts from abstract test case representation
US7212121B2 (en) Wireless tag system, wireless tag access control device, wireless tag access control method, wireless tag access control program and wireless tag
CN1744103B (en) Reader application markup language schema
JP2004535024A (en) System and method for converting the business process policy data
JP2006072975A (en) System and method of facilitating use of rfid process
JP2004206708A (en) Method, system and computer product for parsing binary data
US7302678B2 (en) Symmetric transformation processing system
US9336184B2 (en) Representation of an interactive document as a graph of entities
Jakkhupan et al. Business process analysis and simulation for the RFID and EPCglobal Network enabled supply chain: A proof-of-concept approach
Keator et al. Towards structured sharing of raw and derived neuroimaging data across existing resources
Suarez-Villa Globalization and technocapitalism: The political economy of corporate power and technological domination
CN100483412C (en) Method for accurately converting GIS vector data into KML
US20120159333A1 (en) Representation of an interactive document as a graph of entities
CN101127047A (en) Solution for managing serialization of epc identifiers and database system
KR20080104303A (en) Declarations for transformations within service sequences
US20080155500A1 (en) Method for automatic generation of schema mapping application code
CN104484171B (en) Terminal interface design system, method and relevant device
JP2003532935A (en) The method of synchronizing rfid system including a tag having a different memory size
US8762934B2 (en) Method of extensible business object modeling and generation of system artifacts from the models
CN102043657A (en) File serialization method of model library of physical modeling language Modelica
CN102087594B (en) Management method and device for extension point and plugins
Mitsugi et al. Architecture development for sensor integration in the EPCglobal network
Satyananda et al. Identifying traceability between feature model and software architecture in software product line using formal concept analysis
Männistö et al. Modeling configurable products and software product families

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)