A method and device for generating a table template page

By using preset configuration pages in table page development to obtain and combine basic components, and generate table template pages, the problem of code redundancy is solved, development efficiency is improved and the testing process is simplified.

CN113791784BActive Publication Date: 2024-12-10INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111079411.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-15
Publication Date
2024-12-10
Estimated Expiration
2041-09-15

AI Technical Summary

Technical Problem

In the prior art, a large amount of similar code needs to be written repeatedly during the development of table pages, resulting in code redundancy and reducing development efficiency.

Method used

Obtain table input information through the preset configuration page, obtain basic components based on the search item information and the information type of table item information, combine to generate output components, and generate table template pages based on binding relationships and page layout templates to reduce code redundancy.

Benefits of technology

It improves the development efficiency of table template pages, reduces code redundancy, reduces coding risks, and simplifies subsequent testing, which is suitable for non-R&D personnel to quickly build template pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113791784B_ABST
    Figure CN113791784B_ABST
Patent Text Reader

Abstract

This invention provides a method and apparatus for generating a table template page, applicable to the financial field or other technical fields. The method includes: obtaining search term information and table item information through a preset configuration page; obtaining basic components corresponding to each search term information based on its information type, and obtaining basic components corresponding to each table item information based on its information type; obtaining output components corresponding to each search term information, and obtaining output components corresponding to each table item information; obtaining the binding relationship between the search term information and the table item information; and generating a table template page based on the output components corresponding to each search term information, each table item information, the binding relationship, and a page layout template. The apparatus is used to execute the above method. The method and apparatus for generating a table template page provided by this invention improve the development efficiency of table template pages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for generating a table template page. Background Art

[0002] At present, tables and related paging, filtering, query and other functions are in great demand in today's business scenarios. The basic solution in the industry is to write pages by referencing componentized table module codes.

[0003] Different front-end pages need to introduce table components multiple times. In the development process, the introduction of table components often requires repeated development of related functions such as table assembly, which requires a large amount of similar code to be written, resulting in serious code redundancy and reducing the development efficiency of the page. Therefore, how to improve the development efficiency of table pages has become an important issue that needs to be solved in this field. Summary of the invention

[0004] In view of the problems in the prior art, an embodiment of the present invention provides a method and device for generating a table template page, which can at least partially solve the problems in the prior art.

[0005] In one aspect, the present invention provides a method for generating a table template page, comprising:

[0006] Acquire form input information through a preset configuration page, wherein the form input information includes search information and form information, wherein the search information includes at least one search item information, and the form information includes at least one form item information;

[0007] According to the information type of each search item information, obtain the basic component corresponding to each search item information, and according to the information type of each table item information, obtain the basic component corresponding to each table item information;

[0008] Combine each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combine each table item information with the corresponding basic component to obtain the output component corresponding to each table item information;

[0009] If it is determined that the search item information and the table item information have the same support type, obtaining a binding relationship between the search item information and the table item information;

[0010] A table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

[0011] In another aspect, the present invention provides a device for generating a table template page, comprising:

[0012] A first acquisition module is used to acquire form input information through a preset configuration page, wherein the form input information includes search information and form information, wherein the search information includes at least one search item information, and the form information includes at least one form item information;

[0013] A second acquisition module is used to acquire the basic component corresponding to each search item information according to the information type of each search item information, and acquire the basic component corresponding to each table item information according to the information type of each table item information;

[0014] An acquisition module, used to combine each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and to combine each table item information with the corresponding basic component to obtain the output component corresponding to each table item information;

[0015] A judgment module, configured to obtain a binding relationship between the search item information and the table item information after judging that the search item information and the table item information have the same support type;

[0016] The generation module is used to generate a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

[0017] On the other hand, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for generating a table template page described in any of the above embodiments when executing the program.

[0018] In yet another aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for generating a table template page described in any of the above embodiments.

[0019] The method and device for generating a table template page provided in an embodiment of the present invention obtain table input information through a preset configuration page, the table input information includes search type information and table type information, the search type information includes at least one search item information, the table item information includes at least one table item information, and according to the information type of each search item information, obtain the basic component corresponding to each search item information, and according to the information type of each table item information, obtain the basic component corresponding to each table item information, combine each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combine each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; when it is determined that the search item information and the table item information have the same support type, obtain the binding relationship between the search item information and the table item information, and generate a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template, which can reduce code redundancy and improve the development efficiency of table template pages. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0021] Figure 1 It is a flowchart of a method for generating a table template page provided in one embodiment of the present invention.

[0022] Figure 2 It is a flowchart of a method for generating a table template page provided by another embodiment of the present invention.

[0023] Figure 3 It is a structural diagram of a device for generating a table template page provided by an embodiment of the present invention.

[0024] Figure 4 It is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.

[0026] The execution subject of the method for generating a table template page provided by the embodiment of the present invention includes but is not limited to a computer.

[0027] Figure 1 FIG. 1 is a flow chart of a method for generating a table template page provided by an embodiment of the present invention. Figure 1 As shown, the method for generating a table template page provided by an embodiment of the present invention includes:

[0028] S101, obtaining form input information through a preset configuration page, wherein the form input information includes search information and form information, wherein the search information includes at least one search item information, and the form information includes at least one form item information;

[0029] Specifically, the developer can call up the preset configuration page on the computer, and then enter the information related to the addition or modification of the table on the preset configuration page. The computer will obtain the table-related information added or modified by the developer on the preset configuration page as the table input information. The table input information includes search information and table information, the search information includes at least one search item information, and the table information includes at least one table item information. Among them, the search item information and the table item information are set according to actual needs, which is not limited in the embodiment of the present invention. The preset configuration page is set according to actual needs, which is not limited in the embodiment of the present invention.

[0030] For example, a developer can generate a template.js file through a custom command line born ct-t list. The template.js file includes a preset configuration page. The developer can open the template.js file and configure the preset configuration page.

[0031] For example, the search item information includes label information, support type, type information and parameter information. The label information of the search item information may include search title text, etc., which is configured according to actual needs; the support type of the search item information may include store name, image, etc., which is configured according to actual needs, and the support type is used to bind the search item information and the table item information; the type information of the search item information may be an input box, button, text, etc., which is set according to actual needs; the parameter information of the search item information includes but is not limited to the values ​​of parameters such as length, width, color, etc. The table item information includes label information, support type, type information and parameter information. The label information of the table item information may include header text configuration information, pager related configuration information, etc., which is set according to actual needs; the support type of the table item information may include store name, image, etc., which is configured according to actual needs, and the support type is used to bind the search item information and the table item information; the type information of the table item information may include text, image, whether to disable, etc., which is configured according to actual needs; the parameter information of the table item information includes but is not limited to color, font, spacing, etc., which is configured according to actual needs.

[0032] S102, according to the information type of each search item information, obtain the basic component corresponding to each search item information, and according to the information type of each table item information, obtain the basic component corresponding to each table item information;

[0033] Specifically, each search item information and each table item information that appears on the preset configuration page has a default information type, and the developer can also modify the information type of the search item information and / or the table item information as needed. The computer can obtain the basic component corresponding to each search item information according to the information type of each search item information, and obtain the basic component corresponding to each table item information according to the information type of each table item information. Among them, the information type is preset and is set according to actual needs, and the embodiment of the present invention does not limit it. The basic component is preset and is set according to actual needs, and the embodiment of the present invention does not limit it. Each information type corresponds to a basic component.

[0034] For example, the information type may include text, pictures, etc. Different types of information may correspond to different basic components.

[0035] For example, the basic components may include basic tables, basic forms, selectors, input boxes, etc. After the development is completed, the basic components can be used repeatedly, avoiding repeated code writing, which is conducive to improving the development efficiency of the table template page.

[0036] S103, combining each search item information with the corresponding basic component to obtain an output component corresponding to each search item information, and combining each table item information with the corresponding basic component to obtain an output component corresponding to each table item information;

[0037] Specifically, the computer can combine each search item information with the basic component corresponding to each search item information to obtain the output component corresponding to each search item information, and combine each table item information with the basic component corresponding to each table item information to obtain the output component corresponding to each table item information.

[0038] For example, the search item information includes the search title text: store name, supported types: store name, type information: input box, parameter value: length a and width b of the input box, and gray color of the input box. The computer then combines the above search item information with the basic components corresponding to the above search item information to obtain the output components corresponding to the above search item information. When the output components corresponding to the above search item information are displayed on the page, the store name will be displayed, and there will be a search box with a length of a, width b, and gray color behind the store name. When the form template page is developed and put into use, the user can enter a specific store name to search for the store.

[0039] S104: if it is determined that the search item information and the table item information have the same support type, obtaining a binding relationship between the search item information and the table item information;

[0040] Specifically, the computer will obtain the support type of each search item information and the support type of each table item information, and then compare the support type of each search item information with the support type of each table item information. If the support type of the search item information is the same as the support type of the table item information, it means that the search item information and the table item information have the same support type. Then, the computer will bind the search item information and the table item information with the same support type, thereby obtaining the binding relationship between the search item information and the table item information.

[0041] S105: Generate a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

[0042] Specifically, the computer calls the page layout template, displays the output component corresponding to each search item information and the output component corresponding to each table item information on the page layout template, and stores the binding relationship between the search item information and the table item information in the attribute information of the page layout template to generate a table template page. The page layout template is preset.

[0043] For example, the page layout template is configured such that the output component corresponding to the search information is displayed in the first area of ​​the page, and the table information is displayed in the second area of ​​the page, and the first area and the second area do not overlap. The specific position of the first area in the entire page is set according to actual needs, and the embodiment of the present invention does not limit it. The specific position of the second area in the entire page is set according to actual needs, and the embodiment of the present invention does not limit it.

[0044] The method for generating a table template page provided in an embodiment of the present invention obtains table input information through a preset configuration page, the table input information includes search class information and table class information, the search class information includes at least one search item information, the table class information includes at least one table item information, and according to the information type of each search item information, obtains the basic component corresponding to each search item information, and according to the information type of each table item information, obtains the basic component corresponding to each table item information, combines each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combines each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; when it is determined that the search item information and the table item information have the same support type, the binding relationship between the search item information and the table item information is obtained, and the table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template, which can reduce code redundancy and improve the development efficiency of the table template page.

[0045] Figure 2 is a flow chart of a method for generating a table template page provided by another embodiment of the present invention, such as Figure 2 As shown, based on the above embodiments, further, the method for generating a table template page provided by the embodiment of the present invention also includes:

[0046] S106: If it is determined that each search item information and each table item information do not have the same support type, a table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information and the page layout template.

[0047] Specifically, the computer obtains the support type of each search item information and the support type of each table item information, and then compares the support type of each search item information with the support type of each table item information. If the support type of any search item information is different from the support type of any table item information, it means that the search item information and the table item information do not have the same support type. Then, the computer generates a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information and the page layout template. There is no corresponding relationship between each search item information corresponding to the table template page and each table item information, that is, the attribute information of the above-mentioned page layout template does not contain the binding relationship between the search item information and the table item information.

[0048] On the basis of the above embodiments, further, the form input information includes the search type information; accordingly, the method further includes:

[0049] A table template page is generated according to the output component corresponding to each search item information and the page layout template.

[0050] Specifically, if the table input information obtained by the computer includes the search information but does not include the table information, it means that the table template page to be generated does not need the table information. The computer will obtain the basic component corresponding to each search item information according to the information type of each search item information, and then combine each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and then generate a table template page according to the output component corresponding to each search item information and the page layout template, and the above table template page will display the output component corresponding to each search item information.

[0051] On the basis of the above embodiments, further, the form input information includes the form type information; accordingly, the method further includes:

[0052] Generate a table template page according to the output component corresponding to each table item information and the page layout template.

[0053] Specifically, if the table input information acquired by the computer includes the table type information but does not include the search type information, it means that the generated table template page does not need the search type information. The computer will acquire the basic component corresponding to each table item information according to the information type of each table item information, and then combine each table item information with the corresponding basic component to obtain the output component corresponding to each table item information, and then generate a table template page according to the output component corresponding to each table item information and the page layout template, and the above table template page will display the output component corresponding to each table item information.

[0054] On the basis of the above embodiments, further, the attribute information of the form input information includes label information, support type, type information and parameter information.

[0055] Specifically, the attribute information of the form input information may include tag information, support type, type information and parameter information. The developer will enter the relevant tag information, support type, type information and parameter information on the preset configuration page.

[0056] Wherein, the search item information may include label information, support type, type information and parameter information. The label information of the search item information may include search title text, etc., which is configured according to actual needs; the support type of the search item information may include store name, image, etc., which is configured according to actual needs, and the support type is used to bind the search item information and the table item information; the type information of the search item information may include input box, button, text, etc., which is set according to actual needs; the parameter information of the search item information includes but is not limited to the value of parameters such as length, width, color, etc. The table item information may include label information, support type, type information and parameter information. The label information of the table item information may include header text configuration information, pager related configuration information, etc., which is set according to actual needs; the support type of the table item information may include store name, image, etc., which is configured according to actual needs, and the support type is used to bind the search item information and the table item information; the type information of the table item information may include text, image, whether to disable, etc., which is configured according to actual needs; the parameter information of the table item information includes but is not limited to color, font, spacing, etc., which is configured according to actual needs.

[0057] On the basis of the above embodiments, further, the preset configuration page includes search type configuration and table type configuration.

[0058] Specifically, the preset configuration page may include a search configuration and a table configuration, in which the developer configures the search information and in which the developer configures the table information. The computer may obtain the search information and the table information configured by the developer.

[0059] On the basis of the above embodiments, further, the table template page is a hypertext markup language interface.

[0060] Specifically, the table template page generated by the computer may be a Hypertext Markup Language (HTML) interface, which may be stored in the form of a .vue file. Developers may choose to perform in-depth coding development on the generated table template page.

[0061] The method for generating a table template page provided by the embodiment of the present invention can reduce the development workload and reduce the coding risk caused by code redundancy, because the development is based on the preset configuration page, which also reduces the subsequent testing workload. At the same time, it can also be provided to non-R&D personnel to quickly build template pages for business display.

[0062] Figure 3 FIG. 1 is a schematic diagram of a structure of a device for generating a table template page provided by an embodiment of the present invention. Figure 3 As shown, the generating device of the table template page provided by the embodiment of the present invention includes a first obtaining module 301, a second obtaining module 302, an obtaining module 303, a judging module 304 and a generating module 305, wherein:

[0063] The first acquisition module 301 is used to obtain form input information through a preset configuration page, wherein the form input information includes search information and form information, wherein the search information includes at least one search item information, and the form information includes at least one table item information; the second acquisition module 302 is used to obtain the basic component corresponding to each search item information according to the information type of each search item information, and obtain the basic component corresponding to each table item information according to the information type of each table item information; the acquisition module 303 is used to combine each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combine each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; the judgment module 304 is used to obtain the binding relationship between the search item information and the table item information after judging that the search item information and the table item information have the same support type; the generation module 305 is used to generate a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

[0064] Specifically, the developer can call up the preset configuration page, and then enter the information related to the addition or modification of the table on the preset configuration page. The first acquisition module 301 will obtain the table-related information added or modified by the developer on the preset configuration page as the table input information. The table input information includes search information and table information, the search information includes at least one search item information, and the table information includes at least one table item information. Among them, the search item information and the table item information are set according to actual needs, which is not limited in the embodiment of the present invention. The preset configuration page is set according to actual needs, which is not limited in the embodiment of the present invention.

[0065] Each search item information and each table item information that appears on the preset configuration page has a default information type, and the developer can also modify the information type of the search item information and / or the table item information as needed. The second acquisition module 302 can obtain the basic component corresponding to each search item information according to the information type of each search item information, and obtain the basic component corresponding to each table item information according to the information type of each table item information. Among them, the information type is preset and is set according to actual needs, and the embodiment of the present invention does not limit it. The basic component is preset and is set according to actual needs, and the embodiment of the present invention does not limit it. Each information type corresponds to a basic component.

[0066] The acquisition module 303 can combine each search item information with the basic component corresponding to each search item information to obtain the output component corresponding to each search item information, and combine each table item information with the basic component corresponding to each table item information to obtain the output component corresponding to each table item information.

[0067] The judgment module 304 will obtain the support type of each search item information and the support type of each table item information, and then compare the support type of each search item information with the support type of each table item information. If the support type of the search item information is the same as the support type of the table item information, it means that the search item information and the table item information have the same support type. In this case, the computer will bind the search item information and the table item information having the same support type, thereby obtaining the binding relationship between the search item information and the table item information.

[0068] The generation module 305 calls the page layout template, displays the output component corresponding to each search item information and the output component corresponding to each table item information on the page layout template, and stores the binding relationship between the search item information and the table item information in the attribute information of the page layout template to generate a table template page. The page layout template is preset.

[0069] The generation device of the table template page provided by the embodiment of the present invention obtains table input information through a preset configuration page, the table input information includes search class information and table class information, the search class information includes at least one search item information, the table class information includes at least one table item information, according to the information type of each search item information, obtains the basic component corresponding to each search item information, and according to the information type of each table item information, obtains the basic component corresponding to each table item information, combines each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combines each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; when it is determined that the search item information and the table item information have the same support type, the binding relationship between the search item information and the table item information is obtained, and the table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template, which can reduce code redundancy and improve the development efficiency of the table template page.

[0070] On the basis of the above embodiments, further, the generating module 305 is further used for:

[0071] If it is determined that each search item information and each table item information do not have the same support type, a table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information and the page layout template.

[0072] On the basis of the above embodiments, further, the table input information includes the search type information; accordingly, the generating module 305 is further used for:

[0073] A table template page is generated according to the output component corresponding to each search item information and the page layout template.

[0074] On the basis of the above embodiments, further, the form input information includes the form type information; accordingly, the generating module 305 is further used for:

[0075] Generate a table template page according to the output component corresponding to each table item information and the page layout template.

[0076] On the basis of the above embodiments, further, the attribute information of the form input information includes label information, support type and type information.

[0077] On the basis of the above embodiments, further, the preset configuration page includes search type configuration and table type configuration.

[0078] On the basis of the above embodiments, further, the table template page is a hypertext markup language interface.

[0079] The embodiments of the apparatus provided in the embodiments of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments, and its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.

[0080] It should be noted that the method and device for generating a table template page provided in the embodiment of the present invention can be used in the financial field, and can also be used in any technical field other than the financial field. The embodiment of the present invention does not limit the application field of the method and device for generating a table template page.

[0081] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the electronic device may include: a processor (processor) 401, a communication interface (Communications Interface) 402, a memory (memory) 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404. The processor 401 can call the logic instructions in the memory 403 to execute the following method: obtain form input information through a preset configuration page, the form input information includes search class information and table class information, the search class information includes at least one search item information, and the table class information includes at least one table item information; according to the information type of each search item information, obtain the basic component corresponding to each search item information, and according to the information type of each table item information, obtain the basic component corresponding to each table item information; combine each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combine each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; if it is determined that the search item information and the table item information have the same support type, then obtain the binding relationship between the search item information and the table item information; generate a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

[0082] In addition, the logic instructions in the above-mentioned memory 403 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0083] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining form input information through a preset configuration page, the form input information includes search information and table information, the search information includes at least one search item information, and the table information includes at least one table item information; according to the information type of each search item information, obtaining the basic component corresponding to each search item information, and according to the information type of each table item information, obtaining the basic component corresponding to each table item information; combining each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combining each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; if it is determined that the search item information and the table item information have the same support type, then obtaining the binding relationship between the search item information and the table item information; generating a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

[0084] The present embodiment provides a computer-readable storage medium, which stores a computer program, and the computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining form input information through a preset configuration page, the form input information includes search information and table information, the search information includes at least one search item information, and the table information includes at least one table item information; according to the information type of each search item information, obtaining the basic component corresponding to each search item information, and according to the information type of each table item information, obtaining the basic component corresponding to each table item information; combining each search item information with the corresponding basic component to obtain the output component corresponding to each search item information, and combining each table item information with the corresponding basic component to obtain the output component corresponding to each table item information; if it is determined that the search item information and the table item information have the same support type, then obtaining the binding relationship between the search item information and the table item information; generating a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

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

[0086] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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.

[0087] 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 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing 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.

[0089] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0090] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for generating a table template page, characterized in that: include: Acquire form input information through a preset configuration page, the form input information includes search information and form information, the search information includes at least one search item information, the form information includes at least one form item information; the search item information includes information type and support type; the form item information includes information type and support type; According to the information type of each search item information, obtain the basic component corresponding to each search item information, and according to the information type of each table item information, obtain the basic component corresponding to each table item information; wherein the information type includes text and picture; Combine each search item information with the corresponding basic component in terms of content and configuration to obtain the output component corresponding to each search item information, and combine each table item information with the corresponding basic component in terms of content and configuration to obtain the output component corresponding to each table item information; If it is determined that the search item information and the table item information have the same support type, the search item information and the table item information having the same support type are bound to obtain a binding relationship between the search item information and the table item information; wherein the support type is used to bind the search item information and the table item information; A table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

2. The method according to claim 1, characterized in that Also includes: If it is determined that each search item information and each table item information do not have the same support type, a table template page is generated according to the output component corresponding to each search item information, the output component corresponding to each table item information and the page layout template.

3. The method according to claim 1, characterized in that The form input information includes the search type information; accordingly, the method further includes: A table template page is generated according to the output component corresponding to each search item information and the page layout template.

4. The method according to claim 1, characterized in that: The form input information includes the form class information; accordingly, the method further includes: A table template page is generated according to the output component corresponding to each table item information and the page layout template.

5. The method according to claim 1, characterized in that The attribute information of the form input information includes tag information, support type, type information and parameter information.

6. The method according to claim 1, characterized in that The preset configuration page includes search configuration and table configuration.

7. The method according to any one of claims 1 to 6, characterized in that: The form template page is a hypertext markup language interface.

8. A device for generating a table template page, characterized in that: include: A first acquisition module is used to acquire form input information through a preset configuration page, wherein the form input information includes search information and form information, wherein the search information includes at least one search item information, and the form information includes at least one form item information; the search item information includes information type and support type; and the form item information includes information type and support type; A second acquisition module is used to acquire the basic component corresponding to each search item information according to the information type of each search item information, and acquire the basic component corresponding to each table item information according to the information type of each table item information; wherein the information type includes text and picture; An acquisition module, used to combine each search item information with the corresponding basic component in terms of content and configuration, obtain the output component corresponding to each search item information, and combine each table item information with the corresponding basic component in terms of content and configuration, obtain the output component corresponding to each table item information; A judgment module, configured to bind the search item information and the table item information having the same support type to obtain a binding relationship between the search item information and the table item information after determining that the search item information and the table item information have the same support type; wherein the support type is used to bind the search item information and the table item information; The generation module is used to generate a table template page according to the output component corresponding to each search item information, the output component corresponding to each table item information, the binding relationship and the page layout template.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.