CN103019684B - A kind of method of the configuration service page based on dynamic template - Google Patents

A kind of method of the configuration service page based on dynamic template Download PDF

Info

Publication number
CN103019684B
CN103019684B CN201210473296.XA CN201210473296A CN103019684B CN 103019684 B CN103019684 B CN 103019684B CN 201210473296 A CN201210473296 A CN 201210473296A CN 103019684 B CN103019684 B CN 103019684B
Authority
CN
China
Prior art keywords
page
dynamic template
control functionality
template
functionality unit
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.)
Active
Application number
CN201210473296.XA
Other languages
Chinese (zh)
Other versions
CN103019684A (en
Inventor
官元峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201210473296.XA priority Critical patent/CN103019684B/en
Publication of CN103019684A publication Critical patent/CN103019684A/en
Application granted granted Critical
Publication of CN103019684B publication Critical patent/CN103019684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of method of the configuration service page based on dynamic template, comprise, page elements is decomposed into control functionality unit; Need control functionality unit to carry out different assembling combination according to the content of the business page to be generated, form various dynamic template; The association attributes of the page and associating of required dynamic template is set up according to the type of service of the page to be generated; Based on the incidence relation that the page and required dynamic template are set up, the dynamic template needed for page invocation, the business page needed for formation; When needing the amendment business page, realization can be configured by the dynamic template used to the business page.The present invention, by page elements is decomposed into control functionality unit, can be that different dynamic template is used, improves the reusing degree of element; Make the page represents different elements flexibly to the configuration of dynamic template, configuration realizes pulling of control functionality unit by visualization interface, realizes the Dynamic Display of the various page, save the development time, reduce workload.

Description

A kind of method of the configuration service page based on dynamic template
Technical field
The present invention relates to the method for a kind of page dynamic template configuration, belong to computer realm.
Background technology
Represent in layer exploitation at J2EEWEB, on the same page, this demand of different page elements is shown for different page operation, traditional development approach is normally by developing the different jsp pages, then utilize ajax Technique dynamic to load to realize, or the method utilizing js page technology directly to export control functionality unit realizes.Above-mentioned development scheme is applicable to the exploitation of less portfolio, but for the complex situations had compared with high traffic demand, as telecommunications industry, this development scheme just seems very complicated, identical page control functional unit cannot be reused, and consumes larger workload, and each exploitation all must revise jsp code, cause code on-line frequently, affect user awareness.
Summary of the invention
Technical matters to be solved by this invention is for the deficiencies in the prior art, provides that a kind of workload is little, the construction cycle is short, element reusing degree is high, uses flexibly based on the method for the configuration service page of dynamic template.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of method of the configuration service page based on dynamic template, and concrete steps are as follows:
Step 1: the element of the page is decomposed into multiple control functionality unit;
Step 2: need control functionality unit to carry out different assembling combination according to the content of the business page to be generated, form various dynamic template;
Step 3: set up the association attributes of the page and associating of required dynamic template according to the type of service of the business page to be generated;
Step 4: the incidence relation set up based on the page and required dynamic template, the dynamic template needed for page invocation, the business page needed for formation.
On the basis of technique scheme, the present invention can also do following improvement.
Further, said method also can have following characteristics, when the needs amendment business page, by realizing the configuration of business page dynamic template used.
Further, increase comprised to the configuration of dynamic template or delete corresponding control functionality unit.
Further, in described step 2, according to service needed, control functionality unit is carried out different assembling combination, formed
The step of various dynamic template is as follows:
Step 2.1: the attribute that all control functionality unit are set, by the attribute information of control functionality unit stored in control functionality unit information module, and in control functionality unit information module, automatically generate the HTML code of each control functionality unit and the ID numbering of each control functionality unit;
Step 2.2: the attribute arranging dynamic template to be generated, is dragged to appointed area by control functionality unit needed for dynamic template to be generated;
Step 2.3: be deposited in Template Information module according to the HTML code of corresponding control functionality unit in the ID numbering read control functional unit information module of dynamic template to be generated control functionality used unit;
Step 2.4: the attribute information of dynamic template to be generated is deposited in Template Information module, and the HTML code automatically generating template framework in Template Information module;
Step 2.5: according to the attribute information of dynamic template to be generated, the HTML code of the HTML code of template framework and control functionality unit used is carried out assembling combination, form the HTML code that a template is complete, and automatically generate the ID numbering of dynamic template to be generated.
Further, in described step 1, page elements is decomposed to form control functionality unit to be realized by J2EE technology.
Further, in described step 8, the page utilizes dwr technology to call dynamic template used.
The invention has the beneficial effects as follows: the present invention is by being decomposed into control functionality unit by page elements, and control functionality unit can be that different dynamic template is used, improves the reusing degree of element; And make the page represents different elements flexibly by simply configuring dynamic template, solving the variation of original implementation each page, all to need to revise the exploitation complexity that page jsp code causes loaded down with trivial details, the problem that code is frequently reached the standard grade; The present invention simultaneously utilizes simple and convenient page visualization interface to realize pulling of control functionality unit, thus make traffic operation staff also can easily by the control functionality cell location of dynamic template, realize the Dynamic Display of the various page, save the development time, reduce workload, mass of system is significantly improved, improves the competitive edge in the same industry.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for a kind of configuration service page based on dynamic template of the present invention;
Control functionality unit is carried out different assembling combination according to business demand in step 2 of the present invention by Fig. 2, forms the process flow diagram of various dynamic template;
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Be the process flow diagram of the method for a kind of configuration service page based on dynamic template of the present invention as Fig. 1, as shown in the figure, a kind of method of the configuration service page based on dynamic template, concrete steps are as follows:
Step 1: the element of the page is decomposed into control functionality unit;
Wherein, namely control functionality unit forms the unit of Page Template, according to the single business control functionality unit that service needed decomposites, comprise the types such as single text, Long Binary, choice box, possess the attributes such as title, mark, verification type (whether essential), validity, js script.
Wherein, page elements is decomposed to form control functionality unit realized by J2EE technology, J2EE is java Enterprise Development platform.
Step 2: need control functionality unit to carry out different assembling combination according to the content of the business page to be generated, form various dynamic template;
Step 3: set up the association attributes of the page and associating of required dynamic template according to the type of service of the business page to be generated;
Step 4: the incidence relation set up based on the page and dynamic template used, at the dynamic template that page invocation is used, the business page needed for formation.
Wherein, the page utilizes dwr technology to call dynamic template used.
DWR(DirectWebRemoting) be one for improving the Open Framework of web page and the mutual remote server AJAX Interactive Web Page application and development of java class, developer's kit can be helped containing the website of AJAX technology.
In addition, when the needs amendment business page, by realizing the configuration of business page dynamic template used; The configuration of dynamic template is comprised and increases or delete corresponding control functionality unit.
Control functionality unit is carried out different assembling combination according to business demand in step 2 of the present invention by Fig. 2,
Form the process flow diagram of various dynamic template; As shown in the figure, concrete steps are as follows:
Step 2.1: the attribute that all control functionality unit are set, by the attribute information of control functionality unit stored in control functionality unit information module, and in control functionality unit information module, automatically generate the HTML code of each control functionality unit and the ID numbering of each control functionality unit;
Step 2.2: the attribute arranging dynamic template to be generated, is dragged to appointed area by control functionality unit needed for dynamic template to be generated;
Step 2.3: the attribute information of dynamic template to be generated is deposited in Template Information module, and the HTML code automatically generating template framework in Template Information module;
Step 2.4: be deposited in Template Information module according to the HTML code of corresponding control functionality unit in the ID numbering read control functional unit information module of dynamic template to be generated control functionality used unit;
Step 2.5: according to the attribute information of dynamic template to be generated, the HTML code of the HTML code of template framework and control functionality unit used is carried out assembling combination, form the HTML code that a template is complete, and automatically generate the ID numbering of dynamic template to be generated.
Be described in detail with the example that is configured to accepting the complaint business page below:
The element of the page is decomposed into control functionality unit, and the content according to the complaint business that the accepts page to be generated needs control functionality unit to be carried out assembling combination, formative dynamics template; Complaint type of service and dynamic template are carried out associated configuration by the type of service according to accepting the complaint business page, accept the dynamic template that complaint business page invocation is used, achieve at same complaint acceptation interface, by selecting different complaint types of service, the page elements of content that what dynamic displaying was different accept, simple and convenient the accepting of work order information meeting different complaint type is filled in, and greatly reduces the workload of developer.
The present invention is by being decomposed into control functionality unit by page elements, and control functionality unit can be that different dynamic template is used, improves the reusing degree of element; And make the page represents different elements flexibly by simply configuring dynamic template, solving the variation of original implementation each page, all to need to revise the exploitation complexity that page jsp code causes loaded down with trivial details, the problem that code is frequently reached the standard grade; The present invention simultaneously utilizes simple and convenient page visualization interface to realize pulling of control functionality unit, thus make traffic operation staff also can easily by the control functionality cell location of dynamic template, realize the Dynamic Display of the various page, save the development time, reduce workload, mass of system is significantly improved, improves the competitive edge in the same industry.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1., based on a method for the configuration service page of dynamic template, it is characterized in that, concrete steps are as follows:
Step 1: the element of the page is decomposed into multiple control functionality unit;
Step 2: need control functionality unit to carry out different assembling combination according to the content of the business page to be generated, form various dynamic template;
According to service needed, control functionality unit is carried out different assembling combination in described step 2, the step forming various dynamic template is as follows:
Step 2.1: the attribute that all control functionality unit are set, by the attribute information of control functionality unit stored in control functionality unit information module, and in control functionality unit information module, automatically generate the HTML code of each control functionality unit and the ID numbering of each control functionality unit;
Step 2.2: the attribute arranging dynamic template to be generated, is dragged to appointed area by control functionality unit needed for dynamic template to be generated;
Step 2.3: be deposited in Template Information module according to the HTML code of corresponding control functionality unit in the ID numbering read control functional unit information module of dynamic template to be generated control functionality used unit;
Step 2.4: the attribute information of dynamic template to be generated is deposited in Template Information module, and the HTML code automatically generating template framework in Template Information module;
Step 2.5: according to the attribute information of dynamic template to be generated, the HTML code of the HTML code of template framework and control functionality unit used is carried out assembling combination, form the HTML code that a template is complete, and automatically generate the ID numbering of dynamic template to be generated;
Step 3: set up the association attributes of the page and associating of required dynamic template according to the type of service of the business page to be generated;
Step 4: the incidence relation set up based on the page and required dynamic template, the dynamic template needed for page invocation, the business page needed for formation.
2. the method for a kind of configuration service page based on dynamic template according to claim 1, is characterized in that, also comprise when the needs amendment business page, be configured realization by the dynamic template used to the business page.
3. the method for a kind of configuration service page based on dynamic template according to claim 2, is characterized in that, comprising the configuration of dynamic template increases or delete corresponding control functionality unit.
4. the method for a kind of configuration service page based on dynamic template according to claim 1, be is characterized in that, in described step 1, page elements is decomposed to form control functionality unit and is realized by J2EE technology.
5. the method for a kind of configuration service page based on dynamic template according to claim 1, it is characterized in that, in described step 4, the page utilizes dwr technology to call required dynamic template.
CN201210473296.XA 2012-11-20 2012-11-20 A kind of method of the configuration service page based on dynamic template Active CN103019684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210473296.XA CN103019684B (en) 2012-11-20 2012-11-20 A kind of method of the configuration service page based on dynamic template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210473296.XA CN103019684B (en) 2012-11-20 2012-11-20 A kind of method of the configuration service page based on dynamic template

Publications (2)

Publication Number Publication Date
CN103019684A CN103019684A (en) 2013-04-03
CN103019684B true CN103019684B (en) 2016-03-16

Family

ID=47968323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210473296.XA Active CN103019684B (en) 2012-11-20 2012-11-20 A kind of method of the configuration service page based on dynamic template

Country Status (1)

Country Link
CN (1) CN103019684B (en)

Families Citing this family (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424522B (en) * 2013-08-28 2019-01-15 阿里巴巴集团控股有限公司 A kind of transaction processing system and its configuration method
CN103473316A (en) * 2013-09-11 2013-12-25 北京思特奇信息技术股份有限公司 Data column dynamically displaying method and device
CN104462131A (en) * 2013-09-23 2015-03-25 阿里巴巴集团控股有限公司 Method and device for processing information issuing page
CN103593188B (en) * 2013-11-14 2017-01-18 中国电子科技集团公司第四十一研究所 System and method for managing what-you-see-is-what-you-get menus of instrument
CN103955364B (en) * 2014-04-15 2017-06-20 南威软件股份有限公司 A kind of front end assemblies method suitable for mobile phone
CN104050275A (en) * 2014-06-25 2014-09-17 国家电网公司 Method and system for reviewing project
CN104331285A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Automatic code generation method and system
CN104408548A (en) * 2014-10-31 2015-03-11 北京思特奇信息技术股份有限公司 Graphical guiding display method and system
CN104331288B (en) * 2014-10-31 2017-08-01 北京思特奇信息技术股份有限公司 A kind of configurationization shows the method and system of dynamic page
CN104809240B (en) * 2015-05-13 2018-06-19 广州华多网络科技有限公司 A kind of page processing method and its equipment
CN106293671B (en) * 2015-06-04 2020-03-13 阿里巴巴集团控股有限公司 Method and device for generating component template
CN105094813B (en) * 2015-07-01 2018-07-06 北京京东尚科信息技术有限公司 The treating method and apparatus of User Page template
CN105095445B (en) * 2015-07-24 2019-06-04 北京奇虎科技有限公司 A kind of page generation method and system
CN106708480B (en) * 2015-07-29 2021-02-26 腾讯科技(深圳)有限公司 Management platform implementation method and device
CN105242926A (en) * 2015-09-30 2016-01-13 北京锐安科技有限公司 Web front-end development platform
CN105573765A (en) * 2015-12-29 2016-05-11 武汉传神信息技术有限公司 Implementation method for dynamic form, client and server
CN105786987A (en) * 2016-02-17 2016-07-20 中国建设银行股份有限公司 Page configuration method and device
CN105825402A (en) * 2016-03-17 2016-08-03 广州筷子信息科技有限公司 Method and device for orientating ad creative element
CN107526576B (en) * 2016-06-21 2021-06-15 阿里巴巴集团控股有限公司 Method and device for displaying view components of page
CN106096064A (en) * 2016-07-19 2016-11-09 百度在线网络技术(北京)有限公司 For the method and apparatus generating the page
CN106775618A (en) * 2016-11-09 2017-05-31 北京许继电气有限公司 The code automatic generation method of HTML5 form Mobile solution development platforms
CN108228596A (en) * 2016-12-13 2018-06-29 中国移动通信集团上海有限公司 A kind of dynamic data methods of exhibiting
CN108572817B (en) * 2017-03-07 2021-12-31 北京京东尚科信息技术有限公司 Method, apparatus and medium for dynamic resource configuration based on business modeling
CN106951273A (en) * 2017-05-02 2017-07-14 山东浪潮通软信息科技有限公司 The method and apparatus that a kind of dynamic configuration generates professional workstation
CN107369090A (en) * 2017-07-25 2017-11-21 上海壹账通金融科技有限公司 Open an account generation method, equipment and the computer-readable recording medium of the page
CN107562552A (en) * 2017-09-06 2018-01-09 深圳市中润四方信息技术有限公司 A kind of service message generation method and system
CN107818143B (en) * 2017-10-16 2021-12-17 中国银联股份有限公司 Page configuration and generation method and device
CN107766117A (en) * 2017-11-16 2018-03-06 山东浪潮通软信息科技有限公司 A kind of method and device of showing interface
CN108021629B (en) * 2017-11-22 2021-06-11 贝壳找房(北京)科技有限公司 Method, device and system for generating advertisement material data
CN108154569B (en) * 2017-12-27 2021-02-12 广州奥格智能科技有限公司 Patrol acquisition method based on object modeling configuration
CN108491365A (en) * 2018-02-02 2018-09-04 方欣科技有限公司 A kind of PDF splits the method and device of combination according to different business automatically
CN110764763B (en) * 2018-07-27 2022-04-26 北京京东尚科信息技术有限公司 Mobile terminal page construction method and system and mobile terminal
CN109358919B (en) * 2018-08-20 2024-04-02 中国平安人寿保险股份有限公司 Dynamic configuration method and device for universal page, computer equipment and storage medium
CN110865797A (en) * 2018-08-28 2020-03-06 北京京东尚科信息技术有限公司 Method and device for processing dynamic attributes of services
CN109388396A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Page generation method, device, computer equipment and storage medium
CN109445891B (en) * 2018-10-09 2022-08-12 北京国电智深控制技术有限公司 Picture configuration and display method, device and computer readable storage medium
CN109710249A (en) * 2018-11-13 2019-05-03 国云科技股份有限公司 A method of the custom page template based on cloudy platform
CN110297636B (en) * 2019-07-03 2023-06-27 广州鲁邦通物联网科技股份有限公司 Page automatic generation and parameter management method, system and device based on page configuration file
CN110442410A (en) * 2019-07-15 2019-11-12 深圳市元征科技股份有限公司 Embedded type interface design method, device, electronic equipment and storage medium
CN110543307A (en) * 2019-07-23 2019-12-06 江苏联盟信息工程有限公司 application construction method and device
CN110427186B (en) * 2019-07-26 2023-08-15 广东信通通信有限公司 Command service page information display method, device and equipment based on window
CN111162948B (en) * 2019-12-31 2022-07-26 北京思特奇信息技术股份有限公司 Display interaction configuration method and system
CN111273908A (en) * 2020-02-14 2020-06-12 神州数码融信软件有限公司 Automatic generation method of business interface
CN111695331B (en) * 2020-04-15 2023-02-28 福建天晴数码有限公司 Evaluation template generation method and terminal
CN111966351B (en) * 2020-07-27 2022-03-22 广东融合通信股份有限公司 Implementation method of non-template rapid generation platform
CN112394931A (en) * 2020-11-18 2021-02-23 浩云科技股份有限公司 Static page configuration optimization control method and device for front-end page
CN112558967A (en) * 2020-12-15 2021-03-26 中国建设银行股份有限公司 Page automatic generation method and device, electronic equipment and storage medium
CN113110845B (en) * 2021-04-25 2021-10-26 达而观数据(成都)有限公司 Plug-in system based on dynamic template compiling technology and implementation method thereof
CN114154959A (en) * 2021-12-03 2022-03-08 爱信诺征信有限公司 Electronic contract template configuration method and device
CN114968447A (en) * 2022-03-30 2022-08-30 中国人寿保险股份有限公司 Online webpage generation and management method and related equipment
CN116562258B (en) * 2023-07-05 2023-10-10 商飞软件有限公司 Method for generating aircraft histories based on element templates

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499774A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司上海第二 Method for generating telecommunication network management interface
US7316003B1 (en) * 2002-12-18 2008-01-01 Oracle International Corp. System and method for developing a dynamic web page
CN101609403A (en) * 2009-07-29 2009-12-23 金蝶软件(中国)有限公司 A kind of page layout dynamic switch method and system
CN102637184A (en) * 2011-02-15 2012-08-15 北京千橡网景科技发展有限公司 Method and system for customizing webpages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499774A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司上海第二 Method for generating telecommunication network management interface
US7316003B1 (en) * 2002-12-18 2008-01-01 Oracle International Corp. System and method for developing a dynamic web page
CN101609403A (en) * 2009-07-29 2009-12-23 金蝶软件(中国)有限公司 A kind of page layout dynamic switch method and system
CN102637184A (en) * 2011-02-15 2012-08-15 北京千橡网景科技发展有限公司 Method and system for customizing webpages

Also Published As

Publication number Publication date
CN103019684A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103019684B (en) A kind of method of the configuration service page based on dynamic template
Rodríguez et al. Semi-formal transformation of secure business processes into analysis class and use case models: An MDA approach
CN103383645B (en) Code generating method and system
CN104615617B (en) A kind of substation equipment dispatching and monitoring information processing system
CN103995698A (en) Application form agile development method and system oriented to business
CN100465882C (en) Method and system of establishing culture sensitive control element for global application
CN113626128B (en) Audio-visual media micro-service third-party module access method, system and electronic equipment
CN105224631A (en) Build the system of the open cloud of industry and the method for establishment XBRL financial statement
CN103838576A (en) Website establishing method and device
CN102096699A (en) Dynamic template-based display method and system
CN103399735A (en) Method for developing intermediate layer of remote function call interface
Ji et al. Cloud Service based intelligent power monitoring and early-warning system
CN104123155A (en) Business system page layer development platform and method based on WEB
Toh Developing a digital business ecosystem in Singapore
Touati et al. Development of prototype for IoT and IoE scalable infrastructures, architectures and platforms
CN102662962B (en) Dynamic display method based on webpage elements
CN104834715A (en) Website generating method and system based on components and container
CN103092479B (en) A kind of methods, devices and systems by right button transitional information
CN101751255A (en) Method and device for realizing service organization by workflow middleware conforming to XPDL specification
CN111798338A (en) Smart tourism GDS method, system and intermediate server
CN111241089B (en) ERP system secondary development method, system, device and readable storage medium
Han et al. Integration technology of literature contents based on SaaS
AU2021103020A4 (en) The apparatus for developing programs by using green computing circuit.
CN114676124B (en) Data field difference solving method, device, equipment and medium based on configuration
CN102662719A (en) SOA based code translation method in PLM system component library

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant