CN101651656A - Method and system for message conversion in system integration of global station network of television station - Google Patents
Method and system for message conversion in system integration of global station network of television station Download PDFInfo
- Publication number
- CN101651656A CN101651656A CN200810118255A CN200810118255A CN101651656A CN 101651656 A CN101651656 A CN 101651656A CN 200810118255 A CN200810118255 A CN 200810118255A CN 200810118255 A CN200810118255 A CN 200810118255A CN 101651656 A CN101651656 A CN 101651656A
- Authority
- CN
- China
- Prior art keywords
- message
- format
- conversion
- module
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to television program production and broadcast technology in the field of broadcast and television, in particular to a method and a system for message conversion in the system integration of a global station network of a television station. The method comprises the following steps: according to schema files of a source message and a target message with different formats, establishing a conversion template, performing mapping between two different schema files in the template and designating corresponding relations between attributes of the source message and the target message; and after the source message is accessed to a system platform, according to a definition of a source message format in the conversion template, identifying data information and attribute information in the source message, converting the data information and the attribute information into a target message format and outputting the converted target message format to a message receiving end. The method and the system for the message conversion in the system integration of the global station network of the television station can automatically finish the conversion of the message formats andensure the integrality and the conformity of the content of the messages, so the message communication between two or more service modules can be achieved.
Description
Technical field
The present invention relates to broadcasting and TV field TV programme record and broadcast technology, be specifically related to the method and system of message conversion in the full court net system integration of a kind of TV station.
Background technology
Current domestic and international radio, TV and film industries in the overall development direction aspect information-based are: information sharingization, operation flowization and management integration.Realizing that these three aspects at first just necessarily require between each operational plate of TV station can excellent communications, carries out the transmission and the exchange of message.In TV station's full court networking solution, proposed to adopt the double structure of ESB ESB+ media services bus EMB based on the SOA framework.Operational plate sends message by different access forms to the trunk platform by the service that is registered on the trunk platform, and the trunk platform receives the destination that passes to message after the message through certain routing policy.Along with increasing of plate, interconnect between plate, realize that the demand of the information sharing between each plate is arisen at the historic moment.And each operational plate has the different forms of expression to same information data, or has other source message and the unmatched situation of purpose message.
ESB ESB is the intermediary that realizes intelligent integrated and management between service in the SOA framework, is distributed, message based integrated solution, follows open standard.The reliable communication of easier foundation that the role of ESB is in various IT resources--being distributed in such as enterprise between application system, platform and the service in the different systems--.ESB has adopted message to encapsulate this thought, and to the calling all and encapsulate by unified message interface of service, no matter message is synchronous or asynchronous all.ESB can also also provide same interface to other messenger service of enterprise in addition, mail for example, JMS, IBM MQ, MSMQ or the like.Can say so, ESB is that (in the SOA framework) implements the integrated mode of enterprise under the specific environment: at first, in the ESB system, the object that is integrated clearly is defined as service, rather than the traditional forms of enterprises integrated in various middleware platforms, so greatly simplified the consideration on integrated isomerism, because no matter what kind of has use bottom layer realization, so long as the service in the SOA framework, it just necessarily is based on standard.
In the design that operational plate in the past interconnects, often take artificially to set a kind of unified data description form.Need find the manufacturer of each operational plate to decide through consultation together, consume a large amount of time, man power and material, mode is dumb in the extreme, have a bit to change just to notify all relevant department and personnel, but the formulation of the data format of message often is difficult to reach an agreement.And for existing system, the change of data format means that the background process program also wants corresponding making amendment, and the workload of maintenance is big, and mode is dumb.
Substantially all be the XML message format from each plate to the message format that ESB transmits at present.XML can relative again simple explanation data message of clear while as a kind of cross-platform structureless SGML.One of its advantage is to allow the user according to hobby be accustomed to self-defined file layout to same data.Therefore under the main trend of TV station's network full courtization,, there is different storage formats in same data because each operational plate may be different vendor's exploitation.After some operational plates sent its self-defining message format by the ESB platform, when passing to other operational plates by the ESB platform, though the information content is complete complete, because the difference of descriptor format, the purpose plate can not correctly read information.
Summary of the invention
The objective of the invention is the technological deficiency that in message process, exists at present different business plate, the method and system of message conversion in the full court net system integration of a kind of TV station are provided, this method can be finished the conversion of message format automatically and guarantee the integrality and the consistency of message content, thereby realizes the message communicating between two or more business modules.
Technical scheme of the present invention is as follows: the method for message conversion in the full court net system integration of a kind of TV station comprises the steps:
(1) according to the schema document of the source message and the purpose message of different-format, sets up conversion module, in template,, indicate source message and each corresponding relationship between attributes of purpose message shining upon between two kinds of different schema documents;
(2) behind the message access system platform of source, according in the conversion module to the definition of source message format, identify data message and attribute information in the message of source;
(3) according in the conversion module to the definition of purpose message format, the data message and the attribute information that obtain in the step (2) are converted to the purpose message format;
(4) the purpose message format after the conversion is exported to the message sink end.
In the method for message conversion, described source message and purpose message all are the XML format files in the full court net system integration of above-mentioned TV station.
Further, in the full court net system integration of above-mentioned TV station in the method for message conversion, conversion module is the script of being write as by XQuery and XPath and XSDL, has defined the transformation rule of the source message of different-format in the miscellaneous service plate to purpose message.
The system of message conversion in the full court net system integration of a kind of TV station comprises:
-message sink module, the reception that is used to provide unified enters the mouth, and receives from the message adapter of ESB ESB with the multi-form XML message that is delivered to ESB;
-content extraction module is used for the definition according to the source message format, identifies data message and attribute information in the message of source;
-format converting module is used for the definition according to the purpose message format, and data message that obtains in the content extraction module and attribute information are converted to the purpose message format;
-conversion module module, the script by XQuery and XPath and XSDL are write as has defined the transformation rule of the source message of different-format in the miscellaneous service plate to purpose message;
-message output module is used for the purpose message format after the conversion is exported to the message sink end by unified interface;
Wherein, the message sink module connects content extraction module, content extraction module linking format modular converter, and format converting module connection message output module, content extraction module also is connected with the conversion module module respectively with format converting module.
Beneficial effect of the present invention is as follows: the method for the invention and system provide a kind of conversion recombination mechanism for the different-format message of different business plate, thereby have realized that the interplate accessible information of different business reads.After the user only need know the transmitting terminal form and receiving terminal form of message, by in modular converter, disposing accordingly, modular converter extracts data and converts the form that destination can be discerned then to from the message that receives, can finish the conversion of message format and the integrality and the consistency of assurance message content automatically, thereby arrive the purpose that realizes message communicating between two or more operational plates.
Description of drawings
Fig. 1 is a method flow diagram of the present invention.
Fig. 2 is a system construction drawing of the present invention.
Fig. 3 is the source message XML form of operational plate in the specific embodiment.
Fig. 4 is the purpose message XML form of message sink end in the specific embodiment.
The result of Fig. 5 for adopting XQuery and XSDL that source message attributes information among Fig. 4 is extracted and changed.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in detail.
The message format of the operational plate that the present invention was suitable for is the XML form, and as shown in Figure 1, the method for message conversion comprises the steps: in TV station's full court net system integration
(1) according to the schema document of the source message and the purpose message of different XML forms, sets up conversion module, in template,, indicate source message and each corresponding relationship between attributes of purpose message shining upon between two kinds of different schema documents;
(2) behind the message access system platform of source, according in the conversion module to the definition of source message format, identify data message and attribute information in the message of source;
(3) according in the conversion module to the definition of purpose message format, the data message and the attribute information that obtain in the step (2) are converted to the purpose message format;
(4) the purpose message format after the conversion is exported to the message sink end.
As shown in Figure 2, message conversion system of the present invention mainly is divided into message sink module, content extraction module, format converting module, message output module and conversion module module five major parts.
Message sink module: unified reception inlet is provided, from the message adapter of ESB ESB, receives with the multi-form XML message that is delivered on the ESB.
Content extraction module: according in the conversion module to the definition of source message format, identify in the message which be data message which be attribute information.
Format converting module: according in the conversion module to the definition of purpose message format, data message that obtains in the contents extraction and attribute information are converted to the purpose message format.
Message output module: the purpose message format after the conversion is exported to the message sink end by unified interface.
The conversion module module: the ESB keeper is according to the form schema definition of source message and purpose message, and the configuration messages transformation rule disposes the message transmission of this application of rules in the middle of which operational plate simultaneously.The conversion masterplate is the core of message conversion module, is used to store a large amount of transformation rules.These rules adopt XQuery and XPath to be described.
Conversion module is the script of being write by XQuery and XPath and XSDL, has defined the transformation rule of source message to purpose message.Source message and purpose message all are the xml format files, but the schema form of document is inequality.In template, between two schema, do mapping, indicate source message and each corresponding relationship between attributes of purpose message.
XPath is the language that is used by the peculiar field that the cover that the W3C committee formulates adopts similar mode of searching hereof to inquire about from XML document, adopt or // wait description form to come the locator data resource.And XQuery also is the query language at the XML format file that W3C initiated in 1998.Through the development in nearly ten years and constantly correction, possessed more complete comprehensive query specification at XML document.Its core is XQuery1.0.Clearly defining XQuery in 1.0 versions is a kind of XML query language (an XMLQuery Language), and XPath is concentrated inalienable part as XQuery.XPath is simple relatively, can satisfy most query demand, but expresses expression formula, the transformation result collection of more complicated record alternative condition if desired or carry out recursive query, then needs to use XQuery.The message format that receives at the ESB platform is owing to come from different operational plates, and numerous and diverse degree of descriptor format is not easy to control.Therefore adopt the more powerful XQuery of function to be the basis, support the query conversion of XPath simultaneously.
Extending marking transfer language XSLT (Extensible Stylesheet Language Transformation) can become another kind of XML document form from a kind of format conversion with XML document.It only is the conversion of form and do not revise the content of original document.Generally, XSLT and XPath are used, and resource are positioned by element and the attribute of XML by XPath, then XSLT output destination document form.
In actual applications, use XQuery and XPath and XSDL to write two message conversion templates between heterogeneous system according to schema document research staff, part as the project project file, after receiving source message, message call conversion module in the JAVA program becomes purpose message according to the rule of template definition with the source message conversion.For better explanation XQuery and the application of Xpath in message conversion, illustrate the application scenarios of message conversion.Suppose that the message xml form that receives from operational plate A as shown in Figure 3, and the message xml form that the purpose receiving terminal of message can be discerned as shown in Figure 4, because form there are differences, need to adopt XQuery and XSLD that " service " element property information in the message of source is extracted and changed, its result as shown in Figure 5.
The present invention will realize the access of various message, the support of ESB ESB platform at first must be arranged, and the application development language of each operational plate can be supported the development scheme of WebService or message queue.Each operational plate application program in TV station substantially all is to adopt the development language of main flow at present, and these language can both well be supported above-mentioned two kinds of message access waies.
From the angle of hardware supports, need application deployment server and message-oriented middleware server, if desired message is carried out persistent storage, also need a database server.Trunk ESB needs Web Application Server that its operation is supported for adopting the Web application software of Java language exploitation.Different Web Application Servers is also not quite alike to the support of message middleware server, and need be configured and could work together, and the concrete configuration step is common practise to those skilled in the art, no longer describes in detail here.
For example select JBoss Application Server 4.0.1+ActiveMQ 4.0.1+Microsoft SQLServer 2000 for use.Need to integrate earlier JBoss AS and ActiveMQ, after integration is finished, in ESB, select " using JMS to insert ".Then operational plate will be delivered to buffer memory among the ActiveMQ with the message call that JAVA sends, and handle after reading for ESB.
Method and system 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 execution mode, belongs to technological innovation scope of the present invention equally.
Claims (4)
1. the method for message conversion in TV station's full court net system integration comprises the steps:
(1) according to the schema document of the source message and the purpose message of different-format, sets up conversion module, in template,, indicate source message and each corresponding relationship between attributes of purpose message shining upon between two kinds of different schema documents;
(2) behind the message access system platform of source, according in the conversion module to the definition of source message format, identify data message and attribute information in the message of source;
(3) according in the conversion module to the definition of purpose message format, the data message and the attribute information that obtain in the step (2) are converted to the purpose message format;
(4) the purpose message format after the conversion is exported to the message sink end.
2. the method for message conversion in the TV station as claimed in claim 1 full court net system integration, it is characterized in that: described source message and purpose message all are the XML format files.
3. the method for message conversion in the TV station as claimed in claim 1 or 2 full court net system integration, it is characterized in that: described conversion module is the script of being write as by XQuery and XPath and XSDL, has defined the transformation rule of the source message of different-format in the miscellaneous service plate to purpose message.
4. the system of message conversion in TV station's full court net system integration comprises:
-message sink module, the reception that is used to provide unified enters the mouth, and receives from the message adapter of ESB ESB with the multi-form XML message that is delivered to ESB;
-content extraction module is used for the definition according to the source message format, identifies data message and attribute information in the message of source;
-format converting module is used for the definition according to the purpose message format, and data message that obtains in the content extraction module and attribute information are converted to the purpose message format;
-conversion module module, the script by XQuery and XPath and XSDL are write as has defined the transformation rule of the source message of different-format in the miscellaneous service plate to purpose message;
-message output module is used for the purpose message format after the conversion is exported to the message sink end by unified interface;
Wherein, the message sink module connects content extraction module, content extraction module linking format modular converter, and format converting module connection message output module, content extraction module also is connected with the conversion module module respectively with format converting module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810118255A CN101651656A (en) | 2008-08-12 | 2008-08-12 | Method and system for message conversion in system integration of global station network of television station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810118255A CN101651656A (en) | 2008-08-12 | 2008-08-12 | Method and system for message conversion in system integration of global station network of television station |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101651656A true CN101651656A (en) | 2010-02-17 |
Family
ID=41673770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810118255A Pending CN101651656A (en) | 2008-08-12 | 2008-08-12 | Method and system for message conversion in system integration of global station network of television station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101651656A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263851A (en) * | 2010-05-31 | 2011-11-30 | 北京迅捷英翔网络科技有限公司 | Message conversion method |
CN102752634A (en) * | 2011-12-29 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method for serial editing of advertisements |
CN102957609A (en) * | 2011-08-26 | 2013-03-06 | 北京大学 | Message routing method and message routing device |
CN111200523A (en) * | 2019-12-27 | 2020-05-26 | 平安银行股份有限公司 | Middle station system configuration method, device, equipment and storage medium |
CN111274257A (en) * | 2020-01-20 | 2020-06-12 | 山东汇贸电子口岸有限公司 | Real-time synchronization method and system based on data |
-
2008
- 2008-08-12 CN CN200810118255A patent/CN101651656A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263851A (en) * | 2010-05-31 | 2011-11-30 | 北京迅捷英翔网络科技有限公司 | Message conversion method |
CN102957609A (en) * | 2011-08-26 | 2013-03-06 | 北京大学 | Message routing method and message routing device |
CN102752634A (en) * | 2011-12-29 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method for serial editing of advertisements |
CN111200523A (en) * | 2019-12-27 | 2020-05-26 | 平安银行股份有限公司 | Middle station system configuration method, device, equipment and storage medium |
CN111200523B (en) * | 2019-12-27 | 2023-08-22 | 平安银行股份有限公司 | Method, device, equipment and storage medium for configuring middle platform system |
CN111274257A (en) * | 2020-01-20 | 2020-06-12 | 山东汇贸电子口岸有限公司 | Real-time synchronization method and system based on data |
CN111274257B (en) * | 2020-01-20 | 2023-10-20 | 山东省电子口岸有限公司 | Real-time synchronization method and system based on data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8065657B2 (en) | Exchange infrastructure system and method | |
CN101609415B (en) | Universal service calling system and method based on middleware | |
CN100583783C (en) | Integration tool for telecommunication area inheritance system based on configuration policy | |
US7904111B2 (en) | Mobile exchange infrastructure | |
EP1753195A1 (en) | Server computer, client device and web service implemented data processing method | |
CN101371551A (en) | Network management information representation method and system | |
CN102291460B (en) | Information resource access method based on Web Service | |
CN101334872B (en) | Electronic government documents exchanging method based on web service | |
CN101651656A (en) | Method and system for message conversion in system integration of global station network of television station | |
CN103401897A (en) | Method for constructing distributed service registration center | |
CN104636329A (en) | Unified management method for large-scale cross-platform heterogeneous data | |
US20080098346A1 (en) | Mapping Web Services Description Language documents to XQuery functions | |
CN101651631B (en) | Method for message access in system integration of global station network of television station | |
CN103092982B (en) | Based on the information service system of multi views business model | |
CN102739788A (en) | Field equipment communication method based on European installation bus (EIB) protocol | |
AU2003223040B2 (en) | Exchange infrastructure system and method | |
Dai | Design and implementation of ESB based on SOA in power system | |
CN105812241A (en) | Enterprise application integration method and system based on Spring Integration | |
CN101795237A (en) | Workflow integration method and device based on data exchange | |
CN101655797B (en) | Establishing method of member and function library with description information | |
CN101651632B (en) | Message access system applied to global station network main platform of television station | |
JP2012528367A (en) | Method and associated system for adapting data in a data transmission system | |
Suzuki et al. | SoftDock: a distributed collaborative platform for model-based software development | |
Li et al. | Heterogeneous system integration based on service component | |
CN102651735A (en) | Converting and processing method for service description protocol |
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: 20100217 |