A method, apparatus and device for page generation and a computer storage medium

By selecting page modules from a preset set of page modules and configuring data interfaces, the target page is generated, which solves the problem of high development costs when there are many page elements and achieves efficient and low-cost page generation and display.

CN119271335BActive Publication Date: 2025-12-16CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411373946.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-12-16
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

When there are many page elements, existing technologies require the development of a large number of front-end pages, resulting in high development costs and human resource requirements, and making it impossible to quickly and conveniently generate data archiving pages for complex products.

Method used

By selecting the page module corresponding to the generation instruction from the preset set of page modules, obtaining the layout and data interface information in the configuration file, configuring the data interaction interface, and generating the target page.

Benefits of technology

It improves the reusability and generation efficiency of page elements, reduces development costs, simplifies data interface configuration, and increases the speed of page generation and display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271335B_ABST
    Figure CN119271335B_ABST
Patent Text Reader

Abstract

The application provides a page generation method, device and equipment and a computer storage medium, which relates to the technical field of data processing, and aims to solve the problem of how to quickly and conveniently generate a page with many page elements. The method comprises the following steps: selecting a page module corresponding to a to-be-generated page from a preset page module set, obtaining a configuration file corresponding to each page module, determining layout information of the page module and data interface information of page elements contained in the page module from the configuration file; thus, the page module is arranged in a generated blank page by using the layout information, and a corresponding data interaction interface is configured for each page element based on data transmission specifications and data display specifications represented by the data interface information; in this way, the display content of the to-be-generated page is obtained based on the data interaction interface to obtain a corresponding target generated page, and information of a target financial product corresponding to the target generated page is displayed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, in particular to a page generation method, device and equipment and computer storage medium. BACKGROUND

[0002] With the continuous development of technology and society, the content in the Internet is growing explosively. In order to present the content in the Internet to users, a large number of front-end pages need to be designed to display the corresponding content. In addition, in order to more reuse the page design scheme, different page elements are also displayed to users in the same page to meet the user's page operation needs.

[0003] In the related art, when developing a front-end page, in order to meet the needs of displaying different page elements in the same page for different page operations, the general development method is: corresponding to various needs, the related pages are developed, different front-end pages are used to meet different operation needs in a manner of corresponding pages and operations, and then data request operations are added on the developed front-end page to meet the needs of displaying data content to users in the front-end page and performing targeted page operations by the users.

[0004] However, such a development method is only suitable for the case where the page elements are few. Because the page elements are few, corresponding front-end pages can be developed and designed for different page elements.

[0005] However, when the page elements are many, it is impossible to develop front-end pages for numerous page elements. For example, when archiving complex products, a product has hundreds of product elements that need to have corresponding page elements to input and display data, and the product data is hundreds of thousands. Therefore, a large number of corresponding page elements are needed to display, which leads to various page layout methods and page element composition styles. If the corresponding front-end pages are still developed separately according to the related art, it will require extremely high development cost and human resources.

[0006] Therefore, there is an urgent need for a new page generation method to solve the technical problem of how to quickly and conveniently generate a page with many page elements. SUMMARY

[0007] The embodiments of the present application provide a page generation method, device and equipment and computer storage medium to solve the problem of how to quickly and conveniently generate a page with many page elements.

[0008] In a first aspect, the embodiments of the present application provide a page generation method applied to an online management system corresponding to a financial product, comprising:

[0009] In response to the received page generation instruction, at least one page module corresponding to the page generation instruction indicated to be generated page is selected from the preset page module set; wherein each page module includes at least one page element, and each page element corresponds to a kind of display content in the page to be generated;

[0010] The configuration file corresponding to the at least one page module is obtained; wherein the configuration file at least includes: layout information of each page module in the at least one page module, and data interface information of each page element included in the page module, the data interface information representing: when obtaining the display content of the page element, the corresponding data transmission specification and data display specification;

[0011] Based on the layout information in the configuration file, the at least one page module is set in the generated blank page, and based on the data interface information in the configuration file, each page element in the at least one page module is configured with a corresponding data interaction interface;

[0012] Based on the data interaction interface, the display content of the page to be generated is obtained to obtain a corresponding target generated page, and the information of the target financial product corresponding to the target generated page is displayed.

[0013] Optionally, the at least one page module corresponding to the page generation instruction indicated to be generated page is selected from the preset page module set, comprising:

[0014] The page identifier of the page to be generated carried in the page generation instruction is obtained, and based on the page identifier and the association relationship between the page identifier and the page module, the corresponding at least one page module is selected from the page module set; or,

[0015] The module identifier of the at least one page module corresponding to the page to be generated carried in the page generation instruction is obtained, and based on the obtained at least one module identifier, the corresponding at least one page module is selected from the page module set.

[0016] Optionally, the configuration file further includes one or more of the following:

[0017] Business type information, representing: the business type corresponding to the target generated page; the business type is one of the preset business type set, and the business type set includes: product online type, product modification type, product offline type;

[0018] Business basic information, representing: product information of the target financial product.

[0019] Optionally, the data interface information includes one or more of the following:

[0020] a data node type, representing a data node type corresponding to a page element for storing and displaying data, wherein the data node type is one of a set of preset data node types;

[0021] a data node level, representing a hierarchical relationship between a page element for storing and displaying data and other page elements;

[0022] data dictionary information, representing a value range of a numerical value in display content of a page element and a display format of the numerical value;

[0023] standard data information, representing a plurality of alternative data contents for a target user to select in display content corresponding to a page element;

[0024] data storage information, representing a storage specification when input data input by the target user to a page element is stored in a database corresponding to the target financial product.

[0025] Optionally, after obtaining the corresponding target generated page, the method further comprises:

[0026] in response to an input operation of a target user on a page element in the target generated page, obtaining corresponding input data;

[0027] based on a data interaction interface corresponding to the corresponding page element, storing the received input data in the database corresponding to the target financial product.

[0028] Optionally, the obtaining of the display content of the to-be-generated page based on the data interaction interface comprises:

[0029] based on a data interaction interface corresponding to each page element in the at least one page module, obtaining data information corresponding to each page element from the database corresponding to the target financial product;

[0030] based on the obtained data information, performing data filling processing on each page element respectively, and rendering each page element to obtain corresponding display content of the to-be-generated page.

[0031] In a second aspect, an embodiment of the present application provides a page generation apparatus applied to an online management system corresponding to a financial product, comprising:

[0032] a response module configured to, in response to a received page generation instruction, select at least one page module corresponding to a to-be-generated page indicated by the page generation instruction from a set of preset page modules; wherein each page module comprises at least one page element, and each page element corresponds to display content in a to-be-generated page.

[0033] The acquisition module is configured to acquire a configuration file corresponding to the at least one page module; the configuration file includes at least layout information of each page module in the at least one page module and data interface information of each page element included in the each page module, and the data interface information represents corresponding data transmission specification and data display specification when obtaining display content of the page element.

[0034] The configuration module is configured to set the at least one page module in the generated blank page based on the layout information in the configuration file, and configure a corresponding data interaction interface for each page element in the at least one page module based on the data interface information in the configuration file.

[0035] The generation module is configured to obtain display content of the page to be generated based on the data interaction interface, to obtain a corresponding target generated page, and display information of a target financial product corresponding to the target generated page.

[0036] Optionally, when the response module is used to select at least one page module corresponding to the page to be generated indicated by the page generation instruction from a preset page module set, the response module is specifically configured to:

[0037] obtain a page identifier of the page to be generated carried in the page generation instruction, select at least one corresponding page module from the page module set based on the page identifier and an association relationship between the page identifier and the page module, or

[0038] obtain a module identifier of at least one page module corresponding to the page to be generated carried in the page generation instruction, and select at least one corresponding page module from the page module set based on the obtained at least one module identifier.

[0039] Optionally, the configuration file further includes one or more of the following:

[0040] business type information representing a business type corresponding to the target generated page; the business type is one of a preset business type set, and the business type set includes a product online type, a product modification type, and a product offline type.

[0041] business basic information representing product information of the target financial product.

[0042] Optionally, the data interface information includes one or more of the following:

[0043] A data node type, representing: a data node type corresponding to a page element used for storing and displaying data, wherein the data node type is one of preset data node types;

[0044] A data node hierarchy, representing: a hierarchical relationship between a page element used for storing and displaying data and other page elements;

[0045] Data dictionary information, representing: a value range of a value in display content of a page element and a display format of the value;

[0046] Standard data information, representing: a plurality of candidate data contents for a target user to select in display content corresponding to a page element;

[0047] Data storage information, representing: a storage specification when input data input by the target user to a page element is stored in a database corresponding to the target financial product.

[0048] Optionally, after the corresponding target generation page is obtained, the generation module is further configured to:

[0049] In response to an input operation of a target user on a page element in the target generation page, obtain corresponding input data;

[0050] Based on a data interaction interface corresponding to the corresponding page element, store the received input data in the database corresponding to the target financial product.

[0051] Optionally, when the generation module is configured to obtain display content of the page to be generated based on the data interaction interface, it is specifically configured to:

[0052] Based on a data interaction interface corresponding to each page element in the at least one page module, obtain data information corresponding to each page element from the database corresponding to the target financial product;

[0053] Based on the obtained data information, perform data filling processing on each page element respectively, and render each page element to obtain display content of the page to be generated.

[0054] In a third aspect, an electronic device is provided, including: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor executes the instructions stored in the memory, so that the at least one processor executes the method in the first aspect or any optional implementation manner of the first aspect.

[0055] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium for storing instructions, when the instructions are executed, causing the method as in the first aspect or any optional implementation of the first aspect to be implemented.

[0056] In a fifth aspect, the embodiments of the present application provide a computer program product containing instructions, when the instructions are executed on a computer, causing the computer to execute the method as in the first aspect or any optional implementation of the first aspect.

[0057] The present application has the following advantages:

[0058] In the present solution, by pre-setting the page module set, the corresponding page module can be directly selected for page generation in response to the page generation instruction, thereby improving the reuse rate of page elements in the page design process and reducing the page development cost. Meanwhile, the page module corresponding to the page generation instruction is selected for page generation, and only simple combination operation is needed to complete the generation of the page, thereby improving the efficiency of page generation.

[0059] On the other hand, the configuration information of the data interface of the page element is integrated in the configuration file of the preset page module, so that the corresponding data interaction interface can be directly configured for the page element when the page is generated according to the configuration file of the page module, thereby avoiding the cumbersome operation of only generating the page framework and then configuring the data interface for different page elements, improving the speed and efficiency of page generation and content display, further reducing the page development cost, and improving the utilization rate of page elements. BRIEF DESCRIPTION OF DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0061] Figure 1 The possible application scenario provided by the embodiments of the present application is shown in the following figure:

[0062] Figure 2 The flowchart of the page generation method provided by the embodiments of the present application is shown in the following figure:

[0063] Figure 3 The display diagram of the page module provided by the embodiments of the present application is shown in the following figure:

[0064] Figure 4A page element display schematic diagram provided by an embodiment of the present application;

[0065] Figure 5 A page identification and page module correspondence schematic diagram provided by an embodiment of the present application;

[0066] Figure 6 A data node type representation schematic diagram provided by an embodiment of the present application;

[0067] Figure 7 A pull-down display content schematic diagram provided by an embodiment of the present application;

[0068] Figure 8 A page generation device structure schematic diagram provided by an embodiment of the present application;

[0069] Figure 9 An electronic device structure schematic diagram provided by an embodiment of the present application. DETAILED DESCRIPTION

[0070] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application. The embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily without conflict. And, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from that here.

[0071] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the term "comprising" and any variations thereof are intended to cover non-exclusive protection. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device. "Multiple" in the present application can mean at least two, for example, can be two, three or more, and the embodiments of the present application are not limited.

[0072] Exemplary embodiments of the present application are described herein with reference to the accompanying drawings, which are cited as illustrative examples. Specific embodiments of the present application are described herein to assist in providing a thorough understanding of embodiments of the application, and are not intended to be limiting in scope. Accordingly, those having ordinary skill in the art will recognize that there are numerous variations and modifications of the embodiments described herein that are within the scope of the present disclosure. Likewise, for the purposes of clarity and brevity, descriptions of well-known functions and constructions are omitted. It should be noted that in the embodiments of the present application, some software, components, models and the like that are available in the industry can be mentioned, which should be considered as exemplary, and the purpose is only to illustrate the feasibility of the implementation of the technical solutions of the present application, but it does not mean that the applicant has or must have used the scheme.

[0073] In the technical solutions of the present application, the acquisition, transmission, storage and use of data comply with the requirements of relevant national laws and regulations.

[0074] In related technologies, when developing a front-end page, in order to meet the requirement of displaying different page elements in the same page for different page operations, the general development method is: developing relevant pages according to various requirements, using different front-end pages to meet different operation requirements in a manner corresponding to the page and operation, and then adding data request operations on the developed front-end page to meet the requirement of showing data content to users and performing targeted page operations by users in the front-end page.

[0075] However, such a development method is only applicable to the case where the page elements are relatively few. Because the page elements are relatively few, corresponding front-end pages can be developed and designed for different page elements.

[0076] When there are many page elements, it is not possible to develop front-end pages for numerous page elements. For example, when archiving complex products, a product has hundreds of product elements that need to have corresponding page elements for data input and display, and the product data is hundreds of thousands, which requires a large number of corresponding page elements for display, resulting in various page layout methods and page element composition styles. If the corresponding front-end pages are still developed separately according to related technologies, it will require extremely high development cost and human resources.

[0077] Therefore, the present application provides a page generation method applied to an online management system corresponding to a financial product. At least one page module corresponding to a to-be-generated page is selected from a preset page module set in response to a received page generation instruction. The page module includes at least one page element, and each page element corresponds to a display content in a to-be-generated page.

[0078] After the page module is selected, the configuration file corresponding to the page module needs to be obtained. Based on the layout information in the configuration file, at least one page module is set in the generated blank page, and based on the data interface information indicating the data transmission specification and data display specification corresponding to each page element in the configuration file, a corresponding data interaction interface is configured for each page element.

[0079] Thus, based on the data interaction interface, the display content of the to-be-generated page is obtained to obtain a corresponding target generated page, and the corresponding target financial product information is displayed.

[0080] After the main inventive idea of the embodiments of the present application is introduced, the specific implementation manner of the page generation method provided by the embodiments of the present application will be introduced in combination with some specific embodiments and the accompanying drawings.

[0081] The application scenarios to which the technical solutions of the embodiments of the present application can be applied will be briefly introduced below. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limiting. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0082] Referring to Figure 1 A possible application scenario provided by the embodiments of the present application is shown in the figure. In this scenario, a terminal device 101 and a server 102 can be included.

[0083] The terminal device 101 can be a mobile phone, a tablet computer (PAD), a personal computer (PC), a wearable device, a vehicle-mounted terminal, or the like. The server 102 can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, and the like basic cloud computing services.

[0084] The terminal device 101 and the server 102 can be directly or indirectly connected through one or more communication networks 103. The communication network 103 can be a wired network or a wireless network. For example, the wireless network can be a mobile cellular network or a wireless fidelity (WIFI) network. Of course, other possible networks are also possible, and the embodiments of the present application do not limit this.

[0085] It should be noted that the page generation method in the embodiments of the present application can be executed by a computer device, which can be a terminal device 101 or a server 102. For example, when the page generation method is completed by the server 102, the server can select the page module corresponding to the to-be-generated page from the preset page module set, set the page module in the generated empty page based on the layout information in the configuration file, and configure the corresponding data interaction interface for each page element based on the data interface information indicating the data transmission specification and data display specification of each page element in the configuration file; thereby obtaining the display content of the to-be-generated page based on the data interaction interface, to obtain the corresponding target generated page, and display the corresponding target financial product information.

[0086] It should be noted that, Figure 1 It should be noted that the number and communication mode of the terminal device and the server are not limited, and the embodiments of the present application do not make specific limitations in this respect.

[0087] The page generation method provided by the exemplary embodiments of the present application will be described below in combination with the above-described application scenarios and the accompanying drawings. It should be noted that the above-described application scenarios are only shown for the purpose of facilitating understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect.

[0088] Referring to Figure 2 A flowchart of a page generation method provided by the embodiments of the present application is shown in the figure. The page generation method can be applied to page generation in different fields, for example, it can be applied to page generation for information display of financial products in the financial field, and can also be applied to page generation for product display in other different fields, or page generation for content display. The execution subject of the method can be Figure 1 The terminal device and / or the server shown in the figure, and the present application does not limit this. In order to facilitate subsequent description, the page generation method proposed by the present application will be introduced below taking the execution subject as the server.

[0089] As Figure 2 The method specifically implements the following steps:

[0090] Step S201: In response to the received page generation instruction, at least one page module corresponding to the to-be-generated page indicated by the page generation instruction is selected from the preset page module set. Each page module includes at least one page element, and each page element corresponds to a display content in a to-be-generated page.

[0091] After receiving the page generation instruction, the server can obtain the corresponding page module from the preset page module set in response to the page generation instruction.

[0092] First of all, it needs to be pointed out that the page module set is pre-set in the server. When configuring the page module set, its generation mode can be that the developer divides various page elements in the page into different page modules according to actual needs, or the server learns that when page elements are reused in various different pages, the relative distance between part of the page elements is within a preset range, so these page elements within the preset range are divided into corresponding page modules as a whole, and the present application does not limit this.

[0093] For example, as shown in Figure 3 For a page for displaying product information, the content that needs to be displayed in the page generally includes: content for displaying information of the product source party, content for displaying information of the product itself, content for displaying information of the product review process, and content for displaying some accessory information of the product, and the like. Among these different types of large items of content, there are usually many detailed contents, so these large items of content containing multiple detailed contents can be configured as different page modules in the page module set.

[0094] In this way, each page module in the page module set contains at least one page element, and each page element corresponds to a type of display content in the page to be generated.

[0095] For example, as shown in Figure 4 In a page for displaying product information, there are different page elements for displaying various information around the product. For example, the basic information of the source party of the product, including: company name, company number, principal information, and the like, each of these page elements corresponds to a type of display content.

[0096] In the process of page generation, the server can select the corresponding page module from the page module set in response to the indication of the page generation instruction to prepare for subsequent page generation.

[0097] Specifically, the way to select at least one page module corresponding to the page to be generated indicated by the page generation instruction from the preset page module set, the present application provides the following possible implementation ways:

[0098] In one possible implementation, the server can obtain the page identifier of the page to be generated carried in the page generation instruction, and then select the corresponding at least one page module from the page module set based on the page identifier and the association relationship between the page identifier and the page module.

[0099] In this way, the page generation instruction carries a page identifier of a page to be generated, and the developer can previously set a correspondence between the page identifier and each page module in the server, so that when the page to be generated is instructed to be generated, the required page modules can be obtained according to the correspondence between the page identifier and the page modules.

[0100] In this way, the server also previously sets a correspondence between different page identifiers and a page module set, for example, as shown in Figure 5 The page identifier 1 can correspond to the page module 1, the page module 2, the page module 3, and the page module 4 in the page module set, and the page identifier 2 can correspond to the page module 1, the page module 4, the page module 6, and the page module 7 in the page module set, and so on. It should be noted that the content shown in Figure 5 is only for illustration, and in actual application, different page identifiers can correspond to more or fewer page modules, which is not limited in the present application.

[0101] In this way, in the present application, the corresponding page modules are set for different page identifiers, so that after receiving the page generation instruction carrying the page identifier, the corresponding target page can be quickly generated in response to the page generation instruction, the speed of page generation is improved, and the waiting time of page generation is reduced.

[0102] Further, for each page module corresponding to different page identifiers, different correspondences can be directly used to generate a corresponding page template for each page identifier, and the page template is persisted, and then the persisted page template is saved in the page module set. In this way, when the server receives the page generation instruction carrying the page identifier, the page template corresponding to the page identifier can be selected from the page module set for subsequent page generation.

[0103] In another possible implementation, the server can obtain a module identifier of at least one page module corresponding to the page to be generated in the page generation instruction, and then select the corresponding at least one page module from the page module set based on the obtained at least one module identifier.

[0104] In this way, each page module in the page module set records a corresponding module identifier for uniquely identifying the page module. When a user or other device expects to generate a page to be generated, the identifier of the required page module can be directly input in the page generation instruction to represent the content contained in the expected page, so that the server can directly obtain the page modules corresponding to the module identifier from the page module set according to the page module identifier in the page generation instruction.

[0105] Thus, in this way, in this mode, the page module required to be contained in the page to be generated can be directly indicated according to the module identifier, and the flexibility of the page generation method implementation is improved.

[0106] It should be noted that the above several embodiments can exist in one instance at the same time, so that the server can select different response modes according to different identifiers carried in the page generation instruction, and obtain the corresponding page module from the page module set.

[0107] After obtaining the corresponding page module, the server can continue to perform the following operations:

[0108] Step S202: Obtain the configuration file corresponding to the at least one page module; wherein the configuration file at least includes: layout information of each page module in the at least one page module, and data interface information of each page element included in each page module; the data interface information represents: corresponding data transmission specification and data display specification when obtaining the display content of the page element.

[0109] For each page module in the page module set, the respective configuration information is also recorded in the corresponding configuration file, therefore, after the server determines the page module required for the page to be generated, it needs to obtain the configuration file corresponding to the at least one page module, and obtain various configuration information required for generating the page from the configuration file.

[0110] In one possible implementation, the configuration file at least includes the layout information of each page module, and the layout information indicates the position information of the page module in the page to be generated, and the position information of the page element contained in each page module in the page to be generated.

[0111] Meanwhile, since each page element corresponds to a display content, and the display content needs to be displayed after obtaining the corresponding data, therefore, the configuration file also includes the data interface information corresponding to each page element, and the information represents: corresponding data transmission specification and data display specification when obtaining the display content of the page element. Among them, obtaining the display content of the page element includes two ways: one is to extract the corresponding data from the page corresponding back-end database, and the other is to input the display data into the page corresponding page element by the user after displaying the blank content, and then save it to the back-end database.

[0112] Thus, after obtaining the configuration file corresponding to the at least one page module, the server can continue to perform the following operations:

[0113] Step S203: Based on the layout information in the configuration file, set the at least one page module in the generated blank page.

[0114] In response to the page generation instruction, the server generates a corresponding target generation page. The server can first generate a blank page without any display content. When the server obtains the layout information of the page module, the server can set at least one page module in the generated blank page based on the layout information, fill the page module in the corresponding position of the blank page, and set the page element included in each page module in the corresponding position based on the layout information, to complete the construction of the page framework.

[0115] Step S204: Based on the data interface information in the configuration file, a corresponding data interaction interface is configured for each page element in the at least one page module.

[0116] After the server completes the construction of the page framework, the server needs to configure a corresponding data interaction interface for the page element of the display content. The data interaction interface is used to limit the rules and definitions of data exchange between different systems, so that different systems can send and receive data through the defined protocol and format.

[0117] In the present application, the data interface information in the configuration file can be used to configure a corresponding data interaction interface for each page element, to standardize the data acquisition and display in the generated page.

[0118] In one possible implementation, the data interface information can include one or more of the following contents:

[0119] Data node type: representing the data node type corresponding to the page element for storing and displaying data, wherein the data node type is one of a set of preset data node types.

[0120] The set of preset data node types includes the following multiple data node types:

[0121] 00-simple: only one layer of nodes;

[0122] 01-table: table type;

[0123] 02-complex: the node has one layer of child nodes or multiple layers of nodes, and the layers are progressive;

[0124] 03-multi-frame: the front-end type of the node has multiple frames, and has no title;

[0125] 04-interval: the node is a data range in the front-end display, and has a horizontal bar in the middle;

[0126] 05-no title: generally belongs to the last layer of nodes, and the frames have no title;

[0127] 06-Linkage; need to call the corresponding transaction query standard data dictionary according to the node to get the data item of the linkage id.

[0128] Referring to Figure 6 , a schematic diagram of the manifestation of a data node type provided by an embodiment of the present application is shown in Figure 6 , which shows the possible manifestations of some data node types.

[0129] Data node level, representing the hierarchical relationship between the page element for storing and displaying data and other page elements.

[0130] Among them, the node level of the major item is 1, the node level of the sub-item is 2, and the node level greater than or equal to 2 needs to fill in the parent node number to represent the relationship between different nodes.

[0131] Data dictionary information, representing the value range of the numerical value in the display content of the page element and the display format of the numerical value, including the decimal point digit limit and the like.

[0132] Standard data information, representing a plurality of alternative data contents for the target user to select in the display content corresponding to the page element; for example, as shown in Figure 7 , the corresponding display content in the page element is the value displayed by pulling down, and the corresponding input content is selected by the user, therefore, the standard data information specifies the alternative data contents of the data that can be displayed after pulling down in the page element.

[0133] Data storage information, representing the storage specification when storing the input data input by the target user into the database corresponding to the target financial product.

[0134] In this way, through the above-mentioned data interface information, the corresponding data interaction interface can be configured for the page element, so that the page element can successfully complete the data interaction between multiple systems.

[0135] Step S205: based on the data interaction interface, obtaining the display content of the to-be-generated page to obtain the corresponding target generated page, and displaying the information of the target financial product corresponding to the target generated page.

[0136] After completing the setting of the page module and the page element in the page, the server also needs to obtain the display content of the to-be-generated page based on the data interaction interface corresponding to each page element, and fill the display content into the corresponding page element to obtain the corresponding target generated page, and then display the information of the target financial product corresponding to the generated page.

[0137] In a possible implementation, the specific manner of obtaining the display content of the to-be-generated page can be:

[0138] Firstly, based on the data interaction interface corresponding to each page element in the at least one page module, data information corresponding to each page element is obtained from a database corresponding to the target financial product; then, based on the obtained data information, each page element is subjected to data filling processing, and each page element is rendered to obtain the display content of the corresponding to-be-generated page.

[0139] In this way, the data information required by the to-be-generated page to be displayed in the database is extracted, and the data information can be successfully displayed in the to-be-generated page through the limitation of the data interaction interface, thereby improving the reliability of the implementation of the present solution.

[0140] In the present solution, by pre-setting the page module set, the corresponding page module can be directly selected for page generation in response to a page generation instruction, thereby improving the reusability of the page elements in the page design process and reducing the page development cost; meanwhile, the page module corresponding to the page generation instruction is selected for page generation, and only simple combination operations are required to complete the generation of the page, thereby improving the efficiency of page generation.

[0141] On the other hand, the configuration information of the data interface of the page element is integrated in the configuration file of the preset page module, so that the corresponding data interaction interface can be directly configured for the page element when the page is generated according to the configuration file of the page module, thereby avoiding the cumbersome operation of having to perform data interface configuration for different page elements after only the page framework is generated, improving the speed and efficiency of page generation and display content, further reducing the page development cost, and improving the utilization rate of the page elements.

[0142] The above describes a page generation method provided by the present application, and some possible implementation manners of the page generation method will be further described below.

[0143] In a possible implementation manner, after obtaining the corresponding target generated page, the server can further perform the following operation:

[0144] In response to an input operation of a target user on a page element in the target generated page, input data is obtained; and based on the data interaction interface corresponding to the corresponding page element, the received input data is stored in the database corresponding to the target financial product.

[0145] That is, after obtaining the target generation page, the target user can be shown the target generation page, and in the process of showing the target generation page, the target user can input data for part of the page elements in the target generation page, so the server needs to respond to the input operation of the target user for the page elements in the target generation page, obtain the corresponding input data, and then store the received input data in the database corresponding to the target financial product based on the corresponding data interaction interface.

[0146] In this way, the display content in the target generation page can be further improved, and the data information saved in the database corresponding to the target financial product can also be improved.

[0147] In a possible implementation, in order to further improve the layout and display content of the page when the page is generated, the configuration file corresponding to the page module can further include one or more of the following contents:

[0148] Business type information, representing: the business type corresponding to the target generation page; the business type is one of a preset business type set, and the business type set includes: product online type, product modification type, and product offline type.

[0149] Business basic information, representing: product information of the target financial product, including: product code, product name, product category, product subcategory, and the like.

[0150] Business relationship information, representing: information flow audit and other business processes in the target generation page, including business number, process number, audit state link, and the like, and further including test states of each subcategory in the product information, including: to be allocated, entry notification, entry registration, entry notification, in progress, entry registration, test suspension, in progress, test suspension, new message notification, test start time, test end time, promotion group field, remark, whether to modify field, and the like.

[0151] Business state table, representing: the business type, name audit link, and state of the product information in the target generation page.

[0152] The above is for the configuration file corresponding to each page module. In application, the configuration file can further include a general page template information corresponding to a general page, for recording the identification, product category, business scenario, process relationship, relationship between business categories, and product category, product subcategory, business type, business name, business subcategory, business subcategory name, scene number, scene name, scene template number, scene template name, and the like of the page module constituting the page template.

[0153] Thus, when the page generation instruction indicates to generate a corresponding general page based on a general page template, the server can directly generate the corresponding general page according to the general page template information in the configuration file and perform data acquisition.

[0154] Further, in a possible implementation, the configuration file can be saved in the form of a table, and the different information can be saved in different tables. In this way, the process of developing a page can be changed into the process of configuring a table template, the learning cost and development cost of page development are reduced, and the efficiency of page development is improved.

[0155] Based on the same inventive concept, an embodiment of the present application also provides a page generation device.

[0156] Referring to Figure 8 A structural schematic diagram of a page generation device is provided for an embodiment of the present application. The device can be a chip or an integrated circuit in the device described above, and the device includes a module / unit / technical means for executing the method performed by the server in the above method embodiment.

[0157] Exemplarily, the device 800 includes:

[0158] The response module 801 is configured to select at least one page module corresponding to the to-be-generated page indicated by the page generation instruction from a preset page module set in response to the received page generation instruction. Each page module includes at least one page element, and each page element corresponds to a display content in a to-be-generated page.

[0159] The acquisition module 802 is configured to acquire a configuration file corresponding to the at least one page module. The configuration file includes at least layout information of each page module in the at least one page module and data interface information of each page element included in the page module. The data interface information represents corresponding data transmission specification and data display specification when the display content of the page element is acquired.

[0160] The configuration module 803 is configured to set the at least one page module in a generated blank page based on the layout information in the configuration file, and configure a corresponding data interaction interface for each page element in the at least one page module based on the data interface information in the configuration file.

[0161] The generation module 804 is configured to acquire the display content of the to-be-generated page based on the data interaction interface to obtain a corresponding target generated page, and display information of a target financial product corresponding to the target generated page.

[0162] As an embodiment, Figure 8The apparatus discussed can be used to perform Figure 2 The method described in the illustrated embodiments, and thus the functions enabled by the various functional modules of the apparatus, can be referred to Figure 2 The description of the illustrated embodiments is not intended to limit the scope of the application, and thus the functions enabled by the various functional modules of the apparatus can be further divided into modules, or a module described above can be further divided into sub-modules.

[0163] It should be noted that although several modules or sub-modules of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to the embodiments of the application, the features and functions of two or more units described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into modules embodied by multiple modules.

[0164] As a possible product form of the above-described apparatus, see Figure 9 The embodiments of the present application also provide an electronic device 900, comprising:

[0165] at least one processor 901; and a communication interface 903 connected with the at least one processor 901; the at least one processor 901 executes instructions stored in the memory 902, so that the electronic device 900 performs the method steps performed by any device in the above method embodiments through the communication interface 903.

[0166] Optionally, the memory 902 is located outside the electronic device 900.

[0167] Optionally, the electronic device 900 includes the memory 902, the memory 902 is connected with the at least one processor 901, and the memory 902 stores instructions executable by the at least one processor 901. Figure 9 The memory 902 is optional for the electronic device 900, represented by a dashed line.

[0168] The processor 901 and the memory 902 can be coupled through an interface circuit or integrated together, which is not limited here.

[0169] The specific connection medium between the processor 901, the memory 902 and the communication interface 903 is not limited in the embodiments of the present application. In the Figure 9 embodiments of the present application, the processor 901, the memory 902 and the communication interface 903 are connected through a bus 904, and the bus is represented by a thick line in the Figure 9 embodiments of the present application, and the connection mode between other components is only schematically illustrated and is not limited. The bus can be divided into an address bus, a data bus, a control bus, etc. For convenience, the Figure 9Only one bus is shown for each bus interface for simplicity, but there can be a plurality of buses. Also, while a single bus implementation is used in this example, it is to be understood that the application encompasses a system in which there are separate buses for each type of data or instructions. It is to be understood that the processors mentioned in the embodiments of the present application can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, or the like. When implemented by software, the processor can be a general-purpose processor which is implemented by reading software codes stored in a memory.

[0170] For example, the processor can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0171] It is to be understood that the memory mentioned in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of RAM can be used, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DR RAM).

[0172] It is noted that when the processor is a general processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated in the processor.

[0173] It should be noted that the memory described herein is intended to include, but not be limited to, the memory types specified and any other suitable type of memory.

[0174] As another possible product form, the embodiment of the present application further provides a computer readable storage medium for storing instructions, which, when executed, cause a computer to perform the method steps performed by any of the devices in the above method embodiments.

[0175] As another possible product form, the embodiment of the present application further provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the method steps performed by any of the devices in the above method embodiments.

[0176] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer-usable program code.

[0177] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatus (systems) and computer program products according to this application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as a combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The functions specified in a flow or multiple flows and / or blocks Figure 1 The functions specified in a flow or multiple flows and / or blocks

[0178] These computer program instructions can also be stored in a computer readable memory that can direct the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including instruction means, which implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The functions specified in a flow or multiple flows and / or blocksFigure 1 the function specified in the one or more blocks.

[0179] These computer program instructions can also be loaded into computer or other programmable data processing devices, so that a series of operation steps are performed on the computer or other programmable data processing devices to generate computer-implemented processes, thus the instructions executed on the computer or other programmable data processing devices provide processes for implementing the flow Figure 1 the flow or flows and / or blocks Figure 1 the function specified in the one or more blocks.

[0180] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these modifications and variations.

Claims

1. A method for generating a page, characterized in that, Online management systems applied to financial products include: In response to a received page generation instruction, at least one page module corresponding to the page to be generated indicated by the page generation instruction is selected from a preset set of page modules; wherein each page module includes at least one page element, and each page element corresponds to a type of content to be displayed on the page to be generated. Obtain the configuration file corresponding to the at least one page module; wherein the configuration file includes at least: the layout information of each page module in the at least one page module, and the data interface information of each page element included in each page module, wherein the data interface information represents: the data transmission specification and data display specification corresponding to the acquisition of the display content of the page element; Based on the layout information in the configuration file, at least one page module is set in the generated blank page, and based on the data interface information in the configuration file, a corresponding data interaction interface is configured for each page element in the at least one page module. Based on the data interaction interface, the display content of the page to be generated is obtained to obtain the corresponding target generated page, and the information of the target financial product corresponding to the target generated page is displayed.

2. The method as described in claim 1, characterized in that, The step of selecting at least one page module from a preset set of page modules that corresponds to the page to be generated as indicated by the page generation instruction includes: Obtain the page identifier of the page to be generated carried in the page generation instruction; based on the page identifier and the association between the page identifier and the page module, select at least one corresponding page module from the page module set; or, Obtain the module identifier of at least one page module corresponding to the page to be generated carried in the page generation instruction, and select at least one corresponding page module from the page module set based on the obtained at least one module identifier.

3. The method as described in claim 1, characterized in that, The configuration file also includes one or more of the following: Business type information, representing: the business type corresponding to the target generated page; the business type is one of a preset set of business types, which includes: product launch type, product modification type, and product decommissioning type; Basic business information, representing: product information of the target financial product.

4. The method as described in claim 1, characterized in that, The data interface information includes one or more of the following: Data node type, characterized by: the data node type corresponding to the page element used to store and display data, wherein the data node type is one of the preset data node type sets; Data node hierarchy, representing the hierarchical relationship between page elements used to store and display data and other page elements; Data dictionary information, representing: the range of values ​​for the numerical values ​​displayed in the content of page elements and the display format of the numerical values; Standard data information, representing: multiple alternative data contents that the target user can choose from in the display content corresponding to the page element; Data storage information, representing: the storage specifications when the input data entered by the target user into the page element is stored in the database corresponding to the target financial product.

5. The method according to any one of claims 1-4, characterized in that, After obtaining the corresponding target generated page, the method further includes: In response to the input operation of the target user on the page elements in the target generated page, the corresponding input data is obtained; Based on the data interaction interface corresponding to the relevant page element, the received input data is stored in the database corresponding to the target financial product.

6. The method according to any one of claims 1-4, characterized in that, The step of obtaining the display content of the page to be generated based on the data interaction interface includes: Based on the data interaction interface corresponding to each page element in the at least one page module, data information corresponding to each page element is obtained from the database corresponding to the target financial product; Based on the obtained data information, each page element is populated with data and rendered to obtain the corresponding display content of the page to be generated.

7. A page generation apparatus, characterized in that, Online management systems applied to financial products include: A response module is used to respond to a received page generation instruction by selecting at least one page module from a preset set of page modules that corresponds to the page to be generated indicated by the page generation instruction; wherein each page module includes at least one page element, and each page element corresponds to a type of display content in the page to be generated. An acquisition module is used to acquire the configuration file corresponding to the at least one page module; wherein the configuration file includes at least: the layout information of each page module in the at least one page module, and the data interface information of each page element included in each page module, wherein the data interface information represents: the data transmission specification and data display specification corresponding to the acquisition of the display content of the page element; The configuration module is used to set the at least one page module in the generated blank page based on the layout information in the configuration file, and to configure a corresponding data interaction interface for each page element in the at least one page module based on the data interface information in the configuration file. The generation module is used to obtain the display content of the page to be generated based on the data interaction interface, so as to obtain the corresponding target generated page and display the information of the target financial product corresponding to the target generated page.

8. The apparatus as claimed in claim 7, characterized in that, The response module is used to select at least one page module corresponding to the page to be generated indicated by the page generation instruction from a preset set of page modules, specifically for: Obtain the page identifier of the page to be generated carried in the page generation instruction, and select at least one corresponding page module from the page module set based on the page identifier and the association relationship between the page identifier and the page module. or, Obtain the module identifier of at least one page module corresponding to the page to be generated carried in the page generation instruction, and select at least one corresponding page module from the page module set based on the obtained at least one module identifier.

9. The apparatus as claimed in claim 7, characterized in that, The configuration file also includes one or more of the following: Business type information, representing: the business type corresponding to the target generated page; the business type is one of a preset set of business types, which includes: product launch type, product modification type, and product decommissioning type; Basic business information, representing: product information of the target financial product.

10. The apparatus as claimed in claim 7, characterized in that, The data interface information includes one or more of the following: Data node type, characterized by: the data node type corresponding to the page element used to store and display data, wherein the data node type is one of the preset data node type sets; Data node hierarchy, representing the hierarchical relationship between page elements used to store and display data and other page elements; Data dictionary information, representing: the range of values ​​for the numerical values ​​displayed in the content of page elements and the display format of the numerical values; Standard data information, representing: multiple alternative data contents that the target user can choose from in the display content corresponding to the page element; Data storage information, representing: the storage specifications when the input data entered by the target user into the page element is stored in the database corresponding to the target financial product.

11. The apparatus according to any one of claims 7-10, characterized in that, After obtaining the corresponding target generated page, the generation module is further configured to: In response to the input operation of the target user on the page elements in the target generated page, the corresponding input data is obtained; Based on the data interaction interface corresponding to the relevant page element, the received input data is stored in the database corresponding to the target financial product.

12. The apparatus according to any one of claims 7-10, characterized in that, The generation module, when obtaining the display content of the page to be generated based on the data interaction interface, is specifically used for: Based on the data interaction interface corresponding to each page element in the at least one page module, data information corresponding to each page element is obtained from the database corresponding to the target financial product; Based on the obtained data information, each page element is populated with data and rendered to obtain the corresponding display content of the page to be generated.

13. An electronic device, characterized in that, include: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, which executes the instructions stored in the memory to perform the method as described in any one of claims 1-6.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store instructions that, when executed, cause the method as described in any one of claims 1-6 to be implemented.

15. A computer program product containing instructions, characterized in that, The computer program product stores instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Page generation method and device

    CN110941784A

  • Page layout method and device, equipment and storage medium

    CN113190781A