CN114995920B - Credit front-end page configuration method, computer equipment and readable storage medium - Google Patents

Credit front-end page configuration method, computer equipment and readable storage medium Download PDF

Info

Publication number
CN114995920B
CN114995920B CN202210925720.3A CN202210925720A CN114995920B CN 114995920 B CN114995920 B CN 114995920B CN 202210925720 A CN202210925720 A CN 202210925720A CN 114995920 B CN114995920 B CN 114995920B
Authority
CN
China
Prior art keywords
interface
data
template
configuration data
layout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210925720.3A
Other languages
Chinese (zh)
Other versions
CN114995920A (en
Inventor
包小勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210925720.3A priority Critical patent/CN114995920B/en
Publication of CN114995920A publication Critical patent/CN114995920A/en
Application granted granted Critical
Publication of CN114995920B publication Critical patent/CN114995920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method for configuring a credit front-end page, computer equipment and a readable storage medium. Calling an interface to acquire interface configuration data of a credit front-end page, and acquiring a corresponding interface template according to a template number; interface layout rendering is carried out by utilizing the interface configuration data and the interface template; generating components of each region of the interface layout; initializing form default data in the interface layout; generating associated data of the service data and the interface template by using the template number and the service data corresponding to the template number; and sending an interface request, and returning the target service data in the interface layout. Through the mode, the dynamic configuration mode is adopted to realize the rapid generation of the front-end page, and a matched page visual operation platform is used to replace the traditional manual development mode.

Description

Credit front-end page configuration method, computer equipment and readable storage medium
Technical Field
The application relates to the technical field of financial front ends, in particular to a method for configuring a credit front end page, computer equipment and a readable storage medium.
Background
Most of the current credit system front-end page developments face the following pain points: the method has the advantages that the number of service scenes is large, the iteration is frequent, the development is difficult to follow the rhythm of the requirement, the rule can be mastered by a plurality of people, the whole appearance cannot be known by one person, and the interface interaction is also changeable; in daily development of a background system, forms are indispensable, and when the content of the forms is more, for example, hundreds of fields exist, codes are often complicated and difficult to maintain; the traditional pure manual development mode is high in time consumption and cost, difficult in code quality control, high in online risk and high in personnel cost; rarely, the system configures the page of the complete credit flow from beginning to ending the whole link; the system architecture is lack of a set of advanced, flexible and easily-expanded system architecture design, the system iteration is slow, the enhancement and the upgrade are difficult, the rapid expansion capability is weak, the business process is difficult to adjust, and the product innovation is difficult to support rapidly.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a configuration method, computer equipment and a readable storage medium for a credit front-end page, which can replace the traditional manual development mode.
In order to solve the above technical problem, the first technical solution adopted by the present application is: a method of provisioning a credit front end page, the method comprising: calling an interface to obtain interface configuration data of a credit front-end page, and obtaining a corresponding interface template according to the template number; interface layout rendering is carried out by utilizing the interface configuration data and the interface template; generating components of each region of the interface layout; initializing form default data in the interface layout, and generating associated data of the business data and the interface template by using the template number and the business data corresponding to the template number; and sending an interface request, and returning the target service data in the interface layout.
In order to solve the above technical problem, the second technical solution adopted by the present application is: after interface layout rendering is performed by using the interface configuration data and the interface template, the method comprises the following steps: traversing the interface layout and generating each area, confirming whether each area is nested with a page or not, if the page is nested with the page, loading the nested page, and jumping to a step of calling an interface to acquire interface configuration data of a front-end page to be circularly executed; otherwise, executing the step of generating each region component of the interface layout.
In order to solve the above technical problem, the third technical solution adopted by the present application is: a method of provisioning a credit front end page, the method comprising: after the interface configuration data of the front-end page is obtained by calling the interface, the method comprises the following steps: acquiring interface table configuration data and a query form; performing field extraction on the interface form configuration data based on the query form to obtain updated configuration data; interface layout rendering is performed by using interface configuration data and an interface template, and the method comprises the following steps: performing interface layout rendering by using the updated configuration data and the interface template; extracting fields of the interface form configuration data based on the query form to obtain updated configuration data, and further comprising: and performing at least one of table field merging, field name updating and field keyword processing on the interface table configuration data, and extracting and inquiring the field according to the processed interface table configuration data.
The interface layout rendering is carried out by utilizing the configuration data and the interface template, and the method comprises the following steps: performing page configuration by using the interface configuration data to obtain a generated label and/or initialization data; a component that generates regions of an interface layout, comprising: generating form elements, binding default button events and generating form attributes by utilizing the form attributes, the generating buttons and the form attributes to obtain components of each area; after the page configuration is carried out based on the interface configuration data, the method comprises the following steps: detecting whether the interface display mode is a first preset mode or not; traversing to generate a label if the interface display mode is the first preset mode; otherwise, initializing data by using a tree component, generating the node activation event by using the initialization data, and jumping to the first preset mode through the node activation event; the interface layout rendering is carried out by utilizing the interface configuration data and the interface template, and the method further comprises the following steps: sequentially configuring a form area, a button area and a form area based on the interface configuration data to obtain a form attribute, a generation button and a form attribute; a component that generates regions of an interface layout, comprising: and generating form elements by utilizing the form attributes, generating buttons and the form attributes, binding default button events and generating the form attributes to obtain the components of each area.
Generating associated data corresponding to the service data and the interface template by using the template number and the service data corresponding to the template number, wherein the associated data comprises: importing a business data script into a database to generate a data source; setting business data table names corresponding to all business data in a data source, and establishing a corresponding relation between a template number and the business data table names; and acquiring the corresponding relation between the business data table name and the interface template according to the corresponding relation between the template number and the interface template and the corresponding relation between the template number and the business data table name, and generating the associated data of the interface template and the business data.
In order to solve the above technical problem, a fourth technical solution adopted by the present application is: there is provided a computer device comprising a processor, a memory and a communication circuit, the communication circuit being adapted for communication connection, the memory storing a computer program, the processor being adapted to execute the computer program to implement the method as provided in the first aspect of the present application.
In order to solve the above technical problem, the fifth technical solution adopted by the present application is: there is provided a computer readable storage medium storing a computer program executable by a processor to perform the method as provided in the first aspect of the present application.
The beneficial effect of this application is: different from the prior art, the configuration process of the credit front-end page is communicated, the front-end page is rapidly generated through a dynamic configuration mode, on one hand, a matched page visual operation platform is arranged to replace a traditional manual development mode, on the other hand, an interface required by the whole product flow can be designed according to requirements, most of the front-end page can be automatically generated, one part of the front-end page is achieved through customization, the business requirements are rapidly met, meanwhile, the consistency of the configuration process of the whole page is guaranteed, and the problem is conveniently tracked.
Drawings
FIG. 1 is a schematic flow chart diagram of a first embodiment of a method for configuring a credit front-end page of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a second embodiment of a method for configuring a credit front-end page of the present application;
FIG. 3 is a schematic flow chart diagram illustrating a third embodiment of a method for configuring a credit front-end page of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a fourth embodiment of a method for configuring a credit front-end page of the present application;
FIG. 5 is a block diagram illustrating the structure of an embodiment of the computer apparatus of the present application;
FIG. 6 is a block diagram illustrating the structure of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
If the technical scheme of the application relates to personal information, a product applying the technical scheme of the application clearly informs personal information processing rules before processing the personal information, and obtains personal independent consent. If the technical scheme of the application relates to sensitive personal information, before the sensitive personal information is processed, a product applying the technical scheme of the application obtains individual consent and simultaneously meets the requirement of 'explicit consent'. For example, at a personal information collection device such as a camera, a clear and significant identifier is set to inform that the personal information collection range is entered, the personal information is collected, and if the person voluntarily enters the collection range, the person is considered as agreeing to collect the personal information; or on the device for processing the personal information, under the condition of informing the personal information processing rule by using obvious identification/information, obtaining personal authorization by modes of popping window information or asking a person to upload personal information of the person by himself, and the like; the personal information processing rule may include information such as a personal information processor, a personal information processing purpose, a processing method, and a type of personal information to be processed.
See in particular the following description of embodiments of methods for configuring a credit front-end page of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart of a first embodiment of a method for configuring a credit front-end page of the present application. The method for configuring the credit front-end page described in the application can comprise the following steps:
s11: calling an interface to obtain interface configuration data of a credit front-end page, and obtaining a corresponding interface template according to the template number;
s12: interface layout rendering is carried out by utilizing the interface configuration data and the interface template;
s13: generating components of each region of the interface layout;
s14: initializing form default data in the interface layout, and generating associated data of the service data and the interface template by using the template number and the service data corresponding to the template number;
and S15, sending an interface request, and returning the target service data in the interface layout.
Through the description of the credit front-end page configuration step, the generation process of the credit front-end page is connected in series, the consistency of the generation process of the credit front-end page is ensured, meanwhile, the quick configuration of the credit front-end page can be realized, and the defect that the manual development front-end page is slow in process is overcome.
The following describes in detail a first embodiment of the method for configuring a credit front-end page of the present application.
S11: and calling the interface to acquire interface configuration data of the credit front-end page, and acquiring a corresponding interface template according to the template number.
Each credit business has a corresponding product type and a corresponding scene, and after a user selects one credit business product type or scene, the interface is called to acquire interface configuration data of a target credit product according to the selected credit business product type or scene code. The interface configuration data comprises layout data of each area, layout data of components in each area and configuration data.
Each interface has a unique page template number, and the interface template corresponding to the template number can be obtained according to the corresponding relation between the page template number and the interface template. The interface template is designed according to all known credit business products and scenes and then is stored in a template database.
S12: and performing interface layout rendering by using the interface configuration data and the interface template.
After the interface configuration data and the interface template are obtained, corresponding page layout element data can be obtained, and a main body layout frame of a credit front-end page to be generated can be determined by utilizing the obtained page layout element data.
S13: components for regions of the interface layout are generated.
After the main layout frame of the credit front-end page to be generated is determined, a plurality of components are required to be called to perfect the main content of the page, and after the components of each area of the interface layout are generated, the generated components are required to be sequentially visited to determine whether the required components are complete and correct, so that the complete page is generated.
S14: and initializing form default data in the interface layout, and generating associated data of the service data and the interface template by using the template number and the service data corresponding to the template number.
After the components of each region of the interface layout are generated and traversed, the business data needs to be loaded and displayed to be presented to the credit business product selected by the user. The business data import credit front-end page mainly forms an association relationship between the business data and the interface template, and can realize business data association interface template by establishing a corresponding relationship between the template number of the interface template and the business data.
S15: and sending an interface request, and returning the target service data in the interface layout.
And after the interface request is sent, the generated interface template and the associated data of the business data are utilized, and the database for storing the business data returns the target business data and is displayed on the corresponding interface layout.
Through the steps, the interface template generated in advance is used for replacing and developing a plurality of single pages, the manual development cost is saved, meanwhile, the configuration process from the acquisition of interface configuration data to the credit front-end page for loading and displaying the service data is communicated, the generated single pages are connected in series by using the complete configuration process of the credit front-end page instead of manual connection, the defect that front-end developers need to manually connect the page series is overcome, and the front-end page development speed is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a second embodiment of a method for configuring a credit front-end page according to the present invention. In this embodiment, steps S21 to S22 correspond to steps S11 to S12 in the first embodiment, and steps S25 to S27 correspond to steps S13 to S15 in the first embodiment, which will not be described herein again.
The present embodiment is different from the first embodiment in that the following two steps are added:
step S12 in the foregoing first embodiment: after the interface layout rendering is performed by using the interface configuration data and the interface template, step S23 and step S24 are added to confirm whether the nested page exists in the interface layout obtained after the interface layout rendering step and each generated region.
S23: traversing the interface layout, generating each area, and confirming whether each area is nested in the page.
S24: the nested page is loaded.
After interface layout rendering is performed by using the interface configuration data and the interface template, the generated regions need to be sequentially accessed, and the purpose is to determine whether the generated regions are nested in a page.
If the generated area is nested with the page, executing step S24, namely loading the nested page, and jumping to step S21, namely calling the interface to obtain the interface configuration data of the front-end page, and executing the step after the interface is called to obtain the interface configuration data of the front-end page, otherwise executing step S25, namely generating each area component of the interface layout.
Through the embodiment, whether the generated areas are nested in the page or not is judged. The method aims to judge whether the page needs to be interacted, and if the page has interaction, the page interaction process is completed according to set steps.
Referring to fig. 3, fig. 3 is a flowchart illustrating a third embodiment of a method for configuring a credit front-end page of the present application. In this embodiment, the method for configuring a credit front-end page includes:
s31: and calling the interface to acquire interface configuration data of the credit front-end page.
And calling the interface to acquire interface configuration data of the target credit product according to the credit product service type or the scene selected by the user and the selected credit product type or scene code.
S32: and acquiring interface table configuration data and a query form.
After the interface configuration data is obtained, the interface configuration data needs to be processed, including obtaining interface form configuration data and obtaining a query form by using the interface form configuration data.
S33: and extracting fields of the interface form configuration data based on the query form to obtain updated configuration data.
Specifically, after the query form is acquired, a series of field extraction operations need to be performed to synthesize a new field list, so that the update of the interface configuration data is completed.
S34: and performing at least one of table field merging, field name updating and field keyword processing on the interface table configuration data, and extracting and inquiring fields according to the processed interface table configuration data.
Specifically, after the interface configuration data of the credit front-end page is obtained, form configuration data is further obtained, and all elements in the form and the form fields are classified and merged to update the field names and the field keywords.
After the updated field name and field keyword are obtained, a query form associated with the form can be obtained, and meanwhile, a series of operations need to be performed on the query form to obtain updated interface configuration data, which specifically includes:
extracting query fields from the table field list and synthesizing a query field list; extracting advanced query fields from the table field list, and synthesizing a query field list; extracting a field list which needs to be input when adding from the form field list, and adding, displaying and synthesizing an input item list of the newly added form according to the field; extracting a field list required to be input during editing from the form field list, and synthesizing a newly-added form input item list according to field editing display; and extracting a field list when the viewing details are found from the field list of the form, and displaying and synthesizing an input item list of the newly added form according to the field details.
And S35, acquiring a corresponding interface template according to the template number.
Each interface has a unique page template number, and the interface template corresponding to the template number can be obtained according to the corresponding relation between the page template number and the interface template. The interface template is designed according to all known credit business products and scenes and then is stored in an interface template database.
And S36, interface layout rendering is carried out by utilizing the interface configuration data and the interface template.
Specifically, interface layout rendering is performed by using the updated interface configuration data and the interface template. After the acquired interface configuration data is updated, the main body frame of the page needs to be determined by using the updated configuration data.
And in the process of rendering the interface layout by using the interface configuration data and the interface template, rendering the interface layout according to page configuration, form area configuration, button area configuration and form area configuration respectively.
Step S361 is a specific description of the page configuration process using the interface configuration data.
S361: and performing page configuration by using the interface configuration data to obtain a generated label and/or initialization data.
In particular, the process of configuring the page aims at making available the generation tags and/or initialization data to facilitate the generation of the components of the zones.
In the process of performing page configuration by using the interface configuration data, in order to determine whether the generated page display mode is the first preset mode, the generated interface display mode needs to be determined. Step S3611 is a specific description of determining the generated interface display mode.
S3611, after the page configuration is carried out based on the interface configuration data, the interface display mode is detected
And judging whether the mode is the first preset mode.
Specifically, if the interface display mode is a first preset mode, traversing to generate a label, wherein the first preset mode can be a horizontal mode; if the interface display mode is not the first preset mode, initializing data by using a tree component, generating a node activation event by using the initialized data, and jumping to the first preset mode through the generated node activation event.
And in the process of rendering the interface layout by using the interface configuration data and the interface template, rendering the interface layout respectively from page configuration, form area configuration, button area configuration and form area configuration.
Step S362 is a specific description of the procedure of configuring the form area, configuring the button area, and configuring the form area using the interface configuration data.
S362: and sequentially performing form area configuration, button area configuration and form area configuration on the basis of the interface configuration data to obtain form attributes, generate buttons and form attributes.
Specifically, the form area, the button area, and the form area are sequentially configured, and the form attribute, the generation button, and the form attribute can be acquired.
And S37, generating components of each area of the interface layout.
After the main framework of the interface layout is obtained, a plurality of components are required to be called to generate each region component of the interface layout. And utilizing the region components of the generated interface layout for completing the interface content.
Based on the above process of rendering the interface layout by using the interface configuration data and the interface template, the interface layout rendering is performed from the page configuration area, the form area configuration, the button area configuration, and the form area configuration, and correspondingly, after the page configuration, the form area configuration, the button area configuration, and the form area configuration are performed, a plurality of components corresponding to the page configuration area, the form area, the button area, and the form area in the interface layout are generated.
Step S371 is a description of a specific process of generating each component with the page configuration area.
And S371, utilizing the generation label and/or the initialization data binding label activation event and/or the binding node activation event to generate the components of each area.
Specifically, in the page configuration process, the tag activation event may be bound by using the generation tag, so as to obtain each component of the page configuration area, or the node activation event may be bound by using the initialization data, so as to obtain each component of the page configuration area.
Based on the above process of rendering the interface layout by using the interface configuration data and the interface template, the interface layout rendering is performed from the page configuration area, the form area configuration, the button area configuration, and the form area configuration, and correspondingly, after the page configuration, the form area configuration, the button area configuration, and the form area configuration, a plurality of components corresponding to the page configuration area, the form area, the button area, and the form area in the interface layout are generated.
Step S372 is a description of a specific process of generating each component of the form area, the button area, and the table area.
And S372, generating form elements, binding default button events and generating form attributes by utilizing the form attributes, the generating buttons and the form attributes to obtain the components of each area.
Specifically, in the process of configuring the form area, form elements can be generated by using the generated form attributes, so that each component of the form area can be obtained;
in the process of configuring the button area, a binding default button event can be generated by utilizing a generation button, so that each component of the button area can be obtained;
in the process of configuring the table area, the table element can be generated by using the generated table attribute, so that each component of the table area can be obtained.
And S38, initializing form default data in the interface layout, and generating associated data of the service data and the interface template by using the template number and the service data corresponding to the template number.
After all the areas and area components of the page are generated, the service data needs to be loaded and displayed, at this time, the template number and the service data corresponding to the template number need to be used for generating the associated data of the service data and the interface template, and the service data can be imported into the generated credit front-end page through the associated data.
S39, importing the service data script into a database to generate a data source;
and a mode of importing the service data script into the database is utilized, and the generated data source comprises all types of service data.
S310: and setting the business data table name corresponding to each business data in the data source, and establishing the corresponding relation between the template number and the business data table name.
And setting a business data table name corresponding to the template number for each business data in the data source according to the template number, and establishing a corresponding relation between the template number and the business data table name by utilizing the mode.
S311, acquiring the corresponding relation between the business data table name and the interface template according to the corresponding relation between the template number and the interface template and the corresponding relation between the template number and the business data table name, and generating the associated data of the interface template and the business data.
Each interface template has a unique corresponding template number, and the template number also has a business data table name corresponding to the template number.
S312: and sending an interface request, and returning the target service data in the interface layout.
And after the interface request is sent by using the generated associated data of the interface template and the service data, the database returns the corresponding interface layout of the target service data generated.
Through the above embodiment, the acquired interface configuration data is processed and updated by a detailed page configuration flow description, and page configuration, form area configuration, button area configuration, and form area configuration are performed by using the updated configuration data. The configuration process is communicated with the whole interface development process, and the interface configuration speed is increased.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a method for configuring a credit front-end page according to a fourth embodiment of the present invention. In this embodiment, a method for configuring a credit front-end page is described in detail with reference to the first embodiment, the second embodiment, and the third embodiment.
Corresponding to the step S11 in the first embodiment, the step S21 in the second embodiment, and the step S31 in the third embodiment, the interface is invoked to obtain the interface configuration data of the target credit product according to the credit business product type or the scene code selected by the user, and the obtained interface configuration data is processed. The interface configuration data processing process comprises the following steps:
corresponding to the steps S32 and S34 in the third embodiment, after the interface form configuration data is obtained, the elements in the form and the form fields are classified and combined to update the field names and the field keywords, and after the updated field names and field keywords are obtained, the query form associated with the form can be obtained. Obtaining a query form associated with the form includes:
extracting query fields from the table field list and synthesizing a query field list; extracting advanced query fields from the table field list, and synthesizing a query field list; extracting a field list required to be input when adding a new form from the form field list, and adding and displaying the new form input item list according to the field; extracting a field list which needs to be input during editing from the form field list, and synthesizing a newly-added form input item list according to field editing display; and extracting a field list when the viewing details are found from the field list of the form, and displaying and synthesizing an input item list of the newly added form according to the field details.
Corresponding to step S33 in the foregoing third embodiment. And obtaining updated configuration data based on the obtained query form, and meanwhile, performing traversal operation on the obtained configuration data to determine whether the updated interface configuration data is complete and correct.
After step S21 in the first embodiment, step S22 in the second embodiment, and step S36 in the third embodiment, corresponding to step S361 and step S362 in the third embodiment, the method for performing page layout, form area layout, button area layout, and table area layout by using the updated layout data includes: corresponding to S361 in the third embodiment, page configuration is performed based on the interface configuration data, so as to obtain a generation tag and/or initialization data. Corresponding to step S3611 in the third embodiment, after the page is configured, it needs to be determined whether the interface display mode is horizontal, specifically, if the interface display mode is horizontal, the generated label is traversed, and the generated label is used to bind the label activation event; if the interface display mode is not in the transverse direction, initializing data by using a tree component, generating a node activation event by using the initialized data, and jumping to the transverse display mode through the node activation event.
Corresponding to step S362 in the third embodiment, form area configuration, button area configuration, and form area configuration are sequentially performed based on the interface configuration data to obtain form attributes, generate buttons, and form attributes.
After step S13 in the foregoing first embodiment, step S25 in the foregoing second embodiment, and step S37 in the foregoing third embodiment, corresponding to step S371 and step S372 in the foregoing third embodiment, the obtained generation tag and/or initialization data, form attribute, generation button, and form attribute are used to obtain a binding tag activation event and/or a binding node activation event, a generation form element, a binding default button event, and a generation form attribute, so as to obtain a component of each area.
Through the above implementation manner and the detailed description of the processing of the configuration data and the page configuration process in conjunction with the foregoing first embodiment, the foregoing second embodiment, and the foregoing third embodiment, the configured generation of the credit front-end page can be realized.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 50 comprises a memory 501 and a processor 502 coupled to each other, and the processor 502 is configured to execute program data stored in the memory 501 to implement steps in any of the above method embodiments or steps correspondingly executed by the computer device in any of the above method embodiments. The computer device 50 may further include, in addition to the processor 502 and the memory 501, a communication circuit, a display, a printing component, a data acquisition component, and the like according to requirements, which are not limited herein. In an embodiment, the communication circuit may be used to communicate with other devices. In another embodiment, the display may be used to display a selection button, and display target display information and the like, and accordingly, the communication circuit may be used to receive a selection operation of the selection button by a user. In a further embodiment, the data acquisition component is configured to acquire first preset operation data and/or second preset operation data of a user, wherein the data acquisition component may be a voice acquisition component and/or an image acquisition component.
In particular, the processor 502 is configured to control itself and the memory 501 to implement the steps in any of the embodiments of the method of configuring a credit front-end page described above. Processor 502 may also be referred to as a CPU (Central Processing Unit). The processor 502 may be an integrated circuit chip having signal processing capabilities. The Processor 502 may also be a general purpose Processor, 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. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 502 may be implemented collectively by a plurality of integrated circuit chips.
Referring to fig. 6, the integrated unit may be stored in a computer-readable storage medium 60 if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions/computer programs for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media such as a usb disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and electronic devices such as a computer, a mobile phone, a notebook computer, a tablet computer, and a camera having the storage medium.
The description of the execution process of the program data in the computer-readable storage medium may refer to the above-mentioned embodiment of the method for configuring a credit front-end page of the present application, and is not described herein again.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (9)

1. A method for configuring a credit front-end page, comprising:
calling an interface to obtain interface configuration data of the credit front-end page, and obtaining a corresponding interface template according to the template number;
interface layout rendering is carried out by utilizing the interface configuration data and the interface template;
generating components for each region of the interface layout;
initializing form default data in the interface layout;
generating associated data of the service data and the interface template by using the template number and the service data corresponding to the template number;
sending an interface request, and returning target service data in the interface layout;
the interface configuration data comprises layout data of all areas of the interface, layout data of components in all areas and configuration data;
after the calling interface acquires the interface configuration data of the front-end page, the method comprises the following steps:
acquiring interface table configuration data and a query form;
performing field extraction on the interface form configuration data based on the query form to obtain updated configuration data;
the interface layout rendering by using the interface configuration data and the interface template comprises:
and performing interface layout rendering by using the updated configuration data and the interface template.
2. The method for configuring a credit front end page of claim 1, wherein the rendering of the interface layout using the interface configuration data and the interface template comprises, after:
traversing the interface layout and generating the regions;
confirming whether each region is nested with a page or not;
if the page is nested, loading the nested page, and jumping to the step of acquiring interface configuration data of the front-end page by the calling interface to execute circularly; otherwise, executing the step of generating each area component of the interface layout.
3. The method for configuring a credit front end page according to claim 1, wherein the performing field extraction on the interface form configuration data based on the lookup table to obtain updated configuration data further comprises:
and performing at least one of table field merging, field name updating and field keyword processing on the interface table configuration data, and extracting and inquiring fields according to the processed interface table configuration data.
4. The method for configuring a credit front-end page according to any one of claims 1 to 3, wherein the interface layout rendering by using the interface configuration data and the interface template comprises:
performing page configuration by using the interface configuration data to obtain a generated label and/or initialization data;
the component for generating the areas of the interface layout comprises:
and utilizing the generation label and/or the initialization data binding label activation event and/or the binding node activation event to generate the components of each area.
5. The method for configuring a credit front end page as claimed in claim 4, wherein after the page configuration using the interface configuration data, comprising:
detecting whether the interface display mode is a first preset mode or not;
traversing the generated label if the interface display mode is the first preset mode; otherwise, initializing data by using a tree component, generating the node activation event by using the initialization data, and jumping to the first preset mode through the node activation event.
6. The method for configuring a credit front-end page according to any one of claims 1 to 3, wherein the interface layout rendering by using the interface configuration data and the interface template further comprises:
sequentially configuring a form area, a button area and a form area based on the interface configuration data to obtain a form attribute, a generation button and a form attribute;
the component for generating the areas of the interface layout comprises:
and generating form elements, binding default button events and generating form attributes by utilizing the form attributes, the generating buttons and the form attributes to obtain the components of each area.
7. The method for configuring the credit front-end page according to claim 1, wherein the generating the association data of the business data and the interface template by using the template number and the business data corresponding to the template number comprises:
importing the business data into a database to generate a data source;
setting a business data table name corresponding to each business data in the data source, and establishing a corresponding relation between the template number and the business data table name;
and acquiring the corresponding relation between the business data table name and the interface template according to the corresponding relation between the template number and the interface template and the corresponding relation between the template number and the business data table name, and generating the associated data of the interface template and the business data.
8. A computer device, comprising:
a processor;
a memory coupled to the processor for storing a computer program operable on the processor;
wherein the processor, when executing the computer program, implements the method of any one of claims 1 to 7.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202210925720.3A 2022-08-03 2022-08-03 Credit front-end page configuration method, computer equipment and readable storage medium Active CN114995920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210925720.3A CN114995920B (en) 2022-08-03 2022-08-03 Credit front-end page configuration method, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210925720.3A CN114995920B (en) 2022-08-03 2022-08-03 Credit front-end page configuration method, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114995920A CN114995920A (en) 2022-09-02
CN114995920B true CN114995920B (en) 2022-12-20

Family

ID=83022139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210925720.3A Active CN114995920B (en) 2022-08-03 2022-08-03 Credit front-end page configuration method, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114995920B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116127226A (en) * 2022-12-29 2023-05-16 广州市玄武无线科技股份有限公司 Page generation method and device based on service form and storage medium
CN116301847B (en) * 2023-01-28 2023-11-21 广西数字大脑智能科技有限责任公司 System and method for rapidly generating page based on development platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541541A (en) * 2011-12-15 2012-07-04 大唐软件技术股份有限公司 Interface generation method and device
CN107562467A (en) * 2017-07-26 2018-01-09 阿里巴巴集团控股有限公司 Page rendering method, apparatus and equipment
CN112445473A (en) * 2019-08-29 2021-03-05 北京京东尚科信息技术有限公司 Client layout method and device, storage medium and electronic equipment
CN112685025A (en) * 2020-12-23 2021-04-20 江苏苏宁云计算有限公司 Method and system for quickly building front-end page
CN112711418A (en) * 2021-02-05 2021-04-27 北京宇信科技集团股份有限公司 Front-end interface layout method and device for multiple components, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212487A1 (en) * 2012-01-09 2013-08-15 Visa International Service Association Dynamic Page Content and Layouts Apparatuses, Methods and Systems
CN110716783A (en) * 2019-10-10 2020-01-21 秒针信息技术有限公司 Front-end page generation and deployment method and device, storage medium and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541541A (en) * 2011-12-15 2012-07-04 大唐软件技术股份有限公司 Interface generation method and device
CN107562467A (en) * 2017-07-26 2018-01-09 阿里巴巴集团控股有限公司 Page rendering method, apparatus and equipment
CN112445473A (en) * 2019-08-29 2021-03-05 北京京东尚科信息技术有限公司 Client layout method and device, storage medium and electronic equipment
CN112685025A (en) * 2020-12-23 2021-04-20 江苏苏宁云计算有限公司 Method and system for quickly building front-end page
CN112711418A (en) * 2021-02-05 2021-04-27 北京宇信科技集团股份有限公司 Front-end interface layout method and device for multiple components, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114995920A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN114995920B (en) Credit front-end page configuration method, computer equipment and readable storage medium
CN106294816B (en) Page information processing method and device
CN109614424B (en) Page layout generation method, device, computing equipment and medium
CN106990950B (en) Interface layout method and device
CN109408764B (en) Page area dividing method, device, computing equipment and medium
JP2011040093A (en) Method for providing font service
CN111277761B (en) Video shooting method, device and system, electronic equipment and storage medium
CN107861750B (en) Label management method, label management device and intelligent terminal
CN114036425A (en) Page access method, client, server and system
CN111124533A (en) Method and device for dynamic configuration of active page
EP4246312A1 (en) Content display method and terminal device
US8799103B1 (en) Client-side structured data capture and remote application integration using a web browser
CN114327349A (en) Method and device for determining smart card, storage medium and electronic device
CN113407561A (en) Configurable asset management method, apparatus, medium and computer program product
US20110307313A1 (en) Search system and method using search library
CN110096658B (en) Data point burying method and device
US20170109141A1 (en) Mobile application builder and use
WO2023071956A1 (en) Model training method and apparatus, and electronic device
CN113609423B (en) Task configuration method and device, storage medium and computer equipment
CN113010524A (en) Object information storage method, device, equipment and computer readable medium
CN114491218A (en) Information updating method, information updating device, electronic device, and medium
CN112990995A (en) Commodity object publishing method and device and computer system
CN115983220B (en) Report generation method and device and electronic equipment
CN115617324B (en) Client webpage generation method
CN115904380B (en) Page field creation and assembly method, electronic device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant