CN101051971A - Data exchanging method based on XML in digital home - Google Patents
Data exchanging method based on XML in digital home Download PDFInfo
- Publication number
- CN101051971A CN101051971A CN 200710027937 CN200710027937A CN101051971A CN 101051971 A CN101051971 A CN 101051971A CN 200710027937 CN200710027937 CN 200710027937 CN 200710027937 A CN200710027937 A CN 200710027937A CN 101051971 A CN101051971 A CN 101051971A
- Authority
- CN
- China
- Prior art keywords
- xml
- xml document
- data
- information
- visual
- 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
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000000007 visual effect Effects 0.000 claims abstract description 28
- 230000008569 process Effects 0.000 claims abstract description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000008676 import Effects 0.000 claims description 4
- 238000012360 testing method Methods 0.000 claims description 3
- 230000008859 change Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 9
- 230000009466 transformation Effects 0.000 abstract description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 8
- 238000011161 development Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000002955 isolation Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The method comprises: with Visual DTD, Visual XML Builder,Visual XML Transformation,Visual XML Creation,Visual XML query tools, using XML technology to process information data so as to use the data from different data sources to form a standard XML format information data which can be easily shared by all users.
Description
Technical field
The present invention relates to a kind of message transmission and switching technology, it is a kind of to relate in particular in a kind of digital home network the method for interchanging data based on XML.
Background technology
The switching technology of being used in the digital home network is still continued to use the method for interchanging data in traditional general network at present.Relevant E-Government information exchange has characteristics such as resource classification is other, branch rank, level of confidentiality difference in digital home, and each user, each department have autonomous storage, use and transmit resources shared.Therefore, strict rights management and safety isolation also must be carried out to storage, transmission and the use of various information in E-Government dedicated network inside.Yet, iff adopting technology such as traditional VLAN, fire compartment wall, secret machine, VPN, will greatly influence the switching performance of overall network on the one hand, its effect of isolating safely also may not satisfy the needs of electronic government affair network on the other hand.
Utilize the characteristic of Network Isolation in the message-switching technique, whole network can be divided into different network security territories.Security domain is that the user with similar authority can be divided in the consolidated network security domain by one group of security principal of same manager administration and object.Set up the Network Isolation point between the different security domains, adopt the authentication/encryption technology to realize limited controlled interconnection and interflow.This is one of solution comparatively desirable in the current electronic government affair network Safety Design, not only helps guaranteeing the fail safe of whole system, and can reduce the complexity of whole system access rights control, thereby reduces systematic risk.
But at present as a whole, national E-Government development and construction and uneven, E-Government development in southeastern coast developed area is very fast, and the low developed area, Midwest relatively lags behind.Simultaneously, because the government affairs construction of various places is all satisfying the purpose that is applied as separately, the standard that neither one is unified, thereby cause the waste of ample resources and the overlapping development of project, the result is the waste that has formed great amount of manpower and material resources.In addition, the government affairs information exchange in the current relevant digital home also exists a great problem: the government affairs information between each department makes up and goes up owing to there are not unified standards and norms, can not reach good resource-sharing and utilization each other.And the existence of this problem is restricting the fast development of E-Government always.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, providing a kind of can make the exchange of government affairs information in digital home convenient and efficiently based on the method for interchanging data of XML, can reach good resource-sharing and application so that make between the government affairs information of various places, thereby promote the fast development of E-Government.
At present most important and the most frequently used in the most frequently used exchanges data representation on the network is exactly XML.XML is the subclass of SGML, describes various types of data in structurized mode.It allows the document producer to create new mark, so that data of description more accurately.XML almost can describe the data of all spectra.It it is believed that breath with strict nested label table registration, is particularly suitable for using under the multiple spot exchanges data environment of the Internet.
Purpose of the present invention is achieved by the following technical programs:
Based on the method for interchanging data of XML, may further comprise the steps in a kind of digital home provided by the invention:
(a) information data that exchanges of the needs that the user is submitted to adopts Visual DTD to create and check the DTD template;
(b) adopt Visual XML Creation that corresponding database is inquired about, pattern according to above-mentioned DTD, adopt Visual XML Builder that the information inquiring result is made up effective XML document, comprise: XML structure or the template of DTD followed in customization, or imports data and generate XML document in XML structure or template;
(c) from constructed XML document, in conjunction with corresponding result and adopt Visual XMLTransformation to create a new XML document, thereby the source of realization XML document and is carried out unit testing to the XSLT script of generation to the conversion of target XML document; The new XML document that to change is then put into corresponding database;
(d) according to the information in the new XML document, use Visual XML Creation to link to each other with corresponding database, and the table in the searching database, the new XML document from SQL query is created and changed generates an XML document and corresponding D TD according to Query Result; Select different templates by relation data being mapped to the XML form, generate default XSL style sheet and format XML document, query statement is saved in the structured file;
(e) user conducts interviews by the information of digital home network after to relevant treatment, thereby finishes corresponding reciprocal process.
The data of each functional department original dispersion, isomery need be carried out effectively integratedly based on the isomery information integration of XML and shared E-Government project construction, the abundant form of expression flexibly of XML provides important basis for the integrated of isomery information with sharing.The present invention is by described Visual DTD, Visual XML Builder, VisualXML Transformation, Visual XML Creation, Visual XML Query instrument, adopt the XML technology that information data is handled, thereby different data sources is formed XML reference format information data, made things convenient for the transmission exchange of information and sharing of resource.
Relevant information data after the processing that the user is visited in information data that the user submits in the step of the present invention (a) and the step (e) is the HTM formatted file, to adapt to the application of home network.
The present invention has following beneficial effect:
(1) can be with different information data, be formulated to the information of XML reference format according to the XML technology, the information that makes can be transmitted exchange easily and share between digital home network and government department's network, inconsistent situation takes place the standard difference that can avoid occurring because of information institute foundation between each department.
(2) make information resources can access reasonable use, saved the man power and material, help promoting the development of E-Government.
Description of drawings
The present invention is described in further detail below in conjunction with embodiment and accompanying drawing:
Fig. 1 is the workflow block diagram of the embodiment of the invention.
Embodiment
Figure 1 shows that embodiments of the invention.After the user opened digital home network, the user sent request from client, after service end receives request, according to the requirement of client corresponding information was formulated in accordance with the data of XML technical standard according to the XML technology and transmitted exchange.As shown in Figure 1, handing over charges for water and electricity with the user of digital home by network is that example describes, and may further comprise the steps:
(1) at first the user imports card number, the charge type that will pay and other information on the Web page, forms a claimrecord.htm file, then this claimrecorde.htm file is sent to Running-water Company.
(2) Running-water Company is according to the user's card number that obtains, adopt Visual XML Creation that database is inquired about, find corresponding user profile, comprise the expense that to hand over etc., and the DTD template of being created according to Visual DTD, Query Result is generated the claimrecord.dtd file, adopt Visual XML Builder that the claimrecord.dtd fileinfo is generated the claimrecorde.xml document then, comprise: XML structure or the template of DTD followed in customization, or imports data and generate XML document in XML structure or template.For example, the XML template of DTD is followed in establishment, the XML template is increased other semantic information, as the data type in territory or the default value in certain territory, particular procedure logical definition user interface to application-specific, support is reused other XML templates, comes XML document is carried out the final XML document of validity check establishment according to DTD or other semantic information.Again the claimrecord.xml that generates is submitted to Banking sector, Banking sector carries out reimbursement of expense according to user profile and handles.
(3) Banking sector connects banking data base with Visual XML Creation according to the claimrecord.xml document of gained, and the water rate that will pay is deducted with Visual XML Query searches the user in database Bank Account Number, new then information joins in the XML document, adopt Visual XMLTransformation to create a new XML document response.xml, comprise the corresponding expense of deducting from user account in the middle of this.Its major function of Visual XML Transformation is: the DTD that constructs a target XML document according to the DTD of one or more sources XML document of importing visually, create DTD as a result, generate the XSLT script, thereby the source of realization XML document is to the conversion of target XML document, and the XSLT script that generates carried out unit testing, then the XML document of conversion is put into corresponding database.Afterwards, again this new XML file response.xml is sent to Running-water Company.
(4) personnel of Running-water Company handle according to information among the file response.xml, use Visual XMLCreation to link to each other with used database, and by a Visual XML Query SQL query statement of input user message table in the searching database in database, carry out and the display result collection, generate an XML document and corresponding D TD according to Query Result.Can select different templates by relation data being mapped to the XML form, generate default XSL style sheet and format XML document, query statement is saved in the structured file, wherein also comprise the small server programs that to handle this document, returned to the user forming a response.html file again after handling then.
(5) user conducts interviews by the information of digital home network after to relevant treatment, can demonstrate corresponding paying prompt for successful information on user's video terminal, thereby finishes user carries out water rate by swiping the card online delivery process.
Mainly be to have finished data information exchange function between different departments in this process by above 5 kinds of relevant XML instruments, be meant the exchanges data between Banking sector and the Running-water Company in the superincumbent example, and adopt and thisly carry out exchanges data based on the XML formatted file, except realizing not showing the data exchanging function between the department, also have characteristics to be that the employing of this mode can ensure the fail safe of data on network because the XML exchanged form it reliable guarantee is arranged aspect Information Security.
Claims (2)
1, in a kind of digital home based on the method for interchanging data of XML, it is characterized in that may further comprise the steps:
(a) information data that exchanges of the needs that the user is submitted to adopts Visual DTD to create and check the DTD template;
(b) adopt Visual XML Creation that corresponding database is inquired about, pattern according to above-mentioned DTD, adopt Visual XML Builder that the information inquiring result is made up effective XML document, comprise: XML structure or the template of DTD followed in customization, or imports data and generate XML document in XML structure or template;
(c) from constructed XML document, in conjunction with corresponding result and adopt Visual XMLTransformation to create a new XML document, thereby the source of realization XML document and is carried out unit testing to the XSLT script of generation to the conversion of target XML document; The new XML document that to change is then put into corresponding database;
(d) according to the information in the new XML document, use Visual XML Creation to link to each other with corresponding database, and the table in the searching database, the new XML document from SQL query is created and changed generates an XML document and corresponding D TD according to Query Result; Select different templates by relation data being mapped to the XML form, generate default XSL style sheet and format XML document, query statement is saved in the structured file;
(e) user conducts interviews by the information of digital home network after to relevant treatment, thereby finishes corresponding reciprocal process.
2, in the digital home according to claim 1 based on the method for interchanging data of XML, it is characterized in that: the relevant information data after the processing that the user is visited in information data that the user submits in the described step (a) and the step (e) is the HTM formatted file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710027937 CN101051971A (en) | 2007-05-10 | 2007-05-10 | Data exchanging method based on XML in digital home |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710027937 CN101051971A (en) | 2007-05-10 | 2007-05-10 | Data exchanging method based on XML in digital home |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101051971A true CN101051971A (en) | 2007-10-10 |
Family
ID=38783175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710027937 Pending CN101051971A (en) | 2007-05-10 | 2007-05-10 | Data exchanging method based on XML in digital home |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101051971A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789021A (en) * | 2010-02-24 | 2010-07-28 | 浪潮通信信息系统有限公司 | Universal configurable database data migration method |
CN102232177A (en) * | 2008-09-09 | 2011-11-02 | 德国电信技术服务有限责任公司 | Method and distributed system for detecting and managing data from a plurality of measuring devices |
CN102572724A (en) * | 2011-12-12 | 2012-07-11 | 天津七一二通信广播有限公司 | Method for configuring digital trunked terminal in XML form |
CN107102371A (en) * | 2017-04-18 | 2017-08-29 | 上海出入境检验检疫局动植物与食品检验检疫技术中心 | A kind of radioactivity monitoring system result data exchange agreement |
-
2007
- 2007-05-10 CN CN 200710027937 patent/CN101051971A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102232177A (en) * | 2008-09-09 | 2011-11-02 | 德国电信技术服务有限责任公司 | Method and distributed system for detecting and managing data from a plurality of measuring devices |
CN102232177B (en) * | 2008-09-09 | 2013-10-23 | 电信系统公司 | Method and distributed system for detecting and managing data from plurality of measuring devices |
CN101789021A (en) * | 2010-02-24 | 2010-07-28 | 浪潮通信信息系统有限公司 | Universal configurable database data migration method |
CN102572724A (en) * | 2011-12-12 | 2012-07-11 | 天津七一二通信广播有限公司 | Method for configuring digital trunked terminal in XML form |
CN107102371A (en) * | 2017-04-18 | 2017-08-29 | 上海出入境检验检疫局动植物与食品检验检疫技术中心 | A kind of radioactivity monitoring system result data exchange agreement |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130103705A1 (en) | Schema mapping and data transformation on the basis of a conceptual model | |
US20070038648A1 (en) | Transforming a legacy IT infrastructure into an on-demand operating environment | |
CN101957865A (en) | Data exchange and sharing technology among heterogeneous systems | |
WO2009074878A2 (en) | Formatted intellectual property data exchange over a network | |
CN103605705A (en) | SCD (substation configuration description) file management system | |
CN103679557B (en) | Power system operating mode data management system based on C/S framework and its implementation | |
CN101051971A (en) | Data exchanging method based on XML in digital home | |
CN103078960A (en) | System for exchanging and sharing data of confidential electronic files | |
CN114281790A (en) | Multi-type load resource aggregator access system and method | |
CN101075227A (en) | Emerging system based on mass traffic information | |
CN108650107A (en) | Cloud computing operation management system | |
CN103092873A (en) | XML (Extensive Makeup Language) and Web Service technology based isomerous database integration method | |
CN101320453A (en) | Electronic official document circulation automatization method based on Web service | |
Chen et al. | Implementation and Test of an IEC 61850-Based Automation Framework for the Automated Data Model Integration of DES (ADMID) into DSO SCADA | |
Veichtlbauer et al. | Advanced metering and data access infrastructures in smart grid environments | |
CN115440353A (en) | Digital medical system based on shared service and implementation method thereof | |
CN103745025A (en) | Integrated EMTDC (electromagnetic transient DC) comprehensive application platform of high-voltage direct current system | |
Xu | [Retracted] Social Governance Structure Construction and Resource Allocation Methods under the Management Mode of the Internet of Things | |
Xing et al. | Design and implementation of an XML-based penetration testing system | |
Qin et al. | Construction of E-government data sharing framework based on big data technology | |
Ruehl et al. | Development of PRIMRE the Portal and Repository for Information on Marine Renewable Energy. | |
Zhu et al. | Group Decision Model of Intelligent Traffic Integrated Information Platform Based on Multi-Agent Technique | |
Zhou et al. | Research on big data open intelligent platform of guizhou province E-government service | |
CN113435828A (en) | Mobile terminal for operation and maintenance integrated management service of wind power plant | |
Rinderle-Ma et al. | Conclusion and Further Interoperability Aspects |
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 |