CN107958016A - Function pages method for customizing and application server - Google Patents
Function pages method for customizing and application server Download PDFInfo
- Publication number
- CN107958016A CN107958016A CN201710959470.4A CN201710959470A CN107958016A CN 107958016 A CN107958016 A CN 107958016A CN 201710959470 A CN201710959470 A CN 201710959470A CN 107958016 A CN107958016 A CN 107958016A
- Authority
- CN
- China
- Prior art keywords
- page
- function
- template
- database
- page template
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Abstract
The invention discloses a kind of function pages method for customizing, the described method includes:Page Template is collected, builds Page Template database;Receive user-defined configuration page info and generate configuration page information database;The generation request of receive capabilities page customization;The generation request customized according to the function pages indexes the Page Template database and configuration page information database respectively;And according to the indexed results systematic function page.The present invention also provides a kind of application server.Function pages method for customizing and application server provided by the invention, the operation that function pages are similar in operation system development process can be directed to, extract the template of general character, realize the stripping of Page Template and functional configuration, and then the template that can be directed to general character realizes the configuration of customizing functions, without carrying out exploitation again to the identity function page, so as to improve the development efficiency of developer.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of function pages method for customizing and application server.
Background technology
The page, is referred to as WWW (World Wide Web, Web) page, can be based on hypertext mark sometimes
The webpage (Web Page) that note language (Hyper Text Markup Language, HTML) is write, i.e. html page, or also
Can be the webpage write based on HTML and Java language, i.e. the java server page (Java Server Page, JSP), or
Person can also be the webpage that other language are write.When user needs to build the page, match somebody with somebody in advance first with specified application access
The template page put, needs the information issued and the pattern set to be moved in template page user, required to generate
The page.And in routine work system development, there are the style sheet of some general character, and simple business number for some feature pages
According to statistics, in order to reduce the coupling of system similar functions, selection at present is to replicate the new page, adds new SQL files and (uses
In access data and inquiry, renewal and administrative relationships Database Systems), although reducing coupling, greatly reduce
The development efficiency of developer.
The content of the invention
In view of this, the present invention proposes a kind of function pages method for customizing and application server, can be directed to operation system
The similar operation of function pages in development process, extracts the template of general character, realizes the stripping of Page Template and functional configuration, and then
The template that general character can be directed to realizes the configuration of customizing functions, without carrying out exploitation again to the identity function page, from
And improve the development efficiency of developer.
First, to achieve the above object, the present invention proposes a kind of application server, and the application server includes storage
Device, processor, are stored with the function pages custom program that can be run on the processor, the page function on the memory
When face custom program is performed by the processor, following steps are realized:
Page Template is collected, builds Page Template database;
Receive user-defined configuration page info and generate configuration page information database;
The generation request of receive capabilities page customization;
The generation request customized according to the function pages indexes the Page Template database and configuration page letter respectively
Cease database;And
According to the indexed results systematic function page.
Alternatively, the step of structure Page Template database is the template source code by storing the Page Template
Built with the form of the data pair of the Page Template Function Identification.
Alternatively, it is described according to the function pages customize generation request index respectively the Page Template database and
The step of configuring page information database, including:
Go to match Page Template Function Identification described in the Page Template database by the functional information of function pages,
And then obtain corresponding Page Template source code;And
Go function in matching configuration page information database to describe by the functional information of the function pages, and then obtain
Corresponding configuration page info.
Alternatively, the step of systematic function page according to indexed results, including:
Pass through the Page Template source code and the configuration page info systematic function page source code;And
Pass through the function pages source code systematic function page.
Alternatively, the configuration page information includes function description, whether template enables, Property Name, property value, attribute
At least one of type, SQL function commands are a variety of.
In addition, to achieve the above object, the present invention also provides a kind of function pages method for customizing, this method is applied to application
Server, the described method includes:
Page Template is collected, builds Page Template database;
Receive user-defined configuration page info and generate configuration page information database;
The generation request of receive capabilities page customization;
The generation request customized according to the function pages indexes the Page Template database and configuration page letter respectively
Cease database;And
According to the indexed results systematic function page.
Alternatively, the step of structure Page Template database is the template source code by storing the Page Template
Built with the form of the data pair of the Page Template Function Identification.
Alternatively, it is described according to the function pages customize generation request index respectively the Page Template database and
The step of configuring page information database, including:
Go to match Page Template Function Identification described in the Page Template database by the functional information of function pages,
And then obtain corresponding Page Template source code;And
Go function in matching configuration page information database to describe by the functional information of the function pages, and then obtain
Corresponding configuration page info.
Alternatively, the step of systematic function page according to indexed results, including:
Pass through the Page Template source code and the configuration page info systematic function page source code;And
Pass through the function pages source code systematic function page.
Alternatively, the configuration page information includes function description, whether template enables, Property Name, property value, attribute
At least one of type, SQL function commands are a variety of.
Further, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, the computer
Readable storage medium storing program for executing is stored with function pages custom program, and the function pages custom program can be held by least one processor
OK, so that the step of at least one processor performs function pages method for customizing described above.
Compared to the prior art, application server proposed by the invention, function pages method for customizing and computer-readable
Storage medium, first, collects Page Template, builds Page Template database;Secondly, user-defined configuration page letter is received
Cease and generate configuration page information database;Then, the generation request of receive capabilities page customization;Then, according to the function
The generation request of page customization indexes the Page Template database and configuration page information database respectively;Finally, according to rope
Draw the result systematic function page.This way it is possible to avoid the drawbacks of development efficiency of developer is low in the prior art, can be directed to
The similar operation of function pages in operation system development process, extracts the template of general character, realizes Page Template and functional configuration
Peel off, and then the template that can be directed to general character realizes the configuration of customizing functions, without being carried out again to the identity function page
Exploitation, so as to improve the development efficiency of developer.
Brief description of the drawings
Fig. 1 is the schematic diagram of one optional hardware structure of application server;
Fig. 2 is the Program modual graph of function pages custom program first embodiment of the present invention;
Fig. 3 is the flow chart of function pages method for customizing first embodiment of the present invention;
Fig. 4 is the flow chart of function pages method for customizing second embodiment of the present invention.
Reference numeral:
Application server | 1 |
Memory | 11 |
Processor | 12 |
Network interface | 13 |
Function pages custom program | 200 |
Build module | 201 |
Generation module | 202 |
Receiving module | 203 |
Index module | 204 |
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before creative work is made
All other embodiments obtained are put, belong to the scope of protection of the invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is only used for description purpose, and cannot
It is interpreted as indicating or implies its relative importance or imply the quantity of the technical characteristic indicated by indicating.Thus, define " the
One ", at least one this feature can be expressed or be implicitly included to the feature of " second ".In addition, the skill between each embodiment
Art scheme can be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when technical solution
It will be understood that the combination of this technical solution is not present with reference to there is conflicting or can not realize when, also not in application claims
Protection domain within.
As shown in fig.1, it is the schematic diagram of 1 one optional hardware structure of application server.
The application server 1 can be rack-mount server, blade server, tower server or cabinet-type service
The computing devices such as device, the application server 1 can be the servers that independent server or multiple servers are formed
Cluster.
In the present embodiment, the application server 1 may include, but be not limited only to, and company can be in communication with each other by system bus
Connect memory 11, processor 12, network interface 13.
The application server 1 connects network by network interface 13, obtains information.The network can be enterprises
Net (Intranet), internet (Internet), global system for mobile communications (Global System of Mobile
Communication, GSM), wideband code division multiple access (Wideband Code Division Multiple Access,
WCDMA), the wirelessly or non-wirelessly network such as 4G networks, 5G networks, bluetooth (Bluetooth), Wi-Fi, speech path network.
It is pointed out that Fig. 1 illustrate only the application server 1 with component 11-13, it should be understood that simultaneously
All components shown realistic are not applied, the more or less component of the implementation that can be substituted.
Wherein, the memory 11 includes at least a type of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes
Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), it is static with
Machine access memory (SRAM), read-only storage (ROM), electrically erasable programmable read-only memory (EEPROM), it is programmable only
Read memory (PROM), magnetic storage, disk, CD etc..In certain embodiments, the memory 11 can be described answers
With the hard disk or memory of the internal storage unit of server 1, such as the application server 1.In further embodiments, it is described to deposit
Reservoir 11 can also be the External memory equipment of the application server 1, such as the plug-in type that the application server 1 is equipped with is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Certainly, the memory 11 can also both include the internal storage unit of the application server 1 or wrap
Include its External memory equipment.In the present embodiment, the memory 11 is installed on the behaviour of the application server 1 commonly used in storage
Make system and types of applications software, such as program code of the function pages custom program 200 etc..In addition, the memory
11 can be also used for temporarily storing the Various types of data that has exported or will export.
The processor 12 can be in certain embodiments central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 12 is answered commonly used in control is described
With the overall operation of server 1, such as execution data interaction or the relevant control of communication and processing etc..In the present embodiment, institute
State processor 12 to be used to run the program code stored in the memory 11 or processing data, such as run the function
Page customization program 200 etc..
The network interface 13 may include radio network interface or wired network interface, which is commonly used in
Communication connection is established between the application server 1 and other electronic equipments.
In the present embodiment, installed in the application server 1 and run functional page customization program 200, when the work(
When energy page customization program 200 is run, the application server 1 collects Page Template, builds Page Template database;Receive use
The customized configuration page info in family simultaneously generates configuration page information database;The generation request of receive capabilities page customization;Root
The Page Template database and configuration page information database are indexed respectively according to the generation request of function pages customization;And
According to the indexed results systematic function page.This way it is possible to avoid the drawbacks of development efficiency of developer is low in the prior art, energy
The operation that function pages are similar in operation system development process is enough directed to, the template of general character is extracted, realizes Page Template and function
The stripping of configuration, and then the template that can be directed to general character realize the configurations of customizing functions, without to the identity function page into
The exploitation of row again, so as to improve the development efficiency of developer.
So far, oneself is through describing the hardware configuration and function of the relevant device of each embodiment of the present invention in detail.In the following, will
Based on above application environment and relevant device, each embodiment of the invention is proposed.
First, the present invention proposes a kind of function pages custom program 200.
In the present embodiment, the function pages custom program 200 includes a series of meter being stored on memory 11
Calculation machine programmed instruction, when the computer program instructions are performed by processor 12, it is possible to achieve the function of various embodiments of the present invention
The control operation of page customization.In certain embodiments, the specific behaviour realized based on the computer program instructions each several part
Make, the function pages custom program 200 can be divided into one or more modules.For example, in fig. 2, the function
Page customization program 200 can be divided into structure module 201, generation module 202, receiving module 203 and index module
204.Wherein:
The structure module 201, for collecting Page Template, builds Page Template database.Specifically, the structure mould
Block 201 collects Page Template and mainly passes through following two forms:
First, the structure module 201 obtains the storage path of all browsing pages, and institute is crawled by web page crawl function
There is the Page Template of the page to collect Page Template.In practical operation, the structure module 201 is mainly by crawling the page
The form of template source code crawls Page Template.
Second, the structure module 201 receives the Page Template of user's active upload.User can be existed by mobile terminal
The path specified carries out the upload of Page Template.In the present embodiment, the page for building module 201 and being uploaded by parsing user
Template, so as to obtain the template source code of the page of upload.
For collect Page Template form, can also after Other Engineering project develop, it is described build module 201 from
The page of the java server page (Java Server Page, JSP) page style is extracted in all engineering projects, and rejects it
In original pattern, as history page template and store.
In addition, Page Template quantity is too many in the database, in order to reduce the pressure of search engine, and more efficient collection
To Page Template, the structure module 201, is additionally operable to carry out the customized web page column according to pre-defined column classification
Statistic of classification;Obtain the correspondence between the preconfigured column classification of administrative staff and Page Template type;According to
Corresponding pass between the column classification and the column classification and framework template type belonging to the customized web page column
The Page Template that system's selection matches.In the present embodiment, column classification can include function class, product class, information class, life
Class, activity class, game class etc., wherein, life kind can also include cuisines class, trip class, amusement class etc.;Activity class includes prize drawing
Activity class, flash sale activity, integrate activity class etc. of purchasing on a barter basis.That is, server when being divided, can first carry out column
The major class division of classification, and then the division of multiple groups can also be carried out under each major class.
For example, the definite customized web page column of the application server 1 has 10, after categorized statistics, including 5
Function class and 5 product classes, wherein function class be respectively revenue and expenditure record, transfer accounts, paying the fees, credit card repayment and stock;Product
Class is 5 financial products.And for example, the definite page column of the application server 1 has 20, after categorized statistics, including 15
A life kind and 5 activity classes, wherein, it is small that multiple lives such as cuisines class, trip class, amusement class have been further included in 15 life kinds
Class;5 activity classes include sweepstake class, flash sale activity, integrate the multiple activity groups of activity class of purchasing on a barter basis.It is in this way, logical
After crossing category division, the time of index can be greatly reduced during Page Template is searched, improve efficiency.
In the present embodiment, the structure module 201 passes through the template source code for storing the Page Template and the page
The form structure of the data pair of template function mark.In the present embodiment, application server 1 further includes Page Template database, institute
The template source code of memory page template in Page Template database and the mapping table of the Page Template Function Identification are stated,
The source code of Page Template can be obtained only by the function sign of query page template, so as to fulfill the source of Page Template
The calling of code.
The generation module 202, for receiving user-defined configuration page info and generating configuration page Information Number
According to storehouse.Wherein, the configuration page information includes function description, whether template enables, Property Name, property value, attribute type,
At least one of SQL function commands are a variety of.
Wherein, function description is in order to specifically describe the function of the page, for example, application information inquiry, balance of deposits inquiry
Deng.
Whether template enables:It is to judge whether to enable Page Template, general acquiescence starts, and is only in Page Template
In the case of enabling state, Page Template could be called, otherwise invalid.Specifically, when being represented with program language, can pass through
The Value values of specific fields come whether representation page template starts, for example, being represented by the value of flag fields, work as flag=1
When, representation page template is starting state, and as flag=0, representation page template is inactive state.
Property Name:The label label of page presentation, such as user's name etc..
Property value:Represent the title name used when list is submitted.
Attribute type:Represent that it is what kind of to perform page elements.For example, the class such as combobox, text box, radio box
Type.It should be noted that a page includes at least a page elements.
SQL function commands:The function of being performed needed for function pages, is generally realized by specific SQL statement.
The receiving module 203, the generation for receive capabilities page customization are asked.Wherein, the function pages generation
Request includes the functional information of function pages.
In the present embodiment, during receive capabilities page generation request, function pages generation request can be
The selection event of the online preview button of page configuration information input interface, passes through the inputting interface in page configuration information, point
Online preview button is hit, the systematic function page is for preview;In addition, function pages generation request can also be in business development
Cheng Zhong, when writing the corresponding function module, the function pages generation that system is actively initiated is asked.
The index module 204, the generation request for being customized according to the function pages index the page mould respectively
Plate database and configuration page information database.
Specifically, the index module 204 goes to match the Page Template database by the functional information of function pages
Described in Page Template Function Identification, and then obtain corresponding Page Template source code.In addition, the index module 204 passes through
The functional information of the function pages goes function in matching configuration page information database to describe, and then obtains corresponding configuration page
Face information.In the present embodiment, the source code template of the Page Template has following two forms, including:(1) self-defined foreground source
Code Template, it is for example including Peer, Action, Form, Service, Dao, JunitTest Code Template etc.;(2) make by oneself
Adopted background source code template, such as, but not limited to includes inquiry, increase, modification, details, deletion Page Template etc..In addition, the page
The type of database of template database is for example including Oracle, Mysql, SQLServer, Sybase, Db2 etc..Connect data
Database parameter during storehouse includes database linking URL, database user name, database password etc..
The Page Template number is indexed respectively in the generation request that the index module 204 is customized according to the function pages
Behind storehouse and configuration page information database, the generation module 202, is additionally operable to according to the indexed results systematic function page.Tool
Body, the generation module 202 passes through the Page Template source code and the configuration page info systematic function page source generation
Code, and pass through the function pages source code systematic function page.
By above procedure module 201-204, function pages custom program 200 proposed by the invention, first, collects page
Face die plate, builds Page Template database;Secondly, receive user-defined configuration page info and generate configuration page info
Database;Then, the generation request of receive capabilities page customization;Then, the generation request point customized according to the function pages
The Page Template database and configuration page information database are not indexed;Finally, according to the indexed results systematic function page.This
Sample, can be low to avoid the development efficiency of developer in the prior art the drawbacks of, can be directed to work(in operation system development process
The similar operation of the energy page, extracts the template of general character, realizes the stripping of Page Template and functional configuration, and then can be directed to general character
Template realize the configurations of customizing functions, without carrying out exploitation again to the identity function page, so as to improve exploitation
The development efficiency of personnel.
In addition, the present invention also proposes a kind of function pages method for customizing.
As shown in fig.3, it is the flow chart of function pages method for customizing first embodiment of the present invention.In the present embodiment,
According to different demands, the execution sequence of the step in flow chart shown in Fig. 3 can change, and some steps can be omitted.
Step S301, collects Page Template, builds Page Template database.
Specifically, the collection of application server 1 Page Template mainly passes through following two forms:
First, the application server 1 obtains the storage path of all browsing pages, and institute is crawled by web page crawl function
There is the Page Template of the page to collect Page Template.In practical operation, the application server 1 is mainly by crawling the page
The form of template source code crawls Page Template.
Second, the application server 1 receives the Page Template of user's active upload.In the present embodiment, user can lead to
Cross mobile terminal and carry out the upload of Page Template in specified path.In the present embodiment, the application server 1 is used by parsing
The Page Template that family uploads, so as to obtain the template source code of the page of upload.
For collect Page Template form, can also after Other Engineering project has been developed, the application server 1 from
The page of the java server page (Java Server Page, JSP) page style is extracted in all engineering projects, and rejects it
In original pattern, as history page template and store.
In addition, Page Template quantity is too many in the database, in order to reduce the pressure of search engine, and more efficient collection
To Page Template, application server 1 carries out statistic of classification according further to pre-defined column classification to the customized web page column;
Obtain the correspondence between the preconfigured column classification of administrative staff and Page Template type;According to the customized page
Correspondence selection phase between the column classification and the column classification and framework template type belonging to the column of face
The Page Template matched somebody with somebody.In the present embodiment, column classification can include function class, product class, information class, life kind, activity class, trip
Class of playing etc., wherein, life kind can also include cuisines class, trip class, amusement class etc.;Activity class includes sweepstake class, prescribes a time limit
Panic buying activity, integrate activity class etc. of purchasing on a barter basis.That is, server when being divided, can first carry out the major class of column classification
Division, and then the division of multiple groups can also be carried out under each major class.
For example, the definite customized web page column of the application server 1 has 10, after categorized statistics, including 5
Function class and 5 product classes, wherein function class be respectively revenue and expenditure record, transfer accounts, paying the fees, credit card repayment and stock;Product
Class is 5 financial products.And for example, the definite page column of the application server 1 has 20, after categorized statistics, including 15
A life kind and 5 activity classes, wherein, it is small that multiple lives such as cuisines class, trip class, amusement class have been further included in 15 life kinds
Class;5 activity classes include sweepstake class, flash sale activity, integrate the multiple activity groups of activity class of purchasing on a barter basis.It is in this way, logical
After crossing category division, the time of index can be greatly reduced during Page Template is searched, improve efficiency.
In the present embodiment, the application server 1 passes through the template source code for storing the Page Template and the page
The form structure of the data pair of template function mark.In the present embodiment, application server 1 further includes Page Template database, institute
The template source code of memory page template in Page Template database and the mapping table of the Page Template Function Identification are stated,
The source code of Page Template can be obtained only by the function sign of query page template, so as to fulfill the source of Page Template
The calling of code.
Step S302, receives user-defined configuration page info and generates configuration page information database.
Wherein, the configuration page information includes function description, whether template enables, Property Name, property value, Attribute class
At least one of type, SQL function commands are a variety of.
Wherein, function description is in order to specifically describe the function of the page, for example, application information inquiry, balance of deposits inquiry
Deng.
Whether template enables:It is to judge whether to enable Page Template, general acquiescence starts, and is only in Page Template
In the case of enabling state, Page Template could be called, otherwise invalid.Specifically, when being represented with program language, can pass through
The Value values of specific fields come whether representation page template starts, for example, being represented by the value of flag fields, work as flag=1
When, representation page template is starting state, and as flag=0, representation page template is inactive state.
Property Name:The label label of page presentation, such as user's name etc..
Property value:Represent the title name used when list is submitted.
Attribute type:It is what kind of, such as combobox to represent to perform page elements, text box, the type such as radio box.
It should be noted that a page includes at least a page elements.
SQL function commands:The function of being performed needed for function pages, is generally realized by specific SQL statement.
The Page Template wide area information server type include but not limited to Oracle, Mysql, SQLServer,
Sybase, Db2 etc..Database parameter when connecting database includes database linking URL, database user name, database
Password etc..
Step S303, the generation request of receive capabilities page customization.Wherein, the function pages generation request includes work(
The functional information of the energy page.
In the present embodiment, during receive capabilities page generation request, function pages generation request can be
The selection event of the online preview button of page configuration information input interface, passes through the inputting interface in page configuration information, point
Online preview button is hit, the systematic function page is for preview;In addition, function pages generation request can also be in business development
Cheng Zhong, when writing the corresponding function module, the function pages generation that system is actively initiated is asked.
Step S304, the generation request customized according to the function pages index the Page Template database and match somebody with somebody respectively
Put page info database.In the present embodiment, the generation request that the application server 1 is customized according to function pages goes to perform phase
The operation answered.Specifically, the generation request customized according to the function pages indexes the Page Template database respectively
With configuration the page information database the step of, by the second embodiment of function pages method for customizing of the present invention (referring to Fig. 4) into
Row is described in detail.
Step S305, according to the indexed results systematic function page.Specifically, the application server 1 passes through the page
Template source code and the configuration page info systematic function page source code, and work(is generated by the function pages source code
Can the page.
By above-mentioned steps S301-305, function pages method for customizing proposed by the invention, first, collects page mould
Plate, builds Page Template database;Secondly, receive user-defined configuration page info and generate configuration page information data
Storehouse;Then, the generation request of receive capabilities page customization;Then, the generation request difference rope customized according to the function pages
Draw the Page Template database and configuration page information database;Finally, according to the indexed results systematic function page.In this way,
Can be low to avoid the development efficiency of developer in the prior art the drawbacks of, can be directed to page function in operation system development process
The similar operation in face, extracts the template of general character, realizes the stripping of Page Template and functional configuration, and then can be directed to the mould of general character
Plate realizes the configuration of customizing functions, without carrying out exploitation again to the identity function page, so as to improve developer
Development efficiency.
In addition, being based on function pages method for customizing first embodiment of the present invention, propose that the second of function pages customization is implemented
Example.
As shown in figure 4, it is the flow chart of the second embodiment of function pages method for customizing of the present invention.In the present embodiment, institute
State the generation request customized according to the function pages and index the Page Template database and configuration page information data respectively
The step of storehouse, specifically include:
Step S401, goes to match Page Template described in the Page Template database by the functional information of function pages
Function Identification, and then obtain corresponding Page Template source code.
Specifically, the source code template of the Page Template has following two forms, including:(1) self-defined foreground source generation
Code mask, it is for example including Peer, Action, Form, Service, Dao, JunitTest Code Template etc.;(2) it is self-defined
Background source code template, its such as including inquiring about, increasing, changing, details, delete Page Template.In addition, Page Template data
The type of database in storehouse is for example including Oracle, Mysql, SQLServer, Sybase, Db2 etc..Connect number during database
Include database linking URL, database user name, database password etc. according to storehouse parameter.
Step S402, goes function in matching configuration page information database to retouch by the functional information of the function pages
State, and then obtain corresponding configuration page info.
In the present embodiment, the application server 1 gets the corresponding page by the functional information of the function pages
After template source code and corresponding configuration page info, and then believed by the Page Template source code and the configuration page
Systematic function page source code is ceased, and passes through the function pages source code systematic function page.
By above-mentioned steps S401-402, function pages method for customizing proposed by the invention, is customized by function pages
Generation request index respectively the Page Template database and configuration page information database.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. function pages method for customizing, applied to application server, it is characterised in that the described method includes:Page Template is collected, builds Page Template database;Receive user-defined configuration page info and generate configuration page information database;The generation request of receive capabilities page customization;The generation request customized according to the function pages indexes the Page Template database and configuration page Information Number respectively According to storehouse;AndAccording to the indexed results systematic function page.
- 2. function pages method for customizing as claimed in claim 1, it is characterised in that the step of the structure Page Template database Suddenly built by storing the template source code of the Page Template and the form of the data pair of the Page Template Function Identification.
- 3. function pages method for customizing as claimed in claim 1, it is characterised in that it is described according to the function pages customize Generation request indexes the step of Page Template database and configuration page information database respectively, including:Go to match Page Template Function Identification described in the Page Template database by the functional information of function pages, and then Obtain corresponding Page Template source code;AndGo function in matching configuration page information database to describe by the functional information of the function pages, and then obtain corresponding Configuration page info.
- 4. function pages method for customizing as claimed in claim 1, it is characterised in that described according to indexed results systematic function page The step of face, including:Pass through the Page Template source code and the configuration page info systematic function page source code;AndPass through the function pages source code systematic function page.
- 5. function pages method for customizing as claimed in claim 1, it is characterised in that the configuration page information is retouched including function State, whether template enables, at least one of Property Name, property value, attribute type, SQL function commands or a variety of.
- 6. a kind of application server, it is characterised in that the application server includes memory, processor, on the memory The function pages custom program that can be run on the processor is stored with, the function pages custom program is by the processor Following steps are realized during execution:Page Template is collected, builds Page Template database;Receive user-defined configuration page info and generate configuration page information database;The generation request of receive capabilities page customization;The generation request customized according to the function pages indexes the Page Template database and configuration page Information Number respectively According to storehouse;AndAccording to the indexed results systematic function page.
- 7. application server as claimed in claim 6, it is characterised in that described the step of building Page Template database is logical Cross the form structure for storing the template source code of the Page Template with the data pair of the Page Template Function Identification.
- 8. application server as claimed in claim 6, it is characterised in that the generation customized according to the function pages please The step of indexing the Page Template database and configuration page information database respectively is asked, including:Go to match Page Template Function Identification described in the Page Template database by the functional information of function pages, and then Obtain corresponding Page Template source code;AndGo function in matching configuration page information database to describe by the functional information of the function pages, and then obtain corresponding Configuration page info.
- 9. application server as claimed in claim 6, it is characterised in that the step according to the indexed results systematic function page Suddenly, including:Pass through the Page Template source code and the configuration page info systematic function page source code;AndPass through the function pages source code systematic function page.
- 10. a kind of computer-readable recording medium, the functional page customization program of computer-readable recording medium storage, institute Stating function pages custom program can be performed by least one processor, so that at least one processor performs such as claim The step of function pages method for customizing any one of 1-5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710959470.4A CN107958016B (en) | 2017-10-16 | 2017-10-16 | Function page customization method and application server |
PCT/CN2018/089325 WO2019076062A1 (en) | 2017-10-16 | 2018-05-31 | Function page customization method and application server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710959470.4A CN107958016B (en) | 2017-10-16 | 2017-10-16 | Function page customization method and application server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107958016A true CN107958016A (en) | 2018-04-24 |
CN107958016B CN107958016B (en) | 2021-09-28 |
Family
ID=61954540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710959470.4A Active CN107958016B (en) | 2017-10-16 | 2017-10-16 | Function page customization method and application server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107958016B (en) |
WO (1) | WO2019076062A1 (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522016A (en) * | 2018-10-31 | 2019-03-26 | 泰康保险集团股份有限公司 | Service page face generates method, device and equipment |
WO2019076062A1 (en) * | 2017-10-16 | 2019-04-25 | 平安科技(深圳)有限公司 | Function page customization method and application server |
CN109725891A (en) * | 2018-12-29 | 2019-05-07 | 深圳市思迪信息技术股份有限公司 | The method and device that business module quickly generates |
CN109766088A (en) * | 2019-01-17 | 2019-05-17 | 宜创(北京)科技有限公司 | Program creating method, device, data processing method and server |
CN110580189A (en) * | 2019-09-06 | 2019-12-17 | 深圳前海环融联易信息科技服务有限公司 | method and device for generating front-end page, computer equipment and storage medium |
CN111027299A (en) * | 2019-10-18 | 2020-04-17 | 深圳智慧园区信息技术有限公司 | Form generation method and system |
CN111159162A (en) * | 2019-12-31 | 2020-05-15 | 中国联合网络通信集团有限公司 | Database configuration method and device |
CN112181368A (en) * | 2020-09-09 | 2021-01-05 | 上海赛可出行科技服务有限公司 | Mobile application development method based on behavior description |
CN112416334A (en) * | 2019-08-23 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Page configuration method, device, equipment and storage medium |
CN112596714A (en) * | 2020-12-10 | 2021-04-02 | 车巴达(苏州)网络科技有限公司 | Webpage development method, device, terminal, server and storage medium |
CN112947915A (en) * | 2019-12-11 | 2021-06-11 | 顺丰科技有限公司 | Method, device and storage medium for self-defining page |
CN112947984A (en) * | 2020-09-29 | 2021-06-11 | 深圳市明源云科技有限公司 | Application program development method and device |
CN113590101A (en) * | 2021-08-20 | 2021-11-02 | 深圳市欧瑞博科技股份有限公司 | Intelligent device function page configuration method, server and client |
CN114817793A (en) * | 2022-06-24 | 2022-07-29 | 深圳市信润富联数字科技有限公司 | Page generation method, device, equipment and storage medium |
CN117406990A (en) * | 2023-12-14 | 2024-01-16 | 南京研利科技有限公司 | Page generation method, page generation device, electronic equipment and computer readable storage medium |
CN112947984B (en) * | 2020-09-29 | 2024-05-14 | 深圳市明源云科技有限公司 | Application program development method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732243A (en) * | 2021-01-11 | 2021-04-30 | 京东数字科技控股股份有限公司 | Data processing method and device for generating functional component |
CN114546384A (en) * | 2022-02-24 | 2022-05-27 | 盐城金堤科技有限公司 | Page display system, page display method, readable storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807209A (en) * | 2010-04-14 | 2010-08-18 | 深圳市同洲电子股份有限公司 | Method and system for manufacturing webpage, client and server |
US20140188942A1 (en) * | 2012-12-31 | 2014-07-03 | Appsense Limited | Data driven hierarchical pages |
CN104331295A (en) * | 2014-11-05 | 2015-02-04 | 北京中科辅龙信息技术有限公司 | Page generation method and system |
CN106528129A (en) * | 2016-10-27 | 2017-03-22 | 南京南瑞继保电气有限公司 | Web application interface generation system and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0327665D0 (en) * | 2003-11-28 | 2003-12-31 | Ibm | System and method for creation of a network server application page |
CN107958016B (en) * | 2017-10-16 | 2021-09-28 | 平安科技(深圳)有限公司 | Function page customization method and application server |
-
2017
- 2017-10-16 CN CN201710959470.4A patent/CN107958016B/en active Active
-
2018
- 2018-05-31 WO PCT/CN2018/089325 patent/WO2019076062A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807209A (en) * | 2010-04-14 | 2010-08-18 | 深圳市同洲电子股份有限公司 | Method and system for manufacturing webpage, client and server |
US20140188942A1 (en) * | 2012-12-31 | 2014-07-03 | Appsense Limited | Data driven hierarchical pages |
CN104331295A (en) * | 2014-11-05 | 2015-02-04 | 北京中科辅龙信息技术有限公司 | Page generation method and system |
CN106528129A (en) * | 2016-10-27 | 2017-03-22 | 南京南瑞继保电气有限公司 | Web application interface generation system and method |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019076062A1 (en) * | 2017-10-16 | 2019-04-25 | 平安科技(深圳)有限公司 | Function page customization method and application server |
CN109522016A (en) * | 2018-10-31 | 2019-03-26 | 泰康保险集团股份有限公司 | Service page face generates method, device and equipment |
CN109725891A (en) * | 2018-12-29 | 2019-05-07 | 深圳市思迪信息技术股份有限公司 | The method and device that business module quickly generates |
CN109766088A (en) * | 2019-01-17 | 2019-05-17 | 宜创(北京)科技有限公司 | Program creating method, device, data processing method and server |
CN112416334A (en) * | 2019-08-23 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Page configuration method, device, equipment and storage medium |
CN110580189A (en) * | 2019-09-06 | 2019-12-17 | 深圳前海环融联易信息科技服务有限公司 | method and device for generating front-end page, computer equipment and storage medium |
CN111027299A (en) * | 2019-10-18 | 2020-04-17 | 深圳智慧园区信息技术有限公司 | Form generation method and system |
CN112947915A (en) * | 2019-12-11 | 2021-06-11 | 顺丰科技有限公司 | Method, device and storage medium for self-defining page |
CN111159162A (en) * | 2019-12-31 | 2020-05-15 | 中国联合网络通信集团有限公司 | Database configuration method and device |
CN112181368A (en) * | 2020-09-09 | 2021-01-05 | 上海赛可出行科技服务有限公司 | Mobile application development method based on behavior description |
CN112181368B (en) * | 2020-09-09 | 2023-12-26 | 上海赛可出行科技服务有限公司 | Mobile application development method based on behavior description |
CN112947984A (en) * | 2020-09-29 | 2021-06-11 | 深圳市明源云科技有限公司 | Application program development method and device |
CN112947984B (en) * | 2020-09-29 | 2024-05-14 | 深圳市明源云科技有限公司 | Application program development method and device |
CN112596714A (en) * | 2020-12-10 | 2021-04-02 | 车巴达(苏州)网络科技有限公司 | Webpage development method, device, terminal, server and storage medium |
CN113590101A (en) * | 2021-08-20 | 2021-11-02 | 深圳市欧瑞博科技股份有限公司 | Intelligent device function page configuration method, server and client |
CN113590101B (en) * | 2021-08-20 | 2024-04-09 | 深圳市欧瑞博科技股份有限公司 | Intelligent device function page configuration method, server and client |
CN114817793A (en) * | 2022-06-24 | 2022-07-29 | 深圳市信润富联数字科技有限公司 | Page generation method, device, equipment and storage medium |
CN114817793B (en) * | 2022-06-24 | 2022-11-15 | 深圳市信润富联数字科技有限公司 | Page generation method, device, equipment and storage medium |
CN117406990A (en) * | 2023-12-14 | 2024-01-16 | 南京研利科技有限公司 | Page generation method, page generation device, electronic equipment and computer readable storage medium |
CN117406990B (en) * | 2023-12-14 | 2024-02-27 | 南京研利科技有限公司 | Page generation method, page generation device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107958016B (en) | 2021-09-28 |
WO2019076062A1 (en) | 2019-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107958016A (en) | Function pages method for customizing and application server | |
CN107844634A (en) | Polynary universal model platform modeling method, electronic equipment and computer-readable recording medium | |
CN104572035B (en) | The dynamic creation method and dynamic generating system of web page code | |
CN109446197A (en) | User information processing method, device, computer equipment and storage medium | |
CN111176867B (en) | Data sharing exchange and open application platform | |
CN110674188A (en) | Feature extraction method, device and equipment | |
CN107870986A (en) | User behavior analysis method, application server and computer-readable recording medium based on reptile data | |
CN102880683A (en) | Automatic network generation system for feasibility study report and generation method thereof | |
CN108038655A (en) | Recommendation method, application server and the computer-readable recording medium of department's demand | |
CN110990403A (en) | Business data storage method, system, computer equipment and storage medium | |
CN110503564A (en) | Save case processing method, system, equipment and storage medium from damage based on big data | |
CN110134845A (en) | Project public sentiment monitoring method, device, computer equipment and storage medium | |
CN107679937A (en) | Customize method, system, storage medium and the equipment of service function | |
CN115168166A (en) | Method, device and equipment for recording business data change and storage medium | |
CN106383857A (en) | Information processing method and electronic equipment | |
CN108243046A (en) | A kind of evaluation the quality method and device based on data auditing | |
CN112631920A (en) | Test method, test device, electronic equipment and readable storage medium | |
CN111444368A (en) | Method and device for constructing user portrait, computer equipment and storage medium | |
CN114722789B (en) | Data report integrating method, device, electronic equipment and storage medium | |
CN110166530A (en) | Processing method, electronic device and computer equipment based on micro services return value | |
CN106294115A (en) | The method of testing of a kind of application system animal migration and device | |
CN115495587A (en) | Alarm analysis method and device based on knowledge graph | |
CN115186188A (en) | Product recommendation method, device and equipment based on behavior analysis and storage medium | |
CN114840388A (en) | Data monitoring method and device, electronic equipment and storage medium | |
CN114637672A (en) | Automatic data testing method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |