CN105404692A - Web page generation method and generation device - Google Patents

Web page generation method and generation device Download PDF

Info

Publication number
CN105404692A
CN105404692A CN201510957867.0A CN201510957867A CN105404692A CN 105404692 A CN105404692 A CN 105404692A CN 201510957867 A CN201510957867 A CN 201510957867A CN 105404692 A CN105404692 A CN 105404692A
Authority
CN
China
Prior art keywords
page
plurality
fields
field
xml format
Prior art date
Application number
CN201510957867.0A
Other languages
Chinese (zh)
Inventor
王鹏
温小明
张明
杨露
杨景慧
刘亚军
Original Assignee
深圳中兴网信科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳中兴网信科技有限公司 filed Critical 深圳中兴网信科技有限公司
Priority to CN201510957867.0A priority Critical patent/CN105404692A/en
Publication of CN105404692A publication Critical patent/CN105404692A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Abstract

The invention provides a web page generation method and a generation device. The web page generation method comprises steps of providing an interface for configuration of attributes of a plurality of preset multi-fields when a web page creation order is received, thereby enabling multi-field attribute configuration by an operator, generating all XML format pages related to the multi-fields according to the multi-field attribute configuration by the operator, and converting designated XML format pages of all the XML format pages into HTML format pages according to a received page visit demand and displaying the HTML page. According to the technical scheme, development and web page maintenance work load and cost can be reduced.

Description

Web页面的生成方法及生成装置 The method of generating the Web page generation means and

技术领域 FIELD

[0001] 本发明涉及计算机技术领域,具体而言,涉及一种Web页面的生成方法和一种Web页面的生成装置。 [0001] The present invention relates to the field of computer technology, particularly, it relates to a generating device for generating Web pages and a method of a Web page.

背景技术 Background technique

[0002] 对于进行BS (Browser/Server,浏览器/服务器)架构的Web系统开发人员,经常需要为各种不同种类的数据和不同的需求开发不同的Web展示页面。 [0002] For the Web system developers to BS (Browser / Server, Browser / Server) architecture is often necessary for a variety of different types of data and different needs to develop different Web page display.

[0003] 具体地,以机房中的资产为例,可能需要开发针对服务器的新增、修改、查询、详细、变更等页面,对于路由器、交换机、防火墙等设备也需要开发这些种类的页面。 [0003] Specifically, the engine room of the asset, for example, may need to be developed for the new server, modify, query, in detail, such as a page change, for routers, switches, firewalls and other equipment also need to develop these kinds of pages. 并且一旦新增设备类型,就需要针对新增的设备类型再次开发上述展示页面,更重要的是,一旦这个类型的某些字段发生变化,那个所有类型的页面都需要重新调整、重新布局,维护起来非常的麻烦。 And once the new equipment type, you need to develop for the new type of device again the above display page, more importantly, some of the fields once this type of change, that all types of pages need to re-adjust, re-distribution, maintenance very troublesome.

[0004]因此,如何能够有效降低开发和维护Web页面的工作量和成本成为亟待解决的技术问题。 [0004] Therefore, how to effectively reduce development and maintenance workload and cost of Web pages become technical problems to be solved.

发明内容 SUMMARY

[0005] 本发明正是基于上述技术问题至少之一,提出了一种新的Web页面的生成方案,可以有效降低开发和维护Web页面的工作量和成本。 [0005] The present invention is based on at least one of the above-mentioned technical problems, we proposed a new Web page generation program can effectively reduce development and maintenance workload and cost of Web pages.

[0006] 有鉴于此,本发明提出了一种Web页面的生成方法,包括:在接收到创建Web页面的指令时,提供对预设的多个字段的属性进行配置的界面,以供操作者对所述多个字段的属性进行配置;根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML (Extensible Markup Language,可扩展标记语言)格式的页面;根据接收到的页面访问需求,将所述所有XML格式的页面中的指定XML格式的页面转换为HTML (HyperTextMarkup Language,超文本标记语言)格式的页面,并进行显示。 [0006] Accordingly, the present invention proposes a method for generating a Web page, comprising: upon receiving an instruction to create Web pages, there is provided an interface for a plurality of attribute fields of a predetermined configuration, for the operator to configure attributes of the plurality of fields; attributes of the plurality of fields according to the operator's configuration, generates all XML associated with the plurality of fields (extensible Markup language, extensible Markup language) format page ; page according to the received access demand, all the pages of the pages in the XML format specified in XML format to HTML page (HyperTextMarkup language, HTML) format, and displays.

[0007] 在该技术方案中,通过提供对多个字段的属性进行配置的页面,并根据操作者配置的多个字段的属性生成与多个字段相关的所有XML格式的页面,并在接收到页面访问需求时,将指定XML格式的页面转换为HTML格式的页面进行显示,使得开发人员在开发Web页面时,仅需针对所要开发的Web页面的需求对预设的多个字段的属性进行配置即可,进而Web页面的生成装置能够根据开发人员配置的属性自动实现XML格式页面的生成,并根据接收到的页面访问需求自动将指定XML格式的页面转换为HTML格式的页面进行显示,避免了开发人员需要多次开发相同的页面的繁琐操作,有效降低了开发人员的开发工作量,并且也降低开发成本。 [0007] In this solution all the pages, the page attribute provided by a plurality of fields configured and generated in accordance with attributes of a plurality of fields associated with the operator to configure the plurality of fields in XML format, and is received when the page access requirements, specified in XML format pages converted to HTML format for display page, allowing developers in the development of a Web page, only to configure the properties of multiple fields default to be developed for the needs of Web pages can, in turn generating means can be a Web page automatically generated in XML format according to the attribute page developer profile, and automatically convert XML format specified page displayed is a page in HTML format in accordance with the received page access requirements, avoiding the developers need to develop the same page multiple times tedious operation, effectively reducing the development effort developers, and also reduce development costs.

[0008] 在上述技术方案中,优选地,在提供对所述预设的多个字段的属性进行配置的界面之前,还包括:创建多种类型的字段,以及用于对所述多种类型的字段的属性进行配置的配置信息表。 [0008] In the above aspect, preferably, the plurality of attribute fields prior to providing the interfacial preset configuration, further comprising: creating a plurality of types of fields, and for the plurality of types attribute field configuration information table configuration.

[0009] 在该技术方案中,通过创建多种类型的字段和用于对多种类型的字段的属性进行配置的配置信息表,使得开发人员在需要开发Web页面时,能够通过对已创建的字段和配置信息表的配置实现自动生成XML格式的页面。 [0009] In this aspect, by creating a plurality of types of attribute fields and a plurality of types of configuration information table field is configured such that when the developer need to develop Web pages can be created by configuration field and configuration information table to achieve page automatically generates XML format. 其中,多种类型的字段包括:字符型、数字型、日期型等各种类型的字段。 Wherein the plurality of field types include: various types of field character, numeric, date, type and the like.

[0010] 在上述任一技术方案中,优选地,根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面的步骤具体包括:根据所述操作者配置的所述多个字段的属性,生成对应于所述多个字段的实体类;将对应于所述多个字段的实体类转换为所述XML格式的页面。 [0010] In any of the above Step aspect, preferably, the attributes of the plurality of fields of said operator arranged to generate the plurality of fields relating to all the pages of the XML format comprises: according to the the plurality of attribute fields of said operator configured to generate a corresponding plurality of fields of the entity class; entity class corresponding to the plurality of field to a page of the XML format.

[0011]具体地,对于每一个 XML 标签,如Body、Row、Column、LabelField、TextField 等,后台都有其对应的实体类。 [0011] Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField the like, the background has its corresponding entity class. 在后台程序中,可以预设在生成的页面上,输入框、下拉框、日期等与其对应的标签一起占用半行,输入域占用一行,然后后台程序会根据设置的字段顺序(包含在字段的属性中)和字段种类,生成其对应的实体类,最后把这个实体类转换成XML格式进行存储。 In the background program can be preset on the page generated therewith occupy half line label corresponding input boxes, drop-down box, date, input field occupies one row, then Daemon The order of the fields set (contained in fields properties) and the type field, which generates a corresponding entity class, the entity class and finally converted into XML format for storage.

[0012] 在上述任一技术方案中,优选地,将所述指定XML格式的页面转换为HTML格式的页面的步骤具体包括:将所述指定XML格式的页面转换为对应的实体类;根据所述实体类中包含的渲染方法将所述实体类转换成所述HTML格式的页面。 [0012] In either aspect, preferably, the designated page turning in XML format to HTML formatted pages step comprises: converting the XML format specified page corresponding entity class; in accordance with the rendering said entity class contains the entity class is converted into the HTML page format.

[0013] 在上述任一技术方案中,优选地,还包括:检测所述多个字段的属性是否发生变换;在检测到所述多个字段中的任一字段的属性发生变化时,根据所述任一字段变化后的属性,重新生成所述相关的所有XML格式的页面。 [0013] In either aspect, preferably, further comprising: detecting a plurality of field attribute whether conversion occurred; attribute field of any one of the plurality of the detected field changes when according to the any of said attribute fields after a change, to regenerate all pages associated with the XML format.

[0014] 在该技术方案中,通过在检测到任一字段的属性发生变化时,根据任一字段变化后的属性重新生成相关的所有XML格式的页面,使得在任一字段的属性发生变化时,Web页面的生成装置能够自动实现对XML格式的页面的更新,避免了现有技术中需要对所有的页面进行重新调整和布局的繁琐操作过程,有效降低了开发人员的维护工作量,并且也降低维护成本。 [0014] In this aspect, by detecting either a field attribute changes, regenerate the page relating to all XML format according to the attribute after any of the fields change, such that the properties of a field changes on either, Web page creation device can automatically update page in XML format, avoiding the cumbersome process operations for readjustments and layout for all pages of the prior art, effectively reducing the maintenance workload of developers, and also reduces maintenance costs.

[0015] 在上述任一技术方案中,优选地,所述多个字段中每个字段的属性包括:字段的描述、数据模型、是否必填、是否展示在查询界面和排列顺序;所述所有XML格式的页面包括:新增页面、修改页面、详细页面、查询页面和变更页面。 [0015] In either aspect, preferably, the plurality of fields each field attributes include: Field description, the data model, if required, to show whether the arrangement order and the query interface; all the page XML format include: Add, modify page detail page, query page and change the page.

[0016] 根据本发明的第二方面,还提出了一种Web页面的生成装置,包括:呈现单元,用于在接收到创建Web页面的指令时,提供对预设的多个字段的属性进行配置的界面,以供操作者对所述多个字段的属性进行配置;生成单元,用于根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面;处理单元,用于根据接收到的页面访问需求,将所述所有XML格式的页面中的指定XML格式的页面转换为HTML格式的页面,并进行显示。 [0016] According to a second aspect of the present invention, there is proposed an apparatus for generating a Web page, comprising: rendering means for, when receiving an instruction to create Web pages, there is provided a plurality of attribute fields to be preset All XML generating unit according to attributes of the plurality of fields of said operator configuration generates fields associated with said plurality; configuration interface for the operator to configure the attributes of the plurality of fields page format; a processing unit, a page according to the received access demand, the page all pages in the XML format specified in XML format into HTML pages, and displayed.

[0017] 在该技术方案中,通过提供对多个字段的属性进行配置的页面,并根据操作者配置的多个字段的属性生成与多个字段相关的所有XML格式的页面,并在接收到页面访问需求时,将指定XML格式的页面转换为HTML格式的页面进行显示,使得开发人员在开发Web页面时,仅需针对所要开发的Web页面的需求对预设的多个字段的属性进行配置即可,进而Web页面的生成装置能够根据开发人员配置的属性自动实现XML格式页面的生成,并根据接收到的页面访问需求自动将指定XML格式的页面转换为HTML格式的页面进行显示,避免了开发人员需要多次开发相同的页面的繁琐操作,有效降低了开发人员的开发工作量,并且也降低开发成本。 [0017] In this solution all the pages, the page attribute provided by a plurality of fields configured and generated in accordance with attributes of a plurality of fields associated with the operator to configure the plurality of fields in XML format, and is received when the page access requirements, specified in XML format pages converted to HTML format for display page, allowing developers in the development of a Web page, only to configure the properties of multiple fields default to be developed for the needs of Web pages can, in turn generating means can be a Web page automatically generated in XML format according to the attribute page developer profile, and automatically convert XML format specified page displayed is a page in HTML format in accordance with the received page access requirements, avoiding the developers need to develop the same page multiple times tedious operation, effectively reducing the development effort developers, and also reduce development costs.

[0018] 在上述技术方案中,优选地,还包括:创建单元,用于在所述呈现单元提供对所述预设的多个字段的属性进行配置的界面之前,创建多种类型的字段,以及用于对所述多种类型的字段的属性进行配置的配置信息表。 [0018] In the above aspect, preferably, further comprising: a creating unit, for providing a plurality of attribute fields prior to the preset interface configuration is performed in the presentation unit, to create a plurality of types of fields, and the configuration attribute table for the plurality of types of fields configuring.

[0019] 在该技术方案中,通过创建多种类型的字段和用于对多种类型的字段的属性进行配置的配置信息表,使得开发人员在需要开发Web页面时,能够通过对已创建的字段和配置信息表的配置实现自动生成XML格式的页面。 [0019] In this aspect, by creating a plurality of types of attribute fields and a plurality of types of configuration information table field is configured such that when the developer need to develop Web pages can be created by configuration field and configuration information table to achieve page automatically generates XML format. 其中,多种类型的字段包括:字符型、数字型、日期型等各种类型的字段。 Wherein the plurality of field types include: various types of field character, numeric, date, type and the like.

[0020] 在上述任一技术方案中,优选地,所述生成单元具体用于:根据所述操作者配置的所述多个字段的属性,生成对应于所述多个字段的实体类,并将对应于所述多个字段的实体类转换为所述XML格式的页面。 [0020] In either aspect, preferably, the generating unit is configured to: according to the attributes of the plurality of field operator to configure and to generate a corresponding plurality of fields of the entity classes and entity class corresponding to the plurality of field to a page of the XML format.

[0021]具体地,对于每一个 XML 标签,如Body、Row、Column、LabelField、TextField 等,后台都有其对应的实体类。 [0021] Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField the like, the background has its corresponding entity class. 在后台程序中,可以预设在生成的页面上,输入框、下拉框、日期等与其对应的标签一起占用半行,输入域占用一行,然后后台程序会根据设置的字段顺序(包含在字段的属性中)和字段种类,生成其对应的实体类,最后把这个实体类转换成XML格式进行存储。 In the background program can be preset on the page generated therewith occupy half line label corresponding input boxes, drop-down box, date, input field occupies one row, then Daemon The order of the fields set (contained in fields properties) and the type field, which generates a corresponding entity class, the entity class and finally converted into XML format for storage.

[0022] 在上述任一技术方案中,优选地,所述处理单元具体用于:将所述指定XML格式的页面转换为对应于的实体类;根据所述实体类中包含的渲染方法将所述实体类转换成所述HTML格式的页面。 [0022] In either aspect, preferably, the processing unit is configured to: convert the designated page in XML format to correspond to the entity class; rendering method according to the entity class contains The said page of the entity class converted into HTML format.

[0023] 在上述任一技术方案中,优选地,还包括:检测单元,用于检测所述多个字段的属性是否发生变换;所述生成单元具体用于,在所述检测单元检测到所述多个字段中的任一字段的属性发生变化时,根据所述任一字段变化后的属性,重新生成所述相关的所有XML格式的页面。 [0023] In either aspect, preferably, further comprising: detecting means for detecting the plurality of attribute fields transformation has occurred; the generating unit is specifically configured to detect that the detecting unit when the properties of said plurality of fields of any field changes in accordance with any one of the properties of the field changes, regenerate all pages associated with the XML format.

[0024] 在该技术方案中,通过在检测到任一字段的属性发生变化时,根据任一字段变化后的属性重新生成相关的所有XML格式的页面,使得在任一字段的属性发生变化时,Web页面的生成装置能够自动实现对XML格式的页面的更新,避免了现有技术中需要对所有的页面进行重新调整和布局的繁琐操作过程,有效降低了开发人员的维护工作量,并且也降低维护成本。 [0024] In this aspect, by detecting either a field attribute changes, regenerate the page relating to all XML format according to the attribute after any of the fields change, such that the properties of a field changes on either, Web page creation device can automatically update page in XML format, avoiding the cumbersome process operations for readjustments and layout for all pages of the prior art, effectively reducing the maintenance workload of developers, and also reduces maintenance costs.

[0025] 在上述任一技术方案中,优选地,所述多个字段中每个字段的属性包括:字段的描述、数据模型、是否必填、是否展示在查询界面和排列顺序;所述所有XML格式的页面包括:新增页面、修改页面、详细页面、查询页面和变更页面。 [0025] In either aspect, preferably, the plurality of fields each field attributes include: Field description, the data model, if required, to show whether the arrangement order and the query interface; all the page XML format include: Add, modify page detail page, query page and change the page.

[0026] 通过以上技术方案,可以有效降低开发和维护Web页面的工作量和成本。 [0026] Through the above technical solutions, can effectively reduce development and maintenance of Web pages of effort and cost.

附图说明 BRIEF DESCRIPTION

[0027] 图1示出了根据本发明的一个实施例的Web页面的生成方法的示意流程图; [0027] FIG. 1 shows a schematic flowchart of a method for generating a Web page in accordance with one embodiment of the present invention;

[0028] 图2示出了根据本发明的实施例的Web页面的生成装置的示意框图; [0028] FIG. 2 shows a schematic block diagram of the Web page generation apparatus according to an embodiment of the present invention;

[0029] 图3示出了根据本发明的实施例的字段用途的查询页面的示意图; [0029] FIG. 3 shows a schematic view of a page according to the query field of use of the embodiment of the present invention;

[0030] 图4示出了根据本发明的实施例的配置字段用途的界面示意图; [0030] FIG. 4 shows a schematic configuration interface fields are used in accordance with embodiments of the present invention;

[0031] 图5示出了根据本发明的实施例的新增页面的XML代码示意图; [0031] FIG. 5 shows a schematic view of the new XML code page to an embodiment of the present invention;

[0032] 图6示出了根据本发明的实施例的新增页面的界面示意图; [0032] FIG. 6 shows a schematic view of the interface of the new page in an embodiment of the present invention;

[0033] 图7示出了根据本发明的实施例的查询页面的界面示意图。 [0033] FIG. 7 shows a schematic view of the interface query page embodiments of the present invention.

具体实施方式 Detailed ways

[0034] 为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。 [0034] In order to more clearly understand the present invention the above object, features and advantages, the following specific embodiments and accompanying drawings further detailed description of the invention. 需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.

[0035] 在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。 [0035] numerous specific details are set forth in the following description in order to provide a thorough understanding of the present invention, however, the present invention may also be in other ways other than described in the embodiment to use, therefore, the scope of the present invention is not limited by the following limiting embodiment of the disclosed specific embodiments.

[0036] 图1示出了根据本发明的一个实施例的Web页面的生成方法的示意流程图。 [0036] FIG. 1 shows a schematic flowchart of a method for generating a Web page in accordance with one embodiment of the present invention.

[0037] 如图1所示,根据本发明的一个实施例的Web页面的生成方法,包括:步骤102,在接收到创建Web页面的指令时,提供对预设的多个字段的属性进行配置的界面,以供操作者对所述多个字段的属性进行配置;步骤104,根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML (Extensible Markup Language,可扩展标记语言)格式的页面;步骤106,根据接收到的页面访问需求,将所述所有XML格式的页面中的指定XML格式的页面转换为HTML (HyperText Markup Language,超文本标记语言)格式的页面,并进行显示。 [0037] 1, the Web page generation method according to an embodiment of the present invention, comprising: a step 102, upon receiving an instruction to create Web pages, there is provided a plurality of attribute fields preset configuration interface for the operator to configure the attributes of the plurality of fields; step 104, attributes of the plurality of fields according to the operator's configuration, generates all XML associated with the plurality of fields (Extensible Markup language, page extensible Markup language) format; step 106, the access requirements according to the received page, the page will all pages in the XML format specified in XML format is converted to HTML (HyperText Markup language, HTML) format pages, and displayed.

[0038] 在该技术方案中,通过提供对多个字段的属性进行配置的页面,并根据操作者配置的多个字段的属性生成与多个字段相关的所有XML格式的页面,并在接收到页面访问需求时,将指定XML格式的页面转换为HTML格式的页面进行显示,使得开发人员在开发Web页面时,仅需针对所要开发的Web页面的需求对预设的多个字段的属性进行配置即可,进而Web页面的生成装置能够根据开发人员配置的属性自动实现XML格式页面的生成,并根据接收到的页面访问需求自动将指定XML格式的页面转换为HTML格式的页面进行显示,避免了开发人员需要多次开发相同的页面的繁琐操作,有效降低了开发人员的开发工作量,并且也降低开发成本。 [0038] In this solution all the pages, the page attribute provided by a plurality of fields configured and generated in accordance with attributes of a plurality of fields associated with the operator to configure the plurality of fields in XML format, and is received when the page access requirements, specified in XML format pages converted to HTML format for display page, allowing developers in the development of a Web page, only to configure the properties of multiple fields default to be developed for the needs of Web pages can, in turn generating means can be a Web page automatically generated in XML format according to the attribute page developer profile, and automatically convert XML format specified page displayed is a page in HTML format in accordance with the received page access requirements, avoiding the developers need to develop the same page multiple times tedious operation, effectively reducing the development effort developers, and also reduce development costs.

[0039] 在上述技术方案中,优选地,在提供对所述预设的多个字段的属性进行配置的界面之前,还包括:创建多种类型的字段,以及用于对所述多种类型的字段的属性进行配置的配置信息表。 [0039] In the above aspect, preferably, the plurality of attribute fields prior to providing the interfacial preset configuration, further comprising: creating a plurality of types of fields, and for the plurality of types attribute field configuration information table configuration.

[0040] 在该技术方案中,通过创建多种类型的字段和用于对多种类型的字段的属性进行配置的配置信息表,使得开发人员在需要开发Web页面时,能够通过对已创建的字段和配置信息表的配置实现自动生成XML格式的页面。 [0040] In this aspect, by creating a plurality of types of attribute fields and a plurality of types of configuration information table field is configured such that when the developer need to develop Web pages can be created by configuration field and configuration information table to achieve page automatically generates XML format. 其中,多种类型的字段包括:字符型、数字型、日期型等各种类型的字段。 Wherein the plurality of field types include: various types of field character, numeric, date, type and the like.

[0041] 在上述任一技术方案中,优选地,根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面的步骤具体包括:根据所述操作者配置的所述多个字段的属性,生成对应于所述多个字段的实体类;将对应于所述多个字段的实体类转换为所述XML格式的页面。 [0041] In any of the above Step aspect, preferably, the attributes of the plurality of fields of said operator arranged to generate the plurality of fields relating to all the pages of the XML format comprises: according to the the plurality of attribute fields of said operator configured to generate a corresponding plurality of fields of the entity class; entity class corresponding to the plurality of field to a page of the XML format.

[0042]具体地,对于每一个 XML 标签,如Body、Row、Column、LabelField、TextField 等,后台都有其对应的实体类。 [0042] Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField the like, the background has its corresponding entity class. 在后台程序中,可以预设在生成的页面上,输入框、下拉框、日期等与其对应的标签一起占用半行,输入域占用一行,然后后台程序会根据设置的字段顺序(包含在字段的属性中)和字段种类,生成其对应的实体类,最后把这个实体类转换成XML格式进行存储。 In the background program can be preset on the page generated therewith occupy half line label corresponding input boxes, drop-down box, date, input field occupies one row, then Daemon The order of the fields set (contained in fields properties) and the type field, which generates a corresponding entity class, the entity class and finally converted into XML format for storage.

[0043] 在上述任一技术方案中,优选地,将所述指定XML格式的页面转换为HTML格式的页面的步骤具体包括:将所述指定XML格式的页面转换为对应的实体类;根据所述实体类中包含的渲染方法将所述实体类转换成所述HTML格式的页面。 [0043] In either aspect, preferably, the designated page turning in XML format to HTML formatted pages step comprises: converting the XML format specified page corresponding entity class; in accordance with the rendering said entity class contains the entity class is converted into the HTML page format.

[0044] 在上述任一技术方案中,优选地,还包括:检测所述多个字段的属性是否发生变换;在检测到所述多个字段中的任一字段的属性发生变化时,根据所述任一字段变化后的属性,重新生成所述相关的所有XML格式的页面。 [0044] In either aspect, preferably, further comprising: detecting a plurality of field attribute whether conversion occurred; attribute field of any one of the plurality of the detected field changes when according to the any of said attribute fields after a change, to regenerate all pages associated with the XML format.

[0045] 在该技术方案中,通过在检测到任一字段的属性发生变化时,根据任一字段变化后的属性重新生成相关的所有XML格式的页面,使得在任一字段的属性发生变化时,Web页面的生成装置能够自动实现对XML格式的页面的更新,避免了现有技术中需要对所有的页面进行重新调整和布局的繁琐操作过程,有效降低了开发人员的维护工作量,并且也降低维护成本。 [0045] In this aspect, by detecting either a field attribute changes, regenerate the page relating to all XML format according to the attribute after any of the fields change, such that the properties of a field changes on either, Web page creation device can automatically update page in XML format, avoiding the cumbersome process operations for readjustments and layout for all pages of the prior art, effectively reducing the maintenance workload of developers, and also reduces maintenance costs.

[0046] 在上述任一技术方案中,优选地,所述多个字段中每个字段的属性包括:字段的描述、数据模型、是否必填、是否展示在查询界面和排列顺序;所述所有XML格式的页面包括:新增页面、修改页面、详细页面、查询页面和变更页面。 [0046] In either aspect, preferably, the plurality of fields each field attributes include: Field description, the data model, if required, to show whether the arrangement order and the query interface; all the page XML format include: Add, modify page detail page, query page and change the page.

[0047] 图2示出了根据本发明的实施例的Web页面的生成装置的示意框图。 [0047] FIG. 2 shows a schematic block diagram of the Web page generation apparatus according to an embodiment of the present invention.

[0048] 如图2所示,根据本发明的实施例的Web页面的生成装置200,包括:呈现单元202,用于在接收到创建Web页面的指令时,提供对预设的多个字段的属性进行配置的界面,以供操作者对所述多个字段的属性进行配置;生成单元204,用于根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面;处理单元206,用于根据接收到的页面访问需求,将所述所有XML格式的页面中的指定XML格式的页面转换为HTML格式的页面,并进行显示。 [0048] 2, the Web page generation means to an embodiment of the present invention 200, comprising: a presentation unit 202, upon receiving an instruction to create Web pages, there is provided a plurality of predetermined fields of interface configuration attributes, for the operator to the plurality of attribute fields to be configured; generation unit 204, according to attributes of the plurality of fields of said operator arranged to generate the plurality of fields associated with All XML format page; processing unit 206, the access requirements according to the received page, the page is converted to HTML pages for all pages in the XML format specified XML format, and displayed.

[0049] 在该技术方案中,通过提供对多个字段的属性进行配置的页面,并根据操作者配置的多个字段的属性生成与多个字段相关的所有XML格式的页面,并在接收到页面访问需求时,将指定XML格式的页面转换为HTML格式的页面进行显示,使得开发人员在开发Web页面时,仅需针对所要开发的Web页面的需求对预设的多个字段的属性进行配置即可,进而Web页面的生成装置能够根据开发人员配置的属性自动实现XML格式页面的生成,并根据接收到的页面访问需求自动将指定XML格式的页面转换为HTML格式的页面进行显示,避免了开发人员需要多次开发相同的页面的繁琐操作,有效降低了开发人员的开发工作量,并且也降低开发成本。 [0049] In this solution all the pages, the page attribute provided by a plurality of fields configured and generated in accordance with attributes of a plurality of fields associated with the operator to configure the plurality of fields in XML format, and is received when the page access requirements, specified in XML format pages converted to HTML format for display page, allowing developers in the development of a Web page, only to configure the properties of multiple fields default to be developed for the needs of Web pages can, in turn generating means can be a Web page automatically generated in XML format according to the attribute page developer profile, and automatically convert XML format specified page displayed is a page in HTML format in accordance with the received page access requirements, avoiding the developers need to develop the same page multiple times tedious operation, effectively reducing the development effort developers, and also reduce development costs.

[0050] 在上述技术方案中,优选地,还包括:创建单元208,用于在所述呈现单元202提供对所述预设的多个字段的属性进行配置的界面之前,创建多种类型的字段,以及用于对所述多种类型的字段的属性进行配置的配置信息表。 [0050] In the above aspect, preferably, further comprising: a creating unit 208, the rendering unit 202 for providing a plurality of field attribute before the interfacial preset configuration, creating a plurality of types of field, and means for attributes of the plurality of types of configuration information table field configuration.

[0051] 在该技术方案中,通过创建多种类型的字段和用于对多种类型的字段的属性进行配置的配置信息表,使得开发人员在需要开发Web页面时,能够通过对已创建的字段和配置信息表的配置实现自动生成XML格式的页面。 [0051] In this aspect, by creating a plurality of types of attribute fields and a plurality of types of configuration information table field is configured such that when the developer need to develop Web pages can be created by configuration field and configuration information table to achieve page automatically generates XML format. 其中,多种类型的字段包括:字符型、数字型、日期型等各种类型的字段。 Wherein the plurality of field types include: various types of field character, numeric, date, type and the like.

[0052] 在上述任一技术方案中,优选地,所述生成单元204具体用于:根据所述操作者配置的所述多个字段的属性,生成对应于所述多个字段的实体类,并将对应于所述多个字段的实体类转换为所述XML格式的页面。 [0052] In either aspect, preferably, the generation unit 204 is specifically configured to: according to the attributes of the plurality of field operator to configure and to generate a corresponding plurality of fields of the entity class, entity class and corresponding to said plurality of field to a page of the XML format.

[0053]具体地,对于每一个 XML 标签,如Body、Row、Column、LabelField、TextField 等,后台都有其对应的实体类。 [0053] Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField the like, the background has its corresponding entity class. 在后台程序中,可以预设在生成的页面上,输入框、下拉框、日期等与其对应的标签一起占用半行,输入域占用一行,然后后台程序会根据设置的字段顺序(包含在字段的属性中)和字段种类,生成其对应的实体类,最后把这个实体类转换成XML格式进行存储。 In the background program can be preset on the page generated therewith occupy half line label corresponding input boxes, drop-down box, date, input field occupies one row, then Daemon The order of the fields set (contained in fields properties) and the type field, which generates a corresponding entity class, the entity class and finally converted into XML format for storage.

[0054] 在上述任一技术方案中,优选地,所述处理单元206具体用于:将所述指定XML格式的页面转换为对应于的实体类;根据所述实体类中包含的渲染方法将所述实体类转换成所述HTML格式的页面。 [0054] In either aspect, preferably, the processing unit 206 is configured to: specify the XML format into the page corresponding to the entity type; according to the method of rendering the entity class contains the the entity class converting the HTML format into a page.

[0055] 在上述任一技术方案中,优选地,还包括:检测单元210,用于检测所述多个字段的属性是否发生变换;所述生成单元204具体用于,在所述检测单元210检测到所述多个字段中的任一字段的属性发生变化时,根据所述任一字段变化后的属性,重新生成所述相关的所有XML格式的页面。 [0055] In either aspect, preferably, further comprising: a detection unit 210, the plurality of attribute fields for detecting whether the transformation occurred; specifically for the generation unit 204, the detection unit 210 detecting the plurality of attribute fields when any field is changed, according to any of the attributes of a field after the change, to regenerate all pages associated with the XML format.

[0056] 在该技术方案中,通过在检测到任一字段的属性发生变化时,根据任一字段变化后的属性重新生成相关的所有XML格式的页面,使得在任一字段的属性发生变化时,Web页面的生成装置能够自动实现对XML格式的页面的更新,避免了现有技术中需要对所有的页面进行重新调整和布局的繁琐操作过程,有效降低了开发人员的维护工作量,并且也降低维护成本。 [0056] In this aspect, by detecting either a field attribute changes, regenerate the page relating to all XML format according to the attribute after any of the fields change, such that the properties of a field changes on either, Web page creation device can automatically update page in XML format, avoiding the cumbersome process operations for readjustments and layout for all pages of the prior art, effectively reducing the maintenance workload of developers, and also reduces maintenance costs.

[0057] 在上述任一技术方案中,优选地,所述多个字段中每个字段的属性包括:字段的描述、数据模型、是否必填、是否展示在查询界面和排列顺序;所述所有XML格式的页面包括:新增页面、修改页面、详细页面、查询页面和变更页面。 [0057] In either aspect, preferably, the plurality of fields each field attributes include: Field description, the data model, if required, to show whether the arrangement order and the query interface; all the page XML format include: Add, modify page detail page, query page and change the page.

[0058] 以下结合图3至7对说明本发明的技术方案进一步说明。 [0058] Figures 3-7 in conjunction with the following description of the technical solution of the present invention are further illustrated.

[0059] 本发明的技术方案主要是通过数据库中的通用字段类型的设置,实现多种类型数据共用同一个数据库表。 [0059] The main aspect of the present invention is provided through a universal type field in the database, a plurality of types of data to achieve the same database table. 对每一种类型的数据,通过配置数据库表的字段的描述、模型、是否必填、是否展示在查询界面、排序等信息,自动生成各种类型页面的XML文件,再把XML格式翻译成HTML格式的页面呈现给用户。 For each type of data, through field configuration database table description, models, if required, to show whether the query interface, ordering and other information, automatically generate XML files of various types of pages, and then translated into HTML format XML page format presented to the user.

[0060] 此外,若修改了数据库表字段的配置,则会触发其对应的所有页面的重新生成,实现页面根据配置自动更新,达到了只需要做一个配置,就实现了所有页面的自动生成的技术效果。 [0060] In addition, if modified the configuration database table field will trigger regenerate all pages corresponding to realize the page is automatically updated depending on the configuration, reaching only need to do a configuration is realized automatically generate all the pages technical effect.

[0061] 具体地,根据本发明的另一个实施例的Web页面的生成方法,包括: [0061] Specifically, the Web page generation method according to another embodiment of the present invention, comprising:

[0062] 步骤1:创建数据库表DATA_TABLE,并创建足够的字符型、数字型、日期型等各种类型的字段。 [0062] Step 1: Create database table DATA_TABLE, and create sufficient field types of character, numeric, date, type and the like. 创建配置信息表C0NFIG_TABLE,配置信息表包含:描述、数据模型、是否必填、是否展示在查询界面、排序等字段。 Create a configuration information table C0NFIG_TABLE, the configuration information table contains: description, data models, if required, to show whether the query interface, sorting and other fields. 其中,字段用途(即上述的属性)的查询页面如图3所示,用户可以通过对图3所示的302中的选项进行配置,并触发查询按钮304以对字段的用途进行查询。 Wherein the field use (i.e., the above-mentioned properties) query page 3, the user may configure 302 shown in FIG. 3 options, and trigger button 304 with the use of the query field query.

[0063] 步骤2:通过Web界面对DATA_TABLE表的每个字段的用途做配置,包括字段的描述、数据模型、是否必填、是否展示在查询界面、排序等,配置结果保存到C0NFIG_TABLE表中。 [0063] Step 2: Web interface made by the use of each field DATA_TABLE table configuration, including field description, the data model, if required, to show whether the query interface, sorting, C0NFIG_TABLE to save the configuration table. 对DATA_TABLE的每一列的配置,都保存成CONFIG_TABLE表的一条记录。 DATA_TABLE configuration of each column are stored as a table record CONFIG_TABLE. 具体的配置界面如图4所示,开发人员可以根据需要对字段的用途进行配置,即对图4中所示的402部分进行配置。 Specific configuration interface shown in Figure 4, the developer can be configured for use in the field as needed, i.e., 402 to configure the portion shown in FIG. 4.

[0064] 步骤3:根据字段用途的配置,在保存配置时自动触发后台程序生成所有相关的页面,如新增、修改、详细、查询、变更等页面,并以XML格式保存在数据库中,每个页面对应其各自的页面代码。 [0064] Step 3: Depending on the configuration of field use, automatically triggered when you save configuration daemon generate all related pages, such as add, modify, detailed, inquiries, changes and other pages, and stored in the database in XML format, each pages corresponding to each page code.

[0065] 后台代码生成XML格式的页面的步骤具体包括: [0065] Background XML format code generation step of pages comprises:

[0066]由于每一个 XML 的标签,如Body、Row、Column、LabelField、TextField 等,后台都有其对应的实体类。 [0066] Since each of the XML tags, such as the Body, Row, Column, LabelField, TextField the like, the background has its corresponding entity class. 可以在后台程序中对页面上的输入框、下拉框、日期等与其对应的Label设置为一起占用半行,输入域设置为占用一行,然后后台程序会根据设置的字段顺序和字段的种类,生成其对应的实体类。 Can Label provided corresponding input box on a page, drop-down box, date, etc. is together occupy half line, the input field is provided in the background program to occupy a line, then Daemon The type field order and field to generate its corresponding entity class.

[0067] 其中,实体类的最外层是Html,Html包含Head和Body实体。 [0067] wherein the outermost layer is a entity class Html, Html and comprising Head Body entities. Body实体中包含了各种页面控件实体,如Div、Grid。 Body entity includes a variety of page control entities, such as Div, Grid. Grid即表格,它里面又包含了Row(表格的行)实体。 Grid That form, inside it also contains a Row (row of the table) entity. R0W实体中包含了Column(表格的列)实体,Column实体中包含了LabelFild(文字)和TextFild(输入框)等实体。 R0W entity includes Column (table columns) entity, Column entity includes LabelFild (text) TextFild (input block) peer entity. 这样就构成了一个完成的页面的实体类。 This constitutes a complete entity class pages.

[0068] 最后把这个实体类再转换成XML格式,存储到数据库中对应的页面记录中。 [0068] Finally, this entity class converted to XML format, stored in the page corresponding records in the database. 比如可以设置一个F0RM_DEFINIT10N表用来存放页面的XML格式,这个表至少包括以下一些字段:F0RM_C0DE页面代码,F0RM_DATA页面的内容,即XML。 F0RM_DEFINIT10N table may be provided for example a XML format used to store the page table including at least some of the following fields: F0RM_C0DE code page, the page content F0RM_DATA, i.e. XML. 那么对于生成的XML就存放到F0RM_DATA字段中。 So for the generated XML will be stored to F0RM_DATA field. 其中,新增页面的XML代码如图5所示。 Wherein the new XML code page as shown in FIG.

[0069] 步骤4:根据页面代码访问页面,并由后台程序从数据库中调出对应的XML格式页面,后台程序将其翻译成HTML格式展现出来。 [0069] Step 4: The page code page is accessed by the background program to call the corresponding XML format page, the background program to show up from the database translated into HTML format.

[0070] XML转换成HTML的过程如下: [0070] XML into HTML is as follows:

[0071] 首先把XML转换成对应的实体类,每种类型的实体类中都包含了一个渲染方法,这个渲染方法可以把实体类转换成HTML的格式。 [0071] First, to convert into the corresponding XML entity class, for each type of entity classes include a rendering method, the rendering method can be converted into HTML format entity classes. 从最外层的实体类开始,通过渲染方法的递归调用,逐层向下,直到把所有的实体都渲染成HTML,这时用户就可以看到整个HTML的页面已经打开。 From the outermost entity classes start, rendering the method by recursive calls, layer by layer down until all the entities are rendered as HTML, then the user can see the entire HTML page has been opened. 其中,生成的新增页面如图6所示,用户可以对图6中所示的602中的各个配置项进行设置,然后触发提交按钮604完成设置;生成的查询页面如图7所示,用户可以通过对图7所示的702中的选项进行配置,并触发查询按钮704以对字段的用途进行查询。 Wherein generating the new page shown in Figure 6, the user can set for each configuration item 602 shown in FIG. 6, and then trigger the submit button 604 to complete the set; generating a query page shown in Figure 7, the user 702 can be configured as shown in FIG. 7 options, and trigger button 704 with the use of the query field query.

[0072] 通过以上技术方案,使得所有此类数据相关的页面全部由后台程序生成,所有需要做的仅仅是配置一下字段的用途,有效降低了开发工作量;同时,当字段用途发生变化时,那么修改这个字段的用途配置即可,相关页面后台自动重新生成,完全不需要开发人员重新开发页面,有效降低了维护工作量。 [0072] Through the above technical solution, such that all data related to all pages generated by the background program, all need to do is to look at the use of field configuration, effectively reducing the development effort; Meanwhile, when the purpose of the field is changed, then modify the configuration to use this field, the relevant page of the background automatically regenerate, developers do not need to completely redevelop the page, effectively reducing the maintenance workload.

[0073] 以上结合附图详细说明了本发明的技术方案,考虑到目前对于Web页面的开发和维护工作量、所花费的成本较大。 Technical details of the invention [0073] The accompanying drawings in conjunction with the above, considering the larger the current cost for the development and maintenance effort Web page, it takes. 因此,本发明提出了一种新的Web页面的生成方案,可以有效降低开发和维护Web页面的工作量和成本。 Accordingly, the present invention provides a new Web page generation program can effectively reduce development and maintenance workload and cost of Web pages.

[0074] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0074] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (12)

1.一种Web页面的生成方法,其特征在于,包括: 在接收到创建Web页面的指令时,提供对预设的多个字段的属性进行配置的界面,以供操作者对所述多个字段的属性进行配置; 根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面; 根据接收到的页面访问需求,将所述所有XML格式的页面中的指定XML格式的页面转换为HTML格式的页面,并进行显示。 1. A method of generating Web pages, characterized by, comprising: upon receiving an instruction to create Web pages, there is provided an interface for a plurality of attribute fields of a predetermined configuration, for the plurality of operator attributes field configuration; attributes of the plurality of fields according to the operator's configuration, all XML format generation page associated with said plurality of fields; access requirements according to the received page, all of the XML format page page specified XML format into HTML format pages, and displayed.
2.根据权利要求1所述的Web页面的生成方法,其特征在于,在提供对所述预设的多个字段的属性进行配置的界面之前,还包括: 创建多种类型的字段,以及用于对所述多种类型的字段的属性进行配置的配置信息表。 The generation method according to claim 1 Web pages, wherein, before providing a plurality of attribute fields to the preset interface configuration is performed, further comprising: creating a plurality of types of fields, and with in the attribute field of the plurality of types of configuration information table configuration.
3.根据权利要求1所述的Web页面的生成方法,其特征在于,根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面的步骤具体包括: 根据所述操作者配置的所述多个字段的属性,生成对应于所述多个字段的实体类; 将对应于所述多个字段的实体类转换为所述XML格式的页面。 The generating method according to claim 1 Web page, wherein the plurality of attribute fields according to the operator's configuration, the step of XML format all pages associated with the plurality of fields to generate specifically includes: according to the attributes of the plurality of field operator to configure and to generate a corresponding plurality of fields of the entity class; entity class corresponding to the plurality of field to a page of the XML format.
4.根据权利要求1所述的Web页面的生成方法,其特征在于,将所述指定XML格式的页面转换为HTML格式的页面的步骤具体包括: 将所述指定XML格式的页面转换为对应的实体类; 根据所述实体类中包含的渲染方法将所述实体类转换成所述HTML格式的页面。 The generating method according to claim 1 Web page, wherein the page specified XML format is converted to HTML format page comprises the step of: the XML format specified page into the corresponding entity class; rendering method according to the entity class contained in the page of the entity class converted into HTML format.
5.根据权利要求1至4中任一项所述的Web页面的生成方法,其特征在于,还包括: 检测所述多个字段的属性是否发生变换; 在检测到所述多个字段中的任一字段的属性发生变化时,根据所述任一字段变化后的属性,重新生成所述相关的所有XML格式的页面。 The Web page generation method according to any one of claims 1 to 4, characterized in that, further comprising: detecting whether the attribute field of the plurality of conversion occurred; detecting that the plurality of fields when the property change any of the fields, in accordance with any one of the properties of the field changes, regenerate all pages associated with the XML format.
6.根据权利要求1至4中任一项所述的Web页面的生成方法,其特征在于, 所述多个字段中每个字段的属性包括:字段的描述、数据模型、是否必填、是否展示在查询界面和排列顺序; 所述所有XML格式的页面包括:新增页面、修改页面、详细页面、查询页面和变更页面。 1 to 6. The method of generating the Web page according to any one of claims 4, wherein said plurality of fields each field attributes include: Field description, the data model, if required, whether query interface and displayed in the order; all the pages in XML format include: Add, modify page detail page, query page and change the page.
7.—种Web页面的生成装置,其特征在于,包括: 呈现单元,用于在接收到创建Web页面的指令时,提供对预设的多个字段的属性进行配置的界面,以供操作者对所述多个字段的属性进行配置; 生成单元,用于根据所述操作者配置的所述多个字段的属性,生成与所述多个字段相关的所有XML格式的页面; 处理单元,用于根据接收到的页面访问需求,将所述所有XML格式的页面中的指定XML格式的页面转换为HTML格式的页面,并进行显示。 7.- kinds of Web page generation apparatus, comprising: presentation means for, when receiving an instruction to create Web pages, there is provided an interface for a plurality of attribute fields of a predetermined configuration, for the operator to for attributes of the plurality of configuration fields; generating means, according to attributes of the plurality of fields for the operator to configure and generate pages associated with the plurality of fields for all XML format; processing unit, with according to the received page access requirements, all the page turning pages in the XML format specified in XML format to HTML format pages, and displays.
8.根据权利要求7所述的Web页面的生成装置,其特征在于,还包括: 创建单元,用于在所述呈现单元提供对所述预设的多个字段的属性进行配置的界面之前,创建多种类型的字段,以及用于对所述多种类型的字段的属性进行配置的配置信息表。 8. Web page generation apparatus according to claim 7, characterized in that, further comprising: a creating unit for a plurality of attribute fields prior to the pre-configured interfacial provided in the presentation unit, creating a plurality of types of fields, and means for attributes of the plurality of types of configuration information table field configuration.
9.根据权利要求7所述的Web页面的生成装置,其特征在于,所述生成单元具体用于: 根据所述操作者配置的所述多个字段的属性,生成对应于所述多个字段的实体类,并将对应于所述多个字段的实体类转换为所述XML格式的页面。 9. Web page generation apparatus according to claim 7, wherein the generating unit is configured to: according to the attributes of the plurality of fields of said operator configuration, corresponding to the plurality of fields to generate entity class, the entity class and corresponding to said plurality of field to a page of the XML format.
10.根据权利要求7所述的Web页面的生成装置,其特征在于,所述处理单元具体用于: 将所述指定XML格式的页面转换为对应的实体类; 根据所述实体类中包含的渲染方法将所述实体类转换成所述HTML格式的页面。 10. Web page generation apparatus according to claim 7, wherein the processing unit is configured to: specify the XML format into the page corresponding to the entity class; according to the entity class contains rendering the page of the entity class converted into HTML format.
11.根据权利要求7至10中任一项所述的Web页面的生成装置,其特征在于,还包括: 检测单元,用于检测所述多个字段的属性是否发生变换; 所述生成单元具体用于,在所述检测单元检测到所述多个字段中的任一字段的属性发生变化时,根据所述任一字段变化后的属性,重新生成所述相关的所有XML格式的页面。 11. Web page generating device according to any of 7-10 claims, characterized in that, further comprising: detecting means for detecting a plurality of field attribute whether conversion occurred; the generating unit is for, when the detecting unit detects the plurality of attribute fields of any field is changed according to the properties of the change in any of the fields, to regenerate all the pages of the related XML format.
12.根据权利要求7至10中任一项所述的Web页面的生成装置,其特征在于, 所述多个字段中每个字段的属性包括:字段的描述、数据模型、是否必填、是否展示在查询界面和排列顺序; 所述所有XML格式的页面包括:新增页面、修改页面、详细页面、查询页面和变更页面。 12. Web page generating device according to any of 7-10 claims, characterized in that said plurality of fields each field attributes include: Field description, the data model, if required, whether query interface and displayed in the order; all the pages in XML format include: Add, modify page detail page, query page and change the page.
CN201510957867.0A 2015-12-18 2015-12-18 Web page generation method and generation device CN105404692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510957867.0A CN105404692A (en) 2015-12-18 2015-12-18 Web page generation method and generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510957867.0A CN105404692A (en) 2015-12-18 2015-12-18 Web page generation method and generation device

Publications (1)

Publication Number Publication Date
CN105404692A true CN105404692A (en) 2016-03-16

Family

ID=55470181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510957867.0A CN105404692A (en) 2015-12-18 2015-12-18 Web page generation method and generation device

Country Status (1)

Country Link
CN (1) CN105404692A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239557A (en) * 2017-06-08 2017-10-10 腾讯科技(深圳)有限公司 Webpage building method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346840B1 (en) * 2001-02-26 2008-03-18 Cisco Technology, Inc. Application server configured for dynamically generating web forms based on extensible markup language documents and retrieved subscriber data
CN101299750A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Method and equipment for implementing operational management
CN101650745A (en) * 2009-09-10 2010-02-17 中兴通讯股份有限公司 Method and device for rapidly generating WEB page based on data definition
CN101847142A (en) * 2009-03-25 2010-09-29 上海斯年信息技术有限公司 Web page development method based on data sheet mould encapsulation
CN101980205A (en) * 2010-11-04 2011-02-23 上海银杏界信息科技有限公司 Universal page generating method
CN104331288A (en) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 Method and system for showing dynamic page in configured manner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346840B1 (en) * 2001-02-26 2008-03-18 Cisco Technology, Inc. Application server configured for dynamically generating web forms based on extensible markup language documents and retrieved subscriber data
CN101299750A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Method and equipment for implementing operational management
CN101847142A (en) * 2009-03-25 2010-09-29 上海斯年信息技术有限公司 Web page development method based on data sheet mould encapsulation
CN101650745A (en) * 2009-09-10 2010-02-17 中兴通讯股份有限公司 Method and device for rapidly generating WEB page based on data definition
CN101980205A (en) * 2010-11-04 2011-02-23 上海银杏界信息科技有限公司 Universal page generating method
CN104331288A (en) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 Method and system for showing dynamic page in configured manner

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239557A (en) * 2017-06-08 2017-10-10 腾讯科技(深圳)有限公司 Webpage building method, electronic device and storage medium
CN107239557B (en) * 2017-06-08 2018-10-30 腾讯科技(深圳)有限公司 One kind of method for establishing web pages, electronic devices and storage media

Similar Documents

Publication Publication Date Title
CN100504766C (en) Method for implementing programming interface and computer system
JP4772380B2 (en) Approach to providing user support just-in-time
JP4861611B2 (en) Framework for creating a modular Web applications
CN102609425B (en) Templates for displaying data
US8700988B2 (en) Selectively interpreted portal page layout template
US9009669B2 (en) Visual user interface validator
US8539336B2 (en) System for linking to documents with associated annotations
US8543527B2 (en) Method and system for implementing definable actions
US8959483B2 (en) Test framework of visual components in a multitenant database environment
US20100251143A1 (en) Method, system and computer program for creating and editing a website
CN103207853B (en) Analysis reports provide an analysis method for the direct manipulation of the data visualization system
JP2006526828A (en) Uniform device-independent graphical user interface generation method and terminal
CN100520717C (en) Service assemblage based on MVC and method for page moulding development WEB platform
WO2007115082A2 (en) Systems and methods of transforming data for web communities and web applications
US20060080289A1 (en) Service-oriented architecture for accessing reports in legacy systems
CN1967545A (en) Method and system for forms integration of an external data model
CN103339625A (en) Method for displaying a data set
JP2000090098A (en) Data base querying method, its implementing device, and medium recording processing program thereof
CN101114226A (en) Code automatically generating device based on model component, system and method
JP2006228210A (en) Using existing content to generate active content wizard executable file for execution of task
JP4399127B2 (en) Document management method and apparatus and the processing program and the storage medium storing it
US20160070811A9 (en) Method and apparatus for using proxies to interact with webpage analytics
US20150089339A1 (en) Systems and methods for creating or updating an application using website content
KR20120076334A (en) Data-driven actions for network forms
WO2005008469A2 (en) System and method for generating a graphical user interface (gui) element

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination