CN101464866A - System for implementing catalogue information format conversion based on XML - Google Patents

System for implementing catalogue information format conversion based on XML Download PDF

Info

Publication number
CN101464866A
CN101464866A CNA2007101798574A CN200710179857A CN101464866A CN 101464866 A CN101464866 A CN 101464866A CN A2007101798574 A CNA2007101798574 A CN A2007101798574A CN 200710179857 A CN200710179857 A CN 200710179857A CN 101464866 A CN101464866 A CN 101464866A
Authority
CN
China
Prior art keywords
catalogue
model
attribute
node
source
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
CNA2007101798574A
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CNA2007101798574A priority Critical patent/CN101464866A/en
Publication of CN101464866A publication Critical patent/CN101464866A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to a method for realizing catalogue information format conversion based on XML, and belongs to the field of the information format conversion. In the field of broadcast and television, when different units carry out program exchange and share, different catalogue molds are formed due to different focuses and adopted systems, so as to be not available for another system to use when exchanging. The present treatment method is that: when the catalogue information enters into another system, manual recataloguing is required, so that labor waste and financial resource waste are caused. The invention discloses a general conversion method, and aims to enable that the catalogue information can be passed and exchanged in different systems. By adopting the invention, the format conversion of the catalogue information can be automatically completed by the system and manual recataloguing is not required.

Description

A kind of method that realizes the catalogue information format conversion based on XML
Technical field
The present invention relates to a kind of method of information format conversion, particularly relate to a kind of method that realizes the catalogue information format conversion based on XML.
Background technology
In radio, TV and film industries, all there are the form of oneself in different TV stations or video editing unit for the catalogue of video, though follow national standard (i.e. " radio and television audio and video files catalogue standard ") substantially, but different columns or unit are because the demand of self, have different naming methods and institutional framework, thereby cause the inventory information of program various informative.Therefore, different organization units is when carrying out the program exchange and sharing, program file self is shared exchange than being easier to, but for inventory information because the catalogue model of the different thereby formation inequality of the system of focus difference, employing separately can not directly be that another system is used during exchange.
Present disposal route is: when inventory information enters another system, by manually making a catalogue again, thereby cause the waste of manpower, financial resources.
For a better understanding of the present invention, now briefly introduce as follows to standard related among the present invention and relevant technical terms:
Catalogue: be meant audio and video files are recorded index, and the work of tissue, the various catalogs of making or search channel and instrument.It is the important content in the audio and video files management work.The catalogue management mainly realizes by the program material computer management system, and the catalogue work of program material is the core link of whole program data computer management system, the level of catalogue work directly affects the level of total system, and is concerning whether institute's Tibetan data can really fully develop.Therefore carry out catalogue work,, improve the audio and video files management level, improve the modernization information service of audio and video files shop comprehensively, very important meaning is arranged for building up digitizing audio and video files shop.
Radio and television audio and video files catalogue standard: along with the development of radio and television services, the demand that links such as program is gathered and edited, made, broadcast are utilized program material again is more and more higher, the construction of media asset management system and use also and extensively launch in each TV station of the whole nation.Be the construction of standard media asset management system, the effective and standard of catalogue data in the assurance system presses for the audio and video program data catalogue standard that a suitable digital network record and broadcast environment is arranged in the industry, makes things convenient for the catalogue of program and retrieval and inquisition to use.
The formulation of saying radio and television audio and video files catalogue standard of narrow sense is in order to serve the construction of media asset management system, formulation and enforcement by standard make the audio and video files inventory data base that unified design considerations can be arranged, and also the processing of catalogue data provides guiding foundation for system builds up afterwards simultaneously.Broadly say, the formulation of radio and television audio and video files catalogues standard is not only to the construction of media asset management system with use significant, simultaneously because radio and television are made the datumization web development that broadcasts environment, the standardization of each link information such as the catalogue project that proposes in the standard will be gathered and edited to broadcast TV program, makes, stores, exchanges, broadcasted, reception is compiled and is played reference function, makes things convenient for the utilization again of phonotape and videotape, literal and the pictorial information data of magnanimity preciousness simultaneously.
XML:(eXtensible Markup Language extend markup language) be a kind of simple data storage language, use a series of simple mark data of description, and these marks can be set up with mode easily.XML simply makes it be easy to read and write data in Any Application, and this makes XML become unique common language of exchanges data very soon.The content format that inventory information is described in " radio and television audio and video files catalogue standard " is based on the XML normalized definition, is mainly used in the exchange of inventory information.
XPath: it becomes the proposed standard of W3C on November 16th, 1999, is a kind of language that can seek information in XML document, navigates by element in the XML document and attribute.
XSD:XML organization definition (XML Schemas Definition), XML Schema has described the structure of XML document.Can verify certain XML document with the XML Schema of an appointment, whether meet its requirement to check this XML document.File design person can specify a structure that XML document allowed and a content by XML Schema, and can check in view of the above whether an XML document is effective.XMLSchema itself is an XML document, and it meets the XML syntactic structure.Can with general XML resolver resolves it.
Summary of the invention
At existing problem in the prior art, the purpose of this invention is to provide the method that a kind of catalogue information format of realizing based on XML is changed, this method can make inventory information transmit and exchange in different systems, and need not to make a catalogue again.
In order to realize the foregoing invention purpose, the technical solution used in the present invention is as follows:
A kind of method that realizes the catalogue information format conversion based on XML may further comprise the steps:
(1) in origin system side, the source model of making a catalogue is imported to configuration interface, in configuration interface according to node or attribute in the GB catalogue model, through configuration operation, from the catalogue model of source, search node corresponding or attribute, generation source-GB corresponding relation file with it; Described GB catalogue model is the standard catalogue model in " radio and television audio and video files catalogue standard ", and described source catalogue model and GB catalogue model are the XML form;
(2) in purpose system side, the purpose model of making a catalogue is imported to configuration interface, in configuration interface according to node or attribute in the GB catalogue model, through configuration operation, from purpose catalogue model, search node corresponding or attribute with it, generate GB-purpose corresponding relation file, described purpose catalogue model is the XML form;
(3) if target catalogue model need obtain node or the attribute in the non-GB catalogue model from model is made a catalogue in the source, model and the purpose of need being made a catalogue in source catalogue model all imports to configuration interface, on configuration interface, select special joint or attribute in the purpose catalogue model then, from the catalogue model of source, select node or the attribute corresponding with it, node or attribute that these are special are set up corresponding relation, generation source-purpose corresponding relation file;
(4) according to source-GB corresponding relation file, GB-purpose corresponding relation file and source-purpose corresponding relation file source inventory information file is generated purpose inventory information file by the modular converter that is arranged on origin system side or purpose system or third party system.
Further, configuration operation process described in step (1) and (2) is, at first choose the node or the attribute that need in the XSD file of GB catalogue model correspondence to dispose, from source catalogue model or purpose catalogue model, search node corresponding or attribute then with it, set up corresponding relation, repeat aforesaid operations up to handling all node that need dispose or attributes.
Further, in step (1), if node or attribute in node in the GB catalogue model or attribute and the source catalogue model are identical, then need not configuration, system searches for node or the attribute that obtains in the GB catalogue model automatically from the catalogue model of source.
In step (2), if node or attribute in node in the GB catalogue model or attribute and the purpose catalogue model are identical, then need not configuration, system searches for node or the attribute that obtains in the GB catalogue model automatically from purpose catalogue model.
What further, write down in the source described in the step (1)-GB corresponding relation file is the xpath corresponding relation of node or attribute in source catalogue model and the GB catalogue model.
What write down in the GB described in the step (2)-purpose corresponding relation file is the xpath corresponding relation of node or attribute in GB catalogue model and the purpose catalogue model.
Source described in the step (3)-purpose corresponding relation file logging be source catalogue model and the make a catalogue xpath corresponding relation of special joint in the model or attribute of purpose.
Further, in the step (4), according to the xpath corresponding relation of node or attribute in the xpath corresponding relation of node or attribute in the xpath corresponding relation of node or attribute in source-GB corresponding relation file, the GB-purpose corresponding relation file and the source-purpose corresponding relation file source inventory information file is generated purpose inventory information file by modular converter.
Further, the modular converter described in the step (4) is arranged in the purpose system.
Effect of the present invention is, adopts method of the present invention to have following advantage:
(1) the media asset management system inventory information is shared, and does not need manually to make a catalogue again;
(2) original system need not to change, the inventory information that all can steadily utilize other system to transmit;
Catalogue model between (3) highly versatile, two media asset management systems is unrestricted.
Description of drawings
Fig. 1 makes a living into the process flow diagram of corresponding relational file;
Fig. 2 generates purpose inventory information process flow diagram according to respective file;
Fig. 3 is media asset management system catalogue model fragment figure;
Fig. 4 is video on-demand system catalogue model fragment figure.
Embodiment
The invention will be further described below in conjunction with embodiment and Figure of description.
A kind of method that realizes the catalogue information format conversion based on XML may further comprise the steps:
(1) in origin system side, the source model of making a catalogue is imported to configuration interface 1, i.e. the XSD file of importing source catalogue model 3 correspondences, in configuration interface 1 according to node or attribute in the GB catalogue model 4, through configuration operation 2 generations source-GB corresponding relation file 8.Described configuration operation process is as follows: at first choose the node or the attribute of a needs configuration among the XSD of GB catalogue model 4 correspondences, search node corresponding with it or attribute then from the catalogue model 3 of source, set up corresponding relation; Repeat aforesaid operations up to handling all node that need be configured or attributes.Preserve after finishing dealing with, promptly generate source-GB corresponding relation file 8.If node or attribute in node in the GB catalogue model 4 or attribute and the source catalogue model 3 are identical, then need not configuration, system can search for node or the attribute that obtains in the GB catalogue model automatically from the catalogue model of source.Described GB catalogue model is the standard catalogue model in " radio and television audio and video files catalogue standard "; Record is the xpath corresponding relation of source catalogue model 3 and middle node of GB catalogue model 4 (being the XML form) or attribute in described source-GB corresponding relation file 8, and wherein attribute adopts xpath to add the method record of " @ attribute-name ".As shown in Figure 1.Use XPath to be for most convenient, to locate a node location in the XML file the most efficiently in the present invention, thereby be that the different nodes of two XML files carry out content exchange and provide convenience.
(2) in purpose system side, the purpose model 3 of making a catalogue is imported to configuration interface 1, promptly import the XSD file of purpose catalogue model 3 correspondences, in configuration interface 1 according to node or attribute in the GB catalogue model 4, through configuration operation 2, from purpose catalogue model 3, search node corresponding or attribute, generate GB-purpose corresponding relation file 9 with it; If node or attribute in node in the GB catalogue model 4 or attribute and the purpose catalogue model 3 are identical, then need not configuration, system can search for node or the attribute that obtains in the GB catalogue model automatically from purpose catalogue model.Record is the xpath corresponding relation of GB catalogue model 4 and middle node of purpose catalogue model 3 (being the XML form) or attribute in described GB-purpose corresponding relation file 9, and wherein attribute adopts xpath to add the method record of " @ attribute-name ".As shown in Figure 1.
(3) if target catalogue model need obtain node or the attribute in the non-GB catalogue model from model is made a catalogue in the source, need so source model and the purpose catalogue model of making a catalogue is all imported to configuration interface 1, on configuration interface 1, select special joint or attribute in the purpose catalogue model then, promptly from GB catalogue model 4, can't find the node or the attribute of corresponding relation, from the catalogue model of source, select node or the attribute corresponding with it, node or attribute that these are special are set up corresponding relation, generation source-purpose corresponding relation file 10.What this respective file write down is the xpath corresponding relation of source catalogue model and middle special joint of purpose catalogue model (being the XML form) or attribute, and wherein attribute adopts xpath to add the method record of " @ attribute-name ".
(4) set up the corresponding relation of source catalogue model and purpose catalogue model node or attribute by modular converter 5 according to the xpath corresponding relation of node or attribute in the xpath corresponding relation of node or attribute in the xpath corresponding relation of node or attribute in source-GB corresponding relation file 8, the GB-purpose corresponding relation file 9 and the source-purpose corresponding relation file 10, at last by source inventory information file 6 generation purpose inventory information files 7.As shown in Figure 2.
Described modular converter 5 can be arranged in the origin system, also can be arranged in the purpose system, when these two systems all can not set up new functional module, also this module can be arranged in the third party system.Preferably this modular converter is arranged in the purpose system.
Adopt the concrete application example of the method for the invention:
The video on-demand system of certain TV station (purpose system side) obtains material information from the media asset management system (origin system side) of this TV station.In media asset management system, the catalogue model is compared with GB catalogue model, does not have the scene layer, and the camera lens layer is located immediately under the slice layer, has added the relevant information of key frame simultaneously.And the catalogue model in the video on-demand system does not have slice layer, and the scene layer is located immediately under the program layer.In addition, in media asset management system, all key frame informations of material have been write down, do not have the such saying of feature picture, and in video on-demand system, need to formulate the feature picture of material, the informational needs of this feature picture obtains from the key frame information of media asset management system.
At first, the model 3 of being made a catalogue in the source in media asset management system side imports in the configuration page 1, the i.e. XSD file of importing source catalogue model 3 correspondences, at first choose the node or the attribute of a needs configuration among the XSD of GB catalogue model 4 correspondences, from the catalogue model 3 of source, search node corresponding or attribute then, set up corresponding relation with it; Repeat aforesaid operations up to handling all node that need be configured or attributes, generation source-GB corresponding relation file 8.The node of node in this document in the record source catalogue model 3 and GB catalogue model 4 or the xpath corresponding relation of attribute, promptly " Program Sequence Lens Title "-" Program Sequence Scene Lens Title " etc. the information (is example with node Title) of form, as shown in Figure 3.
Then, in video on-demand system side, promptly purpose system side generates GB-purpose respective file 9, and method is the same.What write down in this document is node in the purpose catalogue model 3 or attribute and GB the make a catalogue node of model 4 or the xpath corresponding relation of attribute, promptly " Program Sequence Scene Lens Title "-" Program Scene Lens Title " etc. the information of form, as shown in Figure 4.
Like this, after modular converter 5 conversions, just node by GB catalogue model or attribute xpath path " Program Sequence Scene Lens Title " source the make a catalogue node or the attribute of model of the node of model or attribute and purpose of making a catalogue set up corresponding relation, promptly " Program Sequence Lens Title "-" Program Scene Lens Title "
In addition, owing in media asset management system, do not have the saying of feature picture, and in video on-demand system, need to formulate the feature picture of material.Therefore the informational needs of feature picture obtains from the key frame information of media asset management system, promptly will set up the make a catalogue corresponding relation of node in the model or attribute of non-GB in source and the purpose catalogue model, generation source-purpose corresponding relation file 10.This corresponding relation file can also can be finished in the configuration interface of purpose system side in origin system side, the information of forms such as record " MetaData KeyFrames KeyFrame "-" MetaData CharacterPicture ".
At last, three the corresponding relation files 8,9,10 that generate are imported in the modular converter 5, by modular converter 5 source inventory information file conversion is become purpose inventory information file, as shown in Figure 2.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.

Claims (7)

1. a method that realizes the catalogue information format conversion based on XML mainly comprises the steps:
(1) in origin system side, the source model of making a catalogue is imported to configuration interface, in configuration interface according to node or attribute in the GB catalogue model, through configuration operation, from the catalogue model of source, search node corresponding or attribute, generation source-GB corresponding relation file with it; Described GB catalogue model is the standard catalogue model in " radio and television audio and video files catalogue standard ", and described source catalogue model and GB catalogue model are the XML form;
(2) in purpose system side, the purpose model of making a catalogue is imported to configuration interface, in configuration interface according to node or attribute in the GB catalogue model, through configuration operation, from purpose catalogue model, search node corresponding or attribute with it, generate GB-purpose corresponding relation file, described purpose catalogue model is the XML form;
(3) if target catalogue model need obtain node or the attribute in the non-GB catalogue model from model is made a catalogue in the source, model and the purpose of need being made a catalogue in source catalogue model all imports to configuration interface, on configuration interface, select special joint or attribute in the purpose catalogue model then, from the catalogue model of source, select node or the attribute corresponding with it, node or attribute that these are special are set up corresponding relation, generation source-purpose corresponding relation file;
(4) according to source-GB corresponding relation file, GB-purpose corresponding relation file and source-purpose corresponding relation file source inventory information file is generated purpose inventory information file by the modular converter that is arranged on origin system side or purpose system or third party system.
2. a kind of method that realizes the catalogue information format conversion based on XML as claimed in claim 1, it is characterized in that: the configuration operation process described in step (1) and (2) is, at first choose the node or the attribute that need in the XSD file of GB catalogue model correspondence to dispose, from source catalogue model or purpose catalogue model, search node corresponding or attribute then with it, set up corresponding relation, repeat aforesaid operations up to handling all node that need dispose or attributes.
3. a kind of method that realizes the catalogue information format conversion based on XML as claimed in claim 1, it is characterized in that: in step (1), if node or attribute in node in the GB catalogue model or attribute and the source catalogue model are identical, then need not configuration, system can search for node or the attribute that obtains in the GB catalogue model automatically from the catalogue model of source.
4. a kind of method that realizes the catalogue information format conversion based on XML as claimed in claim 1, it is characterized in that: in step (2), if node or attribute in node in the GB catalogue model or attribute and the purpose catalogue model are identical, then need not configuration, system can search for node or the attribute that obtains in the GB catalogue model automatically from purpose catalogue model.
5. as the described a kind of method that realizes the catalogue information format conversion based on XML of one of claim 1 to 4, it is characterized in that: what write down in the source described in the step (1)-GB corresponding relation file is the xpath corresponding relation of node or attribute in source catalogue model and the GB catalogue model;
What write down in the GB described in the step (2)-purpose corresponding relation file is the xpath corresponding relation of node or attribute in GB catalogue model and the purpose catalogue model;
Source described in the step (3)-purpose corresponding relation file logging be source catalogue model and the make a catalogue xpath corresponding relation of special joint in the model or attribute of purpose.
6. a kind of method that realizes the catalogue information format conversion based on XML as claimed in claim 5 is characterized in that: according to the xpath corresponding relation of node or attribute in the xpath corresponding relation of node or attribute in the xpath corresponding relation of node or attribute in source-GB corresponding relation file, the GB-purpose corresponding relation file and the source-purpose corresponding relation file source inventory information file is generated purpose inventory information file by modular converter.
7. a kind of method based on the conversion of XML realization catalogue information format as claimed in claim 1, it is characterized in that: the modular converter described in the step (4) is arranged in the purpose system.
CNA2007101798574A 2007-12-19 2007-12-19 System for implementing catalogue information format conversion based on XML Pending CN101464866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101798574A CN101464866A (en) 2007-12-19 2007-12-19 System for implementing catalogue information format conversion based on XML

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101798574A CN101464866A (en) 2007-12-19 2007-12-19 System for implementing catalogue information format conversion based on XML

Publications (1)

Publication Number Publication Date
CN101464866A true CN101464866A (en) 2009-06-24

Family

ID=40805449

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101798574A Pending CN101464866A (en) 2007-12-19 2007-12-19 System for implementing catalogue information format conversion based on XML

Country Status (1)

Country Link
CN (1) CN101464866A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682027A (en) * 2011-03-16 2012-09-19 新奥特(北京)视频技术有限公司 Method and system for importing and exporting Eclipse rich client platform (RCP) data
CN105550219A (en) * 2015-12-04 2016-05-04 航天科工智慧产业发展有限公司 Information resource automatic cataloguing method
CN106484825A (en) * 2016-09-28 2017-03-08 东软集团股份有限公司 A kind of data processing method and device
CN109495392A (en) * 2018-10-31 2019-03-19 泰康保险集团股份有限公司 Message conversion process method and device, electronic equipment, storage medium
CN109582391A (en) * 2018-12-04 2019-04-05 中国航空工业集团公司西安航空计算技术研究所 A kind of device tree configuration method based on XML
CN111628975A (en) * 2020-05-12 2020-09-04 中国人民银行清算总中心 Method and device for assembling XML message

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682027A (en) * 2011-03-16 2012-09-19 新奥特(北京)视频技术有限公司 Method and system for importing and exporting Eclipse rich client platform (RCP) data
CN105550219A (en) * 2015-12-04 2016-05-04 航天科工智慧产业发展有限公司 Information resource automatic cataloguing method
CN106484825A (en) * 2016-09-28 2017-03-08 东软集团股份有限公司 A kind of data processing method and device
CN106484825B (en) * 2016-09-28 2019-12-13 东软集团股份有限公司 Data processing method and device
CN109495392A (en) * 2018-10-31 2019-03-19 泰康保险集团股份有限公司 Message conversion process method and device, electronic equipment, storage medium
CN109495392B (en) * 2018-10-31 2021-05-07 泰康保险集团股份有限公司 Message conversion processing method and device, electronic equipment and storage medium
CN109582391A (en) * 2018-12-04 2019-04-05 中国航空工业集团公司西安航空计算技术研究所 A kind of device tree configuration method based on XML
CN109582391B (en) * 2018-12-04 2022-05-24 中国航空工业集团公司西安航空计算技术研究所 XML-based equipment tree configuration method
CN111628975A (en) * 2020-05-12 2020-09-04 中国人民银行清算总中心 Method and device for assembling XML message

Similar Documents

Publication Publication Date Title
Wynar et al. Introduction to cataloging and classification
CN101464864B (en) Method for indexing and querying media materials by using relational database
CN101464866A (en) System for implementing catalogue information format conversion based on XML
Naing et al. Ontology-based web annotation framework for hyperlink structures
US20120128334A1 (en) Apparatus and method for mashup of multimedia content
CN106021393B (en) The grid equipment Standard Information Searching method and system of facing mobile apparatus
CN101464865A (en) System for implementing catalogue information format conversion based on XML
CN101908052A (en) Making method and device of multimedia program
CN101409657A (en) Household network system and method for searching information
CN102752538B (en) A kind of method of the generation of agent code stream material
Hardman Canonical processes of media production
CN105472421A (en) Video program collecting, editing and making method and system based on public cloud
CN105159904B (en) A kind of method and system of digital resource associate management
CN102289494B (en) System and method for generating video on demand one-way or two-way WEB navigation page
CN101667265A (en) Method for constructing program production management systems based on basic service engine layers
CN101276346A (en) High-grade medium browsing system
CN100413335C (en) Digital broadcast storage equipment and method using XML
Otto A sound strategy for preservation: Adapting Audio Engineering Society technical metadata for use in multimedia repositories
CN102541889A (en) Method for non-structured media data storage mode
Guo et al. News Production and Broadcasting Process Reengineering Based on Internet of Things and Computer Aided Technology
Madhwacharyula et al. Content based editing of semantic video metadata
Laborie et al. A generic framework for the integration of heterogeneous metadata standards into a multimedia information retrieval system
Edge et al. Building a sustainable metadata workflow for audio-visual resources: University of Illinois Library’s Medusa Digital Preservation Repository
CN102006513B (en) Analytical engine system suitable for HSML markup language
Zhang Application of Media Assets Management in TV Program Production

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