WO2019076062A1 - Function page customization method and application server - Google Patents

Function page customization method and application server Download PDF

Info

Publication number
WO2019076062A1
WO2019076062A1 PCT/CN2018/089325 CN2018089325W WO2019076062A1 WO 2019076062 A1 WO2019076062 A1 WO 2019076062A1 CN 2018089325 W CN2018089325 W CN 2018089325W WO 2019076062 A1 WO2019076062 A1 WO 2019076062A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
function
template
database
configuration
Prior art date
Application number
PCT/CN2018/089325
Other languages
French (fr)
Chinese (zh)
Inventor
侯丽
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019076062A1 publication Critical patent/WO2019076062A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a function page customization method and an application server.
  • a page sometimes called a World Wide Web (Web) page, can be a Web Page based on Hyper Text Markup Language (HTML), or an HTML page, or it can be based on HTML.
  • JSPs Java Server Pages
  • the specified application is used to access the pre-configured template page, and the information and the set style that the user needs to publish are moved to the template page to generate the required page.
  • some functional pages have some common page styles, and simple statistics of business data.
  • the current choice is to copy new pages and add new SQL files (for Accessing data and querying, updating, and managing relational database systems, while reducing coupling, greatly reduces developer productivity.
  • the present application proposes a function page customization method and an application server, which can extract a common template for the similar operation of the function page in the business system development process, and realize the stripping of the page template and the function configuration, and thus can be used for the common template.
  • a function page customization method and an application server which can extract a common template for the similar operation of the function page in the business system development process, and realize the stripping of the page template and the function configuration, and thus can be used for the common template.
  • the present application provides an application server, where the application server includes a memory and a processor, and the memory stores a function page customization program executable on the processor, where the function page is customized.
  • the program is executed by the processor, the following steps are implemented:
  • the present application further provides a function page customization method, which is applied to an application server, and the method includes:
  • the present application further provides a computer readable storage medium storing a function page customization program, the function page customization program being executable by at least one processor, so that The at least one processor performs the steps of the function page customization method as described above.
  • the application server, the function page customization method and the computer readable storage medium proposed by the present application first collect a page template and construct a page template database; secondly, accept user-defined configuration page information and generate a configuration. a page information database; then, receiving a generation request of the function page customization; then, respectively, indexing the page template database and the configuration page information database according to the generation request of the function page customization; finally, generating a function page according to the index result.
  • the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
  • 1 is a schematic diagram of an optional hardware architecture of an application server
  • FIG. 2 is a program block diagram of a first embodiment of a function page customization program of the present application
  • FIG. 3 is a flowchart of a first embodiment of a method for customizing a function page of the present application
  • FIG. 4 is a flow chart of a second embodiment of a method for customizing a function page of the present application.
  • first, second and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. .
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
  • FIG. 1 it is a schematic diagram of an optional hardware architecture of the application server 1.
  • the application server 1 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the application server 1 may be a stand-alone server or a server cluster composed of multiple servers.
  • the application server 1 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus.
  • the application server 1 connects to the network through the network interface 13 to obtain information.
  • the network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network.
  • Wireless or wired networks such as networks, Bluetooth, Wi-Fi, and call networks.
  • Figure 1 only shows the application server 1 with components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the application server 1, such as a hard disk or memory of the application server 1.
  • the memory 11 may also be an external storage device of the application server 1, such as a plug-in hard disk equipped with the application server 1, a smart memory card (SMC), and a secure digital ( Secure Digital, SD) cards, flash cards, etc.
  • the memory 11 can also include both the internal storage unit of the application server 1 and its external storage device.
  • the memory 11 is generally used to store an operating system installed on the application server 1 and various types of application software, such as program code of the function page customization program 200. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the application server 1, such as performing data interaction or communication related control and processing, and the like.
  • the processor 12 is configured to run program code or process data stored in the memory 11, such as running the function page customization program 200 and the like.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 1 and other electronic devices.
  • the application server 1 installs and runs a function page customization program 200.
  • the application server 1 collects a page template, constructs a page template database, and accepts a user customization. Configuring the page information and generating the configuration page information database; receiving the generation request of the function page customization; indexing the page template database and the configuration page information database according to the generation request customized by the function page; and generating the function page according to the index result.
  • the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
  • the present application proposes a function page customization program 200.
  • the function page customization program 200 includes a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the function page customization of the embodiments of the present application can be implemented. Control operation.
  • the function page customization program 200 can be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the function page customization program 200 can be divided into a construction module 201, a generation module 202, a receiving module 203, and an indexing module 204. among them:
  • the building module 201 is configured to collect a page template and build a page template database. Specifically, the building module 201 collects the page template mainly in the following two forms:
  • the building module 201 obtains the storage path of all the browsing pages, and crawls the page templates of all the pages by the web crawling function to collect the page templates. In actual operation, the building module 201 crawls the page template mainly by crawling the template source code of the page.
  • the building module 201 receives the page template actively uploaded by the user.
  • the user can upload the page template in the specified path through the mobile terminal.
  • the building module 201 obtains the template source code of the uploaded page by parsing the page template uploaded by the user.
  • the building module 201 For collecting the form of the page template, after the other project items are developed, the building module 201 extracts a Java Server Page (JSP) page style page from all the engineering items, and removes the original style. As a history page template and stored.
  • JSP Java Server Page
  • the building module 201 is further configured to classify the customized page columns according to a predefined column category. Statistics; obtaining a correspondence between the column category pre-configured by the manager and the page template type; selecting a phase according to the column category to which the customized page column belongs and the correspondence between the column category and the frame template type Matching page template.
  • the category of the column may include a function class, a product class, an information class, a life class, an activity class, a game class, etc., wherein the life class may further include a food class, a travel class, an entertainment class, etc.; the activity class includes a lottery event. Class, limited time snapping activity, point redemption activities, etc. That is to say, when the server divides, it can first classify the categories of the column categories, and then divide the multiple classes in each category.
  • the application server 1 determines 10 customized page columns, and after classification and statistics, includes five functional categories and five product categories, wherein the functional categories are revenue and expenditure records, transfer, payment, and credit card repayment. And stocks; the product category is 5 financial products.
  • the application server 1 determines 20 page columns, and after classification and statistics, includes 15 life classes and 5 activity classes, among which 15 life categories include food, travel, and entertainment. And other life sub-categories; 5 activity categories include lottery activities, limited time snapping activities, and points redemption activities. In this way, after the category is divided, the index time can be greatly reduced and the efficiency can be improved in the process of searching for the page template.
  • the building module 201 is constructed by storing a template source code of the page template and a data pair of the page template function identifier.
  • the application server 1 further includes a page template database, and the mapping relationship between the template source code of the page template and the page template function identifier in the page template database is obtained only by querying the function identifier of the page template.
  • the source code of the page template which enables the invocation of the source code of the page template.
  • the generating module 202 is configured to receive user-defined configuration page information and generate a configuration page information database.
  • the configuration page information includes at least one or more of a function description, a template enable, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
  • the function description is for specifically describing the functions of the page, for example, application information inquiry, deposit balance inquiry, and the like.
  • Attribute Name The label label displayed on the page, such as the user name.
  • Property Value Indicates the name used when the form was submitted.
  • Attribute type Indicates what type of page element is executed. For example, drop-down boxes, text boxes, radio buttons, and more. It should be noted that a page includes at least one page element.
  • SQL function instructions The functions that the function page needs to perform are generally implemented by specific SQL statements.
  • the receiving module 203 is configured to receive a request for generating a function page customization.
  • the function page generation request includes function information of the function page.
  • the function page generation request in the process of receiving the request for generating a function page, may be a selection event of an online preview button of the page configuration information input interface, and by clicking an online preview button on the input interface of the page configuration information, The function page is generated for previewing.
  • the function page generation request may also be a function page generation request initiated by the system when the corresponding function module is written in the business development process.
  • the indexing module 204 is configured to separately index the page template database and the configuration page information database according to the generation request of the function page customization.
  • the indexing module 204 matches the page template function identifier in the page template database by using the function information of the function page, and obtains the corresponding page template source code.
  • the indexing module 204 matches the function description in the configuration page information database by using the function information of the function page, and obtains corresponding configuration page information.
  • the source code template of the page template has the following two forms, including: (1) a customized foreground source code template, which includes, for example, a Peer, Action, Form, Service, Dao, JUnitTest code template, and the like; (2) Custom background source code templates, such as but not limited to including query, add, modify, detail, delete page templates, and the like.
  • the database type of the page template database includes, for example, Oracle, Mysql, SQLServer, Sybase, Db2, and the like.
  • the database parameters when connecting to the database include the database connection URL, database user name, database password, and so on.
  • the generating module 202 is further configured to generate a function page according to the index result. Specifically, the generating module 202 generates a function page source code by using the page template source code and the configuration page information, and generates a function page by using the function page source code.
  • the function page customization program 200 proposed by the present application first collects a page template and constructs a page template database; secondly, accepts user-defined configuration page information and generates a configuration page information database; and then receives Generating a request for the customization of the function page; then, respectively, indexing the page template database and the configuration page information database according to the generation request customized by the function page; finally, generating a function page according to the index result.
  • the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
  • the present application also proposes a function page customization method.
  • FIG. 3 it is a flowchart of the first embodiment of the function page customization method of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 3 may be changed according to different requirements, and some steps may be omitted.
  • Step S301 collecting a page template, and constructing a page template database.
  • the application server 1 collects page templates mainly in the following two forms:
  • the application server 1 obtains the storage path of all the browsing pages, and crawls the page templates of all the pages by the web crawling function to collect the page templates.
  • the application server 1 crawls the page template mainly by crawling the template source code of the page.
  • the application server 1 receives a page template actively uploaded by the user.
  • the user can upload the page template on the specified path through the mobile terminal.
  • the application server 1 obtains the template source code of the uploaded page by parsing the page template uploaded by the user.
  • the application server 1 For collecting the form of the page template, after the other project items are developed, the application server 1 extracts a Java Server Page (JSP) page style page from all the engineering items, and removes the original style. As a history page template and stored.
  • JSP Java Server Page
  • the application server 1 also classifies and counts the customized page columns according to the predefined column categories; a pre-configured correspondence between the column category and the page template type; selecting a matching page template according to the column category to which the customized page column belongs and the correspondence between the column category and the frame template type.
  • the category of the column may include a function class, a product class, an information class, a life class, an activity class, a game class, etc., wherein the life class may further include a food class, a travel class, an entertainment class, etc.; the activity class includes a lottery event. Class, limited time snapping activity, point redemption activities, etc. That is to say, when the server is dividing, the class classification of the column categories can be performed first, and then the division of multiple subclasses can be performed under each major class.
  • the application server 1 determines 10 customized page columns, and after classification and statistics, includes five functional categories and five product categories, wherein the functional categories are revenue and expenditure records, transfer, payment, and credit card repayment. And stocks; the product category is 5 financial products.
  • the application server 1 determines 20 page columns, and after classification and statistics, includes 15 life classes and 5 activity classes, among which 15 life categories include food, travel, and entertainment. And other life sub-categories; 5 activity categories include lottery activities, limited time snapping activities, and points redemption activities. In this way, after the category is divided, the index time can be greatly reduced and the efficiency can be improved in the process of searching for the page template.
  • the application server 1 is constructed by storing a template source code of the page template and a data pair of the page template function identifier.
  • the application server 1 further includes a page template database, and the mapping relationship between the template source code of the page template and the page template function identifier in the page template database is obtained only by querying the function identifier of the page template.
  • the source code of the page template which enables the invocation of the source code of the page template.
  • Step S302 accepting user-defined configuration page information and generating a configuration page information database.
  • the configuration page information includes at least one or more of a function description, a template enable, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
  • the function description is for specifically describing the functions of the page, for example, application information inquiry, deposit balance inquiry, and the like.
  • Attribute Name The label label displayed on the page, such as the user name.
  • Property Value Indicates the name used when the form was submitted.
  • Attribute type Indicates what type of page element is executed, such as drop-down box, text box, radio button, and so on. It should be noted that a page includes at least one page element.
  • SQL function instructions The functions that the function page needs to perform are generally implemented by specific SQL statements.
  • the database types of the page template database include, but are not limited to, Oracle, Mysql, SQLServer, Sybase, Db2, and the like.
  • the database parameters when connecting to the database include the database connection URL, database user name, database password, and so on.
  • Step S303 receiving a generation request for the function page customization.
  • the function page generation request includes function information of the function page.
  • the function page generation request in the process of receiving the request for generating a function page, may be a selection event of an online preview button of the page configuration information input interface, and by clicking an online preview button on the input interface of the page configuration information, The function page is generated for previewing.
  • the function page generation request may also be a function page generation request initiated by the system when the corresponding function module is written in the business development process.
  • Step S304 indexing the page template database and the configuration page information database according to the generation request of the function page customization.
  • the application server 1 performs a corresponding operation according to a generation request customized by the function page. Specifically, the step of separately indexing the page template database and the configuration page information database according to the generation request customized by the function page will be described in detail in the second embodiment (see FIG. 4) of the function page customization method of the present application. .
  • Step S305 generating a function page according to the index result.
  • the application server 1 generates a function page source code by using the page template source code and the configuration page information, and generates a function page by using the function page source code.
  • the function page customization method proposed by the present application firstly collects a page template and constructs a page template database; secondly, accepts user-defined configuration page information and generates a configuration page information database; and then receives a function page. a customized generation request; then, the page template database and the configuration page information database are respectively indexed according to the generation request customized by the function page; finally, the function page is generated according to the index result.
  • the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
  • the step of separately indexing the page template database and the configuration page information database according to the generation request customized by the function page includes:
  • Step S401 The function information of the function page is used to match the page template function identifier in the page template database, and then the corresponding page template source code is obtained.
  • the source code template of the page template has the following two forms, including: (1) a customized foreground source code template, which includes, for example, a Peer, Action, Form, Service, Dao, JUnitTest code template, and the like; Customize the background source code template, which includes, for example, query, add, modify, detail, delete page template, and the like.
  • the database type of the page template database includes, for example, Oracle, Mysql, SQLServer, Sybase, Db2, and the like.
  • the database parameters when connecting to the database include the database connection URL, database user name, database password, and so on.
  • Step S402 the function information in the configuration page information database is matched by the function information of the function page, and the corresponding configuration page information is obtained.
  • the application server 1 obtains the corresponding page template source code and the corresponding configuration page information through the function information of the function page, and then generates the function by using the page template source code and the configuration page information.
  • the page source code and the function page is generated by the function page source code.
  • the function page customization method proposed by the present application indexes the page template database and the configuration page information database respectively through the generation request of the function page customization.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Abstract

Disclosed is a function page customization method. The method comprises: collecting page templates, constructing a page template database; accepting user-defined configuration page information and generating a configuration page information database; receiving a generating request for function page customization; respectively indexing the page template database and the configuration page information database; and generating a function page on the basis of the indexing result. Also provided in the present application are an application server and a computer-readable storage medium. The utilization of the present application allows the extraction of a common template with respect to similar operations of the function page during a service system development process, implements separation of page templates from function configurations, thus implementing the configuration of function customization with respect to the common template, obviating the need to redevelop a similar function page, and increasing the developing efficiency of developers.

Description

功能页面定制方法及应用服务器Function page customization method and application server
本申请基于巴黎公约申明享有2017年10月16日递交的申请号为CN201710959470.4、名称为“功能页面定制方法及应用服务器”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application is based on the priority of the Chinese Patent Application entitled "Function Page Customization Method and Application Server" filed on October 16, 2017, with the application number of CN201710959470.4, the entire contents of which are hereby incorporated by reference. The way is combined in this application.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种功能页面定制方法及应用服务器。The present application relates to the field of communications technologies, and in particular, to a function page customization method and an application server.
背景技术Background technique
页面,有时也可以称为万维网(World Wide Web,Web)页面,可以是基于超文本标记语言(Hyper Text Markup Language,HTML)编写的网页(Web Page),即HTML页面,或者还可以是基于HTML和Java语言编写的网页,即Java服务器页面(Java Server Page,JSP),或者还可以为其他语言编写的网页。当用户需要构建页面时,首先利用指定应用访问预先配置的模板页面,将用户需要发布的信息和设置的样式移动到模板页面中,以生成所需要的页面。而日常业务系统开发中,一些功能性页面存在一些共性的页面样式,和简单的业务数据的统计,为了减少系统类似功能的耦合,目前选择是复制新的页面,添加新的SQL文件(用于存取数据以及查询、更新和管理关系数据库系统),虽然减少了耦合性,但是大大降低了开发人员的开发效率。A page, sometimes called a World Wide Web (Web) page, can be a Web Page based on Hyper Text Markup Language (HTML), or an HTML page, or it can be based on HTML. Web pages written in the Java language, Java Server Pages (JSPs), or web pages that can also be written in other languages. When the user needs to build the page, the specified application is used to access the pre-configured template page, and the information and the set style that the user needs to publish are moved to the template page to generate the required page. In the development of daily business systems, some functional pages have some common page styles, and simple statistics of business data. In order to reduce the coupling of similar functions of the system, the current choice is to copy new pages and add new SQL files (for Accessing data and querying, updating, and managing relational database systems, while reducing coupling, greatly reduces developer productivity.
发明内容Summary of the invention
有鉴于此,本申请提出一种功能页面定制方法及应用服务器,可以针对业务系统开发过程中功能页面相似的操作,抽取共性的模板,实现页面模板与功能配置的剥离,进而可以针对共性的模板实现功能定制的配置,而不需要对相似功能页面进行再次的开发,从而提高了开发人员的开发效率。In view of this, the present application proposes a function page customization method and an application server, which can extract a common template for the similar operation of the function page in the business system development process, and realize the stripping of the page template and the function configuration, and thus can be used for the common template. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
首先,为实现上述目的,本申请提出一种应用服务器,所述应用服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的功能页面定制程序,所述功能页面定制程序被所述处理器执行时,实现如下步骤:First, in order to achieve the above object, the present application provides an application server, where the application server includes a memory and a processor, and the memory stores a function page customization program executable on the processor, where the function page is customized. When the program is executed by the processor, the following steps are implemented:
搜集页面模板,构建页面模板数据库;Collect page templates and build a page template database;
接受用户自定义的配置页面信息并生成配置页面信息数据库;Accept user-defined configuration page information and generate a configuration page information database;
接收功能页面定制的生成请求;Receiving a build request customized by the function page;
根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;及Indexing the page template database and the configuration page information database according to the generation request customized by the function page; and
根据索引结果生成功能页面。Generate a function page based on the index result.
此外,为实现上述目的,本申请还提供一种功能页面定制方法,该方法应用于应用服务器,所述方法包括:In addition, to achieve the above object, the present application further provides a function page customization method, which is applied to an application server, and the method includes:
搜集页面模板,构建页面模板数据库;Collect page templates and build a page template database;
接受用户自定义的配置页面信息并生成配置页面信息数据库;Accept user-defined configuration page information and generate a configuration page information database;
接收功能页面定制的生成请求;Receiving a build request customized by the function page;
根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;及Indexing the page template database and the configuration page information database according to the generation request customized by the function page; and
根据索引结果生成功能页面。Generate a function page based on the index result.
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有功能页面定制程序,所述功能页面定制程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述的功能页面定制方法的步骤。Further, in order to achieve the above object, the present application further provides a computer readable storage medium storing a function page customization program, the function page customization program being executable by at least one processor, so that The at least one processor performs the steps of the function page customization method as described above.
相较于现有技术,本申请所提出的应用服务器、功能页面定制方法及计算机可读存储介质,首先,搜集页面模板,构建页面模板数据库;其次,接受用户自定义的配置页面信息并生成配置页面信息数据库;接着,接收功能页面定制的生成请求;然后,根据所述功能页面定制的生成请求分别索引所 述页面模板数据库和配置页面信息数据库;最后,根据索引结果生成功能页面。这样,可以避免现有技术中开发人员的开发效率低的弊端,能够针对业务系统开发过程中功能页面相似的操作,抽取共性的模板,实现页面模板与功能配置的剥离,进而可以针对共性的模板实现功能定制的配置,而不需要对相似功能页面进行再次的开发,从而提高了开发人员的开发效率。Compared with the prior art, the application server, the function page customization method and the computer readable storage medium proposed by the present application first collect a page template and construct a page template database; secondly, accept user-defined configuration page information and generate a configuration. a page information database; then, receiving a generation request of the function page customization; then, respectively, indexing the page template database and the configuration page information database according to the generation request of the function page customization; finally, generating a function page according to the index result. In this way, the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
附图说明DRAWINGS
图1是应用服务器一可选的硬件架构的示意图;1 is a schematic diagram of an optional hardware architecture of an application server;
图2是本申请功能页面定制程序第一实施例的程序模块图;2 is a program block diagram of a first embodiment of a function page customization program of the present application;
图3为本申请功能页面定制方法第一实施例的流程图;3 is a flowchart of a first embodiment of a method for customizing a function page of the present application;
图4为本申请功能页面定制方法第二实施例的流程图。4 is a flow chart of a second embodiment of a method for customizing a function page of the present application.
附图标记:Reference mark:
应用服务器application server 11
存储器Memory 1111
处理器processor 1212
网络接口Network Interface 1313
功能页面定制程序Function page customizer 200200
构建模块Building module 201201
生成模块Build module 202202
接收模块Receiving module 203203
索引模块Index module 204204
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是应用服务器1一可选的硬件架构的示意图。Referring to FIG. 1, it is a schematic diagram of an optional hardware architecture of the application server 1.
所述应用服务器1可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该应用服务器1可以是独立的服务器,也可以是多个服务器所组成的服务器集群。The application server 1 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The application server 1 may be a stand-alone server or a server cluster composed of multiple servers.
本实施例中,所述应用服务器1可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。In this embodiment, the application server 1 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus.
所述应用服务器1通过网络接口13连接网络,获取资讯。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。The application server 1 connects to the network through the network interface 13 to obtain information. The network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network. Wireless or wired networks such as networks, Bluetooth, Wi-Fi, and call networks.
需要指出的是,图1仅示出了具有组件11-13的应用服务器1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。It is pointed out that Figure 1 only shows the application server 1 with components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、 随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述应用服务器1的内部存储单元,例如该应用服务器1的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述应用服务器1的外部存储设备,例如该应用服务器1配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述应用服务器1的内部存储单元也包括其外部存储设备。本实施例中,所述存储器11通常用于存储安装于所述应用服务器1的操作系统和各类应用软件,例如所述功能页面定制程序200的程序代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 11 may be an internal storage unit of the application server 1, such as a hard disk or memory of the application server 1. In other embodiments, the memory 11 may also be an external storage device of the application server 1, such as a plug-in hard disk equipped with the application server 1, a smart memory card (SMC), and a secure digital ( Secure Digital, SD) cards, flash cards, etc. Of course, the memory 11 can also include both the internal storage unit of the application server 1 and its external storage device. In this embodiment, the memory 11 is generally used to store an operating system installed on the application server 1 and various types of application software, such as program code of the function page customization program 200. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述应用服务器1的总体操作,例如执行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行所述的功能页面定制程序200等。The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the application server 1, such as performing data interaction or communication related control and processing, and the like. In this embodiment, the processor 12 is configured to run program code or process data stored in the memory 11, such as running the function page customization program 200 and the like.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述应用服务器1与其他电子设备之间建立通信连接。The network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 1 and other electronic devices.
本实施例中,所述应用服务器1内安装并运行有功能页面定制程序200,当所述功能页面定制程序200运行时,所述应用服务器1搜集页面模板,构建页面模板数据库;接受用户自定义的配置页面信息并生成配置页面信息数据库;接收功能页面定制的生成请求;根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;并根据索引结果生成功能页面。这样,可以避免现有技术中开发人员的开发效率低的弊端,能够针对业务系统开发过程中功能页面相似的操作,抽取共性的模板,实现页面模板与功能配置的剥离,进而可以针对共性的模板实现功能定制的配置,而不需要对相似功能页面进行再次的开发,从而提高了开发人员的开发效率。In this embodiment, the application server 1 installs and runs a function page customization program 200. When the function page customization program 200 is running, the application server 1 collects a page template, constructs a page template database, and accepts a user customization. Configuring the page information and generating the configuration page information database; receiving the generation request of the function page customization; indexing the page template database and the configuration page information database according to the generation request customized by the function page; and generating the function page according to the index result. In this way, the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
至此,己经详细介绍了本申请各个实施例的相关设备的硬件结构和功能。 下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。So far, the hardware structure and functions of the related devices of the various embodiments of the present application have been described in detail. Hereinafter, various embodiments of the present application will be proposed based on the above-described application environment and related devices.
首先,本申请提出一种功能页面定制程序200。First, the present application proposes a function page customization program 200.
本实施例中,所述的功能页面定制程序200包括一系列的存储于存储器11上的计算机程序指令,当该计算机程序指令被处理器12执行时,可以实现本申请各实施例的功能页面定制的控制操作。在一些实施例中,基于该计算机程序指令各部分所实现的特定的操作,所述功能页面定制程序200可以被划分为一个或多个模块。例如,在图2中,所述的功能页面定制程序200可以被分割成构建模块201、生成模块202、接收模块203以及索引模块204。其中:In this embodiment, the function page customization program 200 includes a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the function page customization of the embodiments of the present application can be implemented. Control operation. In some embodiments, the function page customization program 200 can be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the function page customization program 200 can be divided into a construction module 201, a generation module 202, a receiving module 203, and an indexing module 204. among them:
所述构建模块201,用于搜集页面模板,构建页面模板数据库。具体地,所述构建模块201搜集页面模板主要通过以下两种形式:The building module 201 is configured to collect a page template and build a page template database. Specifically, the building module 201 collects the page template mainly in the following two forms:
第一,所述构建模块201获取所有浏览页面的存放路径,通过网页爬取功能爬取所有页面的页面模板以搜集页面模板。在实际操作中,所述构建模块201主要通过爬取页面的模板源代码的形式爬取页面模板。First, the building module 201 obtains the storage path of all the browsing pages, and crawls the page templates of all the pages by the web crawling function to collect the page templates. In actual operation, the building module 201 crawls the page template mainly by crawling the template source code of the page.
第二,所述构建模块201接收用户主动上传的页面模板。用户可以通过移动终端在指定的路径进行页面模板的上传。本实施例中,所述构建模块201通过解析用户上传的页面模板,从而获取上传的页面的模板源代码。Second, the building module 201 receives the page template actively uploaded by the user. The user can upload the page template in the specified path through the mobile terminal. In this embodiment, the building module 201 obtains the template source code of the uploaded page by parsing the page template uploaded by the user.
对于搜集页面模板的形式,还可以在开发完其他工程项目后,所述构建模块201从所有工程项目中提取Java服务器页面(Java Server Page,JSP)页面风格的页面,并剔除其中原有样式,作为历史页面模板并存储。For collecting the form of the page template, after the other project items are developed, the building module 201 extracts a Java Server Page (JSP) page style page from all the engineering items, and removes the original style. As a history page template and stored.
另外,当数据库中页面模板数量太多,为了减少搜索引擎的压力,且更高效的搜集到页面模板,所述构建模块201,还用于按照预先定义的栏目类别对所述定制页面栏目进行分类统计;获取管理人员预先配置的所述栏目类别与页面模板类型之间的对应关系;根据所述定制页面栏目所属的所述栏目类别以及所述栏目类别与框架模板类型之间的对应关系选择相匹配的页面模板。本实施例中,栏目类别可以包括功能类、产品类、资讯类、生活类、活动类、游戏类等,其中,生活类还可以包括美食类、出行类、娱乐类等;活动类包括抽奖活动类、限时抢购活动、积分换购活动类等。也就是说,服务器在进 行划分时,可先进行栏目类别的大类划分,进而每个大类下也可以进行多个小类的划分。In addition, when there are too many page templates in the database, in order to reduce the pressure of the search engine and collect the page templates more efficiently, the building module 201 is further configured to classify the customized page columns according to a predefined column category. Statistics; obtaining a correspondence between the column category pre-configured by the manager and the page template type; selecting a phase according to the column category to which the customized page column belongs and the correspondence between the column category and the frame template type Matching page template. In this embodiment, the category of the column may include a function class, a product class, an information class, a life class, an activity class, a game class, etc., wherein the life class may further include a food class, a travel class, an entertainment class, etc.; the activity class includes a lottery event. Class, limited time snapping activity, point redemption activities, etc. That is to say, when the server divides, it can first classify the categories of the column categories, and then divide the multiple classes in each category.
举例来说,所述应用服务器1确定的定制页面栏目有10个,经分类统计后,包括5个功能类和5个产品类,其中功能类分别为收支记录、转账、缴费、信用卡还款以及股票;产品类为5个金融产品。又如,所述应用服务器1确定的页面栏目有20个,经分类统计后,包括15个生活类和5个活动类,其中,15个生活类中还包括有美食类、出行类、娱乐类等多个生活小类;5个活动类包括有抽奖活动类、限时抢购活动、积分换购活动类多个活动小类。这样,通过类别划分后,在查找页面模板的过程中可以大大减少索引的时间,提高效率。For example, the application server 1 determines 10 customized page columns, and after classification and statistics, includes five functional categories and five product categories, wherein the functional categories are revenue and expenditure records, transfer, payment, and credit card repayment. And stocks; the product category is 5 financial products. For another example, the application server 1 determines 20 page columns, and after classification and statistics, includes 15 life classes and 5 activity classes, among which 15 life categories include food, travel, and entertainment. And other life sub-categories; 5 activity categories include lottery activities, limited time snapping activities, and points redemption activities. In this way, after the category is divided, the index time can be greatly reduced and the efficiency can be improved in the process of searching for the page template.
本实施例中,所述构建模块201通过存储所述页面模板的模板源代码与所述页面模板功能标识的数据对的形式构建。本实施例中,应用服务器1还包括页面模板数据库,所述页面模板数据库中存储页面模板的模板源代码与所述页面模板功能标识的映射关系表,仅仅通过查询页面模板的功能标示就可以获取页面模板的源代码,从而实现页面模板的源代码的调用。In this embodiment, the building module 201 is constructed by storing a template source code of the page template and a data pair of the page template function identifier. In this embodiment, the application server 1 further includes a page template database, and the mapping relationship between the template source code of the page template and the page template function identifier in the page template database is obtained only by querying the function identifier of the page template. The source code of the page template, which enables the invocation of the source code of the page template.
所述生成模块202,用于接收用户自定义的配置页面信息并生成配置页面信息数据库。其中,所述配置页面信息包括功能描述、模板是否启用、属性名称、属性值、属性类型、SQL功能指令中的至少一种或者多种。The generating module 202 is configured to receive user-defined configuration page information and generate a configuration page information database. The configuration page information includes at least one or more of a function description, a template enable, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
其中,功能描述是为了具体描述页面的功能,例如,申请信息查询、存款余额查询等。The function description is for specifically describing the functions of the page, for example, application information inquiry, deposit balance inquiry, and the like.
模板是否启用:是为了判断是否启用页面模板,一般默认启动,只有在页面模板为启用状态的情况下,页面模板才能被调用,否则无效。具体地,用程序语言表示时,可以通过特定字段的Value值来表示页面模板是否启动,例如,通过flag字段的值表示,当flag=1时,表示页面模板为启动状态,而当flag=0时,表示页面模板为未启动状态。Whether the template is enabled: It is to determine whether the page template is enabled. Generally, it is started by default. Only when the page template is enabled, the page template can be called, otherwise it is invalid. Specifically, when expressed in a programming language, whether the page template is started may be indicated by a Value value of a specific field, for example, by a value of a flag field, when flag=1, indicating that the page template is in an activated state, and when flag=0 Indicates that the page template is not started.
属性名称:页面展示的标签label,例如用户名称等。Attribute Name: The label label displayed on the page, such as the user name.
属性值:表示表单提交时使用的名称name。Property Value: Indicates the name used when the form was submitted.
属性类型:表示执行页面元素是什么类型的。例如,下拉框,文本框, 单选框等类型。需要说明的是,一个页面至少包括一个页面元素。Attribute type: Indicates what type of page element is executed. For example, drop-down boxes, text boxes, radio buttons, and more. It should be noted that a page includes at least one page element.
SQL功能指令:功能页面所需执行的功能,一般通过具体的SQL语句实现。SQL function instructions: The functions that the function page needs to perform are generally implemented by specific SQL statements.
所述接收模块203,用于接收功能页面定制的生成请求。其中,所述功能页面生成请求中包括功能页面的功能信息。The receiving module 203 is configured to receive a request for generating a function page customization. The function page generation request includes function information of the function page.
本实施例中,在所述接收功能页面生成请求的过程中,功能页面生成请求可以是页面配置信息输入界面的在线预览按钮的选择事件,通过在页面配置信息的输入界面,点击在线预览按钮,生成功能页面以供预览;另外,功能页面生成请求也可以是在业务开发过程中,当编写相应功能模块时,系统主动发起的功能页面生成请求。In this embodiment, in the process of receiving the request for generating a function page, the function page generation request may be a selection event of an online preview button of the page configuration information input interface, and by clicking an online preview button on the input interface of the page configuration information, The function page is generated for previewing. In addition, the function page generation request may also be a function page generation request initiated by the system when the corresponding function module is written in the business development process.
所述索引模块204,用于根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库。The indexing module 204 is configured to separately index the page template database and the configuration page information database according to the generation request of the function page customization.
具体地,所述索引模块204通过功能页面的功能信息去匹配所述页面模板数据库中所述页面模板功能标识,进而获取相应的页面模板源代码。另外,所述索引模块204通过所述功能页面的功能信息去匹配配置页面信息数据库中功能描述,进而获取相应的配置页面信息。本实施例中,所述页面模板的源代码模板有以下两种形式,包括:(1)自定义前台源代码模板,其例如包括Peer、Action、Form、Service、Dao、JunitTest代码模板等等;(2)自定义后台源代码模板,例如但不限于包括查询、增加、修改、详情、删除页面模板等。另外,页面模板数据库的数据库类型例如包括Oracle、Mysql、SQLServer、Sybase、Db2等等。连接数据库时的数据库参数包括数据库连接URL、数据库用户名、数据库密码等。Specifically, the indexing module 204 matches the page template function identifier in the page template database by using the function information of the function page, and obtains the corresponding page template source code. In addition, the indexing module 204 matches the function description in the configuration page information database by using the function information of the function page, and obtains corresponding configuration page information. In this embodiment, the source code template of the page template has the following two forms, including: (1) a customized foreground source code template, which includes, for example, a Peer, Action, Form, Service, Dao, JUnitTest code template, and the like; (2) Custom background source code templates, such as but not limited to including query, add, modify, detail, delete page templates, and the like. In addition, the database type of the page template database includes, for example, Oracle, Mysql, SQLServer, Sybase, Db2, and the like. The database parameters when connecting to the database include the database connection URL, database user name, database password, and so on.
在所述索引模块204根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库后,所述生成模块202,还用于根据索引结果生成功能页面。具体地,所述生成模块202通过所述页面模板源代码和所述配置页面信息生成功能页面源代码,并通过所述功能页面源代码生成功能页面。After the indexing module 204 indexes the page template database and the configuration page information database according to the generation request of the function page customization, the generating module 202 is further configured to generate a function page according to the index result. Specifically, the generating module 202 generates a function page source code by using the page template source code and the configuration page information, and generates a function page by using the function page source code.
通过上述程序模块201-204,本申请所提出的功能页面定制程序200,首先,搜集页面模板,构建页面模板数据库;其次,接受用户自定义的配置页面信息并生成配置页面信息数据库;接着,接收功能页面定制的生成请求;然后,根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;最后,根据索引结果生成功能页面。这样,可以避免现有技术中开发人员的开发效率低的弊端,能够针对业务系统开发过程中功能页面相似的操作,抽取共性的模板,实现页面模板与功能配置的剥离,进而可以针对共性的模板实现功能定制的配置,而不需要对相似功能页面进行再次的开发,从而提高了开发人员的开发效率。Through the above program modules 201-204, the function page customization program 200 proposed by the present application first collects a page template and constructs a page template database; secondly, accepts user-defined configuration page information and generates a configuration page information database; and then receives Generating a request for the customization of the function page; then, respectively, indexing the page template database and the configuration page information database according to the generation request customized by the function page; finally, generating a function page according to the index result. In this way, the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
此外,本申请还提出一种功能页面定制方法。In addition, the present application also proposes a function page customization method.
参阅图3所示,是本申请功能页面定制方法第一实施例的流程图。在本实施例中,根据不同的需求,图3所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Referring to FIG. 3, it is a flowchart of the first embodiment of the function page customization method of the present application. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 3 may be changed according to different requirements, and some steps may be omitted.
步骤S301,搜集页面模板,构建页面模板数据库。Step S301, collecting a page template, and constructing a page template database.
具体地,所述应用服务器1搜集页面模板主要通过以下两种形式:Specifically, the application server 1 collects page templates mainly in the following two forms:
第一,所述应用服务器1获取所有浏览页面的存放路径,通过网页爬取功能爬取所有页面的页面模板以搜集页面模板。在实际操作中,所述应用服务器1主要通过爬取页面的模板源代码的形式爬取页面模板。First, the application server 1 obtains the storage path of all the browsing pages, and crawls the page templates of all the pages by the web crawling function to collect the page templates. In actual operation, the application server 1 crawls the page template mainly by crawling the template source code of the page.
第二,所述应用服务器1接收用户主动上传的页面模板。本实施例中,用户可以通过移动终端在指定的路径进行页面模板的上传。本实施例中,所述应用服务器1通过解析用户上传的页面模板,从而获取上传的页面的模板源代码。Second, the application server 1 receives a page template actively uploaded by the user. In this embodiment, the user can upload the page template on the specified path through the mobile terminal. In this embodiment, the application server 1 obtains the template source code of the uploaded page by parsing the page template uploaded by the user.
对于搜集页面模板的形式,还可以在开发完其他工程项目后,所述应用服务器1从所有工程项目中提取Java服务器页面(Java Server Page,JSP)页面风格的页面,并剔除其中原有样式,作为历史页面模板并存储。For collecting the form of the page template, after the other project items are developed, the application server 1 extracts a Java Server Page (JSP) page style page from all the engineering items, and removes the original style. As a history page template and stored.
另外,当数据库中页面模板数量太多,为了减少搜索引擎的压力,且更高效的搜集到页面模板,应用服务器1还按照预先定义的栏目类别对所述定 制页面栏目进行分类统计;获取管理人员预先配置的所述栏目类别与页面模板类型之间的对应关系;根据所述定制页面栏目所属的所述栏目类别以及所述栏目类别与框架模板类型之间的对应关系选择相匹配的页面模板。本实施例中,栏目类别可以包括功能类、产品类、资讯类、生活类、活动类、游戏类等,其中,生活类还可以包括美食类、出行类、娱乐类等;活动类包括抽奖活动类、限时抢购活动、积分换购活动类等。也就是说,服务器在进行划分时,可先进行栏目类别的大类划分,进而每个大类下也可以进行多个小类的划分。In addition, when there are too many page templates in the database, in order to reduce the pressure of the search engine and collect the page templates more efficiently, the application server 1 also classifies and counts the customized page columns according to the predefined column categories; a pre-configured correspondence between the column category and the page template type; selecting a matching page template according to the column category to which the customized page column belongs and the correspondence between the column category and the frame template type. In this embodiment, the category of the column may include a function class, a product class, an information class, a life class, an activity class, a game class, etc., wherein the life class may further include a food class, a travel class, an entertainment class, etc.; the activity class includes a lottery event. Class, limited time snapping activity, point redemption activities, etc. That is to say, when the server is dividing, the class classification of the column categories can be performed first, and then the division of multiple subclasses can be performed under each major class.
举例来说,所述应用服务器1确定的定制页面栏目有10个,经分类统计后,包括5个功能类和5个产品类,其中功能类分别为收支记录、转账、缴费、信用卡还款以及股票;产品类为5个金融产品。又如,所述应用服务器1确定的页面栏目有20个,经分类统计后,包括15个生活类和5个活动类,其中,15个生活类中还包括有美食类、出行类、娱乐类等多个生活小类;5个活动类包括有抽奖活动类、限时抢购活动、积分换购活动类多个活动小类。这样,通过类别划分后,在查找页面模板的过程中可以大大减少索引的时间,提高效率。For example, the application server 1 determines 10 customized page columns, and after classification and statistics, includes five functional categories and five product categories, wherein the functional categories are revenue and expenditure records, transfer, payment, and credit card repayment. And stocks; the product category is 5 financial products. For another example, the application server 1 determines 20 page columns, and after classification and statistics, includes 15 life classes and 5 activity classes, among which 15 life categories include food, travel, and entertainment. And other life sub-categories; 5 activity categories include lottery activities, limited time snapping activities, and points redemption activities. In this way, after the category is divided, the index time can be greatly reduced and the efficiency can be improved in the process of searching for the page template.
本实施例中,所述应用服务器1通过存储所述页面模板的模板源代码与所述页面模板功能标识的数据对的形式构建。本实施例中,应用服务器1还包括页面模板数据库,所述页面模板数据库中存储页面模板的模板源代码与所述页面模板功能标识的映射关系表,仅仅通过查询页面模板的功能标示就可以获取页面模板的源代码,从而实现页面模板的源代码的调用。In this embodiment, the application server 1 is constructed by storing a template source code of the page template and a data pair of the page template function identifier. In this embodiment, the application server 1 further includes a page template database, and the mapping relationship between the template source code of the page template and the page template function identifier in the page template database is obtained only by querying the function identifier of the page template. The source code of the page template, which enables the invocation of the source code of the page template.
步骤S302,接受用户自定义的配置页面信息并生成配置页面信息数据库。Step S302, accepting user-defined configuration page information and generating a configuration page information database.
其中,所述配置页面信息包括功能描述、模板是否启用、属性名称、属性值、属性类型、SQL功能指令中的至少一种或者多种。The configuration page information includes at least one or more of a function description, a template enable, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
其中,功能描述是为了具体描述页面的功能,例如,申请信息查询、存款余额查询等。The function description is for specifically describing the functions of the page, for example, application information inquiry, deposit balance inquiry, and the like.
模板是否启用:是为了判断是否启用页面模板,一般默认启动,只有在页面模板为启用状态的情况下,页面模板才能被调用,否则无效。具体地, 用程序语言表示时,可以通过特定字段的Value值来表示页面模板是否启动,例如,通过flag字段的值表示,当flag=1时,表示页面模板为启动状态,而当flag=0时,表示页面模板为未启动状态。Whether the template is enabled: It is to determine whether the page template is enabled. Generally, it is started by default. Only when the page template is enabled, the page template can be called, otherwise it is invalid. Specifically, when expressed in a programming language, whether the page template is started may be indicated by a Value value of a specific field, for example, by a value of a flag field, when flag=1, indicating that the page template is in an activated state, and when flag=0 Indicates that the page template is not started.
属性名称:页面展示的标签label,例如用户名称等。Attribute Name: The label label displayed on the page, such as the user name.
属性值:表示表单提交时使用的名称name。Property Value: Indicates the name used when the form was submitted.
属性类型:表示执行页面元素是什么类型的,例如下拉框,文本框,单选框等类型。需要说明的是,一个页面至少包括一个页面元素。Attribute type: Indicates what type of page element is executed, such as drop-down box, text box, radio button, and so on. It should be noted that a page includes at least one page element.
SQL功能指令:功能页面所需执行的功能,一般通过具体的SQL语句实现。SQL function instructions: The functions that the function page needs to perform are generally implemented by specific SQL statements.
所述页面模板数据库的数据库类型包括但不限于Oracle、Mysql、SQLServer、Sybase、Db2等等。连接数据库时的数据库参数包括数据库连接URL、数据库用户名、数据库密码等。The database types of the page template database include, but are not limited to, Oracle, Mysql, SQLServer, Sybase, Db2, and the like. The database parameters when connecting to the database include the database connection URL, database user name, database password, and so on.
步骤S303,接收功能页面定制的生成请求。其中,所述功能页面生成请求中包括功能页面的功能信息。Step S303, receiving a generation request for the function page customization. The function page generation request includes function information of the function page.
本实施例中,在所述接收功能页面生成请求的过程中,功能页面生成请求可以是页面配置信息输入界面的在线预览按钮的选择事件,通过在页面配置信息的输入界面,点击在线预览按钮,生成功能页面以供预览;另外,功能页面生成请求也可以是在业务开发过程中,当编写相应功能模块时,系统主动发起的功能页面生成请求。In this embodiment, in the process of receiving the request for generating a function page, the function page generation request may be a selection event of an online preview button of the page configuration information input interface, and by clicking an online preview button on the input interface of the page configuration information, The function page is generated for previewing. In addition, the function page generation request may also be a function page generation request initiated by the system when the corresponding function module is written in the business development process.
步骤S304,根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库。本实施例中,所述应用服务器1根据功能页面定制的生成请求去执行相应的操作。具体地,所述根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库的步骤,将在本申请功能页面定制方法的第二实施例(参阅图4)进行详述。Step S304, indexing the page template database and the configuration page information database according to the generation request of the function page customization. In this embodiment, the application server 1 performs a corresponding operation according to a generation request customized by the function page. Specifically, the step of separately indexing the page template database and the configuration page information database according to the generation request customized by the function page will be described in detail in the second embodiment (see FIG. 4) of the function page customization method of the present application. .
步骤S305,根据索引结果生成功能页面。具体地,所述应用服务器1通过所述页面模板源代码和所述配置页面信息生成功能页面源代码,并通过所述功能页面源代码生成功能页面。Step S305, generating a function page according to the index result. Specifically, the application server 1 generates a function page source code by using the page template source code and the configuration page information, and generates a function page by using the function page source code.
通过上述步骤S301-305,本申请所提出的功能页面定制方法,首先,搜集页面模板,构建页面模板数据库;其次,接受用户自定义的配置页面信息并生成配置页面信息数据库;接着,接收功能页面定制的生成请求;然后,根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;最后,根据索引结果生成功能页面。这样,可以避免现有技术中开发人员的开发效率低的弊端,能够针对业务系统开发过程中功能页面相似的操作,抽取共性的模板,实现页面模板与功能配置的剥离,进而可以针对共性的模板实现功能定制的配置,而不需要对相似功能页面进行再次的开发,从而提高了开发人员的开发效率。Through the above steps S301-305, the function page customization method proposed by the present application firstly collects a page template and constructs a page template database; secondly, accepts user-defined configuration page information and generates a configuration page information database; and then receives a function page. a customized generation request; then, the page template database and the configuration page information database are respectively indexed according to the generation request customized by the function page; finally, the function page is generated according to the index result. In this way, the disadvantages of the development efficiency of the developers in the prior art can be avoided, and the common template can be extracted for the similar operation of the function page in the business system development process, and the stripping of the page template and the function configuration can be realized, and then the common template can be used. Implementing feature-customized configurations without the need to re-develop similarly functional pages, thereby increasing developer productivity.
此外,基于本申请功能页面定制方法第一实施例,提出功能页面定制的第二实施例。Further, based on the first embodiment of the function page customization method of the present application, a second embodiment of function page customization is proposed.
如图4所示,是本申请功能页面定制方法的第二实施例的流程图。本实施例中,所述根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库的步骤,具体包括:As shown in FIG. 4, it is a flowchart of a second embodiment of the function page customization method of the present application. In this embodiment, the step of separately indexing the page template database and the configuration page information database according to the generation request customized by the function page includes:
步骤S401,通过功能页面的功能信息去匹配所述页面模板数据库中所述页面模板功能标识,进而获取相应的页面模板源代码。Step S401: The function information of the function page is used to match the page template function identifier in the page template database, and then the corresponding page template source code is obtained.
具体地,所述页面模板的源代码模板有以下两种形式,包括:(1)自定义前台源代码模板,其例如包括Peer、Action、Form、Service、Dao、JunitTest代码模板等等;(2)自定义后台源代码模板,其例如包括查询、增加、修改、详情、删除页面模板等。另外,页面模板数据库的数据库类型例如包括Oracle、Mysql、SQLServer、Sybase、Db2等等。连接数据库时的数据库参数包括数据库连接URL、数据库用户名、数据库密码等。Specifically, the source code template of the page template has the following two forms, including: (1) a customized foreground source code template, which includes, for example, a Peer, Action, Form, Service, Dao, JUnitTest code template, and the like; Customize the background source code template, which includes, for example, query, add, modify, detail, delete page template, and the like. In addition, the database type of the page template database includes, for example, Oracle, Mysql, SQLServer, Sybase, Db2, and the like. The database parameters when connecting to the database include the database connection URL, database user name, database password, and so on.
步骤S402,通过所述功能页面的功能信息去匹配配置页面信息数据库中功能描述,进而获取相应的配置页面信息。Step S402, the function information in the configuration page information database is matched by the function information of the function page, and the corresponding configuration page information is obtained.
本实施例中,所述应用服务器1通过所述功能页面的功能信息获取到相应的页面模板源代码以及相应的配置页面信息后,进而通过所述页面模板源代码和所述配置页面信息生成功能页面源代码,并通过所述功能页面源代码 生成功能页面。In this embodiment, the application server 1 obtains the corresponding page template source code and the corresponding configuration page information through the function information of the function page, and then generates the function by using the page template source code and the configuration page information. The page source code and the function page is generated by the function page source code.
通过上述步骤S401-402,本申请所提出的功能页面定制方法,通过功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库。Through the above steps S401-402, the function page customization method proposed by the present application indexes the page template database and the configuration page information database respectively through the generation request of the function page customization.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种功能页面定制方法,应用于应用服务器,其特征在于,所述方法包括:A function page customization method is applied to an application server, and the method includes:
    搜集页面模板,构建页面模板数据库;Collect page templates and build a page template database;
    接受用户自定义的配置页面信息并生成配置页面信息数据库;Accept user-defined configuration page information and generate a configuration page information database;
    接收功能页面定制的生成请求;Receiving a build request customized by the function page;
    根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;及Indexing the page template database and the configuration page information database according to the generation request customized by the function page; and
    根据索引结果生成功能页面。Generate a function page based on the index result.
  2. 如权利要求1所述的功能页面定制方法,其特征在于,所述构建页面模板数据库的步骤是通过存储所述页面模板的模板源代码与所述页面模板功能标识的数据对的形式构建。The function page customization method according to claim 1, wherein the step of constructing the page template database is constructed by storing a template source code of the page template and a data pair of the page template function identifier.
  3. 如权利要求1所述的功能页面定制方法,其特征在于,所述根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库的步骤,包括:The function page customization method according to claim 1, wherein the step of respectively indexing the page template database and the configuration page information database according to the generation request customized by the function page comprises:
    通过功能页面的功能信息去匹配所述页面模板数据库中所述页面模板功能标识,进而获取相应的页面模板源代码;及The function information of the function page is used to match the page template function identifier in the page template database, and the corresponding page template source code is obtained;
    通过所述功能页面的功能信息去匹配配置页面信息数据库中功能描述,进而获取相应的配置页面信息。The function information of the function page is used to match the function description in the configuration page information database, and then the corresponding configuration page information is obtained.
  4. 如权利要求1所述的功能页面定制方法,其特征在于,所述根据索引结果生成功能页面的步骤,包括:The function page customization method according to claim 1, wherein the step of generating a function page according to the index result comprises:
    通过所述页面模板源代码和所述配置页面信息生成功能页面源代码;及Generating a function page source code by using the page template source code and the configuration page information; and
    通过所述功能页面源代码生成功能页面。A function page is generated by the function page source code.
  5. 如权利要求1所述的功能页面定制方法,其特征在于,所述配置页面信息包括功能描述、模板是否启用、属性名称、属性值、属性类型、SQL功能指令中的至少一种或者多种。The function page customization method according to claim 1, wherein the configuration page information comprises at least one or more of a function description, a template enablement, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
  6. 一种应用服务器,其特征在于,所述应用服务器包括存储器、处理器, 所述存储器上存储有可在所述处理器上运行的功能页面定制程序,所述功能页面定制程序被所述处理器执行时实现如下步骤:An application server, comprising: a memory, a processor, wherein the memory stores a function page customization program executable on the processor, wherein the function page customization program is used by the processor The following steps are implemented during execution:
    搜集页面模板,构建页面模板数据库;Collect page templates and build a page template database;
    接受用户自定义的配置页面信息并生成配置页面信息数据库;Accept user-defined configuration page information and generate a configuration page information database;
    接收功能页面定制的生成请求;Receiving a build request customized by the function page;
    根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;及Indexing the page template database and the configuration page information database according to the generation request customized by the function page; and
    根据索引结果生成功能页面。Generate a function page based on the index result.
  7. 如权利要求6所述的应用服务器,其特征在于,所述构建页面模板数据库的步骤是通过存储所述页面模板的模板源代码与所述页面模板功能标识的数据对的形式构建。The application server according to claim 6, wherein said step of constructing a page template database is constructed by storing a template source code of said page template and a data pair of said page template function identification.
  8. 如权利要求6所述的应用服务器,其特征在于,所述根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库的步骤,包括:The application server according to claim 6, wherein the step of respectively indexing the page template database and the configuration page information database according to the generation request customized by the function page comprises:
    通过功能页面的功能信息去匹配所述页面模板数据库中所述页面模板功能标识,进而获取相应的页面模板源代码;及The function information of the function page is used to match the page template function identifier in the page template database, and the corresponding page template source code is obtained;
    通过所述功能页面的功能信息去匹配配置页面信息数据库中功能描述,进而获取相应的配置页面信息。The function information of the function page is used to match the function description in the configuration page information database, and then the corresponding configuration page information is obtained.
  9. 如权利要求6所述的应用服务器,其特征在于,所述根据索引结果生成功能页面的步骤,包括:The application server according to claim 6, wherein the step of generating a function page according to the index result comprises:
    通过所述页面模板源代码和所述配置页面信息生成功能页面源代码;及Generating a function page source code by using the page template source code and the configuration page information; and
    通过所述功能页面源代码生成功能页面。A function page is generated by the function page source code.
  10. 如权利要求6所述的应用服务器,其特征在于,所述配置页面信息包括功能描述、模板是否启用、属性名称、属性值、属性类型、SQL功能指令中的至少一种或者多种。The application server according to claim 6, wherein the configuration page information comprises at least one or more of a function description, a template enablement, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
  11. 一种计算机可读存储介质,所述计算机可读存储介质存储有功能页面定制程序,所述功能页面定制程序可被至少一个处理器执行,所述功能页面定制程序被所述处理器执行时实现如下步骤:A computer readable storage medium storing a function page customization program executable by at least one processor, the function page customization program being implemented by the processor The following steps:
    搜集页面模板,构建页面模板数据库;Collect page templates and build a page template database;
    接受用户自定义的配置页面信息并生成配置页面信息数据库;Accept user-defined configuration page information and generate a configuration page information database;
    接收功能页面定制的生成请求;Receiving a build request customized by the function page;
    根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;及Indexing the page template database and the configuration page information database according to the generation request customized by the function page; and
    根据索引结果生成功能页面。Generate a function page based on the index result.
  12. 如权利要求11所述的计算机可读存储介质,其特征在于,所述构建页面模板数据库的步骤是通过存储所述页面模板的模板源代码与所述页面模板功能标识的数据对的形式构建。The computer readable storage medium of claim 11, wherein the step of constructing a page template database is constructed by storing a template source code of the page template and a data pair identified by the page template function.
  13. 如权利要求11所述的计算机可读存储介质,其特征在于,所述根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库的步骤,包括:The computer readable storage medium according to claim 11, wherein the step of respectively indexing the page template database and the configuration page information database according to the generation request customized by the function page comprises:
    通过功能页面的功能信息去匹配所述页面模板数据库中所述页面模板功能标识,进而获取相应的页面模板源代码;及The function information of the function page is used to match the page template function identifier in the page template database, and the corresponding page template source code is obtained;
    通过所述功能页面的功能信息去匹配配置页面信息数据库中功能描述,进而获取相应的配置页面信息。The function information of the function page is used to match the function description in the configuration page information database, and then the corresponding configuration page information is obtained.
  14. 如权利要求11所述的计算机可读存储介质,其特征在于,所述根据索引结果生成功能页面的步骤,包括:The computer readable storage medium according to claim 11, wherein the step of generating a function page according to the index result comprises:
    通过所述页面模板源代码和所述配置页面信息生成功能页面源代码;及Generating a function page source code by using the page template source code and the configuration page information; and
    通过所述功能页面源代码生成功能页面。A function page is generated by the function page source code.
  15. 如权利要求11所述的计算机可读存储介质,其特征在于,所述配置页面信息包括功能描述、模板是否启用、属性名称、属性值、属性类型、SQL功能指令中的至少一种或者多种。The computer readable storage medium according to claim 11, wherein the configuration page information comprises at least one or more of a function description, a template enablement, an attribute name, an attribute value, an attribute type, and an SQL function instruction. .
  16. 一种功能页面定制程序,其特征在于,该程序包括:A function page customization program, characterized in that the program comprises:
    构建模块,用于搜集页面模板,构建页面模板数据库;a building module for collecting page templates and building a page template database;
    生成模块,用于接受用户自定义的配置页面信息并生成配置页面信息数据库;a generating module, configured to accept user-defined configuration page information and generate a configuration page information database;
    接收模块,用于接收功能页面定制的生成请求;a receiving module, configured to receive a request for generating a function page customization;
    根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库;及Indexing the page template database and the configuration page information database according to the generation request customized by the function page; and
    索引模块,用于根据索引结果生成功能页面。An indexing module for generating a function page based on the index result.
  17. 如权利要求16所述的功能页面定制程序,其特征在于,所述构建页面模板数据库的步骤是通过存储所述页面模板的模板源代码与所述页面模板功能标识的数据对的形式构建。The function page customization program according to claim 16, wherein the step of constructing the page template database is constructed by storing a template source code of the page template and a data pair of the page template function identification.
  18. 如权利要求16所述的功能页面定制程序,其特征在于,所述根据所述功能页面定制的生成请求分别索引所述页面模板数据库和配置页面信息数据库的步骤,包括:The function page customization program according to claim 16, wherein the step of respectively indexing the page template database and the configuration page information database according to the generation request customized by the function page comprises:
    通过功能页面的功能信息去匹配所述页面模板数据库中所述页面模板功能标识,进而获取相应的页面模板源代码;及The function information of the function page is used to match the page template function identifier in the page template database, and the corresponding page template source code is obtained;
    通过所述功能页面的功能信息去匹配配置页面信息数据库中功能描述,进而获取相应的配置页面信息。The function information of the function page is used to match the function description in the configuration page information database, and then the corresponding configuration page information is obtained.
  19. 如权利要求16所述的功能页面定制程序,其特征在于,所述根据索引结果生成功能页面的步骤,包括:The function page customization program according to claim 16, wherein the step of generating a function page according to the index result comprises:
    通过所述页面模板源代码和所述配置页面信息生成功能页面源代码;及Generating a function page source code by using the page template source code and the configuration page information; and
    通过所述功能页面源代码生成功能页面。A function page is generated by the function page source code.
  20. 如权利要求16所述的功能页面定制程序,其特征在于,所述配置页面信息包括功能描述、模板是否启用、属性名称、属性值、属性类型、SQL功能指令中的至少一种或者多种。The function page customization program according to claim 16, wherein the configuration page information comprises at least one or more of a function description, a template enablement, an attribute name, an attribute value, an attribute type, and an SQL function instruction.
PCT/CN2018/089325 2017-10-16 2018-05-31 Function page customization method and application server WO2019076062A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710959470.4 2017-10-16
CN201710959470.4A CN107958016B (en) 2017-10-16 2017-10-16 Function page customization method and application server

Publications (1)

Publication Number Publication Date
WO2019076062A1 true WO2019076062A1 (en) 2019-04-25

Family

ID=61954540

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089325 WO2019076062A1 (en) 2017-10-16 2018-05-31 Function page customization method and application server

Country Status (2)

Country Link
CN (1) CN107958016B (en)
WO (1) WO2019076062A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
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

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107958016B (en) * 2017-10-16 2021-09-28 平安科技(深圳)有限公司 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
CN109766088B (en) * 2019-01-17 2022-04-12 宜创(北京)科技有限公司 Program generation method, program generation 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
CN111159162B (en) * 2019-12-31 2023-07-25 中国联合网络通信集团有限公司 Database configuration method and equipment
CN112181368B (en) * 2020-09-09 2023-12-26 上海赛可出行科技服务有限公司 Mobile application development method based on behavior description
CN112596714A (en) * 2020-12-10 2021-04-02 车巴达(苏州)网络科技有限公司 Webpage development method, device, terminal, server and storage medium
CN113590101B (en) * 2021-08-20 2024-04-09 深圳市欧瑞博科技股份有限公司 Intelligent device function page configuration method, server and client
CN114817793B (en) * 2022-06-24 2022-11-15 深圳市信润富联数字科技有限公司 Page generation method, device, equipment and storage medium
CN117406990B (en) * 2023-12-14 2024-02-27 南京研利科技有限公司 Page generation method, page generation device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050120299A1 (en) * 2003-11-28 2005-06-02 International Business Machines Corporation System and method for creation of a network server application page
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
CN107958016A (en) * 2017-10-16 2018-04-24 平安科技(深圳)有限公司 Function pages method for customizing and application server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050120299A1 (en) * 2003-11-28 2005-06-02 International Business Machines Corporation System and method for creation of a network server application page
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
CN107958016A (en) * 2017-10-16 2018-04-24 平安科技(深圳)有限公司 Function pages method for customizing and application server

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107958016A (en) 2018-04-24
CN107958016B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
WO2019076062A1 (en) Function page customization method and application server
CN104025068B (en) The Conflict solving of the CSS definition from multiple sources
US10255363B2 (en) Refining search query results
WO2019134340A1 (en) Salary calculation method, application server, and computer readable storage medium
WO2019061991A1 (en) Multi-element universal model platform modeling method, electronic device, and computer readable storage medium
CN104133772A (en) Automatic test data generation method
JP2019530921A (en) Method and system for server-side rendering of native content for presentation
CN109492152B (en) Method, device, computer equipment and storage medium for pushing custom content
US10930389B2 (en) Systems and methods for the classification and indexing of contract documentation
WO2015112131A1 (en) Multistage customizing of web-based application in a browser independent of platform and operating system
CN110990403A (en) Business data storage method, system, computer equipment and storage medium
CN112905805A (en) Knowledge graph construction method and device, computer equipment and storage medium
CN115544183A (en) Data visualization method and device, computer equipment and storage medium
CN112328592A (en) Data storage method, electronic device and computer readable storage medium
CN110162540B (en) Block chain account book data query method, electronic device and storage medium
CN111723077A (en) Data dictionary maintenance method and device and computer equipment
WO2021017290A1 (en) Knowledge graph-based entity identification data enhancement method and system
US10185757B2 (en) Non-uniform multi-row text file loading
US20210279113A1 (en) Resegmenting chunks of data based on source type to facilitate load balancing
CN112925954A (en) Method and apparatus for querying data in a graph database
CN113946366A (en) Code analysis method, system and computing equipment
CN112948467B (en) Data processing method and device, computer equipment and storage medium
CN115543428A (en) Simulated data generation method and device based on strategy template
CN113515715B (en) Buried point event code generation method, buried point event code processing method and related equipment
CN112632266B (en) Data writing method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18868402

Country of ref document: EP

Kind code of ref document: A1