Form page generation method and device
By obtaining the spreadsheet files associated with the business, creating target business models and components, and dynamically generating form pages, it solves the version management and business adaptation problems of low-code platforms when generating form pages, and realizes efficient and flexible form page generation and rapid response.
Patent Information
- Application Number
- CN202510494482.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-05
AI Technical Summary
In the prior art, low-code platforms are difficult to adapt to business needs at different points in time when generating form pages, resulting in improper version management and insufficient ability to integrate with business scenarios, which requires a lot of time to adjust or write additional code.
By obtaining the spreadsheet file associated with the business, creating target business models and components based on multiple business fields, dynamically generate form pages, and using component configuration files to determine structural information to achieve standardization and automated generation of components.
It improves the efficiency and flexibility of form page generation, can quickly respond to changes in business needs, reduce manual design and development time, ensures that components are closely connected with business logic, and improves user experience.
Smart Images

Figure CN120428974A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a method and device for generating a form page. Background Art
[0002] In the financial services sector, form pages are not only a key tool for information collection but also an indispensable bridge between clients and financial institutions. Through these pages, financial institutions can accurately and efficiently obtain clients' basic information, financial status, and service needs, providing a solid data foundation for subsequent financial product design, risk assessment, and customer service. Therefore, how to generate form pages used to provide financial services is extremely important. Summary of the Invention
[0003] The present disclosure provides a method and apparatus for generating a form page to at least partially resolve one of the technical problems in the related art. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a method for generating a form page is provided, comprising: obtaining a spreadsheet file associated with a first business; wherein the spreadsheet file is generated based on a business requirement associated with the first business; creating at least one target business model based on a plurality of business fields in the spreadsheet file associated with a first financial service provided by the first business; creating at least one target business component based on the at least one target business model; and generating a first form page for providing the first financial service based on the at least one target business component.
[0005] According to a second aspect of an embodiment of the present disclosure, a device for generating a form page is provided, comprising: an acquisition module for acquiring a spreadsheet file associated with a first business; wherein the spreadsheet file is generated based on the business requirements associated with the first business; a first creation module for determining, for any target risk control model, at least one target risk characteristic factor associated with the target object from a plurality of candidate risk characteristic factors of the any target risk control model; a second creation module for creating at least one target business component based on the at least one target business model; and a generation module for generating a first form page for providing the first financial service based on the at least one target business component.
[0006] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method for generating a form page as described in the embodiment of the first aspect of the present disclosure.
[0007] According to the fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by the processor of an electronic device, the electronic device can execute the method for generating a form page as described in the embodiment of the first aspect of the present disclosure.
[0008] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising: a computer program, wherein when the computer program is executed by a processor, the method for generating a form page as described in the embodiment of the first aspect of the present disclosure is implemented.
[0009] The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:
[0010] In the present technical solution, by obtaining a spreadsheet file associated with the first business, and constructing a target business model based on multiple business fields related to the first financial service in the spreadsheet file, at least one target business component that meets the business needs is created based on the target business model, so that the target business component not only encapsulates the core logic of the business, but also has good reusability and scalability, so that the first form page for providing the first financial service is dynamically generated based on the target business component, so that only the target business components need to be combined and configured according to business needs, without the need to design each page element from scratch, reducing the time for manual design and development of form pages, greatly improving the generation efficiency and flexibility of form pages, and also realizing that the form page can be quickly adjusted when business needs change, so as to achieve rapid response of financial services and improve user experience; wherein, when creating the target business component based on the target business model, the configuration information in the component configuration file is used First, the structural information of the target business component is determined based on the information, making the component generation process more standardized and automated, reducing manual configuration errors and repetitive work; secondly, for each target business component, the most suitable model is screened from multiple business models based on its structural information, ensuring that the target business component is closely aligned with the business logic, and improving the availability and accuracy of the business component; finally, the target business component is created based on the business fields in the adapted business model, which not only ensures the functional integrity of the target business component, but also enables the target business component to quickly adapt to business changes, thereby improving development efficiency and system flexibility; in addition, in response to the update operation, the first form page is updated. When the updated first form page passes the version review, the page status of the updated first form page is determined to be valid, and the page status of the initial first form page is modified to invalid, avoiding data errors or inconsistencies caused by the use of outdated or invalid form pages.
[0011] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.
[0013] Figure 1 This is a flowchart of a method for generating a form page according to the first embodiment of the present disclosure;
[0014] Figure 2 This is a schematic diagram of the principle of the method for generating a form page shown in an embodiment of the present disclosure;
[0015] Figure 3 is a flowchart of a method for generating a form page according to the second embodiment of the present disclosure;
[0016] Figure 4 is a flowchart of a method for generating a form page according to the third embodiment of the present disclosure;
[0017] Figure 5 This is a schematic diagram of the principle of updating a form page shown in an embodiment of the present disclosure;
[0018] Figure 6 is a schematic diagram of an update form page shown in an embodiment of the present disclosure;
[0019] Figure 7 is a flowchart of a method for generating a form page according to a fourth embodiment of the present disclosure;
[0020] Figure 8 This is a flowchart of querying a form page according to an embodiment of the present disclosure;
[0021] Figure 9 1 is a schematic structural diagram of a device for generating a form page according to a fifth embodiment of the present disclosure;
[0022] Figure 10 It is a schematic structural diagram of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0024] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.
[0025] It should be noted that in the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of user personal information are all carried out with the user's consent, and are in compliance with relevant laws and regulations and do not violate public order and good morals.
[0026] In related technologies, low-code platforms have deficiencies in the management of supported page versions. For example, for businesses occurring at different time points, the rendering data cannot be adapted to the version at which the business occurred. Instead, the latest version of the rendering data is used to render the form page. In addition, low-code platforms lack the ability to integrate with business scenarios, and it may take a lot of time to adjust or write additional code to meet actual business needs.
[0027] In response to the above problems, the present disclosure proposes a method and device for generating a form page.
[0028] The following describes a method and apparatus for generating a form page according to an embodiment of the present disclosure with reference to the accompanying drawings.
[0029] Figure 1 It is a flow chart of the method for generating a form page shown in the first embodiment of the present disclosure. It should be noted that the method for generating a form page in the embodiment of the present disclosure can be applied to a low-code platform.
[0030] like Figure 1 As shown, the method for generating the form page includes the following steps:
[0031] Step 101: Acquire a spreadsheet file associated with a first business.
[0032] The electronic spreadsheet file is generated based on a business requirement associated with the first business.
[0033] In the disclosed embodiments, a first business refers to a financial business provided by a financial institution, such as a loan business or a deposit business. A business requirement associated with the first business refers to information, data, or functional requirements required to support the operation, management, or decision-making of the first business. A spreadsheet file is generated based on the business requirement associated with the first business. The spreadsheet file may include: multiple business fields and attribute information of each business field. For example, a table header may include a numerical code, a page display name, a field code, a type, a code value code, extended attributes, etc.
[0034] It should be noted that since spreadsheets provide a structured way to collect and organize information, it can ensure that all necessary data is accurately recorded, and data validation rules are set in spreadsheets to ensure that the input data conforms to a specific format or range, thereby reducing human errors. Therefore, generating a spreadsheet file based on the business needs associated with the first business can improve the consistency and accuracy of the data.
[0035] It should be noted that the spreadsheet file associated with the first business can be obtained through external import, or automatically generated based on business requirements associated with the first business, and this disclosure does not make specific limitations.
[0036] Step 102: Create at least one target business model based on a plurality of business fields in the electronic spreadsheet file that are associated with a first financial service provided by a first business.
[0037] In order to improve the flexibility and accuracy of form page generation, as a possible implementation method, the business requirements indicated by the spreadsheet file are converted into a specific data structure.
[0038] In an embodiment of the present disclosure, at least one target business model is created based on multiple business fields associated with a first financial service provided by a first business, as well as attribute information of each business field, in a spreadsheet file. It should be noted that the first financial service provided by the first business may be a financial product or function provided by the first business, and the target business model is used to indicate the data structure and format (e.g., the data type of the business data), business logic and rules (e.g., the loan application amount cannot be less than a certain minimum value), etc.
[0039] Step 103: Create at least one target business component based on at least one target business model.
[0040] In order to improve the availability and reusability of the target business component, as a possible implementation method, the business fields and business logic in the target business model are encapsulated to obtain at least one target business component.
[0041] In the embodiment of the present disclosure, the structural information of any target business component is determined according to business requirements, and based on the structural information, the business fields and business logic in the adapted target business model are encapsulated to obtain the any target business component.
[0042] Step 104: Generate a first form page for providing a first financial service based on at least one target business component.
[0043] In an embodiment of the present disclosure, based on business requirements, at least one target business component is referenced in a form page, thereby generating a first form page for providing a first financial service.
[0044] For example, if Figure 2 As shown, business requirements are based on Figure 2 It is generated by multiple business elements. Based on business needs, at least one business model is created. Based on at least one business model, at least one business component such as "basic information of loan applicant", "investor (shareholder) information", "spouse information", "principal information", and "combined loan information" is created. By referencing at least one business component, form (form page) 1 and form 2 are generated. For example, form 1 references business components such as "basic information of loan applicant", "investor (shareholder) information" and "spouse information", and form 2 references business components such as "principal information" and "combined loan information".
[0045] In addition, it should be noted that, in order to improve the flexibility of the form page, when the business requirements are updated, the first form page can also be updated based on the updated business requirements.
[0046] In summary, by obtaining a spreadsheet file associated with the first business, and constructing a target business model based on multiple business fields related to the first financial service in the spreadsheet file, and creating at least one target business component that meets the business needs based on the target business model, it is achieved that the target business component not only encapsulates the core logic of the business, but also has good reusability and scalability. Therefore, based on the target business component, the first form page for providing the first financial service is dynamically generated, and it is achieved that only the target business components need to be combined and configured according to business needs, without the need to design each page element from scratch, which reduces the time for manual design and development of form pages, greatly improves the generation efficiency and flexibility of form pages, and also achieves that the form page can be quickly adjusted when business needs change, which can achieve rapid response of financial services and improve user experience.
[0047] In order to clearly illustrate how the above embodiment creates at least one target business model based on multiple business fields associated with the first financial service provided by the first business in the electronic spreadsheet file, the present disclosure proposes another method for generating a form page.
[0048] Figure 3 It is a flowchart of a method for generating a form page shown in the second embodiment of the present disclosure.
[0049] like Figure 3 As shown, the method for generating the form page includes the following steps:
[0050] Step 301: Acquire a spreadsheet file associated with a first business.
[0051] The electronic spreadsheet file is generated based on a business requirement associated with the first business.
[0052] Step 302: extract multiple business fields associated with the first financial service and attribute information of each business field from the electronic spreadsheet file.
[0053] In an embodiment of the present disclosure, multiple business fields associated with the first financial service and attribute information of each business field are identified from a spreadsheet file. For example, taking the first financial service as a loan service as an example, the multiple business fields associated with the loan service include: customer information, income information, guarantee information, etc. The attribute information of each business field includes: data type (text, number, date, etc.), constraints (required items, character length limit, etc.), default value (if applicable), etc.
[0054] Step 303: Create at least one initial business model according to business requirements.
[0055] In order to provide a basic framework for subsequent model configuration, in the embodiment of the present disclosure, a basic framework of a business model is established based on business needs, that is, an initial business model is created.
[0056] Step 303: Configure at least one initial business model according to the multiple business fields and attribute information of each business field to obtain at least one target business model.
[0057] In order to ensure that the business model matches the actual business data and processes, and based on specific business needs, multiple business fields and attribute information of each business field are used to further configure and optimize the initial business model, so that it becomes the target business model that can meet the actual business operation needs.
[0058] Step 304: Create at least one target business component based on at least one target business model.
[0059] Step 305: Generate a first form page for providing a first financial service based on at least one target business component.
[0060] It should be noted that the execution process of step 301 and step 304 to step 305 can be implemented in any way in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
[0061] In summary, multiple business fields associated with the first financial service and attribute information of each business field are extracted from the spreadsheet file; at least one initial business model is created according to business needs; and at least one initial business model is configured according to the multiple business fields and attribute information of each business field to obtain at least one target business model. In this way, the business model accurately reflects the actual business scenario, and through refined field management and configuration, the applicability and accuracy of the model are improved, so that financial institutions can provide financial services more efficiently.
[0062] In order to clearly illustrate how to create at least one target business component based on at least one target business model in the above embodiment, the present disclosure proposes another method for generating a form page.
[0063] Figure 4 It is a flowchart of a method for generating a form page shown in the third embodiment of the present disclosure.
[0064] like Figure 4 As shown, the method for generating the form page includes the following steps:
[0065] Step 401: Acquire a spreadsheet file associated with a first business.
[0066] The electronic spreadsheet file is generated based on a business requirement associated with the first business.
[0067] Step 402: Create at least one target business model based on a plurality of business fields in the electronic spreadsheet file that are associated with a first financial service provided by a first business.
[0068] Step 403: Determine structural information of at least one target business component to be generated according to configuration information of at least one target business component to be generated in the component configuration file.
[0069] In order to generate a business component that meets the business requirements, as a possible implementation method, configuration information of a target business component is pre-configured, and the target business component is generated based on the configuration information of the target business component.
[0070] In the disclosed embodiments, configuration information about the target business component to be generated is extracted from the component configuration file. Based on this configuration information, structural information of the target business component is generated. The configuration information may include, but is not limited to, the basic structure of the component, required data fields, interaction logic, etc. For example, the configuration information may include, but is not limited to: component code, component name, numerical code, page display name, whether it is forced, whether it is required, whether it is visible, whether it is modifiable, default value, code value range, column width, etc.
[0071] Step 404 : for any target business component, according to the structural information of any target business component, determine an adapted business model adapted to the structural information from at least one target business model.
[0072] In order to improve the accuracy of business components, in the embodiment of the present disclosure, based on the structural information of the target business component (such as the required data field type, data processing logic, etc.), an adaptation business model that is adapted to the structural information is determined in the target business model; for example, if a target business component needs to process the relevant data structure of a loan application, it is adapted to the business model containing fields such as loan amount and term.
[0073] Step 405: Create any target business component according to the business fields in the adapted business model.
[0074] In order to accurately generate business components that meet actual business needs, in the embodiment of the present disclosure, a target business component is created based on the business fields in the selected adaptation business model. For example, the data fields in the business model are mapped to the input and output interfaces of the target business component, and the necessary business logic is implemented.
[0075] Step 406: Generate a first form page for providing a first financial service based on at least one target business component.
[0076] In order to make the first form page better meet actual business needs, as a possible implementation method, the first form page can also be updated. When the updated first form page passes the version review, in order to avoid data errors or inconsistencies caused by the use of outdated or invalid form pages, the page status of the updated first form page is determined to be valid, and the page status of the initial first form page is modified to invalid.
[0077] In an embodiment of the present disclosure, in response to an update operation, the first form page is updated to obtain an updated first form page; target scheduling information is generated based on the updated first form page; the target scheduling information is dispatched to a target object to perform a version review on the updated first form page through the target object; in response to the updated first form page passing the version review, the page status of the updated first form page is determined to be valid, and the page status of the first form page is modified to invalid; wherein, the version number of the updated first form page is greater than the version number of the first form page.
[0078] That is to say, if Figure 5 As shown, in response to the update operation of the user (eg, form administrator), the first form page is updated to obtain an updated first form page; for example, Figure 6 As shown, a component to be added is selected from a component library, the component to be added is dragged to the first form page, the target business component in the first form page is deleted, the business field in at least one target business component in the first form page is updated, etc.; then, based on the updated content of the first form page, corresponding scheduling information, i.e., target scheduling information, is automatically generated; then, the target scheduling information is sent to a designated object (e.g., a relevant form reviewer) so that the designated object can perform a version review on the updated first form page; when the updated first form page passes the version review, its page status is set to valid, and at the same time, the page status of the original first form page is changed to invalid; wherein, the version number carried by the updated first form page is higher than the version number of the original first form page; when the updated first form page fails to pass the version review, the target object returns the updated first form page to the user, and the user can modify the first form page again based on the modification opinions.
[0079] It should be noted that the execution process of step 401 to step 402 and step 406 can be implemented in any way in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.
[0080] In summary, the structural information of the target business component is determined through the configuration information in the component configuration file, making the generation process of the target business component more standardized and automated, reducing manual configuration errors and repetitive work; secondly, for each target business component, the most suitable model is selected from multiple business models based on its structural information, ensuring the close fit between the component and the business logic, and improving the availability and accuracy of the component; finally, the target business component is created based on the business fields in the adapted business model, which not only ensures the functional integrity of the target business component, but also enables the target business component to quickly adapt to business changes, thereby improving development efficiency and system flexibility.
[0081] As an example, on the low-code platform, you can also query the business data corresponding to financial services. The low-code platform can display the business data obtained by the query on the form page. Figure 7 The above process is described in detail in the following examples.
[0082] Figure 7 It is a flowchart of a method for generating a form page shown in the fourth embodiment of the present disclosure.
[0083] like Figure 7 As shown, the method for generating the form page includes the following steps:
[0084] Step 701 : In response to the occurrence time of the second financial service provided by the target object for handling the second business being not empty, it is determined whether there is a candidate form page in at least one form page associated with the second financial service.
[0085] The occurrence time is used to indicate the review time of the second financial service provided by the target object for the second business, and the expiration time of the candidate form page is after the occurrence time.
[0086] As an example, when the occurrence time of the second financial service provided by the target object for the second business is not empty, that is, the review time of the second financial service provided by the target object for the second business is not empty, determine whether there is an expiration time after the occurrence time in at least one form page associated with the second financial service. For example, the occurrence time is 2024.2.15, and there are 3 form pages associated with the second financial service. The expiration time of the first form page is 2024.1.18, the expiration time of the second form page is 2024.5.18, and the expiration time of the third form page is 2024.12.18. The candidate form pages are the second form page and the third form page.
[0087] As another example, in response to the occurrence time being empty, a third form page is determined from at least one form page associated with the second financial service; wherein the time difference between the creation time of the third form page and the current time is smaller than the time difference between other form pages and the current time; the business data of the target object handling the second financial service is obtained, and the configuration information of each component in the third form page is queried; according to the configuration information of each component in the third form page, the third form page is rendered and displayed, so as to display the business data through the third form page, and the business data is edited and / or reviewed online.
[0088] That is to say, the review time of the second financial service provided by the second business when the target object handles it is empty, that is, the form page is filled in but not reviewed when the target object handles the second financial service provided by the second business, and the latest version of the form page is determined from at least one form page associated with the second financial service, that is, the third form page, and then, the business data previously filled in the form page is obtained, and then, the configuration information of each component in the third form page is queried, and based on the configuration information of each component, the third form page is rendered, and the business data filled in the previous form page is displayed in the third form page, and relevant personnel can edit and review the business data in the third form page.
[0089] Step 702 : In response to the existence of candidate form pages, a second form page to be displayed is determined from the candidate form pages according to the occurrence time.
[0090] As an example, if candidate form pages exist, based on the occurrence time, the form page with the expiration time closest to the occurrence time is determined from the candidate form pages as the second form page to be displayed. In other words, the form page used by the target user when applying for the second financial service provided by the second business is determined from the candidate form pages.
[0091] Step 703: query the configuration information of each component in the second form page.
[0092] In order to accurately display the business data in the second form page, after the second form page is determined, as a possible implementation method, configuration information is queried based on the number of components in the second form page.
[0093] As an example, in response to the number of components in the second form page being one, the first query interface adapted to the second form page is called; the configuration information of the second form page returned by the first query interface is received, and the configuration information of the second form page is used as the configuration information of the business component in the second form page.
[0094] That is to say, when the number of business components in the second form page is one, the first query interface adapted to the second form page is automatically called, and the configuration information of the second form page to be returned by the first query interface is received, and then, the configuration information of the second form page is used as the configuration information of the only business component in the second form page.
[0095] As another example, in response to the number of business components in the second form page being multiple, a second query interface adapted to each component in the second form page is called; and configuration information of each component returned by the second query interface is received.
[0096] That is, when there are multiple business components in the second form page, the second query interface adapted by each business component is called respectively, and the configuration information returned by each second query interface is received.
[0097] Step 704 : Render and display the second form page according to the configuration information of each component in the second form page, so as to display the business data of the second financial service handled with the target object through the second form page.
[0098] Furthermore, after obtaining the configuration information of each business component in the second form page, the second form page is rendered according to the configuration information of each business component. The second form page displays business data related to the target object (such as a customer) handling the second financial service (such as a loan, account opening, etc.). The user can conveniently view various information related to the second financial service through the second form page.
[0099] For example, if Figure 8 As shown, for existing business data, the specific steps for querying the form page used when the business occurred are as follows:
[0100] 1. Determine whether the business occurrence time (business review time) is empty: that is, whether the review time of the second amount service provided by the target object for the second business is empty;
[0101] 2. When the occurrence time is empty, query and obtain the latest form page (the third form page) with the status as effective;
[0102] 3. Whether the component code in the latest form page is empty (whether there are multiple business components in the form page);
[0103] 4. When the component code in the latest form page is empty, return the form configuration information (when there is only one business component in the form page, the form configuration information is the business component configuration information); when the component code in the latest form page is not empty, query the configuration information of each business component in the form page and return it;
[0104] 5. When the occurrence time is empty, query the status as invalid and determine whether there is a form page with an expiration time greater than or equal to the business occurrence time. If so, obtain the form page with an expiration time closest to the business occurrence time; if not, query and obtain the latest form page with a valid status.
[0105] In summary, by automatically determining the second form page to be displayed from the candidate form pages based on the occurrence time, it is ensured that the user sees the business data that best matches the occurrence time, which reduces the need for manual intervention, lowers the error rate, improves work efficiency, and provides financial institutions with more efficient and accurate services.
[0106] Corresponding to the method for generating a form page provided in the above embodiment, the present disclosure also provides a device for generating a form page. Since the device for generating a form page provided in the embodiment of the present disclosure corresponds to the method for generating a form page provided in the above embodiment, the implementation of the method for generating a form page is also applicable to the device for generating a form page provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.
[0107] Figure 9 It is a structural diagram of a form page generating device shown in the fifth embodiment of the present disclosure.
[0108] like Figure 9 As shown, the form page generating device 900 includes: an acquisition module 910 , a first creation module 920 , a second creation module 930 and a generation module 940 .
[0109] Among them, the acquisition module 910 is used to obtain a spreadsheet file associated with the first business; wherein the spreadsheet file is generated based on the business needs associated with the first business; the first creation module 920 is used to create at least one target business model based on multiple business fields in the spreadsheet file associated with the first financial service provided by the first business; the second creation module 930 is used to create at least one target business component based on at least one target business model; the generation module 940 is used to generate a first form page for providing the first financial service based on at least one target business component.
[0110] As a possible implementation method of an embodiment of the present disclosure, the first creation module 920 is used to extract multiple business fields associated with the first financial service and attribute information of each business field from a spreadsheet file; create at least one initial business model according to business needs; and configure the at least one initial business model according to the multiple business fields and attribute information of each business field to obtain at least one target business model.
[0111] As a possible implementation method of an embodiment of the present disclosure, the second creation module 930 is used to determine the structural information of at least one target business component to be generated based on the configuration information of at least one target business component to be generated in the component configuration file; for any target business component, based on the structural information of any target business component, determine the adaptation business model that is adapted to the structural information from at least one target business model; and create any target business component based on the business fields in the adaptation business model.
[0112] As a possible implementation of the embodiment of the present disclosure, the form page generating device 900 further includes: a display module.
[0113] Among them, the display module is used to determine whether there is a candidate form page in at least one form page associated with the second financial service in response to the occurrence time of the second financial service provided by the target object for handling the second business being not empty; wherein the occurrence time is used to indicate the review time, and the expiration time of the candidate form page is after the occurrence time; in response to the existence of the candidate form page, determine the second form page to be displayed from the candidate form page according to the occurrence time; query the configuration information of each component in the second form page; render and display the second form page according to the configuration information of each component in the second form page, so as to display the business data of handling the second financial service with the target object through the second form page.
[0114] As a possible implementation method of an embodiment of the present disclosure, the query module is used to call a first query interface adapted to the second form page in response to the number of business components in the second form page being one; receive configuration information of the second form page returned by the first query interface, and use the configuration information of the second form page as the configuration information of the components in the second form page.
[0115] As a possible implementation method of the embodiment of the present disclosure, the query module is used to call the second query interface adapted to each component in the second form page in response to the number of business components in the second form page being multiple; and receive configuration information returned by each second query interface.
[0116] As a possible implementation method of an embodiment of the present disclosure, the display module is further used to determine a third form page from at least one form page associated with the second financial service in response to the occurrence time being empty; wherein the time difference between the creation time of the third form page and the current time is smaller than the time difference between other form pages and the current time; obtain the business data of the target object handling the second financial service, and query the configuration information of each component in the third form page; render and display the third form page according to the configuration information of each component in the third form page, so as to display the business data through the third form page, and perform online editing and / or review of the business data.
[0117] As a possible implementation of the embodiment of the present disclosure, the form page generating device 800 includes: an updating module.
[0118] Among them, the update module is used to update the first form page in response to the update operation to obtain an updated first form page; generate target scheduling information based on the updated first form page; schedule the target scheduling information to a specified object to perform a version review on the updated first form page through the specified object; in response to the updated first form page passing the version review, determine that the page status of the updated first form page is valid, and modify the page status of the first form page to invalid; wherein, the version number of the updated first form page is greater than the version number of the first form page.
[0119] As a possible implementation method of an embodiment of the present disclosure, the update module is used to perform at least one of the following: in response to a first update operation, select a component to be added from the component library, and drag the component to be added to the first form page; in response to a second update operation, delete the target business component in the first form page; in response to a third update operation, update the business field in at least one target business component in the first form page.
[0120] The form page generation device of the embodiment of the present disclosure obtains a spreadsheet file associated with the first business, and builds a target business model based on multiple business fields related to the first financial service in the spreadsheet file, and creates at least one target business component that meets the business needs based on the target business model, so that the target business component not only encapsulates the core logic of the business, but also has good reusability and scalability. Therefore, based on the target business component, a first form page for providing the first financial service is dynamically generated, and it is only necessary to combine and configure the target business components according to business needs without having to design each page element from scratch, which reduces the time for manual design and development of form pages, greatly improves the generation efficiency and flexibility of form pages, and also realizes that the form page can be quickly adjusted when business needs change, which can achieve rapid response of financial services and improve user experience.
[0121] In an exemplary embodiment, an electronic device is also provided.
[0122] Among them, electronic equipment includes:
[0123] processor;
[0124] a memory for storing processor-executable instructions;
[0125] The processor is configured to execute instructions to implement the method for generating a form page as proposed in any of the aforementioned embodiments.
[0126] As an example, Figure 10 FIG. 1 is a structural diagram of an electronic device 1000 shown in an exemplary embodiment of the present disclosure. Figure 10As shown, the electronic device 1000 may further include:
[0127] The memory 1010 and the processor 1020, a bus 1030 connecting different components (including the memory 1010 and the processor 1020), the memory 1010 stores a computer program, and when the processor 1020 executes the program, the method for generating a form page described in the embodiment of the present disclosure is implemented.
[0128] Bus 1030 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0129] The electronic device 1000 typically includes a variety of electronic device-readable media, which can be any available media that can be accessed by the electronic device 1000, including volatile and non-volatile media, removable and non-removable media.
[0130] The memory 1010 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1040 and / or cache memory 1050. The server 1000 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 1060 may be used to read and write non-removable, non-volatile magnetic media ( Figure 10 Not shown, often called a "hard drive"). Although Figure 10 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 1030 via one or more data medium interfaces. Memory 1010 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present disclosure.
[0131] A program / utility 1080 having a set (at least one) of program modules 1070 may be stored, for example, in memory 1010. Such program modules 1070 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 1070 generally implement the functions and / or methods of the embodiments described herein.
[0132] The electronic device 1000 can also communicate with one or more external devices 1090 (e.g., a keyboard, pointing device, display 1091, etc.), one or more devices that enable a user to interact with the electronic device 1000, and / or any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication can occur via an input / output (I / O) interface 1092. Furthermore, the electronic device 1000 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 1093. As shown, the network adapter 1093 communicates with other modules of the electronic device 1000 via the bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 1000, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0133] The processor 1020 executes various functional applications and data processing by running programs stored in the memory 1010 .
[0134] It should be noted that the implementation process and technical principles of the electronic device of this embodiment can be found in the aforementioned explanation of the method for generating the form page of the embodiment of the present disclosure, and will not be repeated here.
[0135] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions. The instructions can be executed by a processor of an electronic device to perform the method for generating a form page according to any of the above embodiments. Alternatively, the computer-readable storage medium can be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device.
[0136] In an exemplary embodiment, a computer program product is further provided, including a computer program / instruction, wherein the computer program / instruction, when executed by a processor, implements the method for generating a form page proposed in any of the above embodiments.
[0137] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0138] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for generating a form page, characterized in that: include: Acquire an electronic spreadsheet file associated with a first business; wherein the electronic spreadsheet file is generated based on a business requirement associated with the first business; creating at least one target business model based on a plurality of business fields in the electronic spreadsheet file that are associated with the first financial service provided by the first business; creating at least one target business component based on the at least one target business model; Based on the at least one target business component, a first form page for providing the first financial service is generated.
2. The method according to claim 1, characterized in that The creating at least one target business model based on a plurality of business fields in the electronic spreadsheet file associated with the first financial service provided by the first business includes: extracting, from the electronic spreadsheet file, a plurality of business fields associated with the first financial service and attribute information of each of the business fields; Creating at least one initial business model based on the business requirements; The at least one initial business model is configured according to the multiple business fields and attribute information of each of the business fields to obtain at least one target business model.
3. The method according to claim 1, characterized in that The creating at least one target business component based on the at least one target business model includes: Determining structural information of at least one target business component to be generated according to configuration information of the at least one target business component to be generated in the component configuration file; For any of the target business components, determining, according to the structural information of the any of the target business components, an adapted business model adapted to the structural information from the at least one target business model; According to the business fields in the adapted business model, any target business component is created.
4. The method according to claim 1, wherein The method further comprises: In response to the occurrence time of the second financial service provided by the target object for handling the second business being not empty, determining whether there is a candidate form page in at least one form page associated with the second financial service; wherein the occurrence time is used to indicate a review time, and the expiration time of the candidate form page is after the occurrence time; In response to the existence of the candidate form page, determining a second form page to be displayed from the candidate form pages according to the occurrence time; Query the configuration information of each component in the second form page; The second form page is rendered and displayed according to the configuration information of each component in the second form page, so as to display the business data of the second financial service handled with the target object through the second form page.
5. The method according to claim 4, characterized in that The querying of the configuration information of each component in the second form page includes: In response to the number of business components in the second form page being one, calling a first query interface adapted to the second form page; Receive the configuration information of the second form page returned by the first query interface, and use the configuration information of the second form page as the configuration information of the component in the second form page.
6. The method according to claim 4, characterized in that The querying of the configuration information of each component in the second form page includes: In response to the number of business components in the second form page being multiple, calling a second query interface adapted to each component in the second form page; Receive the configuration information returned by each of the second query interfaces.
7. The method according to claim 4, characterized in that The method further comprises: In response to the occurrence time being empty, determining a third form page from at least one form page associated with the second financial service; wherein the time difference between the creation time of the third form page and the current time is smaller than the time difference between other form pages and the current time; Obtaining business data of the target object handling the second financial service, and querying configuration information of each component in the third form page; The third form page is rendered and displayed according to the configuration information of each component in the third form page, so as to display the business data through the third form page and perform online editing and / or review on the business data.
8. The method according to claim 1, characterized in that The method further comprises: In response to the update operation, updating the first form page to obtain an updated first form page; generating target scheduling information according to the updated first form page; dispatching the target dispatching information to a designated object, so as to perform a version review on the updated first form page through the designated object; In response to the updated first form page passing the version review, the page status of the updated first form page is determined to be valid, and the page status of the first form page is modified to invalid; wherein, the version number of the updated first form page is greater than the version number of the first form page.
9. The method according to claim 8, characterized in that The updating of the first form page in response to the update operation includes at least one of the following: In response to the first update operation, selecting a component to be added from the component library, and dragging the component to be added to the first form page; In response to the second update operation, deleting the target business component in the first form page; In response to the third update operation, the business field in at least one target business component in the first form page is updated.
10. A device for generating a form page, characterized in that: include: An acquisition module, configured to acquire an electronic spreadsheet file associated with a first business; wherein the electronic spreadsheet file is generated based on a business requirement associated with the first business; a first creation module, configured to create at least one target business model based on a plurality of business fields in the electronic spreadsheet file associated with the first financial service provided by the first business; A second creation module, configured to create at least one target business component based on the at least one target business model; A generating module is configured to generate a first form page for providing the first financial service based on the at least one target business component.
Citation Information
Patent Citations
Method and platform for quickly and dynamically generating form based on EXCEL
CN103778107A
Form page generation method and device, equipment and storage medium
CN116737151A
Resource creation method and device, computer equipment, storage medium and program product
CN118642817A