CN102646039A - Software interface generating system and method based on extensible markup language (XML) Schema - Google Patents
Software interface generating system and method based on extensible markup language (XML) Schema Download PDFInfo
- Publication number
- CN102646039A CN102646039A CN2012100490143A CN201210049014A CN102646039A CN 102646039 A CN102646039 A CN 102646039A CN 2012100490143 A CN2012100490143 A CN 2012100490143A CN 201210049014 A CN201210049014 A CN 201210049014A CN 102646039 A CN102646039 A CN 102646039A
- Authority
- CN
- China
- Prior art keywords
- xml schema
- software interface
- module
- xml
- dom tree
- 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
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a software interface generating system and a software interface generating method based on extensible markup language (XML) Schema and belongs to the technical field of information processing. The software interface generating system comprises an XML Schema management module, an XML Schema analysis module, a software interface generating module and a data verifying and updating module in sequential connection. According to the software interface generating method, management interface selection provided by the XML Schema management module is used for generating XML Schema files of an software interface; the XML Schema analysis module obtains a document object model (DOM) tree structure; the DOM tree is converted into a hypertext markup language (HTML) DOM tree structure by the software interface generating module to form the final software interface; and the data verifying and updating module verifies data uploaded by users through the XML Schema files. The system and the method solve the problems that the software interface design period is long, the multiplex rate is low, the interface code modification cost is too high, and the like.
Description
Technical field
The present invention relates to software interface generation system and method, belong to the technical field of information processing based on XML Schema.
Background technology
Infosystem is as a kind of abstract social system, because can manage magnanimity information in time, reliably, easily, so play irreplaceable effect in many applications, it has become the important means of people's understanding and research objective world.In application facet, infosystem has been macroscopical decision-making assistant information that country and government agencies at all levels provide a large amount of science in the development of the national economy, has produced the huge social benefit.Growing field; All or include infosystem in department commercial application schedule like Aero-Space, meteorology, ocean, medicine, finance, traffic and various enterprises and institutions; Give full play to its advantage; And combine with traditional service technique, make related service work do science, accurately and quick more.
Simultaneously, along with the process of social informatization and the singularity in each field, the kind of infosystem is increasing thereupon.Develop into the more popular ERP of present research (Enterprise Resources Plan), PLM (product life cycle system), GIS (GIS-Geographic Information System) etc. from MIS (MIS) originally.They all are on the basis of conventional information system, have merged the structure of knowledge of this area, have formed the infosystem that possesses specific function, and they are more convenient more effective on the processing specific matters than general infosystem.But this has also produced new problem thereupon, promptly the dirigibility of system maintenance, the requirement of expansibility is improved greatly.
For this situation, proposed the prototype method in the soft project at present, proposed technology such as software repeated usage in the program development, the demand that solved to a great extent can't in time be confirmed but still accomplish the problem of system development.But,, require in the system part of module change very flexibly for some emerging field.Wherein mainly be that the change that relates to the system interaction part is had relatively high expectations.Just very complicated like the uncertainty of inputting interface, often system development for a long time, add new demand again, make that a lot of codes remodify again on the interface.
In the exploitation of legacy system, Interface Design planning and completion depend on the art designing in the team.Common way is the requirement according to user in the demand analysis, and it is fixed that the HTML code that the interface is corresponding is write at client-server in advance, and the program of server end is responsible for completion by other people then.At last need be with successive, realize from the foreground to the server end again a workflow on foreground.Backstage exploitation has the support of SSH framework at present, has accomplished software repeated usage to a great extent, has well supportive to the expansion of system.But the expansibility on foreground but is difficult to accomplish, if requirement change, the interface needs to revise, and then needs the art designing to contrast demand, revises the HTML code in the foreground line by line, and is very loaded down with trivial details.Often spend lot of manpower and material resources and also be difficult to reach requirement, lose more than gain.Therefore, we hope to have a kind of method can realize the generation at interface through less cost, just can not realize the modification to the interface through the art designing simultaneously as far as possible.
Summary of the invention
The present invention is directed in the exploitation of existing information system interface and revise the big deficiency of cost; Software interface generation system and method based on XMLSchema have been proposed; Come dynamically to generate the HTMLDOM structure on the interface through analyzing XML Schema DOM structure; Thereby realized the target that the infosystem median surface generates automatically, revises flexibly, can verify data very easily through XML Schema simultaneously.
The present invention adopts following technical scheme for realizing the foregoing invention purpose:
Software interface generation system based on XML Schema; Comprise XML Schema administration module, XMLSchema parsing module, software interface generation module, data verification and update module, client-server; Wherein: said XML Schema administration module, XML Schema parsing module, software interface generation module, data verification and update module connect successively; The data-interface of said XML Schema administration module, the data-interface of software interface generation module are connected with server respectively, and said XML Schema administration module, data verification and update module are all mutual with database;
Said XML Schema administration module is used for generating administration interface at client-server and supplies user's increase, deletion, modification, inquiry to be kept at the XML Schema file of database; Selection is used to generate the XML Schema file of software interface, representes the XML Schema fileinfo of having preserved in the database with tabular form;
Said XML Schema parsing module is used to read the selected XML Schema file that is used to generate software interface of XML Schema administration module, the information of the record XML pairing dom tree structure of Schema file and each node of dom tree;
It is HTML dom tree structure that said software interface generation module is used for the pairing dom tree Structure Conversion of XML Schema parsing module XML Schema file;
Said data verification and renewal mould are used for the data encapsulation that the software interface generation module obtains is become XML document; With the XML Schema file that generates software interface said XML document is verified then; And will store database into through the XML document of checking, unsanctioned XML document is returned error message;
Said client-server is used to show the administration interface of XML Schema administration module generation and the software interface that the software interface generation module generates; The user is returned to XML Schema administration module to the operation information of XML Schema file, and the data that the user filled in administration interface return to data verification and update module.
Software interface generation method based on XML Schema comprises the steps:
Step 2, XML Schema parsing module read the selected XML Schema file that is used to generate software interface of XML Schema administration module, the information of record XML Schema dom tree structure and each node of dom tree;
Step 3, the software interface generation module is a HTML dom tree structure with XML Schema dom tree Structure Conversion in the XML Schema parsing module, and the software interface that HTML DOM is corresponding is presented on the client-server;
Step 4, data verification and update module become XML document with the data encapsulation that the user fills on the software interface that step 3 generates earlier, with the XML Schema file that generates software interface said XML document verified then,
If said XML document is through XML Schema checking, data verification and update module are saved to database with XML document;
If through XML Schema checking, data verification and update module do not show error message to said XML document.
In the said software interface generation method based on XML Schema, the practical implementation step of step 2 is following:
The current XML Schema element that step 2-1, XML Schema parsing module read obtains the corresponding dom tree nodal information of XML Schema element;
Step 2-2, software interface generation module locate the corresponding dom tree node pairing position in the HTML dom tree of current XML Schema element;
If XML Schema element type is a complex data type; The software interface generation module is created a table element according to the pairing position of dom tree nodal information XML Schema element in the HTML dom tree that step 2-1 is obtained, to the correct CSS information of each attribute assignment interpolation of table element; Turn to step 2-3;
If XML Schema element type is a simple data type; The software interface generation module is created a drop-down list according to the pairing position of dom tree nodal information XML Schema element in the HTML dom tree that step 2-1 is obtained; And, turn to step 2-4 for drop-down list adds correct CSS information;
If XML Schema element type is a basic data type; The software interface generation module is created a list according to the pairing position of dom tree nodal information XML Schema element in the HTML dom tree that step 2-1 is obtained; And, turn to step 2-4 for list adds correct CSS information;
Step 2-3 if the corresponding dom tree node of current XML Schema element has untreated child node, returns step 2-2; Otherwise, get into step 2-4;
Step 2-4 if the corresponding dom tree node of current XML Schema element has the untreated brotgher of node, returns step 2-2; Otherwise, get into step 2-5;
Step 2-5 if the corresponding dom tree node of current XML Schema element has untreated father node, returns step 2-4; Otherwise the interface display that HTML DOM is corresponding is at client-server, end step 2.
The present invention adopts technique scheme, has following beneficial effect: adopt XML Schema record interface information to save a large amount of interface codes, be convenient to the multiplexing of interface; Dynamically generate the HTML dom tree through revising XML Schema file, revise the software interface that generates flexibly.
Description of drawings
Fig. 1 is the synoptic diagram based on the software interface generation system of XML Schema.
Fig. 2 is the process flow diagram based on the software interface generation method of XML Schema.
Fig. 3 obtains the process flow diagram of HTML dom tree structure according to the dom tree structure mapping for XML Schema parsing module.
Fig. 4 is the dom tree model of XML Schema.
Fig. 5 is the process flow diagram of the depth-first traversal in the metadata management system.
Embodiment
Be elaborated below in conjunction with the technical scheme of accompanying drawing to invention:
XML Schema is the legal structure module of definition XML document, similar DTD.XML Schema described herein is according to user requirements analysis, is designed to software interface structure, pattern and the correct standard of data specially.Wherein, the tree structure of Schema is corresponding with the structure of software interface, has defined title, displayed value, CSS information, data constraint standard and the annotation information etc. of software interface element in the attribute respectively.
Software interface generation system based on XML Schema as shown in Figure 1; Comprise the XML Schema administration module, XML Schema parsing module, software interface generation module, data verification and the update module that connect successively; The data-interface of data-interface, data verification and the update module of XML Schema administration module is connected with server respectively, and XML Schema administration module and data verification and update module are carried out with database respectively alternately.
XML Schema administration module is provided for managing the administration interface of XML Schema file, and administration interface is presented on the client-server.The operation that the user increases, deletes, revises, consults XML Schema file at administration interface, the generation that these XML Schema files both had been used for software interface also is used for the checking of data.All have uploaded the information list of the XMLSchema file of data the administration interface demonstration that XML Schema administration module provides.
XML Schema parsing module is used to read the selected XMLSchema file of XML Schema administration module, the pattern descriptor of obtaining and preserving XML Schema dom tree structure and each dom tree node.
The software interface generation module is according to the XML Schema dom tree structure of XML Schema parsing module acquisition and the pattern descriptor of dom tree node; The mapping of foundation from XML Schema dom tree structure to HTML dom tree structure; Generating the code of describing the HTML dom tree, is that each HTML dom tree node adds CSS information simultaneously.The software interface of HTML dom tree structure is presented on the client-server.
Data verification and update module are used for the data encapsulation that the user uploads is become XML document, with generate software interface XML Schema file verify, will be saved to database through the data of checking simultaneously, do not return its error message through the part of checking.The user uploads data through filling in data on the administration interface that shows at client-server.
Client-server is used to show the administration interface of XML Schema administration module generation and the software interface (being the software interface of HTML dom tree structure) that the software interface generation module generates; The user is returned to XML Schema administration module to the operation information of XML Schema file, and the data that the user filled in administration interface return to data verification and update module.
The dom tree structure of XML Schema is as shown in Figure 4, and the root node of dom tree is < xs:shema >, and three kinds of child nodes are arranged under it: complicated type node < xs:complexType >, simple types node < xs:simpleType>and node element < xs:element >.
Root node < xs:shema>has four attribute: xmlns:xs to represent the NameSpace that element is quoted; Xmlns:tab is self-defining attribute, is used for defining element and sets type at which Tab page or leaf; Whether elementFormDefault is used for defining the element that occurs in the XML document needs reference name space prefix, and qualified need to represent reference name space prefix; Whether attributeFormDefault is used for defining the attribute that occurs in the XML document needs reference name space prefix, and unqualified do not need to represent reference name space prefix.Complete root node representation is following:
<xs:schema?xmlns:xs=
http://www.w3.org/2001/XMLSchema
xmlns:tab=″http://www.hhu.edu.cn″elementFormDetault=″qualitied″
attributeFormDefault=″unqualified″>。
Node element < xs:element>has six attribute: name to define the name of element; Whether type has defined the type of element, conform to the standard with the content of the type checking element in the future; Id has defined unique sign of element; MinOccurs has defined the minimum occurrence number of element, and 0 this element of expression can not occur in XML document; MaxOccurs has defined the maximum occurrence number of element, and unbounded representes that this element can occur many times in XML document; Tab:tabNO is the self-defining attribute of developer, is used for defining element and sets type at which Tab page or leaf, has quoted the self-defining name space.Node element also has embedded daughter element: note node < xs:annotation >; Note node < xs:annotation>the inside also has embedded daughter element text annotation node < xs:documentation >, and text annotation node < xs:documentation>has write down annotation information with plain text.Complete node element representation is following:
The fundamental type node element is the pairing Schema structure of master data in the system, and it is directly corresponding with master data.The master data here is non-enumeration type usually, generally is character string type, integer etc., such as the data of address name, telephone number and so on.
Simple types node element < xs:simpleType>is the pairing Schema structure of the master data of enumeration type in the system, and it is to exist the data of enumerated value to realize carrying out its value tabulation some to be stored among the Schema.When verifying, only get the data of these enumerated values and could pass through checking with Schema.< xs:simpleType>has an attribute name, defined the name of the type.The daughter element of < xs:simpleType>< xs:restriction >, it is used for defining the value of this simple elements, and an attribute base is wherein arranged, and it has stipulated the type of this simple elements value, and xs:string representes that value is a character string type.< xs:enumeration>defined the enumerated value tabulation of value in the simple types, and attribute value wherein representes concrete value, and id representes unique sign of this enumerated value.Complete simple types node representation is following:
Complex type element node < xs:complexType>is one type of data that the master data in the system takes out through classification.These data are not user's direct requirement usually, but when big, in order on the interface, clearly to show, have just added this type data for the master data amount.The daughter element that has necessarily comprised its classification representative under the complex type element node.< xs:complexType>has an attribute name, defined the name of the type.Daughter element < xs:sequence>is arranged below complicated type, and it defines the order that daughter element occurs under it in XML document.The element of definition all is the daughter element that element comprised of this complicated type below < xs:sequence >, and the definition of daughter element is identical with the definition of general element, repeats no more.Complete complicated type node representation is following:
Be the generation method of example explanation software interface below with the satellite remote sensing date metadata management system.Based on the software interface generation method of XML Schema process flow diagram as shown in Figure 2, comprise XML Schema management, XML Schema parsing and software interface generation, data verification and upgrade three parts.
First: XML Schema management comprises the steps:
If select to upload new XML Schema file, XML Schema administration module reads new XML Schema file and it is saved to database; If select deletion XML Schema file, XML Schema administration module is according to ID number of the selected XML Schema file that will the delete corresponding XML Schema file of deletion in the database; If select to revise XML Schema file, XML Schema administration module provides the modification interface for users to make amendment, and uses original XML Schema file in the amended XML Schema file replacement data storehouse again; If select to check XML Schema file, XML Schema administration module reads the content of text of XML Schema file according to ID number of the selected XML Schema file that will check in the database and the information that reads is shown on the client-server.
Behind the XML Schema administration module selection operation XML Schema file; From database, read XMl Schema information; With tabular form details are presented on the client-server then, and the XML Schema file of choosing is reached XML Schema parsing module.
During database design; The metadata global design is that (native system adopts the ORACLE database to the CLOB type stores in database; The CLOB type is a kind of big character string type data of supporting in this database software, is used for storing X ML document), the tables of data design with realize as shown in table 1:
Table 1
Second portion: XML Schema resolves and software interface generates, and XML Schema is a template of controlling the XML document pattern of formulating according to user's request, here just as the template of metadata input interface pattern and the template of its form of checking.Metadata management system needs according to the Schema that designs, through resolving it, according to dynamic interface of element constraint generation wherein.In view of the continuous expansion of business demand and customer group, Schema constantly changes, and can not be changeless so software interface generates part, must produce different interfaces according to the difference of Schema pattern, to satisfy the demands.This just need fully call the characteristic of DHTML, sets up a transformable html interface, specifically comprises the steps:
Step 2, as shown in Figure 3, XML Schema parsing module is responsible for the XML Schema file that analyzing XML Schema administration module is chosen, and reads and note the attribute information of XML Schema dom tree structure and each node.The dom tree nodal information that the software interface generation module obtains according to XML Schema parsing module generates the node among the HTML DOM one by one according to mapping relations, specifically comprises the steps:
Step 2-1; XML Schema parsing module reads XML Schema file that XML Schema administration module chosen to internal memory, sets up the mapping relations (also can be other mapping relations that define) of XML Schema dom tree and HTML dom tree then with the order of depth-first.Generate the root element of the pairing HTML dom tree in interface in the front page layout relevant position by the software interface generation module.Then begin, adopt its each node of depth-first traversal by the root element of XML Schema parsing module from XML Schema dom tree;
The depth-first traversal flow process is as shown in Figure 5, at first obtains masurium and id number of element to be searched, carries out initial work then, is-1 with the variable element_NO assignment of storage traversal sequence number, and counting variable count assignment is-1.Then finding first Tab node, is that root node carries out depth-first traversal with it.If find element of the same name, then count adds 1, if find element of the same name, that id is also identical, then returns the superiors, passes the traversal sequence number back call this function place.If do not find element to be searched under the Tab1 node, then look for next Tab node, operating process is the same with before.Because the element that will search for necessarily is present in the dom tree, thus will inevitably under certain Tab node branch, find this element, and return the sequence number of depth-first traversal.
Step 2-2, the XML Schema element for current parsing module reads navigates to its pairing position in the HTML dom tree by the software interface generation module;
If this element type is complexType, turn to step 2-3;
If this element type is simpleType, turn to step 2-4;
If this element type is a fundamental type, turn to step 2-5;
Step 2-3, a table element is created in the tram that generation module is navigated at the interface, and (the html element element of here creating is form normally, is mainly used in the classification of interface element.Also can be that other html element is plain, actual conditions be determined by demand).The interface generation module reads each attribute information in the Schema node (ID, NAME, value restriction, the CSS information that comprise element) according to parsing module, to each attribute assignment of the table element of firm establishment and add CSS information; Turn to step 2-6;
Step 2-4; The interface generation module is in the tram that is navigated to; Definition generates a corresponding drop-down list according to simpleType; The enumerated value that defines among the simpleType that parsing module is read is filled into each option of drop-down list successively, and the interface generation module reads each attribute information (ID, NAME, value restriction, the CSS information that comprise element) in the Schema node according to parsing module, to each attribute assignment of the table element of firm establishment and add CSS information; Turn to step 2-7;
Step 2-5; The interface generation module is in the tram that is navigated to; Definition according to fundamental type generates a common list (the list form here can be various, supports self-defined list pattern, according to the demand setting); The interface generation module reads each attribute information in the Schema node (ID, NAME, value restriction, the CSS information that comprise element) according to parsing module, to each attribute assignment of the table element of firm establishment and add CSS information; Turn to step 2-7;
Step 2-6, parsing module judge whether the XML Schema element when pre-treatment has untreated child node; If have, visit its child node, turn to step 2-2; Otherwise, turn to step 2-7;
Step 2-7, parsing module judge whether the XML Schema element when pre-treatment has next untreated fraternal element; If have, visit its fraternal element, turn to step 2-2; Otherwise, turn to step 2-8;
Step 2-8, parsing module judge whether currentElement has father node, if having, turn back to his father's element, turn to step 2-7; Otherwise step 2 finishes.
In metadata management system, because the plain number of html element is uncertain,, promptly in each element, increase an ID attribute so employing indicates each html element element from the integer that increases type in the system, its value is for increase the type integer certainly.And the ID in these elements is the sequencing assignment created according to element, that is to say the element of creating earlier, and its ID value is less, and the ID value of the element of back establishment is bigger.
Simultaneously, in this system, the metadata register interface all is placed in < form>label, and its name is Mytabshow.Several <table>that < form>directly links to each other down are provided with according to the Tab page or leaf, and id wherein is the value of tab page or leaf.Element in each <table>is provided with by Schema, and its name value is identical with the name value of element among the Schema.The id of plus-minus button is an integers also, but successively decreases, and avoids repeating with input element.
According to demand analysis; Final HTML dom tree and the element between the XML dom tree must be one to one; That is to say that if we adopt depth-first to travel through in proper order to these two trees simultaneously the order of corresponding those two elements in depth-first traversal is necessarily identical in two trees so.The depth-first of each element is consistent in proper order in HTML dom tree and the XML dom tree, and out of Memory then can't be realized corresponding relation.Because even title is identical, but because the element of same title can occur repeatedly, and they can appear under different father's elements, so can only could set up mapping relations through finding out the depth-first traversal order of each element in dom tree.
Third part: data verification and renewal, that adopt for the checking of XML document is DOM4J, needs to create earlier error handler, loads the XML document object, be provided with the used XML Schema file of resolver with and particular community.Then according to before being provided with the XML document object verified, and error result returned comprise the steps:
Step 3-1, the data encapsulation that data verification and update module are uploaded administration interface becomes XML document;
Step 3-2, server end need be created error handler, loads the XML document object, be provided with the used XML Schema file of resolver with and particular community.Being provided with before the basis verified the XML document object then, and error result is returned;
Step 3-3, data verification and update module will verify that the result returns, and be mapped on each element, and wrong mark can oneself be defined;
Step 3-4, XML document deposit in the database: the field of storing X ML document object is put sky, the XML field in the database is put into a buffer stream; The character string that will store through buffer stream deposits in the respective field of database;
Step 3-5 regenerates software interface according to XML Schema and data that administration interface is filled out, and the user changes step 3-1 after completing data.
For total system, if because the variation of demand, when the interface need be made an amendment, as long as do corresponding adjustment to the element among the XMLSchema (as increasing or deleting certain control on the interface, just corresponding to certain element in increase or the deletion Schema file; The position of some control on the transposing interface just corresponds to some positions of elements in the adjustment Schema file), how not cooperate with CSS and need not manage HTML code, more need not manage which control on the plain corresponding interface of html element in the code.Modification for the interface just converts the modification to XML Schema into like this.
Claims (3)
1. based on the software interface generation system of XML Schema; It is characterized in that; Comprise XML Schema administration module, XML Schema parsing module, software interface generation module, data verification and update module, client-server; Wherein: said XML Schema administration module, XML Schema parsing module, software interface generation module, data verification and update module connect successively; The data-interface of said XML Schema administration module, the data-interface of software interface generation module are connected with server respectively, and said XML Schema administration module, data verification and update module are all mutual with database;
Said XML Schema administration module is used for generating administration interface at client-server and supplies user's increase, deletion, modification, inquiry to be kept at the XML Schema file of database; Selection is used to generate the XML Schema file of software interface, representes the XML Schema fileinfo of having preserved in the database with tabular form;
Said XML Schema parsing module is used to read the selected XML Schema file that is used to generate software interface of XML Schema administration module, the information of the record XML pairing dom tree structure of Schema file and each node of dom tree;
It is HTML dom tree structure that said software interface generation module is used for the pairing dom tree Structure Conversion of XML Schema parsing module XML Schema file;
Said data verification and renewal mould are used for the data encapsulation that the software interface generation module obtains is become XML document; With the XML Schema file that generates software interface said XML document is verified then; And will store database into through the XML document of checking, unsanctioned XML document is returned error message;
Said client-server is used to show the administration interface of XML Schema administration module generation and the software interface that the software interface generation module generates; The user is returned to XML Schema administration module to the operation information of XML Schema file, and the data that the user filled in administration interface return to data verification and update module.
2. based on the software interface generation method of XML Schema, it is characterized in that comprising the steps:
Step 1, XML Schema administration module display management interface on client-server, the user accomplishes the operation to XML Schema file at administration interface, shows the XML Schema file of selecting to be used to generate software interface;
Step 2, XML Schema parsing module read the selected XML Schema file that is used to generate software interface of XML Schema administration module, the information of record XML Schema dom tree structure and each node of dom tree;
Step 3, the software interface generation module is a HTML dom tree structure with XML Schema dom tree Structure Conversion in the XML Schema parsing module, and the software interface that HTML DOM is corresponding is presented on the client-server;
Step 4, data verification and update module become XML document with the data encapsulation that the user fills on the software interface that step 3 generates earlier, with the XML Schema file that generates software interface said XML document verified then,
If said XML document is through XML Schema checking, data verification and update module are saved to database with XML document;
If through XML Schema checking, data verification and update module do not show error message to said XML document.
3. the software interface generation method based on XML Schema according to claim 2 is characterized in that the practical implementation step of said step 2 is following:
The current XML Schema element that step 2-1, XML Schema parsing module read obtains the corresponding dom tree nodal information of XML Schema element;
Step 2-2, software interface generation module locate the corresponding dom tree node pairing position in the HTML dom tree of current XML Schema element;
If XML Schema element type is a complex data type; The software interface generation module is created a table element according to the pairing position of dom tree nodal information XML Schema element in the HTML dom tree that step 2-1 is obtained, to the correct CSS information of each attribute assignment interpolation of table element; Turn to step 2-3;
If XML Schema element type is a simple data type; The software interface generation module is created a drop-down list according to the pairing position of dom tree nodal information XML Schema element in the HTML dom tree that step 2-1 is obtained; And, turn to step 2-4 for drop-down list adds correct CSS information;
If XML Schema element type is a basic data type; The software interface generation module is created a list according to the pairing position of dom tree nodal information XML Schema element in the HTML dom tree that step 2-1 is obtained; And, turn to step 2-4 for list adds correct CSS information;
Step 2-3 if the corresponding dom tree node of current XML Schema element has untreated child node, returns step 2-2; Otherwise, get into step 2-4;
Step 2-4 if the corresponding dom tree node of current XML Schema element has the untreated brotgher of node, returns step 2-2; Otherwise, get into step 2-5;
Step 2-5 if the corresponding dom tree node of current XML Schema element has untreated father node, returns step 2-4; Otherwise the interface display that HTML DOM is corresponding is at client-server, end step 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100490143A CN102646039A (en) | 2012-02-29 | 2012-02-29 | Software interface generating system and method based on extensible markup language (XML) Schema |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100490143A CN102646039A (en) | 2012-02-29 | 2012-02-29 | Software interface generating system and method based on extensible markup language (XML) Schema |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102646039A true CN102646039A (en) | 2012-08-22 |
Family
ID=46658869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100490143A Pending CN102646039A (en) | 2012-02-29 | 2012-02-29 | Software interface generating system and method based on extensible markup language (XML) Schema |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102646039A (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019685A (en) * | 2012-11-20 | 2013-04-03 | 北京思特奇信息技术股份有限公司 | System and method for generating business interface based on page element |
WO2014117507A1 (en) * | 2013-01-30 | 2014-08-07 | 中兴通讯股份有限公司 | Multi-module management method and device |
CN104239073A (en) * | 2014-10-15 | 2014-12-24 | 中国科学院软件研究所 | Data maintenance system rapid prototyping development system and method |
CN104267998A (en) * | 2014-10-13 | 2015-01-07 | 上海交通大学 | Sliding window technology based hardware XML (Extensive Markup Language) parser |
CN104346466A (en) * | 2014-11-12 | 2015-02-11 | 中国建设银行股份有限公司 | Method and device of adding new attribute data in database |
CN104391928A (en) * | 2014-11-21 | 2015-03-04 | 用友软件股份有限公司 | Device and method for dynamically constructing multi-dimensional model definitions |
CN104462090A (en) * | 2013-09-13 | 2015-03-25 | 方正信息产业控股有限公司 | Method and device for processing data |
CN104461513A (en) * | 2014-11-21 | 2015-03-25 | 山东航天信息有限公司 | Method and device for generating form interface |
CN105302789A (en) * | 2015-12-03 | 2016-02-03 | 万达信息股份有限公司 | Editing method of health information shared document template buffer storage |
CN105468366A (en) * | 2015-11-21 | 2016-04-06 | 成都飞机工业(集团)有限责任公司 | Intelligent interface based on Qt ground station |
CN106326488A (en) * | 2016-09-07 | 2017-01-11 | 国家电网公司 | XML-based electric transmission and transformation equipment state data exchange adapter and use method thereof |
CN106371844A (en) * | 2016-08-31 | 2017-02-01 | 北京奇艺世纪科技有限公司 | Method and system for presenting webpage by native user interface assembly |
CN107798001A (en) * | 2016-08-29 | 2018-03-13 | 阿里巴巴集团控股有限公司 | Web page processing method, device and equipment |
CN107995310A (en) * | 2017-12-19 | 2018-05-04 | 上海贝贝鱼信息科技有限公司 | Cloud platform, the system and method for on-line finance service are provided for different financial institution |
CN108959095A (en) * | 2018-07-12 | 2018-12-07 | 中国工程物理研究院计算机应用研究所 | Method based on XML Schema verifying XML document |
CN109753285A (en) * | 2018-12-26 | 2019-05-14 | 浙江大学 | A kind of XML parser based on FPGA, restructurable computing system |
CN110515613A (en) * | 2019-08-30 | 2019-11-29 | 苏州中弘软件技术有限公司 | Software development methodology |
CN110928540A (en) * | 2018-09-19 | 2020-03-27 | 北京国双科技有限公司 | Page generation method and device |
CN112749180A (en) * | 2021-01-19 | 2021-05-04 | 上海复佳信息科技有限公司 | Data management method, electronic device, and computer-readable storage medium |
CN115442204A (en) * | 2022-08-26 | 2022-12-06 | 上海哈恩德技术开发有限公司 | Method, device, medium and program product for determining enumeration value |
CN117519703A (en) * | 2024-01-03 | 2024-02-06 | 山东街景智能制造科技股份有限公司 | Customization management method for operation interface |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008060050A1 (en) * | 2006-11-14 | 2008-05-22 | Electronics And Telecommunications Research Institute | Apparatus and method for parsing domain profile in software communication architecture |
CN101986303A (en) * | 2010-10-29 | 2011-03-16 | 广东星海数字家庭产业技术研究院有限公司 | Digital television HSML analysis method and system applying DOM analysis engine |
CN102043622A (en) * | 2010-12-14 | 2011-05-04 | 成电汽车电子产业园(昆山)有限公司 | Basic software general configurator for electronic controllers |
-
2012
- 2012-02-29 CN CN2012100490143A patent/CN102646039A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008060050A1 (en) * | 2006-11-14 | 2008-05-22 | Electronics And Telecommunications Research Institute | Apparatus and method for parsing domain profile in software communication architecture |
CN101986303A (en) * | 2010-10-29 | 2011-03-16 | 广东星海数字家庭产业技术研究院有限公司 | Digital television HSML analysis method and system applying DOM analysis engine |
CN102043622A (en) * | 2010-12-14 | 2011-05-04 | 成电汽车电子产业园(昆山)有限公司 | Basic software general configurator for electronic controllers |
Non-Patent Citations (1)
Title |
---|
黄洪 等: "一种图形用户界面的XML描述方法与工具开发", 《计算机应用与软件》 * |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019685B (en) * | 2012-11-20 | 2016-07-13 | 北京思特奇信息技术股份有限公司 | A kind of system and method dynamically generating business interface based on page elements |
CN103019685A (en) * | 2012-11-20 | 2013-04-03 | 北京思特奇信息技术股份有限公司 | System and method for generating business interface based on page element |
WO2014117507A1 (en) * | 2013-01-30 | 2014-08-07 | 中兴通讯股份有限公司 | Multi-module management method and device |
CN103971189B (en) * | 2013-01-30 | 2017-07-04 | 中兴通讯股份有限公司 | A kind of method and apparatus of multimode management |
CN104462090A (en) * | 2013-09-13 | 2015-03-25 | 方正信息产业控股有限公司 | Method and device for processing data |
CN104267998A (en) * | 2014-10-13 | 2015-01-07 | 上海交通大学 | Sliding window technology based hardware XML (Extensive Markup Language) parser |
CN104267998B (en) * | 2014-10-13 | 2017-04-19 | 上海交通大学 | Sliding window technology based hardware XML (Extensive Markup Language) parser |
CN104239073A (en) * | 2014-10-15 | 2014-12-24 | 中国科学院软件研究所 | Data maintenance system rapid prototyping development system and method |
CN104239073B (en) * | 2014-10-15 | 2017-05-03 | 中国科学院软件研究所 | Data maintenance system rapid prototyping development system and method |
CN104346466A (en) * | 2014-11-12 | 2015-02-11 | 中国建设银行股份有限公司 | Method and device of adding new attribute data in database |
CN104346466B (en) * | 2014-11-12 | 2018-03-23 | 中国建设银行股份有限公司 | The method and apparatus for the data that Added New Attribute in database |
CN104391928B (en) * | 2014-11-21 | 2018-08-28 | 用友网络科技股份有限公司 | The device and method that dynamic construction multidimensional model defines |
CN104461513A (en) * | 2014-11-21 | 2015-03-25 | 山东航天信息有限公司 | Method and device for generating form interface |
CN104391928A (en) * | 2014-11-21 | 2015-03-04 | 用友软件股份有限公司 | Device and method for dynamically constructing multi-dimensional model definitions |
CN104461513B (en) * | 2014-11-21 | 2018-01-09 | 山东航天信息有限公司 | A kind of method and device for generating form interface |
CN105468366A (en) * | 2015-11-21 | 2016-04-06 | 成都飞机工业(集团)有限责任公司 | Intelligent interface based on Qt ground station |
CN105302789A (en) * | 2015-12-03 | 2016-02-03 | 万达信息股份有限公司 | Editing method of health information shared document template buffer storage |
CN105302789B (en) * | 2015-12-03 | 2018-06-26 | 万达信息股份有限公司 | A kind of edit methods of health information shared document stencil buffers storage |
CN107798001B (en) * | 2016-08-29 | 2022-03-22 | 菜鸟智能物流控股有限公司 | Webpage processing method, device and equipment |
CN107798001A (en) * | 2016-08-29 | 2018-03-13 | 阿里巴巴集团控股有限公司 | Web page processing method, device and equipment |
CN106371844B (en) * | 2016-08-31 | 2019-10-22 | 北京奇艺世纪科技有限公司 | A kind of method and system with primary user interface components displayed web page |
CN106371844A (en) * | 2016-08-31 | 2017-02-01 | 北京奇艺世纪科技有限公司 | Method and system for presenting webpage by native user interface assembly |
CN106326488A (en) * | 2016-09-07 | 2017-01-11 | 国家电网公司 | XML-based electric transmission and transformation equipment state data exchange adapter and use method thereof |
CN107995310A (en) * | 2017-12-19 | 2018-05-04 | 上海贝贝鱼信息科技有限公司 | Cloud platform, the system and method for on-line finance service are provided for different financial institution |
CN108959095A (en) * | 2018-07-12 | 2018-12-07 | 中国工程物理研究院计算机应用研究所 | Method based on XML Schema verifying XML document |
CN108959095B (en) * | 2018-07-12 | 2021-11-23 | 中国工程物理研究院计算机应用研究所 | Method for verifying XML document based on XML Schema |
CN110928540A (en) * | 2018-09-19 | 2020-03-27 | 北京国双科技有限公司 | Page generation method and device |
CN109753285A (en) * | 2018-12-26 | 2019-05-14 | 浙江大学 | A kind of XML parser based on FPGA, restructurable computing system |
CN109753285B (en) * | 2018-12-26 | 2023-07-04 | 浙江大学 | XML (extensive markup language) parser and reconfigurable computing system based on FPGA (field programmable Gate array) |
CN110515613A (en) * | 2019-08-30 | 2019-11-29 | 苏州中弘软件技术有限公司 | Software development methodology |
CN112749180A (en) * | 2021-01-19 | 2021-05-04 | 上海复佳信息科技有限公司 | Data management method, electronic device, and computer-readable storage medium |
CN115442204A (en) * | 2022-08-26 | 2022-12-06 | 上海哈恩德技术开发有限公司 | Method, device, medium and program product for determining enumeration value |
CN117519703A (en) * | 2024-01-03 | 2024-02-06 | 山东街景智能制造科技股份有限公司 | Customization management method for operation interface |
CN117519703B (en) * | 2024-01-03 | 2024-04-05 | 山东街景智能制造科技股份有限公司 | Customization management method for operation interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102646039A (en) | Software interface generating system and method based on extensible markup language (XML) Schema | |
CN105849726B (en) | For efficiently supporting the general index of the extemporaneous inquiry by demixing marking data | |
US10565208B2 (en) | Analyzing multiple data streams as a single data object | |
US9489366B2 (en) | Interactive synchronization of web data and spreadsheets | |
CN102200977B (en) | Method and system for extending database table under multi-tenant environment | |
CN101908039B (en) | Report template customizing system | |
CN102663103B (en) | Configurable method for automatically generating database and accessing data | |
CN101788994A (en) | Method for constructing data display model and method and device for displaying data | |
US8423521B2 (en) | Method and apparatus for storing document data in docbase management system | |
CN102917009B (en) | A kind of stock certificate data collection based on cloud computing technology and storage means and system | |
CN102982010A (en) | Method and device for abstracting document structure | |
CN104182484A (en) | Method and device for realizing mapping of HBase data and Java domain objects | |
CN102591960A (en) | Agricultural economy electronic map data service interface method | |
CN107220274A (en) | One kind visualization data-interface fairground implementation method | |
CN101216824B (en) | Method for publishing tree -type structure database as distributed XML database | |
CN104636265B (en) | A kind of access method of efficient memory model tissue of CIMXML document | |
de Souza Baptista et al. | NoSQL geographic databases: an overview | |
CN101814064B (en) | Establishment method of report template, report generation method and report system | |
Olfat et al. | A GML-based approach to automate spatial metadata updating | |
CN105550176A (en) | Basic mapping method for relational database and XML | |
CN102147794A (en) | Multi-database caption display method and device based on SQL (structured query language) sentence | |
Zhang et al. | Clock: Synchronizing internal relational storage with external xml documents | |
CN116360881A (en) | Data set generation method and device, electronic equipment and storage medium | |
CN116257636A (en) | Unified management method and device for enumerated data dictionary, electronic equipment and storage medium | |
Neil et al. | Design method for a Historical Data Warehouse, explicit valid time in multidimensional models |
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: 20120822 |