Extension field processing method and device, equipment and medium

By setting the extension field template in the system and the configuration of the business module, dynamically rendering the extended fields, it solves the high cost and inefficiency problems caused by frequent changes in the system page and customer personalized needs, and achieves efficient and flexible multi-page expansion plan.

CN119045862APending Publication Date: 2024-11-29CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099730.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When system pages are frequently changed and customer personalized needs, the modification and expansion process is time-consuming, costly, and has an impact on other modules, increasing the complexity of system testing and maintenance.

Method used

By setting the basic template information, the extended field template to be created is associated with the target business module, and the extended field is configured through the template element configuration information, the target extended field template is generated, and the target business page is associated, and the dynamic rendering and management of the extended field is realized, and the creation is simplified. and maintenance process.

Benefits of technology

It realizes the consistency and flexibility of multiple pages, reduces manual configuration errors and maintenance costs, improves system response speed and user interaction experience, and meets the needs of customized promotion and implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045862A_ABST
    Figure CN119045862A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to an extended field processing method and device, equipment and a medium, and is used for solving the problem that a system page possibly needs to be frequently changed. The method comprises the following steps: associating a to-be-created extension field template with a target business module by setting template basic information, the target business module being a function module applying the extension field template; by setting template element configuration information, each extension field in the extension field module is configured, and each template element corresponds to one extension field; generating a target extension field template according to the template basic information and the template element configuration information; associating the target extension field template with a plurality of target business pages corresponding to the target business module; and for each target business page, when page rendering is performed, according to the target extension field template, rendering each extension field pre-configured in the target extension field template in an extension field region in the target business page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment and medium for processing an extended field. Background Art

[0002] In recent years, the requirements of software projects have been iterating faster and faster, and the differences between customized system implementations and standardized products are becoming increasingly larger. System pages may need to be changed frequently. In some cases, the original standard system pages may not be able to meet the personalized needs of customers, and multiple pages need to be modified and expanded to add, modify, and query new pages.

[0003] For example, after the system goes online, due to business changes or customer localization requirements, some business fields may need to be added to meet special needs. These newly added fields are usually only used to save information and do not participate in standard business logic calculations. When adding page fields, related technologies often use the method of directly modifying the source code. This method requires the process of designing, modifying the UI (user interface) prototype, developing and modifying the code, testing, and putting it into production. This process is time-consuming, has high labor costs, and slow response to demand. For example, adding fields to the system page requires demand personnel to analyze, developers to modify the source code, testers to test, and finally the operation and maintenance personnel to implement it online. This will bring a lot of additional workload and time costs, and may affect other modules, increasing the complexity of system testing and maintenance.

[0004] In summary, in order to solve the problems of frequent changes in system pages and personalized needs of customers, it is urgent to propose an efficient, flexible and low-cost multi-page change solution. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment and medium for processing an extended field, which are used to solve the problems of high cost and low efficiency caused by frequent changes in system pages and customer personalized needs in related technologies.

[0006] In a first aspect, the present application provides a method for processing an extension field, comprising:

[0007] By setting the basic information of the template, the extended field template to be created is associated with the target business module, where the target business module is the functional module to which the extended field template is applied; and by setting the template element configuration information, each extended field in the extended field module is configured, where each template element corresponds to an extended field;

[0008] Generate the created target extension field template related to the target business module according to the template basic information and template element configuration information;

[0009] Associating the target extension field template with multiple target business pages corresponding to the target business module;

[0010] For each target business page, when rendering the page, various extended fields preconfigured in the target extended field template are rendered in the extended field area in the target business page according to the target extended field template.

[0011] In a second aspect, the present application provides a device for processing an extension field, the device comprising:

[0012] A template configuration unit, configured to associate the extension field template to be created with a target business module by setting basic template information, wherein the target business module is a functional module to which the extension field template is applied; and to configure each extension field in the extension field module by setting template element configuration information, wherein each template element corresponds to one extension field;

[0013] A template creation unit, configured to generate a target extension field template that has been created and is related to the target business module according to the template basic information and the template element configuration information;

[0014] A page association unit, used to associate the target extension field template with a plurality of target business pages corresponding to the target business module;

[0015] The rendering unit is used to render, for each target business page, the respective extended fields preconfigured in the target extended field template in the extended field area in the target business page according to the target extended field template when rendering the page.

[0016] In a possible embodiment, if a parent template exists, the template configuration unit is used to:

[0017] When setting the template element configuration information, in response to synchronizing the parent template element, copying the template element in the parent template to the extension field template to be created, so as to synchronously configure each extension field in the extension field module;

[0018] The parent template is a pre-created parent extended field template containing at least one common template element.

[0019] In a possible embodiment, if the template group information is set in the template basic information, the rendering unit is used to:

[0020] When rendering a page, in accordance with the target extended field template and other extended field templates in the template group, in an extended field area in the target business page, various extended fields preconfigured in the corresponding extended field template are rendered.

[0021] In a possible embodiment, the device further includes:

[0022] A storage unit is used for storing, for each target business page, the extended field business data filled in the extended field area into the extended field data table in response to filling in the form data after page rendering;

[0023] After the extended field data table is associated with the corresponding business main table, it is stored in the horizontal table corresponding to the target business module.

[0024] In a possible embodiment, the device further includes:

[0025] A query unit, configured to analyze, in response to a query request, whether the query request includes an extended field;

[0026] If the extended field is included, a left join is used to perform a table query on the business main table and the extended field data table;

[0027] If the extended field is not included, the business main table is directly queried.

[0028] In a possible embodiment, the query unit is further configured to:

[0029] Use the left join method to query the business master table to obtain the master data;

[0030] The primary key identifier and the business document identifier of the master data are used as query conditions to query the extended field data from the corresponding extended field data table; wherein the extended field data table is associated with the business master table through the primary key identifier and the business document identifier; the primary key identifier represents the unique identifier of the extended field template in the page, and the business document identifier represents the unique identifier of a business.

[0031] In a possible embodiment, the device further includes:

[0032] A template modification unit, configured to respond to a modification operation on the target extended field template and adjust the target extended field template accordingly according to the modification operation; wherein the modification operation includes at least one of the following:

[0033] Modifying the template basic information in the target extended field template;

[0034] Modifying the template element information in the target extension field template;

[0035] The association relationship between the target extension field template and the page is modified.

[0036] In a third aspect, the present application provides an electronic device, including:

[0037] A memory for storing program instructions;

[0038] The processor is used to call the program instructions stored in the memory, and execute the steps included in the extended field processing method described in any one of the first aspects according to the obtained program instructions.

[0039] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method for processing an extended field described in any one of the first aspects.

[0040] In a fifth aspect, the present application provides a computer program product, comprising: a computer program code, when the computer program code is executed on a computer, the computer executes the method for processing an extended field described in any one of the first aspects.

[0041] The beneficial effects of this application are as follows:

[0042] The embodiments of the present application provide a method, device, equipment and medium for processing extended fields. First, by setting the basic information of the template, the extended field template to be created is associated with the target business module, and by setting the template element configuration information, each extended field in the extended field module is configured. By setting the basic information of the template and the template element configuration information, it is ensured that each extended field has a clear definition and configuration, thereby improving the management efficiency and consistency of the extended field. Moreover, after associating the target business module, the extended field can be accurately applied to the corresponding functional module, and associated with multiple pages under the business module, which can ensure that all configured extended fields can be uniformly managed and used, simplifying the creation and maintenance process of the extended field, avoiding repeated configuration and data redundancy, and achieving consistency and flexibility of multiple pages. Finally, for each target business page, the extended field is dynamically displayed in the extended field area when the page is rendered, and the page content can be flexibly adjusted according to business needs, which improves the system's response speed and user interaction experience.

[0043] In summary, the pre-configured extension field template ensures the consistency and accuracy of the extension fields displayed on the page with business requirements, reducing manual configuration errors and maintenance costs. The extension field processing method solves the problems of poor dynamic scalability of multiple pages, complex modification and implementation process, and low efficiency of demand response in related technologies, and realizes an efficient, flexible and low-cost multi-page extension solution to meet the needs of customized promotion and implementation.

[0044] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of an application scenario of a method for processing an extended field provided in an embodiment of the present application;

[0046] Figure 2 A flowchart of an implementation method for processing an extended field provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of an extended field template configuration interface provided in an embodiment of the present application;

[0048] Figure 4 A flowchart for implementing parent template configuration of an extension field provided in an embodiment of the present application;

[0049] Figure 5 A mapping relationship diagram between an extended field element and an extended field business table definition provided for this application example;

[0050] Figure 6 A schematic diagram of an extended field business table definition provided for this application example;

[0051] Figure 7 A template group extension field rendering flow chart provided in an embodiment of the present application;

[0052] Fig. 8A An extended field area of ​​a query page provided in an embodiment of the present application;

[0053] Figure 8B A newly added page extension field area provided in an embodiment of the present application;

[0054] Fig. 9 A flowchart for associating extended field data with a business main table provided in an embodiment of the present application;

[0055] Fig. 10A A business master table provided in an embodiment of the present application;

[0056] Fig. 10B An extended field data table provided in an embodiment of the present application;

[0057] Fig. 10C An embodiment of the present application provides a horizontal table after associating a business main table and an extended field data table;

[0058] Fig.11 A flow chart of a horizontal table query operation provided in an embodiment of the present application;

[0059] Fig.12 A horizontal table left join query result graph provided in an embodiment of the present application;

[0060] Fig.13 A schematic diagram of modifying an extended field template provided in an embodiment of the present application;

[0061] Fig.14 A flow chart of extended field template management provided in an embodiment of the present application;

[0062] Fig.15 A schematic diagram of the structure of an extended field processing device in an embodiment of the present application;

[0063] Fig.16 A schematic diagram of the composition structure of a computer electronic device for a method for processing an extended field provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

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

[0066] The following is an introduction to some concepts involved in the embodiments of the present application:

[0067] Extension fields: attribute fields in the system that do not participate in business processing or logical calculations. Specifically, they refer to data fields that are added after the system goes online to adapt to business changes or meet specific customer needs. These fields are mainly used to store additional information and usually do not directly affect the original business logic. They are intended to enhance the flexibility and customization capabilities of the system.

[0068] Dynamic form: A dynamic form is a form that can dynamically generate and display input fields based on business needs. Unlike static forms, the fields and layout of a dynamic form can be adjusted in real time based on user selection and background configuration to adapt to different business scenarios and needs. The implementation of dynamic forms usually relies on front-end technologies such as Vue.js, using template slot technology and two-way data binding technology to achieve dynamic field display and data interaction.

[0069] Parent template: A parent template is a pre-created extended field template that contains at least one common template element. A parent template is used to define a set of common field configurations that can be reused in multiple child templates. By synchronizing parent template elements, child templates can quickly inherit and apply these common fields, thereby reducing the workload of repeated configuration and improving configuration efficiency.

[0070] Sub-template: A sub-template is an extended field template created based on a parent template. In addition to containing common fields inherited from the parent template, it can also define field configurations specific to a business scenario. When configuring a sub-template, you can synchronize the common elements in the parent template and make personalized adjustments and extensions based on specific needs.

[0071] Target business module: Target business module refers to the functional module that applies the extended field template, that is, the specific module that uses these extended fields to perform business operations. For example, in a customer management system, the customer information management module and the order management module can both be target business modules, and they will use the corresponding extended field template to process specific business data.

[0072] Business master table: The business master table is a database table used to store core business data. It records the core data of each business module in the system, such as customer information, order information, etc. The data in the business master table is the basis for the operation of the system. By associating with the extended field data table, effective management of extended data can be achieved.

[0073] Extension field data table: Extension field data table is a database table specially used to store extension field data. Each business module corresponds to an extension field data table, which is used to store all extension field data under the module. The extension field data table is associated with the business main table through the template ID and business document number (BUSINESS_ID), thereby realizing data integration and management.

[0074] Horizontal table: A horizontal table is a table format that combines the data of the business main table and the extended field data table. Each row of data in the horizontal table contains the data of the business main table and the corresponding extended field data. In this way, data query and management can be conveniently performed to improve query efficiency. The generation of a horizontal table is usually achieved through a left join operation, which combines the data in the business main table and the extended field data table according to the associated fields.

[0075] Two-way data binding: A front-end technology that dynamically coordinates the rendering of the data layer (Model) and the view layer (View), so that the view is updated when the data changes, and the data is updated when the view changes.

[0076] Left join: is a database join operation that returns all records in the left table and the matching records in the right table.

[0077] Extended field business table: Extended field business table stores fixed field information related to the business. This information is usually structured and fixed fields, which do not change frequently and can be automatically generated after the user creates a template.

[0078] Extension field data table: The extension field data table stores dynamically generated extension field data. This data is dynamically generated and stored according to business requirements and template configuration, and is generally generated after the user submits form data.

[0079] The fixed field information in the extended field service table may be fixed information such as the data type and annotation of the extended field. The actual value of the extended field is stored in the extended field data table. In the embodiment of the present application, the extended field service table and the extended field data table may be the same table, or may be different tables, which is not specifically limited herein.

[0080] The following is a brief introduction to the design concept of the embodiment of the present application:

[0081] As the requirements of software projects are iterating faster and faster, the difference between customized system implementation and standardized products is also increasing, and system pages may need to be changed frequently. In some cases, the original standard system page may not meet the personalized needs of customers, and it is necessary to modify and expand multiple pages for adding, modifying, and querying. The existing dynamic form technology can only support the expansion of dynamic fields on a single page and cannot meet the expansion requirements of multiple pages. In addition, the modification and implementation process of traditional system pages is time-consuming and labor-intensive. For example, adding fields to the system page requires demand personnel to analyze, developers to modify the source code, testers to test, and operation and maintenance personnel to implement it online, which will bring a lot of additional workload and time costs. This optimization may also have an impact on other modules, increasing the complexity of system testing and maintenance.

[0082] In view of this, the embodiments of the present application provide a method, device, equipment and medium for processing extended fields. In the present application, first. By setting the basic information of the template, the extended field template to be created is bound to the target business module. On this basis, the extended field template is created by setting the template element configuration information, and the extended field template is associated with multiple pages corresponding to the target business module, so that the consistency and flexibility of multiple pages can be achieved; then, for each page associated with the extended field template, the corresponding extended fields can be rendered in the extended field area of ​​the page based on this template during rendering, so as to realize automatic rendering and configuration of the extended fields, reduce the workload of manual coding and testing, and improve development efficiency. The efficient, flexible and low-cost multi-page change scheme provided by the embodiments of the present application can realize the rapid adjustment of multi-page fields, reduce the dependence on developers and testers, and reduce various risks in the optimization process, better meet the needs of customized promotion and implementation, and significantly improve the development efficiency and maintenance convenience of the system.

[0083] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0084] In the technical solution of this application, the acquisition, transmission, storage, and use of data are in compliance with the requirements of relevant national laws and regulations.

[0085] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0086] See also Figure 1 , which is a schematic diagram of an application scenario of a method for processing an extended field provided in an embodiment of the present application. The application scenario diagram includes a terminal device 110 and a server 120.

[0087] In the embodiment of the present application, the terminal device 110 includes but is not limited to mobile phones, tablet computers, laptop computers, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals and other devices; the terminal device may be installed with a client related to multi-page extended field processing, which may be software (such as an enterprise management system, a customer relationship management system, other business-related software, etc.), or a web page, a small program, etc. The server 120 is a background server corresponding to the software or web page, small program, etc., or a server specifically used for extended field processing and storage, which is not specifically limited in this application. The server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0088] It should be noted that the extended field processing method in each embodiment of the present application can be executed by an electronic device, which may be a terminal device 110 or a server 120, that is, the method can be executed by the terminal device 110 or the server 120 alone, or can be executed jointly by the terminal device 110 and the server 120.

[0089] For example, when the terminal device 110 and the server 120 jointly execute, the user can set the template related information on the template management client installed on the terminal device 110, create an extended field template, and store the template related information through the server 120. Furthermore, through the template management client, the user can associate the extended field template with the target business module, and store the association relationship between the template and the target business module through the server 120. Subsequently, the user can browse the business page and perform the extended field page display operation on the business operation client of the terminal device 110 (generally different from the template management client, but can also be the same). At this time, the business operation client needs to send a request to the server 120, and the server 120 sends the stored extended field template related information to the terminal device 110, and the terminal device 110 renders these extended fields according to the relevant information and presents them to the user for viewing. Of course, after the user fills in the extended field data on the terminal device 110 and submits it, the server 120 will also store this data and perform further processing. Among them, the specific processing process on the server 120 side is as follows:

[0090] First, after receiving the request sent by the terminal device 110, the server 120 parses the request content and determines the target service module (such as Figure 1Then, the server 120 searches for an extended field template corresponding to the service module. The extended field template includes multiple template elements (such as Figure 1 , template element 1, template element 2, ..., template element n), each template element represents a specific extension field. The server 120 generates a corresponding extension field interface according to the template elements. Then, the server 120 associates the generated extension field interface with the business module. The association operation includes associating the extension field interface with each page in the target business module so that these extension fields can be displayed in multiple pages. Finally, when receiving a rendering request for the target business interface, the server 120 packages the previously stored extension field template related information and sends it back to the terminal device 110 via the network. After receiving this information, the terminal device 110 parses it and renders it on the extension field area in the target business interface, and finally displays it to the user on the terminal device 110, so that the user can view and operate the dynamic extension field.

[0091] In an optional implementation, the terminal device 110 and the server 120 may communicate with each other via a communication network.

[0092] In an optional implementation, the communication network is a wired network or a wireless network.

[0093] It should be noted that Figure 1 The figure is only an example. In fact, the number of terminal devices and servers is not limited and is not specifically limited in the embodiments of the present application.

[0094] In addition, the embodiments of the present application can be applied to various scenarios, including but not limited to customer management systems, financial management systems, inventory management systems, sales management systems, human resource management systems, and the like, and specifically involve processing requirements related to extended fields in these scenarios, including but not limited to some or all of the following:

[0095] Extended field processing scenario 1: Customer management system. In the customer management system, extended fields can be used to record detailed customer information, such as hobbies, customer ratings, follow-up records, etc. This information can be dynamically displayed on the customer details page and updated and maintained according to business needs.

[0096] Extended field processing scenario 2: Financial management system. In the financial management system, extended fields can be used to record different types of financial data, such as special expense items, reimbursement details, financial notes, etc. These fields can be dynamically displayed in reimbursement forms and expense reports, and support flexible adjustment of financial data.

[0097] Extended field processing scenario three: Inventory management system. In an inventory management system, extended fields can be used to record additional information about products, such as supplier information, shelf life, storage location, etc. These extended fields can be dynamically displayed on the product details page for easy management and query.

[0098] Extended field processing scenario 4: Sales management system. In the sales management system, extended fields can be used to record detailed information of sales orders, such as customer requirements, order notes, delivery requirements, etc. This information can be dynamically displayed on the order details page, and supports dynamic adjustment and tracking of orders.

[0099] Extended field processing scenario 5: Human resource management system. In the human resource management system, extended fields can be used to record detailed information about employees, such as skills, training records, performance evaluations, etc. This information can be dynamically displayed on the employee profile page and support comprehensive human resource management.

[0100] Extended field processing scenario 6: Project management system. In a project management system, extended fields can be used to record detailed information about a project, such as project phases, risk assessments, milestones, etc. These extended fields can be dynamically displayed on the project details page to support refined management and tracking of projects.

[0101] It should be noted that the several extended field processing scenarios listed above are just simple examples. In addition, other extended field processing scenarios are also applicable to the embodiments of the present application and will not be described one by one here.

[0102] The following describes the extended field processing method provided by the exemplary embodiment of the present application in combination with the application scenario described above and with reference to the accompanying drawings. It should be noted that the above application scenario is only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this respect.

[0103] It should be noted that the execution subject of the method for processing the extended field in the embodiment of the present application is an electronic device, for example, it may include the above-mentioned terminal device, server, etc. The method for processing the extended field in the embodiment of the present application can be executed by the processing device for the extended field in the embodiment of the present application, and the processing device for the extended field in the embodiment of the present application can be configured in any electronic device to execute the method for processing the extended field in the embodiment of the present disclosure.

[0104] See also Figure 2 As shown, it is an implementation flow chart of a method for processing an extended field provided in an embodiment of the present application. Taking the server as the execution subject as an example, the specific implementation process of the method is as follows S21-S24:

[0105] S21: By setting the basic information of the template, the extended field template to be created is associated with the target business module, and the target business module is the functional module to which the extended field template is applied; and by setting the template element configuration information, each extended field in the extended field module is configured, and each template element corresponds to an extended field.

[0106] In the embodiment of the present application, the extended field template refers to a template used to define and configure an extended field, including template basic information and template element configuration information.

[0107] The basic template information refers to the information used to describe and manage the basic properties of the extended field template, including at least the template number, template name, module used, and template purpose information, through which the unique identification and purpose classification of the extended field template can be realized. In addition, the basic template information also includes but is not limited to at least one of the following: template inheritance relationship information (such as whether it is a parent template), template group information, etc.

[0108] Among them, template element configuration information refers to the information used to define the attributes and rules of each field in the extended field template, including but not limited to field type, field name, field order, whether it is required, verification rules, maximum value and minimum value. Among them, each template element represents a specific extended field, which is dynamically generated and configured according to business needs. The extended field can be a detailed field of customer information. For example, when adding new customer information, you may need to fill in the customer's name, contact information, address, etc.; for example, under the business needs of the product management system, the extended field can be a detailed field of product information. For example, when adding new product information, you may need to fill in the product name, product number, price, inventory quantity, etc.

[0109] See also Figure 3 , is a schematic diagram of an extended field template configuration interface provided in an embodiment of the present application.

[0110] In the embodiment of the present application, the configuration information of the extended field template includes setting template basic information and template element configuration information.

[0111] In the embodiment of the present application, the template basic information is configured with the template number, template name, usage module, template purpose, whether it is a parent template and template group. Figure 3 The above information is set in the basic information area in the extended field template configuration interface shown. If you fill in or select the usage module by drop-down, you can associate the extended field template to be created this time with the usage module filled in or selected by drop-down (that is, the target business module in this article).

[0112] Specifically, template number refers to the unique number assigned to each template; template name refers to the name of the template; using module refers to selecting the business module to which the template is applicable, that is, the functional module that uses the template. This step associates the created extended field template with the target business module; template purpose refers to defining the purpose of the template, indicating under what circumstances the template will be used. The purpose may include operations such as adding, modifying, and querying; whether it is a parent template refers to determining whether the template is a parent template (that is, a parent template). If it is a parent template, the system allows other templates to inherit and reuse its elements. The parent template usually contains some common fields for other templates to reference; template group refers to selecting the template group to which the template belongs. Template group is a way to classify and manage templates, which facilitates the system to group and query templates.

[0113] In the embodiment of the present application, setting the template element configuration information includes configuring the element type, configuring the component title, setting whether the element is required, setting the element order, setting the element display name, setting the element name value, setting the element maximum and minimum values, and may also provide element formatting and link addresses. Users can Figure 3 The above information is set in the template element configuration information area in the extended field template configuration interface shown.

[0114] Specifically, element type refers to the type of extended field to be created, including but not limited to text box, text field, drop-down box, radio button, amount input box, number input box, date box, file upload box, time box, custom magnifying glass, check box, remote drop-down box, etc.; component title refers to setting a display title for the element, which is usually used as an auxiliary name and is generally consistent with the element display name. It is not a mandatory configuration and can be omitted; whether the element is required refers to whether the extended field is required when used, that is, whether the user must fill in the field to submit the form; element order refers to configuring the order in which the extended field is displayed on the page to ensure that the fields on the page are arranged in the expected order; The element display name refers to the display name of the extended field configured on the page, which is the field name that users see on the interface; the element name value refers to the field name configured for the extended field in the database, which is used for identification during data storage and processing; the element maximum and minimum values ​​refer to the numerical range or character length limit of the extended field to ensure that the data entered by the user meets business requirements and logical verification; element formatting refers to formatting the element content, such as retaining two decimal places for the amount and formatting the date as yyyyMMdd, etc.; the link address refers to the URL of the configured data source. When the data comes from the background interface, the drop-down option data is obtained by requesting the link address.

[0115] Taking into account that when configuring an extended field template, in addition to being able to configure template elements by themselves, users can also directly copy some configured template elements, thereby improving configuration efficiency and reducing the workload of repeated configuration. Therefore, a parent template is proposed in this application. Usually, common fields that may be configured in multiple templates can be pre-created as one or more parent templates for direct copying and use during the configuration process of other templates.

[0116] In a possible embodiment, the configuration of the extended field template also includes a synchronize parent template element button and a add button, which are used to facilitate users to quickly reference common elements in the parent template and add new extended field elements when configuring the extended field template. Specifically, the synchronize parent template element button is used to quickly copy the common elements in the parent template to the current template, thereby reducing the workload of repeated configuration; the add button is used to add new extended field elements, so that users can flexibly extend the field configuration according to specific business needs.

[0117] like Figure 4 As shown, it is an implementation flow chart of configuring a parent template for an extension field provided by an embodiment of the present application.

[0118] First, the system determines whether the parent template needs to be applied. If the parent template needs to be applied, set the template element configuration information and synchronize the parent template elements. Determine whether to apply the parent template. If yes, proceed to the next step; if not, reconfigure the template elements. Users can configure the basic information and specific element information of the extended field in the step of setting the template element configuration information. The system will copy the common elements in the parent template to the new extended field template to quickly generate the template. After synchronizing the parent template elements, users can make necessary modifications and adjustments to the template to ensure that it meets specific business needs. Finally, complete the configuration process of the extended field template. If the parent template does not need to be applied, the user needs to reconfigure the template elements, and then directly proceed to the step of completing the element configuration.

[0119] The parent template in this article is a pre-created parent extended field template that contains at least one common template element. In this way, users can flexibly and efficiently manage and configure extended field templates, greatly reducing the workload of repeated configuration and improving configuration efficiency and consistency.

[0120] In addition, considering that users need to predefine and manage a large number of field types when configuring extended field templates, and ensure that the storage and processing of each field in the database are consistent and efficient, a method for mapping extended field elements to extended field business table definitions is provided in an embodiment of the present application. Through this method, it can be ensured that when an extended field is added or modified in the system, the corresponding database field name can be automatically generated and assigned, thereby simplifying the configuration process and improving the maintainability of the system.

[0121] See also Figure 5 , which is a mapping relationship diagram between an extended field element and an extended field business table definition provided in an embodiment of the present application.

[0122] like Figure 5 As shown, in the embodiment of the present application, 12 types of template elements are provided for selection, including text box, text field, drop-down box, radio button, amount input box, number input box, date box, file upload box, time box, custom magnifying glass, check box, and remote drop-down box.

[0123] Among them, the text box is used to input and display single-line text data, usually used to fill in short information, such as name, address, etc. The operation is simple, and the user can enter information quickly. It is suitable for scenarios that require short and accurate data to be entered.

[0124] The text field is used to input and display multi-line text data. It is suitable for scenarios where longer text content needs to be input, such as notes and descriptions. The text field can display more text and facilitate the input of long text.

[0125] The drop-down box provides predefined options for users to choose from, reducing user input errors and ensuring the standardization of input data. It is suitable for scenarios with a moderate and fixed number of options, such as gender, country, etc.

[0126] Radio button allows users to select one option from multiple options. It is suitable for situations where options are mutually exclusive. It ensures that users can only select one option, which improves the clarity and accuracy of the selection.

[0127] The amount input box is used to input and display currency amounts, usually with amount format verification and display, which can prevent users from entering illegal characters and ensure the accuracy and consistency of amount data.

[0128] The number input box is used to input and display numerical data, restricting users to input only numbers and avoiding input errors of non-numeric characters. It is suitable for inputting data such as age and quantity.

[0129] The date box is used to select and display dates. Through the date box, users can easily select dates, reduce errors in date input, and unify the date format. It is suitable for scenarios such as birth date and appointment time.

[0130] The file upload box is used to upload files. Users can select and upload files through this element. It is suitable for scenarios where attachments need to be submitted, such as uploading resumes, pictures, etc.

[0131] The time box is used to select and display specific time, helping users to accurately select time and reduce time input errors. It is suitable for scenarios such as setting reminders and scheduling time.

[0132] The custom magnifying glass is used to display and select magnified images or content. It is suitable for scenarios where you need to zoom in to view details, such as maps and product images, to provide a better user experience.

[0133] Check boxes allow users to select one or more options from multiple options. They are suitable for situations where options are not mutually exclusive and are highly flexible. Users can select multiple options as needed, such as interests, hobbies, optional services, etc.

[0134] The remote drop-down box is similar to the ordinary drop-down box, but the data source is obtained from the server through asynchronous requests. It is suitable for scenarios with large and dynamically changing option sets, such as selecting a city list or a product list, to ensure that users see the latest and complete option list every time, and to meet the needs of frequently updated data.

[0135] This diverse template element design can significantly improve the system's flexibility and user experience, while ensuring data standardization and consistency to adapt to different business change needs.

[0136] At the same time, this application predefines 100 character type fields, 10 long character type fields and 100 numeric type fields in the extended field business table. The number of these fields can be expanded according to business needs. When each type of extended element is added, the system automatically increments the name value of the element according to the sequence number, and the value is consistent with the field name of the extended field business table.

[0137] The specific mapping relationship is as follows:

[0138] For character type fields: the system assigns name values ​​in sequence, such as the first character type element is SATTR1, the second is SATTR2, the third is SATTR3... and so on, until SATTR100.

[0139] For long character type fields: the system assigns name values ​​in sequence, such as the first long character type element is LSATTR1, the second is LSATTR2, the third is LSATTR3... and so on, until LSATTR10.

[0140] For numeric type fields: the system assigns name values ​​in sequence, such as the first numeric element is DATTR1, the second is DATTR2, the third is DATTR3... and so on, until DATTR100.

[0141] After the page is submitted, the extended data will be stored in the extended field business table field corresponding to the element name value, which will facilitate subsequent query and modification operations.

[0142] See also Figure 6, is a schematic diagram of an extended field service table definition provided in an embodiment of the present application.

[0143] In the extended field business table, the system stores the extended field information through predefined field types and structures. Each field in the business table represents a specific extended field, and the field name corresponds to the name value of the extended field. This design ensures that the extended field is structured and standardized during storage, which facilitates subsequent query and management.

[0144] In the embodiment of the present application, character type fields, long character type fields, and numeric type fields all have corresponding storage locations in the extended field business table. For example, the name value automatically assigned by the system according to the serial number increment is consistent with the field name, ensuring that the extended data after the page is submitted can be stored in the corresponding field of the extended field business table. This can facilitate subsequent query and modification operations, realize the one-to-one correspondence between field types and database field names, and simplify the management and use of data.

[0145] S22: Generate a target extension field template that is created and is related to the target business module according to the template basic information and the template element configuration information.

[0146] In the embodiment of the present application, after setting the template basic information and template element configuration information through S21, the target extension field template related to the target business module can be generated according to the template basic information and template element configuration information. At this time, the target extension field template is the created target extension field template corresponding to the extension field template to be created in S21. In this step, the system will generate a specific extension field template according to the preset template basic information (such as template number, template name, usage module, etc.) and template element configuration information (such as element type, element name value, etc.). This template contains all the extension field definitions required by the target business module.

[0147] S23: Associating the target extension field template with a plurality of target business pages corresponding to the target business module.

[0148] In the embodiment of the present application, by associating the target extension field template with multiple target business pages corresponding to the target business module, the system can dynamically apply the extension field template in multiple business pages to meet the field extension requirements in different business scenarios. Specifically, the system binds the extension field template to the corresponding business page according to the characteristics of the target business module, so that these pages can automatically load and display the extension field content when rendering.

[0149] S24: for each target business page, when rendering the page, in an extended field area in the target business page, various extended fields preconfigured in the target extended field template are rendered according to the target extended field template.

[0150] In the embodiment of the present application, when the page is rendered, for the extended fields, each extended field in the extended field template is dynamically displayed in the extended field area of ​​the target business page.

[0151] In a possible embodiment, fields can be dynamically displayed in the form of adding and modifying query pages through template slot technology. Template slot technology is an advanced technology provided in Vue.js that allows developers to predefine slot positions in components and then insert content into these slots when using components. Template slots can be used to flexibly control page layout and content display, greatly enhancing the reusability and flexibility of components.

[0152] In one possible embodiment, dynamic display of query and list fields can be achieved by using vxe-table component. vxe-table is a powerful table component based on Vue.js, which supports flexible table layout and dynamic data display, allowing developers to define table structure and data, and dynamically adjust the display content of the table according to business needs.

[0153] In a possible embodiment, dynamic page rendering can be achieved through the two-way data binding technology of Vue.js. This technology ensures that the data on the page is synchronized with the background data. When the user enters or modifies data on the page, the background data will be updated in real time, and vice versa. Two-way data binding can improve the consistency and accuracy of data.

[0154] Through these rendering operations, the extended fields required by the business modules can be dynamically generated and managed, enabling the system to quickly respond to changes in business requirements, especially the management and display of extended fields in multiple business pages. This avoids the high development and maintenance costs caused by changes in requirements in traditional systems. At the same time, these rendering technologies are used to ensure data consistency and accuracy, improve system flexibility and scalability, and meet users' personalized needs.

[0155] Taking into account that different pages in actual business scenarios may have different extended field requirements, in order to improve the flexibility and configurability of the system, this application provides a method for managing and rendering extended fields through template groups.

[0156] A template group is a collection of multiple related extension field templates, which is used to coordinate and apply these templates when rendering a page.

[0157] See also Figure 7 A template group extension field rendering flow chart provided in an embodiment of the present application. Figure 7 As shown, first, the system determines whether the template group information is set. If the template group information is set, proceed to the next step to set the template group information; if the template group information is not set, directly render the extended fields of the current template. After setting the template group information, the system renders the extended fields in the template group according to the template group information. Specifically, when rendering a page, the system will render the various extended fields pre-configured in the corresponding extended field template in the extended field area in the target business page based on the target extended field template and other extended field templates in the template group. Finally, complete the page rendering.

[0158] For example, in a business application scenario, suppose the system needs to display extended fields such as customer basic information, contact information, and account information in the "Customer Management" module. To achieve this requirement, the system administrator can set up a template group that contains three extended field templates: basic information template, contact information template, and account information template. Each template defines the relevant extended fields. When a user accesses the "Customer Management" module, the system first checks whether the template group information is set. If the template group information is set, the system renders the page according to the template group information. During the rendering process, the system displays the pre-configured extended fields in different areas of the page according to the configuration in the basic information template, contact information template, and account information template. This means that users can not only see the basic information of the customer on the "Customer Management" page, but also view extended fields such as contact information and account information. This process ensures the flexibility and consistency of page display, allowing the system to efficiently manage and display complex business information.

[0159] This process ensures that when rendering a page, not only the extended fields of the current template can be rendered, but also other extended fields in the template group can be rendered according to the information of the template group. This design improves the flexibility and configurability of the system, so that it can better meet the extended field requirements of different pages in actual business scenarios.

[0160] In order to more clearly demonstrate the rendering effect, the embodiment of the present application will introduce a specific page example below.

[0161] See also Fig. 8A , which is a query page extended field area provided in an embodiment of the present application.

[0162] In the embodiment of the present application, according to the target extension field template, the system dynamically renders the pre-configured extension field in the extension field area. The user can enter query conditions in this area so that the system can retrieve and display data according to these conditions.

[0163] See also Figure 8B , which is a newly added page extension field area provided in an embodiment of the present application.

[0164] In the embodiment of the present application, in the newly added page, according to the target extended field template, the system dynamically renders the pre-configured extended field in the extended field area. The user can fill in the relevant information in this area to submit the newly added business data. In this way, the extended field template can be flexibly applied to different business scenarios to meet various complex business needs.

[0165] Considering that in actual business, the data of the extended field needs to be effectively associated and managed with the business master data to ensure the consistency and integrity of the data, the embodiment of the present application further provides a method for associating the extended field data with the business master table.

[0166] See also Fig. 9 An implementation flow chart of associating extended field data with a business main table provided in an embodiment of the present application includes the following steps S91 to S92:

[0167] S91: For each target business page, after page rendering, in response to filling in form data, storing the extended field business data filled in the extended field area in the extended field data table.

[0168] In a possible embodiment, the system dynamically renders and displays the extended field area according to the configuration of the target business page. The user fills in the corresponding extended field data on the page and submits the form. After receiving the form submitted by the user, the system parses the extended field data and stores it in the extended field data table.

[0169] S92: After associating the extended field data table with the corresponding business main table, the data is stored in the horizontal table corresponding to the target business module.

[0170] In the embodiment of the present application, the association between the extended field data table and the business main table is realized through the template ID (TEMPLATE_ID) and the business document number (BUSINESS_ID), and the associated data is stored in the horizontal table corresponding to the target business module. The template ID (TEMPLATE_ID) is used to uniquely identify an extended field template, and the business document number (BUSINESS_ID) is used to uniquely identify a specific business instance.

[0171] A possible implementation example is described below:

[0172] In actual business systems, different business modules usually need to process a large amount of dynamic data, which is constantly changing and updating according to business needs. For example, in a bank account management system, different business operations such as account opening, maintenance, and account closing require the storage of different extended field information, which often exceeds the scope of traditional static fields. In order to flexibly adapt to changes in business needs, the system needs to provide a processing method for extended fields to meet the needs of different business modules through dynamic extended field templates.

[0173] See also Fig. 10A , which is a business main table provided in an embodiment of the present application.

[0174] The business master table contains the template ID (Template_ID) and the business document number (BUSINESS_ID), which are used to uniquely identify a specific business instance. Through these two IDs, the association query and management of business data and extended field data can be realized. Specifically, the business master table is the core table of the system, which is used to store the basic information of each business module, such as Fig. 10A In the account module, the business master table stores basic account information, such as account ID, business document number, account name, account type, opening bank and account balance.

[0175] See also Fig. 10B , which is an extended field data table provided in an embodiment of the present application.

[0176] The extended field data table is used to store extended field data in the business module. These data are dynamically generated and configured according to business needs. The extended field data table also contains the template ID (Template_ID) and the business document number (BUSINESS_ID) to identify the specific business instance and the extended field template. Through these two IDs, the business data can be accurately associated with the extended field data. In addition, Fig. 10B The extended field data table also contains multiple extended fields and their corresponding data, such as account opener, account opening date, maintenance date, etc. These fields are used to store dynamic data under specific business needs.

[0177] See also Fig. 10C , which is a horizontal table after the associated business main table and the extended field data table provided in an embodiment of the present application.

[0178] The horizontal table combines the data of the business main table and the extended field data table for easy query and management. Association uses the template ID (Template_ID) and the business document number (BUSINESS_ID) as the association field to associate each business instance in the business main table with the corresponding data in the extended field data table.

[0179] Fig. 10C The horizontal table generated after the association operation is shown. The horizontal table contains the basic business data in the business master table and the extended field data in the extended field data table. For example, the horizontal table contains both basic account information such as account ID, business document number, account name, account type, etc., and extended field data such as account holder, account opening date, maintenance date, etc. This design not only facilitates unified query and management of data, but also improves the flexibility and efficiency of the system in handling complex business scenarios. In this way, the system can better support the diversified needs of the business and realize the integrated management of data.

[0180] It should be noted that the business main table, extended field data table and horizontal table listed above are just simple examples, and this article does not make specific limitations on them.

[0181] The horizontal table can present the basic data in the business main table and the extended data in the extended field data table in a unified manner, simplifying the query and management process and improving data consistency and query efficiency. The left join can efficiently query the data in the horizontal table, helping to reduce data redundancy, improve query speed, and ensure data integrity and consistency. An optional implementation method is as follows Fig.11 As shown:

[0182] See also Fig.11 , is an operation flow chart of performing a left join query on a horizontal table provided by an embodiment of the present application. The specific implementation process is as follows S111 to S113:

[0183] S111: In response to the query request, analyzing whether the query request includes an extension field;

[0184] S112: If the extended field is included, a left join is used to perform a table join query on the business main table and the extended field data table;

[0185] If S112 contains an extended field, perform the following steps:

[0186] S1121: Use the left join method to query the business master table to obtain the master data;

[0187] S1122: Use the primary key identifier and business document identifier of the master data as query conditions to query the extended field data from the corresponding extended field data table; wherein the extended field data table is associated with the business master table through the primary key identifier and the business document identifier; the primary key identifier indicates the unique identifier of the extended field template in the page, and the business document identifier indicates the unique identifier of a business.

[0188] S113: If the extended field is not included, the business main table is directly queried.

[0189] See also Fig.12, which is a left join query result diagram for a horizontal table provided in an embodiment of the present application.

[0190] Assume that the user needs to query all information of account IDs 1001 and 1003, including basic information and extended field information, by using a left join. The record with account ID 1001 contains extended field data, while the record with account ID 1003 does not have extended field data. The left join query can still return the business main table information with account ID 1003, thus ensuring the integrity and non-omission of data. This query method ensures that even if some business instances do not have corresponding extended field data, the query results will still contain their basic information, ensuring the comprehensiveness and accuracy of data query.

[0191] Considering that the requirements and configurations of the extension fields may change during the actual application process, in order to flexibly cope with these changes, the present application provides a method for modifying the target extension field template, such as Fig.13 As shown, the present application supports modification of the template basic information, template element information and page association information in the target extended field template.

[0192] In a possible embodiment, in response to a modification operation on a target extended field template, the basic template information in the target extended field template is modified according to the modification operation. Specifically, the user can access the basic information of the extended field template through the template management client, including the template number, template name, usage module, template purpose, etc. The user can modify this information as needed, such as updating the name or purpose of the template. For example, if a new extended field template needs to be added to a business module, the user can select the module on the client, enter a new template number and name, and then save the modification.

[0193] In another possible embodiment, in response to a modification operation on a target extended field template, the template element information in the target extended field template is modified according to the modification operation. Specifically, a user can select a target extended field template and modify each template element contained therein. The information of the template element includes element type, element display name, element order, etc. For example, if a user finds that the order of a certain extended field needs to be adjusted, the order of the field can be modified on the client and then the changes can be saved.

[0194] In another possible embodiment, in response to a modification operation on a target extended field template, the association relationship between the target extended field template and the page is modified according to the modification operation. Specifically, the user can view and modify the association relationship between the target extended field template and the business page through the client. For example, the user can add or delete the association between a certain business page and the target extended field template. For example, a certain extended field template needs to be displayed in multiple business pages, and the user can add the association of these pages on the client so that these pages can display the corresponding extended fields when rendering. By modifying the page association, the display and application of the extended fields in the template in different business pages can be controlled. In this way, it can be ensured that the extended fields in the template are displayed and used in the correct business page.

[0195] Through the above-mentioned modification methods, the content and application scope of the extended field template can be flexibly adjusted to meet the needs of different business scenarios. In addition, it should be noted that the above-mentioned modification methods can be combined arbitrarily. In addition, the above-mentioned modification methods are just simple examples. In addition, other modifications to the extended field template are also applicable to the embodiments of the present application, and will not be repeated here.

[0196] The following is a brief description of the specific process of extending the field template:

[0197] See also Fig.14 An extended field template management flow chart provided for an embodiment of the present application.

[0198] This flowchart shows the complete management process of extended field templates from creation to publishing and then modification, which is divided into three stages:

[0199] (I) Template creation:

[0200] Application module registration: In this step, you need to register the business module to which the template is applied. After registration, the template can be used in the specified business module.

[0201] Basic information configuration: configure the basic information of the template, including the name, number, purpose, etc. of the template. Please refer to the above embodiment for details, and the repeated parts will not be repeated here.

[0202] Template element configuration: Set each extended field element in the template, including field type, name, verification rule, etc. Please refer to the above embodiment for details, and the repeated parts will not be repeated.

[0203] (II) Template Release:

[0204] Template activation: After the template is created, you need to activate the template to make it effective.

[0205] Page association: associate the enabled template with the business page to ensure that the extended fields in the template can be displayed and applied in the specified business page. Please refer to the above embodiment for details, and the repeated parts will not be repeated.

[0206] (III) Template modification:

[0207] Basic information modification: This part of the modification is to adjust the overall attributes of the template to facilitate the identification and use of the template. Please refer to the above embodiment for details, and the repeated parts will not be repeated.

[0208] Element information modification: By modifying the element information, the configuration of the extended field can be flexibly adjusted to adapt to different business needs. For details, please refer to the above embodiment, and the repeated parts will not be repeated.

[0209] Page association modification: Page association modification refers to adjusting the association relationship between the template and the business page. For details, please refer to the above embodiment, and the repeated parts will not be repeated.

[0210] Based on the same inventive concept, the present application embodiment provides a processing device for an extended field, please refer to Fig.15 , which is a schematic diagram of an extended field processing device 1500 in an embodiment of the present application, the device includes:

[0211] The template configuration unit 1501 is used to associate the extension field template to be created with the target business module by setting the template basic information, wherein the target business module is a functional module to which the extension field template is applied; and to configure each extension field in the extension field module by setting the template element configuration information, wherein each template element corresponds to one extension field;

[0212] The template creation unit 1502 is used to generate the created target extension field template related to the target business module according to the template basic information and the template element configuration information;

[0213] A page associating unit 1503, configured to associate the target extended field template with a plurality of target business pages corresponding to the target business module;

[0214] The rendering unit 1504 is configured to render, for each target business page, the respective extended fields preconfigured in the target extended field template in the extended field area in the target business page according to the target extended field template when rendering the page.

[0215] Optionally, if a parent template exists, the template configuration unit 1502 is used to:

[0216] When setting the template element configuration information, in response to synchronizing the parent template element, copying the template element in the parent template to the extension field template to be created, so as to synchronously configure each extension field in the extension field module;

[0217] The parent template is a pre-created parent extended field template containing at least one common template element.

[0218] Optionally, if template group information is set in the template basic information, the rendering unit 1504 is used to:

[0219] When rendering a page, in accordance with the target extended field template and other extended field templates in the template group, in an extended field area in the target business page, various extended fields preconfigured in the corresponding extended field template are rendered.

[0220] Optionally, the device 1500 further includes:

[0221] The storage unit 1505 is used for storing the extended field business data filled in the extended field area into the extended field data table in response to filling in the form data for each target business page after page rendering;

[0222] After the extended field data table is associated with the corresponding business main table, it is stored in the horizontal table corresponding to the target business module.

[0223] Optionally, the device further comprises:

[0224] A query unit 1506, configured to analyze, in response to a query request, whether the query request includes an extended field;

[0225] If the extended field is included, a left join is used to perform a table query on the business main table and the extended field data table;

[0226] If the extended field is not included, the business main table is directly queried.

[0227] Optionally, the query unit 1506 is further configured to:

[0228] Use the left join method to query the business master table to obtain the master data;

[0229] The primary key identifier and the business document identifier of the master data are used as query conditions to query the extended field data from the corresponding extended field data table; wherein the extended field data table is associated with the business master table through the primary key identifier and the business document identifier; the primary key identifier represents the unique identifier of the extended field template in the page, and the business document identifier represents the unique identifier of a business.

[0230] Optionally, the device 1500 further includes:

[0231] The template modification unit 1507 is used to respond to a modification operation on the target extended field template and adjust the target extended field template accordingly according to the modification operation; wherein the modification operation includes at least one of the following:

[0232] Modifying the template basic information in the target extended field template;

[0233] Modifying the template element information in the target extension field template;

[0234] The association relationship between the target extension field template and the page is modified.

[0235] Based on the same inventive concept, an embodiment of the present application provides an electronic device, which can implement the function of the extended field processing device discussed above. In one embodiment, the electronic device can be a server, such as Figure 1 In this embodiment, the structure of the electronic device can be as follows: Fig.16 As shown, it includes a memory 1601 , a communication module 1603 and one or more processors 1602 .

[0236] The memory 1601 is used to store computer programs executed by the processor 1602. The memory 1601 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.

[0237] The memory 1601 may be a volatile memory, such as a random-access memory (RAM); the memory 1601 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 1601 may be any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1601 may be a combination of the above memories.

[0238] The processor 1602 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 1602 is configured to implement the above-mentioned method for processing an extended field when calling a computer program stored in the memory 1601 .

[0239] The communication module 1603 is used to communicate with terminal devices and other servers.

[0240] The specific connection medium between the memory 1601, the communication module 1603 and the processor 1602 is not limited in the embodiment of the present application. Fig.16 In the embodiment, the memory 1601 and the processor 1602 are connected via a bus 1604. The bus 1604 is connected to the processor 1602 via a bus 1604. Fig.16 The connections between the other components are only for illustration and are not intended to be limiting. The bus 1604 can be divided into an address bus, a data bus, a control bus, etc. For ease of description, Fig.16 The diagram shows that only one thick line is used, but this does not mean that there is only one bus or only one type of bus.

[0241] The memory 1601 stores a computer storage medium, and the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement a video object detection method in an embodiment of the present application. The processor 1602 is used to execute the above-mentioned extended field processing method, such as Figure 2 shown.

[0242] Based on the same inventive concept, the embodiment of the present application provides a computer-readable storage medium, and the computer program product includes: computer program code, when the computer program code is executed on a computer, the computer executes any of the processing methods for extended fields discussed above. Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to the processing method for extended fields, the implementation of the above-mentioned computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.

[0243] Based on the same inventive concept, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any of the methods for processing the extension fields discussed above. Since the principle of solving the problem by the above computer program product is similar to the processing of the page extension field, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.

[0244] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0245] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0246] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0247] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of user-operated steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0248] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for processing an extended field, It is characterized in that The method comprises: By setting the template basic information, the extended field template to be created is associated with the target business module, the target business module is a functional module to which the extended field template is applied; and by setting the template element configuration information, each extended field in the extended field module is configured, each template element corresponds to an extended field; Generate the created target extension field template related to the target business module according to the template basic information and template element configuration information; Associating the target extension field template with a plurality of target business pages corresponding to the target business module; For each of the target business pages, when rendering the page, in accordance with the target extended field template, in the extended field area in the target business page, each extended field preconfigured in the target extended field template is rendered.

2. The method according to claim 1, It is characterized in that If there is a parent template, then configuring each extension field in the extension field module by setting the template element configuration information includes: When setting the template element configuration information, in response to synchronizing the parent template element, copying the template element in the parent template to the extension field template to be created, so as to synchronously configure each extension field in the extension field module; The parent template is a pre-created parent extended field template containing at least one common template element.

3. The method according to claim 1, It is characterized in that If the template group information is set in the template basic information, when rendering the page, according to the extended field template, in the extended field area in the target business page, the extended fields preconfigured in the target extended field template are rendered, including: When rendering a page, in accordance with the target extended field template and other extended field templates in the template group, in an extended field area in the target business page, various extended fields preconfigured in the corresponding extended field template are rendered.

4. The method according to claim 1, It is characterized in that The method further comprises: For each of the target business pages, after page rendering, in response to filling in form data, storing the extended field business data filled in the extended field area in the extended field data table; After the extended field data table is associated with the corresponding business main table, it is stored in the horizontal table corresponding to the target business module.

5. The method according to claim 4, It is characterized in that The method further comprises: In response to the query request, analyzing whether the query request includes an extension field; If the extended field is included, a left join is used to perform a table query on the business main table and the extended field data table; If the extended field is not included, the business main table is directly queried.

6. The method according to claim 5, It is characterized in that The method of using a left join method to perform a table join query on the business main table and the extended field data table includes: Use the left join method to query the business master table to obtain the master data; The primary key identifier and the business document identifier of the master data are used as query conditions to query the extended field data from the corresponding extended field data table; wherein the extended field data table is associated with the business master table through the primary key identifier and the business document identifier; the primary key identifier represents the unique identifier of the extended field template in the page, and the business document identifier represents the unique identifier of a business.

7. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: In response to a modification operation on the target extended field template, the target extended field template is adjusted accordingly according to the modification operation; wherein the modification operation includes at least one of the following: Modifying the template basic information in the target extended field template; Modifying the template element information in the target extension field template; The association relationship between the target extension field template and the page is modified.

8. A device for processing an extended field, It is characterized in that The device comprises: A template configuration unit, configured to associate the extension field template to be created with a target business module by setting basic template information, wherein the target business module is a functional module to which the extension field template is applied; and to configure each extension field in the extension field module by setting template element configuration information, wherein each template element corresponds to one extension field; A template creation unit, configured to generate a target extension field template that has been created and is related to the target business module according to the template basic information and the template element configuration information; A page association unit, used to associate the target extension field template with a plurality of target business pages corresponding to the target business module; The rendering unit is used to render, for each target business page, the respective extended fields preconfigured in the target extended field template in the extended field area in the target business page according to the target extended field template when rendering the page.

9. The device as claimed in claim 8, It is characterized in that If a parent template exists, the template configuration unit is used to: When setting the template element configuration information, in response to synchronizing the parent template element, copying the template element in the parent template to the extension field template to be created, so as to synchronously configure each extension field in the extension field module; The parent template is a pre-created parent extended field template containing at least one common template element.

10. The device according to claim 8, It is characterized in that If the template group information is set in the template basic information, the rendering unit is used to: When rendering a page, in accordance with the target extended field template and other extended field templates in the template group, in an extended field area in the target business page, various extended fields preconfigured in the corresponding extended field template are rendered.

11. The device according to claim 8, It is characterized in that The device also includes: A storage unit is used for storing, for each target business page, the extended field business data filled in the extended field area into the extended field data table in response to filling in the form data after page rendering; After the extended field data table is associated with the corresponding business main table, it is stored in the horizontal table corresponding to the target business module.

12. The device according to claim 11, It is characterized in that The device also includes: A query unit, configured to analyze, in response to a query request, whether the query request includes an extended field; If the extended field is included, a left join is used to perform a table query on the business main table and the extended field data table; If the extended field is not included, the business main table is directly queried.

13. The device according to claim 12, It is characterized in that The query unit is also used for: Use the left join method to query the business master table to obtain the master data; The primary key identifier and the business document identifier of the master data are used as query conditions to query the extended field data from the corresponding extended field data table; wherein the extended field data table is associated with the business master table through the primary key identifier and the business document identifier; the primary key identifier represents the unique identifier of the extended field template in the page, and the business document identifier represents the unique identifier of a business.

14. The device according to any one of claims 8 to 13, It is characterized in that The device also includes: A template modification unit, configured to respond to a modification operation on the target extended field template and adjust the target extended field template accordingly according to the modification operation; wherein the modification operation includes at least one of the following: Modifying the template basic information in the target extended field template; Modifying the template element information in the target extension field template; The association relationship between the target extension field template and the page is modified.

15. An electronic device, It is characterized in that include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps included in any one of claims 1 to 7 according to the obtained program instructions.

16. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 7.

17. A computer program product, It is characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.