CN102937998A - Mapping method for identifying recognized metadata - Google Patents

Mapping method for identifying recognized metadata Download PDF

Info

Publication number
CN102937998A
CN102937998A CN2012104910539A CN201210491053A CN102937998A CN 102937998 A CN102937998 A CN 102937998A CN 2012104910539 A CN2012104910539 A CN 2012104910539A CN 201210491053 A CN201210491053 A CN 201210491053A CN 102937998 A CN102937998 A CN 102937998A
Authority
CN
China
Prior art keywords
metadata
identification
source
sign
target
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.)
Pending
Application number
CN2012104910539A
Other languages
Chinese (zh)
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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN2012104910539A priority Critical patent/CN102937998A/en
Publication of CN102937998A publication Critical patent/CN102937998A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a mapping method for identifying recognized metadata. The key point is that the compatibility of different identification standard norms is solved, and through an analyzing method of one kind of identification content, various kinds of different identification standards can be communicated mutually, that is, through various kinds of different identification standards are mapped into a specific mode, thus the aims of identification compatibility and mutual operation can be realized. The mapping method for identifying recognized metadata provided by the invention is easy to implement, and has good compatibility with the current relevant flow.

Description

A kind of metadata mapping method that is applied to sign identification
Technical field
The present invention is a kind of metadata mapping method that is applied to sign identification, belongs to the identification technology field of Internet of Things.
Background technology
The effect of sign is to have unique sign or UID (Unique Identifier for addressing, unique identifier, unique sign in global identity or subrange) object, the sign of these objects is unique, clear and definite, and addressing again.A UID sign may a corresponding individual quantities, the also set of the corresponding multifrequency nature of possibility.In the concept of Internet of Things, object has unique digital title, and the contact between object is also illustrated in digital field.Unique identifier can be regarded as and distribute to that object life span is single, permanent title.
The metadata of sign, the indispensable data item that index is known, can identify uniquely the minimum data item of a physical object and can carry out with other standards/agreement the essential data item of message exchange.
XML (Extensible Markup Language, extend markup language), W3C (World Wide WebConsortium, international World Wide Web Consortium) a kind of extend markup language of regulation, be similar to HTML (Hypertext MarkupLanguage, the text mark language).XML is with the formal notation data of label, and these labels do not have scheduled justice, needs the self-defining label during use.XML is plain text, does not do anything, only is used for structural data, and storage, transmission data.The XML tag e-file makes it have structural markup language, also is used for flag data, definition data type, be widely used in during the storage of data transmission, information and information describes, and be the common tool of data transmission between a lot of application programs.
The effect of XML Schema is the legal structure module that defines XML document, is used for describing the structure of XML document, and himself also meets the XML standard.XML Schema has defined following content: can appear at the element in document; Can appear at the attribute in document; Which element is daughter element; Give the order of element; The number of daughter element; Whether element is empty; Whether element can comprise text; The data type of element and attribute; The default value of element and attribute and fixed value.
Summary of the invention
Technical goal: the present invention solves the compatibility issue of different identification standard criterion, find a kind of feasible solution, make the various criterion of identification can intercommunication, be that multiple different sign is mapped as a kind of sign, for example domestic RFID industry standard is mapped to the RFID standard of a certain international mainstream, realize domestic RFID industry standard can with the RFID standard " communication " of international mainstream.Its core is, obtains the metadata of source sign, according to mapping relations, is mapped in the metadata schema of target identification, generates the target identification metadata, finally forms target identification.
Service condition: in a kind of metadata mapping method that is applied to sign identification of the present invention, when following situation occurring, enable the method:
1) when the article of certain tag identifier of a system need to be by the tag identifier subsystem of another system (identification method that both use need not) identification, enable the method, the label data representation of the article of this system is meaned to the target identification that is mapped as another system means by the source sign;
2) want exportation abroad or international chain-supermarket when the product of the company that uses domestic RFID tag form, product needed meets EPC global standard, enabling the method, is EPC global form by the label data representation of the product of the said firm by domestic RFID tag format conversion.
To achieve the above object, the present invention adopts following technical scheme: at first the parsing source identifies, and obtains the metadata schema of source sign, is packaged into the XML file; Then the source of searching is identified to the mapping relations of the target identification of setting, the XML file by the XML File Mapping of source sign to target identification; The XML file of evaluating objects sign, finally form target identification.
A kind of metadata mapping method that is applied to sign identification comprises the following course of work:
(1) as shown in Figure 1, module declaration is as follows for the module map of the method:
1 external data: the input data, refer to the source sign, be a character string;
2 external datas: the input data refer to the target setting marking command;
3 source sign receivers: the reception sources identification strings passes to source identification (RNC-ID) analytic device;
4 target identification setting apparatus: receive the target setting marking command, export target sign title Oname:
5 source identification (RNC-ID) analytic devices: the reception sources identification strings parses source sign title Sname and metadata;
The 6XML file generator: reception sources sign title Sname and metadata generate the Sname.xml file, outwards transmission;
The 7XML document reader: receive outside Sname.xml file, obtaining file name is source sign title Sname and metadata;
8 mapping relationship searching devices: reception sources sign title Sname and target identification title Oname, search the mapping relations of Sname to Oname;
9 metadata reformers: the metadata of reception sources sign and Sname, to the mapping relations of Oname, are recombinated to metadata, generate the metadata of target identification;
The 10XML file generator: receiving target sign title Oname and metadata generate the Oname.xml file, outwards transmission;
The 11XML document reader: receive outside Oname.xml file, obtaining file name is target identification title Oname and metadata;
12 target identification makers: receiving target title Oname and metadata generate target identification;
13 external datas: export target sign.
(2) concrete steps of the method are as follows, process flow diagram as shown in Figure 2:
1) parsing source sign, the metadata and the source that obtain the source sign identify title Sname, target setting identification code title Oname:
2) according to XML schema, require, to the metadata encapsulation, to form xml file Sname.xml;
3) read the Sname.xml file;
4) obtain filename Sname, learn the source code form;
5) search the tables of data in centralized data base, look into the corresponding relation of source identification metadata and target identification metadata;
6) mapping, according to finding corresponding relation, is filled in source identification metadata content according to the target code form;
7) the source identification metadata encapsulation filled is formed to xml file Oname.xml;
8) read the Oname.xml file;
9) according to the target code metadata format by the meta-data extraction in Oname.xml;
10) finally be combined into target identification.
The idiographic flow of the parsing source sign step 1 of said method), as shown in Figure 3.
The step 3 of said method) the partial code that reads the Sname.xml file, as shown in Figure 4.Use xmlDoc.getElementsByTagName (' ' elementName ") [O ] each metadata of .childNodes [ 0 ] .nodeValue acquisition source sign.
The step 5 of said method), in, what the corresponding table of lane database relation was deposited is (source sign title, target identification title, mapping code name).
(3) to the step 5 of said method) change, can accomplish the end in view equally, be described as follows:
The step 5 of said method) in, " search the tables of data in centralized data base; look into the corresponding relation of source identification metadata and target identification metadata ", can replace with " search the tables of data in distributed data base, look into the corresponding relation of source identification metadata and target identification metadata ";
The step 5 of said method) in, " search the tables of data in centralized data base; look into the corresponding relation of source identification metadata and target identification metadata ", can replace with " searching the XML configuration file; look into the corresponding relation of source identification metadata and target identification metadata ", the data that source is identified to the mapping relations of target identification are stored in the XML file;
The step 5 of said method) in, " search the tables of data in centralized data base; look into the corresponding relation of source identification metadata and target identification metadata ", can replace with " searching the properties configuration file; look into the corresponding relation of source identification metadata and target identification metadata ", the data that source is identified to the mapping relations of target identification are stored in the properties file;
(4) to the modification of some steps of said method, reduced the part flow process, can accomplish the end in view equally, the specific works process is as follows:
At first parsing source sign, obtain the metadata schema that source identifies, and then the source of searching is identified to the mapping relations of the target identification of setting, and the data model of source sign is mapped to the target identification metadata schema, finally forms target identification.
As shown in Figure 5, module declaration is as follows for the module map of the method:
1 external data: the input data, refer to the source sign, be a character string;
2 source sign receivers: the reception sources identification strings passes to source identification (RNC-ID) analytic device;
3 source identification (RNC-ID) analytic devices: the reception sources identification strings parses source sign title Sname and metadata;
6 external datas: the input data refer to the target setting marking command:
5 target identification setting apparatus: receive the target setting marking command, export target sign title oname;
4 mapping relationship searching devices: reception sources sign title Sname and target identification title Oname, search the mapping relations of Sname to Oname;
7 metadata reformers: the metadata of reception sources sign and Sname, to the mapping relations of Oname, are recombinated to metadata, generate the metadata of target identification;
8 target identification makers: receiving target title Oname and metadata generate target identification;
9 external datas: export target sign.
The concrete steps of the method are as follows, process flow diagram as shown in Figure 6:
1) parsing source sign, the metadata and the source that obtain the source sign identify title Sname;
2) target setting sign title Oname;
3) search the tables of data in centralized data base, look into the corresponding relation of source identification metadata and target identification metadata;
4) mapping, according to finding corresponding relation, is filled in source identification metadata content according to the target code form;
5) according to the target code metadata format, the source identification metadata is combined into to target identification.
The step 3 of the method) in, " search the tables of data in centralized data base; look into the corresponding relation of source identification metadata and target identification metadata ", can replace with " searching the tables of data in distributed data base; look into the corresponding relation of source identification metadata and target identification metadata ", can accomplish the end in view equally.
The step 3 of the method) in, " search the tables of data in centralized data base; look into the corresponding relation of source identification metadata and target identification metadata ", can replace with " searching the XML configuration file; look into the corresponding relation of source identification metadata and target identification metadata ", be that the data that source is identified to the mapping relations of target identification are stored in the XML file, can accomplish the end in view equally.
The step 3 of the method) in, " search the tables of data in centralized data base; look into the corresponding relation of source identification metadata and target identification metadata ", can replace with " searching the properties configuration file; look into the corresponding relation of source identification metadata and target identification metadata ", be that the data that source is identified to the mapping relations of target identification are stored in the properties file, can accomplish the end in view equally.
Beneficial effect: how making the current sign compatibility of using, how to realize open loop application and information sharing, how to make the Internet of Things sign of different agreement " link up ", is problem demanding prompt solution.Simultaneously for there being at present different identification schemes, in following environment of internet of things, need realization to use the interoperability between the application of different identification schemes, the present invention also will solve the Interoperability of different identification, arrive between different identification and also can realize the beneficial effect of intercommunication.
The accompanying drawing explanation
Fig. 1 is a kind of module map that is applied to the metadata mapping method of sign identification in the present invention;
Fig. 2 is a kind of parsing source sign process flow diagram that is applied to the metadata mapping method of sign identification in the present invention;
Fig. 3 is a kind of partial code sectional drawing that reads the Sname.xml file that is applied to the metadata mapping method of sign identification in the present invention;
Fig. 4 is a kind of process flow diagram that is applied to the metadata mapping method of sign identification in the present invention;
Fig. 5 is the module map after the reduction part flow process of a kind of in the present invention metadata mapping method of being applied to sign identification;
Fig. 6 is the process flow diagram after the reduction part flow process of a kind of in the present invention metadata mapping method of being applied to sign identification;
Fig. 7 is " civil aviation luggage traffic radio frequency identification standard " indispensable data item in specific embodiment, i.e. target identifying code (the essential data item of message exchange), the luggage trade mark and flight date (the essential data of unique identification);
Fig. 8 is the metadata schema of EPC in specific embodiment;
Fig. 9 is the mapping graph that in specific embodiment, " civil aviation luggage traffic radio frequency identification standard " metadata arrives EPC global element;
Figure 10 is the XML schema of " civil aviation luggage traffic radio frequency identification standard two " in specific embodiment;
Figure 11 is the luggage.xml generated in specific embodiment, the title that luggage is source sign " civil aviation luggage traffic radio frequency identification standard ";
Figure 12 is the partial code that reads luggage.xml in specific embodiment;
Figure l3 be in specific embodiment, search luggage " civil aviation luggage traffic radio frequency identification standard " to partial code of the mapping relations of EPC global;
Figure 14 completes in luggage.xml element to the false code of the mapping of EPC element in specific embodiment;
Figure 15 is the partial code that reads epc.xml in specific embodiment;
Figure 16 produces the process flow diagram of EPC URI in specific embodiment;
Figure 17 generates the partial code of EPC URI in specific embodiment.
Embodiment
In order more clearly to understand technology contents of the present invention, especially exemplified by following examples, describe in detail.
Refer to Fig. 7 to shown in Figure 17, process flow diagram and the partial code of an a kind of embodiment of the metadata mapping method that is applied to sign identification is provided for doing invention.
Suppose that application example is: realize the mapping to EPC global to " civil aviation luggage traffic radio frequency identification standard ".
Target setting is designated EPC global.
Learn that according to the target identification code source sign title Sname is luggage and coding rule, according to coding rule, obtain metadata i.e. the luggage trade mark and the flight date of " civil aviation luggage traffic radio frequency identification standard ".The XML schema of " civil aviation luggage traffic radio frequency identification standard " as shown in figure 10.
The luggage.xml generated as shown in figure 11.
Read the luaggage.xml file, and search the mapping relations of luggage to EPC global, as shown in Figure 9, use luggage To EPC global () method, complete that in luggage.xml, element is to the mapping of EPC element, false code as shown in figure 14; Obtain the metadata of EPC global.
Use epc Package () method to realize the EPC metadata schema, create XML document, create root element epm, then create step by step daughter element; Create XMLprocessing instruction, and before it is added to root element; Save as the epc.xml file.
Read the epc.xml file, partial code as shown in figure 15.
Produce EPC URI, as shown in figure 16, partial code as shown in figure 17 for flow process.Obtain standard Type Value, Company Prefix Value, serial Number Value, user Value and item Reference Value after being parsed.Standard Type Value, Company Prefix Value, serial Number Value and item Reference Value and the splicing of EPC URI prefix are added to corresponding separator just can obtain EPC URI
The final mapping that realizes " civil aviation luggage traffic radio frequency identification standard " arrived EPC global.
In this instructions, the present invention is described with reference to its specific embodiment.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, instructions and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (2)

1. one kind is applied to the metadata mapping method that sign is identified, and described mapping method comprises the following steps:
1) parsing source sign, the metadata and the source that obtain the source sign identify title Sname, target setting identification code title Oname;
2) according to XML schema, require, to the metadata encapsulation, to form xml file Sname.xml;
3) read the Sname.xml file;
4) obtain filename Sname, learn the source code form;
5) search the tables of data in centralized data base, look into the corresponding relation of source identification metadata and target identification metadata;
6) mapping, according to finding corresponding relation, is filled in source identification metadata content according to the target code form;
7) the source identification metadata encapsulation filled is formed to xml file Oname.xml;
8) read the Oname.xml file;
9) according to the target code metadata format by the meta-data extraction in Oname.xml;
10) finally be combined into target identification.
2. require described a kind of metadata mapping method that is applied to sign identification according to right 1, its core is, obtains the metadata of source sign, according to mapping relations, is mapped in the metadata schema of target identification, generate the target identification metadata, finally form target identification.The another kind of method step of this metadata mapping method that is applied to sign identification is as follows:
1) parsing source sign, the metadata and the source that obtain the source sign identify title Sname;
2) target setting sign title Oname;
3) search the tables of data in centralized data base, look into the corresponding relation of source identification metadata and target identification metadata;
4) mapping, according to finding corresponding relation, is filled in source identification metadata content according to the target code form;
5) according to the target code metadata format, the source identification metadata is combined into to target identification.
CN2012104910539A 2012-11-27 2012-11-27 Mapping method for identifying recognized metadata Pending CN102937998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104910539A CN102937998A (en) 2012-11-27 2012-11-27 Mapping method for identifying recognized metadata

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104910539A CN102937998A (en) 2012-11-27 2012-11-27 Mapping method for identifying recognized metadata

Publications (1)

Publication Number Publication Date
CN102937998A true CN102937998A (en) 2013-02-20

Family

ID=47696895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104910539A Pending CN102937998A (en) 2012-11-27 2012-11-27 Mapping method for identifying recognized metadata

Country Status (1)

Country Link
CN (1) CN102937998A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246753A (en) * 2013-05-30 2013-08-14 安徽皖通科技股份有限公司 Method for generating entity metadata model according to database structure
CN105224598A (en) * 2015-08-31 2016-01-06 中国互联网络信息中心 A kind of networking index identification method of the isomeric compound based on behavioral characteristics and system
CN106372180A (en) * 2016-08-30 2017-02-01 东南大学 Metadata for cyber content sharing and governance (MDCCSG) and application method
CN106792468A (en) * 2016-12-27 2017-05-31 广州中国科学院计算机网络信息中心 The method and system of identification discovery in machine communication
CN107147942A (en) * 2013-10-02 2017-09-08 杜比实验室特许公司 Display management metadata is transmitted by HDMI
CN113760826A (en) * 2021-09-28 2021-12-07 浙江艾凯普计算机系统服务有限公司 Electronic component laboratory report generation method and detection device
CN115774767A (en) * 2023-02-10 2023-03-10 成都纵横自动化技术股份有限公司 Geographic information metadata processing method and device
CN116320090A (en) * 2023-03-10 2023-06-23 国家工业信息安全发展研究中心 System and method for converting multi-identification codes and handle identification codes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050224571A1 (en) * 2004-04-08 2005-10-13 Kelley Yohko A Creating and using documents with machine-readable codes
CN101625694A (en) * 2009-08-17 2010-01-13 中国科学院地理科学与资源研究所 Method and system for storing various standard geological metadata

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050224571A1 (en) * 2004-04-08 2005-10-13 Kelley Yohko A Creating and using documents with machine-readable codes
CN101625694A (en) * 2009-08-17 2010-01-13 中国科学院地理科学与资源研究所 Method and system for storing various standard geological metadata

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
熊世娟: "基于RFID的物联网标识兼容模型与兼容机制的研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
申晓娟 等: "从元数据映射出发谈元数据互操作问题", 《国家图书馆学刊》 *
黎建辉 等: "一种基于XML的元数据映射与转换方法", 《微电子学与计算机 》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246753A (en) * 2013-05-30 2013-08-14 安徽皖通科技股份有限公司 Method for generating entity metadata model according to database structure
CN107147942A (en) * 2013-10-02 2017-09-08 杜比实验室特许公司 Display management metadata is transmitted by HDMI
CN107147942B (en) * 2013-10-02 2021-01-26 杜比实验室特许公司 Video signal transmission method, device, apparatus and storage medium
CN105224598A (en) * 2015-08-31 2016-01-06 中国互联网络信息中心 A kind of networking index identification method of the isomeric compound based on behavioral characteristics and system
CN105224598B (en) * 2015-08-31 2018-11-27 中国互联网络信息中心 A kind of isomery Internet of Things index identification method and system based on behavioral characteristics
WO2018040120A1 (en) * 2016-08-30 2018-03-08 东南大学 Content metadata identification and application method supporting sharing and governance
CN106372180B (en) * 2016-08-30 2017-08-25 东南大学 Support the shared content metadata mark controlled altogether and application process
CN106372180A (en) * 2016-08-30 2017-02-01 东南大学 Metadata for cyber content sharing and governance (MDCCSG) and application method
CN106792468A (en) * 2016-12-27 2017-05-31 广州中国科学院计算机网络信息中心 The method and system of identification discovery in machine communication
CN106792468B (en) * 2016-12-27 2019-08-16 广州中国科学院计算机网络信息中心 The method and system of identification discovery in machine communication
CN113760826A (en) * 2021-09-28 2021-12-07 浙江艾凯普计算机系统服务有限公司 Electronic component laboratory report generation method and detection device
CN115774767A (en) * 2023-02-10 2023-03-10 成都纵横自动化技术股份有限公司 Geographic information metadata processing method and device
CN116320090A (en) * 2023-03-10 2023-06-23 国家工业信息安全发展研究中心 System and method for converting multi-identification codes and handle identification codes
CN116320090B (en) * 2023-03-10 2023-10-03 国家工业信息安全发展研究中心 System and method for converting multi-identification codes and handle identification codes

Similar Documents

Publication Publication Date Title
CN102937998A (en) Mapping method for identifying recognized metadata
CN106202292B (en) Standard information analysis method based on structured data model
CN103294796B (en) Self-defined XML structure list implementation method in a kind of XML analytic method and medical medical record
US9146908B2 (en) Validating an XML document
CN103294652B (en) A kind of data transfer device and system
CN104182911A (en) Calibration method for realizing CIM (Common Information Model) consistency of power distribution network system
CN102663094A (en) IEC61970CIM model checking method
CN100489862C (en) Marked language archive analytical method, analytical module and user terminal
CN103077185A (en) Object-based user-defined information-expanding method
CN103095823A (en) Object description method and object information interaction system in Internet of Things system
CN102982010A (en) Method and device for abstracting document structure
CN102799592A (en) Parsing method and system of rich text document
CN102289407A (en) Method for automatically testing document format conversion and device thereof
US7318194B2 (en) Methods and apparatus for representing markup language data
CN109885569A (en) Field extraction and structural method are carried out to XML data based on configuration file
CN102662969A (en) Internet information object positioning method based on webpage structure semantic meaning
CN106339498A (en) Method, device and system for synchronizing data
TW201437826A (en) Method and device for combining webpage style address
CN103902539B (en) Extensible markup analysis method and device
Haider et al. CSV2RDF: Generating RDF data from CSV file using semantic web technologies
CN102207975A (en) Method for manufacturing and displaying extensive makeup language (xml) data module based on ietm standard
CN105721402B (en) A kind of method and apparatus parsing SITA message
CN116320090B (en) System and method for converting multi-identification codes and handle identification codes
CN106897287B (en) Webpage release time extraction method and device for webpage release time extraction
CN104133895A (en) Intelligent substation secondary device connection diagram encoding algorithm based on binary tree

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130220