CN103399744A - Method of establishing enterprise portal platform - Google Patents

Method of establishing enterprise portal platform Download PDF

Info

Publication number
CN103399744A
CN103399744A CN2013103255559A CN201310325555A CN103399744A CN 103399744 A CN103399744 A CN 103399744A CN 2013103255559 A CN2013103255559 A CN 2013103255559A CN 201310325555 A CN201310325555 A CN 201310325555A CN 103399744 A CN103399744 A CN 103399744A
Authority
CN
China
Prior art keywords
file
template
variable
portal
files
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.)
Granted
Application number
CN2013103255559A
Other languages
Chinese (zh)
Other versions
CN103399744B (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.)
CHENGDU COMSYS INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CHENGDU COMSYS 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 CHENGDU COMSYS INFORMATION TECHNOLOGY Co Ltd filed Critical CHENGDU COMSYS INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310325555.9A priority Critical patent/CN103399744B/en
Publication of CN103399744A publication Critical patent/CN103399744A/en
Application granted granted Critical
Publication of CN103399744B publication Critical patent/CN103399744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method of establishing an enterprise portal platform and relates to the field of internet application. The method includes the steps of 1, establishing a portal template including universal files, personal files, template files and variable descriptors; 2, establishing an automatic deployment system comprising a data acquisition module, a template analysis module and an automatic deployment module; 3, acquiring user input through the automatic deployment system, reading the variable descriptors, extracting required files from the portal template, and deploying the files to a server. The method can be applied to the development and application of portal platforms to allow for standard and automatic development of the portable platforms, and also allows users to further customize personally during platform establishing.

Description

A kind of method that builds business gate platform
Technical field
The invention belongs to the internet, applications field, be specifically related to a kind of method that builds business gate platform.
Background technology
Portal website is the application system of leading to the comprehensive internet of certain class integrate information resource and relevant information service being provided.Portal website of today has developed into a comprehensive information platform mostly, allows people toward the application component that wherein adds or delete demonstration various information or resource.For enterprise, door is an application framework, it is integrated into various application systems, data resource and Internet resources on an information management platform, offer the user with unified user interface, and set up rapidly business to customer, the enterprise information channel to interior employee and business to business, enterprise can be discharged be stored in enterprises and outside various information.
Enterprise portal is type common in portal website, and the characteristic of enterprise portal self makes it have apparent numerous advantage.At first, it effectively centralized integration various information resources, and provide unified user interface, make people to access easily the information that all need from single channel, no matter he is top managers, workers in enterprise, enterprise customer or the supplier of enterprise etc.Secondly, enterprise portal is being managed a large amount of information and user's complicated component, so it provides strict safety management and user right to distribute, and has effectively guaranteed information security.Finally, it allows people to add the application component of various customizations, thereby powerful personalized function is provided, and these assemblies can also be various offices, Management Unit, is convenient for people to office, management.
Enterprise portal is the large software of a complexity in essence, it consists of many coded files and configuration file, therefore the process that builds an enterprise portal is similar to writes large software, the Developmental Engineer of door designs gate system after taking demand according to demand, comprise interface, rights management, content, pattern style, operation flow, information management of enterprise portal etc., then write a large amount of codes and configuration file.Transfer to tester's test after completing, allow the user examine, dispose issue.Therefrom we are not difficult to pinpoint the problems, and due to enterprise portal, are the large scale systems of a complexity, and internal module is closely linked, change is got up difficulty and is bothered, in case the gate system user who has developed is dissatisfied, perhaps user's request changes, and revise and require a great deal of time.When disposing enforcement,, because file is numerous, easily make a mistake, particularly when the enforcement personnel understood not thoroughly to the structure of gate system, this had just proposed higher requirement to the enforcement personnel, has increased development and maintenance cost and technical difficulty.Simultaneously, there is different demands in different enterprises to door,, although dissimilar enterprise portal has many identical places, can't reuse, and therefore builds an enterprise portal and need to start anew, and does the work of many repetitions, makes inefficiency.
Therefore, if can build corresponding enterprise portal according to user's demand, and automatic deployment can improve development efficiency widely to server, reduce exploitation and implementation cost, reduce the burden on enterprises.
Summary of the invention
The objective of the invention is cost of development and technical difficulty in order to reduce enterprise portal, and the dissimilar enterprise portal of fast construction, a kind of method that builds business gate platform of proposition.
To achieve these goals, the invention provides a kind of method that builds business gate platform, comprise the following steps:
S1. set up portal template, described portal template comprises general file, personalization files, template file and variable description file;
S2. set up the automatic deployment system, described automatic deployment system comprises data acquisition module, template parsing module and automatic deployment module;
S3. by described automatic deployment system acquisition user input; Then read in the variable description file; Extract finally required file and be deployed on server from portal template.
As preferably: set up the as follows step by step of portal template:
S11. the file that different doors are all is sorted out, and is divided into general file, quasi-mode plate file and personalization files; Described general file is all identical files of door File name and content; Described personalization files is diverse file; Described quasi-mode plate file is that filename is identical, in have different files;
S12. the quasi-mode plate documenting that marks off in step S11 is become template file; Described template file refers in file comprise the file of variable, with the uncertain content in variable replacement quasi-mode plate file;
S13. make the variable description file, and record all variable informations that use in step S12 in the variable description file;
S14. the variable description file of the template file made in step S12 and step S13 being made, same general file, personalization files classifying packing together become portal template.
As preferably: the data acquisition module job step is as follows:
S21. data acquisition module generates guide guiding user and inputs the customized information of enterprise portal;
S22. data acquisition module reads in the variable description file from portal template, according to the template file in the file set of selecting in step S21, search the variable description file, determine the variable that needs the user to input according to the information in the variable description file, generate further guide guiding user inputted variable according to these variablees again, the variate-value of collecting is temporary in internal memory.
As preferably: the job step of data resolution module is as follows:
S23. data resolution module extracts required file in temp directory according to the file set of determining in step S21 from portal template, wherein general file and personalization files can directly copy, when the extraction template file, according to the variable in the value replacement template file that gathers in step S22.
As preferably: automatic deployment module job step is as follows:
S24. the automatic deployment module copies to according to corresponding hierarchical directory the file that parses in step S23 on server.
As preferably: the described customized information of step S21 comprises: theme, skin, layout type, Role Policies.
As preferably: described all variable informations of step S13 comprise the template filename at variable name, variable place and the logical name of variable.
As preferably: the described general file of step S11 comprises the web.xml file.
As preferably: the described personalization files of step S11 comprises loge pictures different in different colleges and universities, different school badge pictures.
As preferably: the quasi-mode plate file described in step S11 comprises the disparate databases that different colleges and universities use.
Beneficial effect of the present invention is as follows: by creating portal template and automatic deployment system, and use the automatic deployment system specific to this portal template, according to user's input, automatically build personalized portal platform.Portal template has comprised the required All Files of structure portal platform, wherein the variable description file determines that parameter and file in file will be how assembled, and the parameter value in file can be determined by the user when disposing, thereby the automatic deployment system can construct portal platform system personalized and that can move on server immediately intelligently according to user's input.The method can be applicable to exploitation and the application of portal platform, makes exploitation standardization and the robotization of portal platform, allows simultaneously the user to do further personalized customization when construction platform.Avoided a large amount of duplication of labour in the open-door process of the traditional forms of enterprises, full automatic parsing and deployment function can be avoided in artificial constructed mode the low staging error that may occur simultaneously.
Description of drawings
Fig. 1 uses classic method to build the process flow diagram of three enterprise portals;
Fig. 2 uses the present invention to build the process flow diagram of three enterprise portals;
Fig. 3 is the process flow diagram that the present invention builds the enterprise portal template;
Fig. 4 is the fundamental diagram of automatic deployment system of the present invention.
Embodiment
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Fig. 1 has shown newly-built in the classic method and has disposed three workflows that enterprise portal is required, every new step that enterprise portal all must experience exploitation, test and dispose three repetitions that builds.
Fig. 2 has shown the required groundwork flow process of employing three enterprise portals of automatic deployment system constructing, and automatic deployment system of the present invention has substituted exploitation, test and three steps of deployment in the conventional construction process.Described automatic deployment System Working Principle and flow process more are shown specifically in Fig. 4.
Fig. 3 has shown the process of setting up described portal template.Specifically comprise following three steps:
S1. set up portal template, described portal template comprises general file, personalization files, template file and variable description file;
S2. set up the automatic deployment system, described automatic deployment system comprises data acquisition module, template parsing module and automatic deployment module;
S3. by described automatic deployment system acquisition user input; Then read in the variable description file; Extract finally required file and be deployed on server from portal template.
Suppose that we will need to set up portal template for different colleges and universities build information portal, detailed step is as follows:
1.1. file is sorted out.
Portal application is that many files leave in server and form according to certain hierarchical structure in essence, and the difference of different doors is in fact the difference on file and file content.Different doors has all identical files of filename and content, and we are classified as general file, as the web.xml file.Filename is identical, the file of some difference of content, and we are classified as quasi-mode plate file, will be made into template file in following step.As different in the database that different colleges and universities use, we put into the server.properties file with database information, will therefrom read during the program operation.Diverse file, we are classified as personalization files.As different colleges and universities, different loge pictures, school badge picture etc. are arranged.
1.2. the quasi-mode plate documenting that marks off in step 1.1 is become template file.
Described template file refers in file comprise the file of variable.Therefore namely with the uncertain content in variable replacement quasi-mode plate file, these contents are different because of the difference of colleges and universities for this step.In the server.properties file, the user name of the A of colleges and universities should be user=bd, and the B of colleges and universities should be user=qh.We will be write as user=$ { username} in template file.Wherein, { username} is variable to $, will be replaced by when disposing " bd " or " qh ".
1.3. make the variable description file.
All variable informations that use record step 1.2 in the variable description file in, comprise the template filename at variable name, variable place and the logical name of variable.The variable of variable " username " by name as shown in step 1.2, the variable logic is called " database user name ", and the place template file is called " server.properties ".The variable description file can be the file types such as properties, XML.In the file of XML type, can be designated as:
<file?name=server.properties>
<variable name=" database user name "〉username</variable 〉
</file?name=server.properties>
1.4. with template file and the variable description file made in step 1.3, same general file, personalization files classifying packing together become portal template, as a jar file.During packing according to the file actual deployment hierarchical structure of the position arrangement file on server.Should be deployed under the WEB-INF catalogue as the web.xml file, in template the web.xml position also should be WEB-INF/web.xml.
After establishing the mark portal template, can use described automatic deployment system to build rapidly dissimilar door.Fig. 4 has shown the workflow of described automatic deployment system constructing door.Described automatic deployment system comprises three modules, is respectively data acquisition module, template parsing module and automatic deployment module.Wherein, data acquisition module and automatic deployment module are prior art, and the template parsing module is the special module that builds specific to portal template, and detailed implementation is as follows:
2.1. data acquisition module generates guide guiding user and inputs the customized information of enterprise portal,, as theme, skin, layout type, Role Policies etc., according to user's input selection, builds the required file set of door.Take skin as example, use the skin variable to represent skin in data acquisition module, represent respectively the blue three kinds of skins of reddish yellow with 0,1,2.If the user selects redness, skin will be by assignment 0, and in step below, system will select to dispose red skin associated documents in server according to skin==0.
2.2. data acquisition module reads in the variable description file from portal template, according to the template file in the file set of selecting in step 2.1, search the variable description file, defining which variable according to the information in the variable description file needs the user to input, generate further guide guiding user input according to these variablees again, the variate-value of collecting is temporary in internal memory.As according to the file fragment of variable description as shown in step 1.3, while reading the file node, generate a data library information input guide, wherein require input " database user name ", suppose the input " bd ", and its dependent variable all input complete after, system will generate the Map example of a server by name, the property value of the inside is the relevant variable value, as " username " property value in example, is " bd ".
2.3. data resolution module extracts required file in temp directory according to the file set of determining in step 2.1 from portal template.General file and personalization files can directly copy.When the extraction template file, according to the variable in the value replacement template file that gathers in step 2.2.During as the server.properties file in extraction step 1.3, first with file copy to the tram in temp directory, then according to filename, be mapped to corresponding Map example, be " server " here.Scanning document, scan " $ " expression and run into variable,, according to " { } " the inner variable name after " $ ", reads the relevant variable in the analog value alternate file in Map.
2.4. the automatic deployment module copies to according to corresponding hierarchical directory the file that parses in step 2.3 on server.
Use method provided by the invention only need set up a portal template and just can build quickly and easily various dissimilar enterprise portals, in use can also constantly revise, expand portal template.

Claims (10)

1. method that builds business gate platform is characterized in that: comprises the following steps,
S1. set up portal template, described portal template comprises general file, personalization files, template file and variable description file;
S2. set up the automatic deployment system, described automatic deployment system comprises data acquisition module, template parsing module and automatic deployment module;
S3. by described automatic deployment system acquisition user input; Then read in the variable description file; Extract finally required file and be deployed on server from portal template.
2. a kind of method that builds business gate platform according to claim 1, it is characterized in that: step S1 sets up the as follows step by step of portal template:
S11. the file that different doors are all is sorted out, and is divided into general file, quasi-mode plate file and personalization files; Described general file is all identical files of door File name and content; Described personalization files is diverse file; Described quasi-mode plate file is that filename is identical, the file that content is different;
S12. the quasi-mode plate documenting that marks off in step S11 is become template file; Described template file refers in file comprise the file of variable, with the uncertain content in variable replacement quasi-mode plate file;
S13. make the variable description file, and record all variable informations that use in step S12 in the variable description file;
S14. the variable description file of the template file made in step S12 and step S13 being made, same general file, personalization files classifying packing together become portal template.
3. a kind of method that builds business gate platform according to claim 1, it is characterized in that: the data acquisition module job step described in step S2 is as follows:
S21. data acquisition module generates guide guiding user and inputs the customized information of enterprise portal;
S22. data acquisition module reads in the variable description file from portal template, according to the template file in the file set of selecting in step S21, search the variable description file, determine the variable that needs the user to input according to the information in the variable description file, generate further guide guiding user inputted variable according to these variablees again, the variate-value of collecting is temporary in internal memory.
4. a kind of method that builds business gate platform according to claim 3, it is characterized in that: the job step of data resolution module is as follows:
S23. data resolution module extracts required file in temp directory according to the file set of determining in step S21 from portal template, wherein general file and personalization files can directly copy, when the extraction template file, according to the variable in the value replacement template file that gathers in step S22.
5. a kind of method that builds business gate platform according to claim 4, it is characterized in that: automatic deployment module job step is as follows:
S24. the automatic deployment module copies to according to corresponding hierarchical directory the file that parses in step S23 on server.
6. a kind of method that builds business gate platform according to claim 3, it is characterized in that: the described customized information of step S21 comprises: theme, skin, layout type, Role Policies.
7. a kind of method that builds business gate platform according to claim 2, it is characterized in that: described all variable informations of step S13 comprise the template filename at variable name, variable place and the logical name of variable.
8. a kind of method that builds business gate platform according to claim 2, it is characterized in that: the described general file of step S11 comprises the web.xml file.
9. a kind of method that builds business gate platform according to claim 2, it is characterized in that: the described personalization files of step S11 comprises loge pictures different in different colleges and universities, different school badge pictures.
10. a kind of method that builds business gate platform according to claim 2 is characterized in that: the quasi-mode plate file described in step S11 comprises the disparate databases that different colleges and universities use.
CN201310325555.9A 2013-07-30 2013-07-30 A kind of method building business gate platform Active CN103399744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310325555.9A CN103399744B (en) 2013-07-30 2013-07-30 A kind of method building business gate platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310325555.9A CN103399744B (en) 2013-07-30 2013-07-30 A kind of method building business gate platform

Publications (2)

Publication Number Publication Date
CN103399744A true CN103399744A (en) 2013-11-20
CN103399744B CN103399744B (en) 2016-11-02

Family

ID=49563378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310325555.9A Active CN103399744B (en) 2013-07-30 2013-07-30 A kind of method building business gate platform

Country Status (1)

Country Link
CN (1) CN103399744B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766368A (en) * 2015-04-20 2015-07-08 成都康赛信息技术有限公司 Information portal automatic construction and dynamic construction method based on cellular automation
CN105094848A (en) * 2015-08-24 2015-11-25 浪潮软件股份有限公司 Template-based lightweight dynamic portal computing method
CN106873976A (en) * 2016-12-30 2017-06-20 广州杰赛科技股份有限公司 The collocation method of Portal Framework, configuration platform and user terminal
CN110347373A (en) * 2019-05-29 2019-10-18 中车工业研究院有限公司 The method and device of rapid build Corporation R & D design environment under the conditions of outer net
CN113448642A (en) * 2020-03-11 2021-09-28 成都鼎桥通信技术有限公司 System file access method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009742A1 (en) * 2000-12-06 2003-01-09 Bass Michael D. Automated job training and performance tool
CN101727498A (en) * 2010-01-15 2010-06-09 西安交通大学 Automatic extraction method of web page information based on WEB structure
CN101968817A (en) * 2010-11-04 2011-02-09 上海银杏界信息科技有限公司 Method for configuring webpage template

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009742A1 (en) * 2000-12-06 2003-01-09 Bass Michael D. Automated job training and performance tool
CN101727498A (en) * 2010-01-15 2010-06-09 西安交通大学 Automatic extraction method of web page information based on WEB structure
CN101968817A (en) * 2010-11-04 2011-02-09 上海银杏界信息科技有限公司 Method for configuring webpage template

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李强 等: "巧用Dreamweaver批量做Web页", 《电脑知识与技术(学术交流)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766368A (en) * 2015-04-20 2015-07-08 成都康赛信息技术有限公司 Information portal automatic construction and dynamic construction method based on cellular automation
CN104766368B (en) * 2015-04-20 2017-09-26 成都康赛信息技术有限公司 Information portal based on cellular automata is built and dynamic fixing method automatically
CN105094848A (en) * 2015-08-24 2015-11-25 浪潮软件股份有限公司 Template-based lightweight dynamic portal computing method
CN106873976A (en) * 2016-12-30 2017-06-20 广州杰赛科技股份有限公司 The collocation method of Portal Framework, configuration platform and user terminal
CN110347373A (en) * 2019-05-29 2019-10-18 中车工业研究院有限公司 The method and device of rapid build Corporation R & D design environment under the conditions of outer net
CN113448642A (en) * 2020-03-11 2021-09-28 成都鼎桥通信技术有限公司 System file access method and device and electronic equipment

Also Published As

Publication number Publication date
CN103399744B (en) 2016-11-02

Similar Documents

Publication Publication Date Title
CN101454779B (en) Search-based application development framework
CN101794226B (en) Service software construction method and system adapting to multiple business abstraction levels
Pardo et al. Modeling the social & technical processes of interorganizational information integration
Warren The renaissance of legacy systems: method support for software-system evolution
CN103473672A (en) System, method and platform for auditing metadata quality of enterprise-level data center
CN103399744A (en) Method of establishing enterprise portal platform
US20060149770A1 (en) Integrated authoring system for electronic technical manual and paper technical manual using logistics support analysis data and authoring method therefor
Baumgrass Deriving current state RBAC models from event logs
CN103198163B (en) Search Results supplying method and search engine
CN110941629A (en) Metadata processing method, device, equipment and computer readable storage medium
CN104573053B (en) A kind of configuration item template dynamic customization method based on XML
Burmeister et al. Leveraging architectural thinking for large-scale E-government projects
KR101566855B1 (en) Developping method for user screen of new works in enterprise resource planning system
Steghöfer et al. Design decisions in the construction of traceability information models for safe automotive systems
Fiorini et al. Process reuse architecture
CN103885762A (en) File dictionary assembly based file development tool and method
CN114281306A (en) IT architecture management and control method, IT architecture management and control device, IT architecture processor and IT architecture electronic equipment
Sethi et al. Information system and system development life cycle
Troselius et al. A comparative case study on metadata schemes at Swedish governmental agencies
WO2010119628A1 (en) System and method for environment information aggregation
Haller et al. Study in View of the Further Development of DCAT-AP CH
KR102660914B1 (en) Server and method for providing common code maintenance and refinement for utinlizing large amounts of data
US8285741B1 (en) Technical order data type 1 dataset Builder
Schmitz Using international standards for terminology exchange
Santi et al. Engineering Design Business Process Modelling Letter C Land Data Archiving System with Software Requirement Specifications Approach

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