Base table display method, device, computer equipment and storage medium

By creating a first display component and a second display component, the base table name and value are obtained and displayed, solving the problem of cumbersome base table display operations, realizing rapid generation and unified management of base table queries, and improving efficiency.

CN109446249BActive Publication Date: 2024-11-19PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811256847.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-10-26
Publication Date
2024-11-19
Estimated Expiration
2038-10-26

AI Technical Summary

Technical Problem

In existing technologies, displaying the base table on the page requires separate querying and display, which is cumbersome and inconsistent, resulting in low efficiency.

Method used

By creating a first display component and a second display component, the base table name and base table value are obtained and displayed respectively, and set in the target display page, so as to quickly generate a base table drop-down list and manage base table queries in a unified manner.

Benefits of technology

It enables rapid generation of base tables and unified query management, improving operational efficiency and reducing data loading time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109446249B_ABST
    Figure CN109446249B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a base table display method, device, computer equipment and storage medium, wherein the method includes: determining a target base table in a database; obtaining base table attributes corresponding to the target base table, wherein the base table attributes include a base table name and a base table value; creating a first display component, wherein the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component; creating a second display component in the first display component, wherein the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component; and setting the first display component and the second display component in a target display page for display. Based on data visualization, the embodiment of the present invention can realize rapid generation of a base table drop-down list and unified base table query management.
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 base table display method, device, computer equipment and storage medium. Background Art

[0002] Base tables are commonly displayed in programs. They are displayed in page drop-down lists and descriptions of base table values. Since there are too many base tables, one page will display multiple base tables. The required base tables need to be queried when a request is made. Each program needs to add base table content, and each display needs to retrieve the base table value and its description from the returned content separately, which is very troublesome. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a base table display method, apparatus, computer equipment and storage medium, which can quickly generate a base table drop-down list and unified base table query management.

[0004] In one aspect, an embodiment of the present invention provides a base table display method, the method comprising:

[0005] Determine the target base table in the database;

[0006] Obtaining base table attributes corresponding to the target base table, wherein the base table attributes include a base table name and a base table value;

[0007] Creating a first display component, the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component;

[0008] Creating a second display component in the first display component, the second display component being used to obtain a base table value corresponding to the target base table and using the base table value as a second search item of the second display component;

[0009] The first display component and the second display component are set in a target display page for display.

[0010] On the other hand, an embodiment of the present invention provides a base table display device, the device comprising:

[0011] A determination unit, used for determining a target base table in a database;

[0012] An acquiring unit, configured to acquire a base table attribute corresponding to the target base table, wherein the base table attribute includes a base table name and a base table value;

[0013] A first creation unit, configured to create a first display component, wherein the first display component is configured to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component;

[0014] A second creation unit, configured to create a second display component in the first display component, wherein the second display component is configured to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component;

[0015] The first display unit is used to set the first display component and the second display component in a target display page for display.

[0016] On the other hand, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the base table display method as described above when executing the computer program.

[0017] On the other hand, an embodiment of the present invention further provides a computer-readable storage medium, which stores one or more computer programs. The one or more computer programs can be executed by one or more processors to implement the base table display method as described above.

[0018] The embodiment of the present invention provides a base table display method, device, computer equipment and storage medium, wherein the method comprises: determining a target base table in a database; obtaining base table attributes corresponding to the target base table, wherein the base table attributes include a base table name and a base table value; creating a first display component, wherein the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component; creating a second display component in the first display component, wherein the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component; and setting the first display component and the second display component in a target display page for display. Thus, a base table drop-down list can be quickly generated and unified base table query management can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0020] Figure 1 is a schematic flow chart of a base table display method provided by an embodiment of the present invention;

[0021] Figure 2 is another schematic flow chart of a base table display method provided by an embodiment of the present invention;

[0022] Figure 3 is another schematic flow chart of a base table display method provided by an embodiment of the present invention;

[0023] Figure 4 is another schematic flow chart of a base table display method provided by an embodiment of the present invention;

[0024] Figure 5 is a schematic flow chart of a base table display method provided by another embodiment of the present invention;

[0025] Figure 6 is a schematic block diagram of a base meter display device provided by an embodiment of the present invention;

[0026] Figure 7 is another schematic block diagram of a base meter display device provided by an embodiment of the present invention;

[0027] Figure 8 is another schematic block diagram of a base meter display device provided by an embodiment of the present invention;

[0028] Fig. 9 is another schematic block diagram of a base meter display device provided by an embodiment of the present invention;

[0029] Fig.10 is another schematic block diagram of a base meter display device provided by an embodiment of the present invention;

[0030] Fig.11 It is a schematic diagram of the structural composition of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0033] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0034] See also Figure 1 , Figure 1 A schematic flow chart of a base table display method provided by an embodiment of the present invention. Figure 1 As shown, the method includes the following steps S101 to S105.

[0035] S101, determining a target base table in a database.

[0036] In the embodiment of the present invention, a base table refers to a table permanently stored in a database, and the base table may be a table created by a user in the database, or a table originally existing in the database. In this embodiment, the target base table may be one or more tables in the database, and specifically, the target base table is determined by identification information input by a user, and the identification information may be a base table name.

[0037] S102: Acquire base table attributes corresponding to the target base table, where the base table attributes include a base table name and a base table value.

[0038] In one embodiment, a base table name corresponding to a target base table is obtained through an SQL statement. Specifically, a SQL statement is first used to obtain the base table names of all base tables in a database, and a base table name corresponding to a target base table is selected from all the obtained base table names. For example, a select()from()where() statement is used to obtain the names of all base tables in a database. A base table value corresponding to a target base table is obtained through an SQL statement. For example, a select()from()where('base table name') statement is used to obtain the base table value corresponding to the target base table.

[0039] Furthermore, if Figure 2 As shown, the step S102 includes steps S202 to S206.

[0040] S202: Query the table name of the target base table.

[0041] In the embodiment of the present invention, the table name of the target base table is queried through an SQL statement. Specifically, the select() from() where (xtype='u') statement can be used to obtain the names of all base tables in the database.

[0042] S204: Acquire all fields of the target base table according to the table name.

[0043] In the embodiment of the present invention, all fields of the target base table are obtained through SQL statements. Specifically, select()from()where(id=object_id('target base table name')) statements can be used to obtain all fields of the target base table.

[0044] S206: Acquire the base table attributes from all fields of the target base table.

[0045] In an embodiment of the present invention, the base table attributes are obtained from all fields of the target base table through an SQL statement. Specifically, the base table attributes of the corresponding target base table can be obtained using a select()as('description')from()where(id=object_id('target base table name')) statement.

[0046] S103: Create a first display component, where the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component.

[0047] In an embodiment of the present invention, a first display component is created using custom component technology in JSP (Java Server Pages) technology. The first display component is used to obtain and display the base table name corresponding to the target base table. Specifically, the base table name is displayed as the first search item in the first display component. More specifically, the first display component containing the base table name is displayed in the form of a drop-down list.

[0048] Furthermore, if Figure 3 As shown, the step S103 includes steps S302 to S304.

[0049] S302, creating an XML file and a custom tag library.

[0050] S304: Create the first display component according to the created XML file and the customized tag library.

[0051] In the embodiment of the present invention, an XML file is added to define a tag library, the name of the tag library is bt, an options tag is added to the tag library, and the tag library is loaded through bt:options; the attributes and explanations of the options tag are as follows:

[0052] Basetable: the name of the base table to be displayed; for example, if it is the city base table name, the value is "city";

[0053] Selected: Displays the default selected value of the radio button. Enter the code value corresponding to the base table. For example, if the base city table is Shenzhen, the value is "shenzhen";

[0054] More: Multiple-select drop-down list. Select multiple settings and pass in multiple values ​​separated by commas. This is used when the page is a multiple-select drop-down list. For example, if you select Shenzhen and Guangzhou in the city base table, the value is "shenzhen, guangzhou";

[0055] Limits: limit the displayed content. For example, if there are 10 elements in the base table and I only need to display 5 of them, I only pass in the value string of the 5 elements to be displayed separated by commas. For example, if the city base table can only select Shenzhen and Guangzhou, the value is "shenzhen, guangzhou";

[0056] parentValue: used for cascading drop-down lists, to filter the displayed base table content according to the passed value; for example, if the city base table displays cities under Guangdong, the value is: "guangdong".

[0057] S104: Create a second display component in the first display component, where the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component.

[0058] In an embodiment of the present invention, a custom component technology in JSP (Java Server Pages) technology is used to create a second display component, and the second display component is used to obtain the base table value corresponding to the target base table and display it. Specifically, the base table value is displayed as a second search item in the second display component. More specifically, the second display component containing the base table value is displayed when the user operates the first search item of the first display component.

[0059] Furthermore, if Figure 4 As shown, the step S104 includes steps S402 to S404.

[0060] S402: Create an XML file and a custom tag library on the first display component.

[0061] S404: Create the second display component according to the created XML file and the customized tag library.

[0062] In the embodiment of the present invention, an XML file is added to define a tag library, the name of the tag library is bt, and a translate tag is added to the tag library. The system can load the tag library through bt:translate; the attributes and explanations of the tag options are as follows:

[0063] Basetable: the base table name to be displayed, for example, the gender base table name is "sex";

[0064] code: the base table value to be displayed. For example, the code for male is "F", and the page will display "male".

[0065] S105: Setting the first display component and the second display component in a target display page for display.

[0066] In an embodiment of the present invention, the target display page may be a browser page, and the created first display component and second display component may be displayed through the browser page, wherein the second display component will be displayed as a first-level submenu of the first display component in the browser page.

[0067] As can be seen from the above, this embodiment determines the target base table in the database; obtains the base table attributes corresponding to the target base table, the base table attributes include the base table name and the base table value; creates a first display component, the first display component is used to obtain the base table name corresponding to the target base table and use the base table name as the first search item of the first display component; creates a second display component in the first display component, the second display component is used to obtain the base table value corresponding to the target base table and use the base table value as the second search item of the second display component; and sets the first display component and the second display component to be displayed in the target display page. This enables rapid generation of a base table drop-down list and unified base table query management.

[0068] Please refer to Figure 5 , Figure 5 A schematic flow chart of a base table display method provided by an embodiment of the present invention. Figure 5 As shown, the method includes the following steps S501 to S508.

[0069] S501, determining a target base table in a database.

[0070] S502: Acquire base table attributes corresponding to the target base table, where the base table attributes include a base table name and a base table value.

[0071] S503: Create a first display component, where the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component.

[0072] S504: Create a second display component in the first display component, where the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component.

[0073] S505: Setting the first display component and the second display component in a target display page for display.

[0074] S506: Receive a page access instruction, where the page access instruction indicates the target display page.

[0075] In an embodiment of the present invention, a page access instruction can be input through a preset instruction input interface to access the corresponding page. Specifically, the above-mentioned page access instruction can be input by triggering the page link to be accessed. Taking a smart TV as an example, the page links of each page are displayed on the interface of the smart TV, wherein different page links can be presented through different texts, images or graphics, so that users can distinguish the pages corresponding to different page links. The user can move the cursor to the page link to be triggered through the remote control or the button on the smart TV, and then input a control command such as "Go" or "OK" to trigger the page link, thereby inputting the above-mentioned page access instruction. At this time, the target page to be accessed indicated by the above-mentioned page access instruction is the page corresponding to the page link. Of course, in the embodiment of the present invention, other methods can also be used to input the above-mentioned page access instruction, which is not limited here.

[0076] S507: Determine whether the target display page is currently stored.

[0077] In the embodiment of the present invention, it is determined whether the target display page to be accessed by the page access instruction received in step S506 is currently stored. If the target display page is currently stored, the process proceeds to step S508.

[0078] S508: If the target page is currently stored, display the target display page.

[0079] In the embodiment of the present invention, the stored target display page is directly assigned to the display page for display. Specifically, if the target display page is stored in a preset cache container, step S508 is specifically performed as follows: displaying the target display page stored in the preset cache container.

[0080] By adding the above steps S506, S507, and S508, the stored target page is directly displayed, thereby saving the time required for reading data and loading the data into the target page, and improving the display speed of the target display page.

[0081] See also Figure 6 Corresponding to the above-mentioned base table display method, an embodiment of the present invention further proposes a base table display device, the device 100 includes: a determination unit 101, an acquisition unit 102, a first creation unit 103, a second creation unit 104, and a first display unit 105.

[0082] The determining unit 101 is used to determine a target base table in a database.

[0083] The acquisition unit 102 is used to acquire base table attributes corresponding to the target base table, where the base table attributes include a base table name and a base table value.

[0084] The first creation unit 103 is used to create a first display component, where the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component.

[0085] The second creating unit 104 is used to create a second display component in the first display component, wherein the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component.

[0086] The first display unit 105 is used to set the first display component and the second display component in a target display page for display.

[0087] As can be seen from the above, this embodiment determines the target base table in the database; obtains the base table attributes corresponding to the target base table, the base table attributes include the base table name and the base table value; creates a first display component, the first display component is used to obtain the base table name corresponding to the target base table and use the base table name as the first search item of the first display component; creates a second display component in the first display component, the second display component is used to obtain the base table value corresponding to the target base table and use the base table value as the second search item of the second display component; and sets the first display component and the second display component to be displayed in the target display page. This enables rapid generation of a base table drop-down list and unified base table query management.

[0088] See also Figure 7 , the acquisition unit 102 includes:

[0089] The query unit 102a is used to query the table name of the target base table.

[0090] The first acquisition subunit 102b is used to acquire all fields of the target base table according to the table name.

[0091] The second acquisition subunit 102c is used to acquire the base table attributes from all fields of the target base table.

[0092] See also Figure 8 , the first creation unit 103 includes:

[0093] The first creation subunit 103a is used to create an XML file and a custom tag library.

[0094] The second creation subunit 103b is used to create the first display component according to the created XML file and the customized tag library.

[0095] See also Fig. 9 The second creating unit 104 includes:

[0096] The third creation subunit 104a is used to create an XML file and a custom tag library on the first display component.

[0097] The fourth creating subunit 104b is used to create the second display component according to the created XML file and the customized tag library.

[0098] See also Fig.10 Corresponding to the above-mentioned base table display method, an embodiment of the present invention further proposes a base table display device, the device 200 including: a determination unit 201, an acquisition unit 202, a first creation unit 203, a second creation unit 204, a first display unit 205, a receiving unit 206, a judgment unit 207, and a second display unit 208.

[0099] The determining unit 201 is used to determine a target base table in a database.

[0100] The acquisition unit 202 is used to acquire the base table attributes corresponding to the target base table, where the base table attributes include a base table name and a base table value.

[0101] The first creation unit 203 is used to create a first display component, and the first display component is used to obtain the base table name corresponding to the target base table and use the base table name as the first search item of the first display component.

[0102] The second creation unit 204 is used to create a second display component in the first display component, and the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component.

[0103] The first display unit 205 is used to set the first display component and the second display component in a target display page for display.

[0104] The receiving unit 206 is configured to receive a page access instruction, where the page access instruction indicates the target display page.

[0105] The judging unit 207 is used to judge whether the target display page has been stored currently.

[0106] The second display unit 208 is configured to display the target display page if the target page is currently stored.

[0107] The above-mentioned base table display device corresponds one-to-one to the above-mentioned base table display method, and its specific principles and processes are the same as those described in the above-mentioned embodiment, and will not be repeated here.

[0108] The above-mentioned base table display device can be implemented in the form of a computer program. The computer program can be Fig.11 Runs on the computer device shown.

[0109] Fig.11 The following is a schematic diagram of the structure of a computer device of the present invention. The device can be a terminal or a server, wherein the terminal can be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be an independent server or a server cluster composed of multiple servers. Fig.11 The computer device 500 includes a processor 502, a non-volatile storage medium 503, an internal memory 504 and a network interface 505 connected via a system bus 501. The non-volatile storage medium 503 of the computer device 500 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a base table display method. The processor 502 of the computer device 500 is used to provide computing and control capabilities to support the operation of the entire computer device 500. The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program is executed by the processor, the processor 502 can execute a base table display method. The network interface 505 of the computer device 500 is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0110] The processor 502 implements the following operations when executing the computer program:

[0111] Determine the target base table in the database;

[0112] Obtaining base table attributes corresponding to the target base table, wherein the base table attributes include a base table name and a base table value;

[0113] Creating a first display component, the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component;

[0114] Creating a second display component in the first display component, the second display component being used to obtain a base table value corresponding to the target base table and using the base table value as a second search item of the second display component;

[0115] The first display component and the second display component are set in a target display page for display.

[0116] In one embodiment, obtaining the base table attribute corresponding to the target base table includes:

[0117] Query the table name of the target base table;

[0118] Obtain all fields of the target base table according to the table name;

[0119] The base table attributes are obtained from all fields of the target base table.

[0120] In one embodiment, the creating a first display component includes:

[0121] Create XML files and custom tag libraries;

[0122] The first display component is created according to the created XML file and the customized tag library.

[0123] In one embodiment, creating the second display component in the first display component includes:

[0124] Creating an XML file and a custom tag library on the first display component;

[0125] The second display component is created according to the created XML file and the customized tag library.

[0126] In one embodiment, the processor 502 further implements the following operations when executing the computer program:

[0127] receiving a page access instruction, wherein the page access instruction indicates the target display page;

[0128] Determining whether the target display page is currently stored;

[0129] If the target page is currently stored, the target display page is displayed.

[0130] Those skilled in the art will understand that Fig.11The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device only includes a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those in the figure. Fig.11 The embodiments shown are consistent and will not be described again here.

[0131] The present invention provides a computer-readable storage medium, which stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the following steps:

[0132] Determine the target base table in the database;

[0133] Obtaining base table attributes corresponding to the target base table, wherein the base table attributes include a base table name and a base table value;

[0134] Creating a first display component, the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component;

[0135] Creating a second display component in the first display component, the second display component being used to obtain a base table value corresponding to the target base table and using the base table value as a second search item of the second display component;

[0136] The first display component and the second display component are set in a target display page for display.

[0137] In one embodiment, obtaining the base table attribute corresponding to the target base table includes:

[0138] Query the table name of the target base table;

[0139] Obtain all fields of the target base table according to the table name;

[0140] The base table attributes are obtained from all fields of the target base table.

[0141] In one embodiment, the creating a first display component includes:

[0142] Create XML files and custom tag libraries;

[0143] The first display component is created according to the created XML file and the customized tag library.

[0144] In one embodiment, creating the second display component in the first display component includes:

[0145] Creating an XML file and a custom tag library on the first display component;

[0146] The second display component is created according to the created XML file and the customized tag library.

[0147] In one embodiment, the one or more computer programs may be executed by one or more processors, and further implement the following steps:

[0148] receiving a page access instruction, wherein the page access instruction indicates the target display page;

[0149] Determining whether the target display page is currently stored;

[0150] If the target page is currently stored, the target display page is displayed.

[0151] The aforementioned storage medium of the present invention includes: a magnetic disk, an optical disk, a read-only memory (ROM) and other media that can store program codes.

[0152] The units in all the embodiments of the present invention may be implemented by a general integrated circuit, such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).

[0153] The steps in the base table display method of the embodiment of the present invention can be adjusted in order, merged and deleted according to actual needs.

[0154] The units in the base table display device of the embodiment of the present invention can be merged, divided and deleted according to actual needs.

[0155] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A base table display method, characterized in that: The method comprises: Determine the target base table in the database; Obtaining base table attributes corresponding to the target base table, wherein the base table attributes include a base table name and a base table value; Using the custom component technology in the Java server page technology to create a first display component, the first display component is used to obtain the base table name corresponding to the target base table and use the base table name as the first search item of the first display component, and the first display component containing the base table name is displayed in the form of a drop-down list; Create an XML file and a custom tag library on the first display component, wherein each time an XML file is added, a tag library is defined, the name of the tag library is bt, an options tag is added to the tag library, and the tag library is loaded through bt:options; Creating a second display component according to the created XML file and the custom tag library, wherein the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component; The first display component and the second display component are set to be displayed on a target display page; receiving a page access instruction, wherein the page access instruction indicates the target display page; Determining whether the target display page is currently stored; If the target page is currently stored, displaying the target display page; The step of creating the first display component using the custom component technology in the Java server page technology includes: Create XML files and custom tag libraries; The first display component is created according to the created XML file and the customized tag library.

2. The method according to claim 1, characterized in that The acquiring the base table attribute corresponding to the target base table includes: Query the table name of the target base table; Obtain all fields of the target base table according to the table name; The base table attributes are obtained from all fields of the target base table.

3. A base meter display device, characterized in that: The device comprises: A determination unit, used for determining a target base table in a database; An acquiring unit, configured to acquire a base table attribute corresponding to the target base table, wherein the base table attribute includes a base table name and a base table value; A first creation unit is used to create a first display component by using a custom component technology in a Java server page technology, wherein the first display component is used to obtain a base table name corresponding to the target base table and use the base table name as a first search item of the first display component, and display the first display component including the base table name in the form of a drop-down list; The third creation subunit is used to create an XML file and a custom tag library on the first display component, wherein each time an XML file is added, a tag library is defined, the name of the tag library is bt, an options tag is added to the tag library, and the tag library is loaded through bt:options; A fourth creation subunit is used to create a second display component according to the created XML file and the custom tag library, wherein the second display component is used to obtain a base table value corresponding to the target base table and use the base table value as a second search item of the second display component; A first display unit, used for setting the first display component and the second display component to display on a target display page; A receiving unit, configured to receive a page access instruction, wherein the page access instruction indicates the target display page; A judging unit, used for judging whether the target display page is currently stored; A second display unit, configured to display the target display page if the target page is currently stored; The first creation unit includes: The first creation subunit is used to create XML files and custom tag libraries; The second creation subunit is used to create the first display component according to the created XML file and the customized tag library.

4. The device according to claim 3, characterized in that The acquisition unit comprises: A query unit, used for querying the table name of the target base table; A first acquisition subunit is used to acquire all fields of the target base table according to the table name; The second acquisition subunit is used to acquire the base table attributes from all fields of the target base table.

5. A computer 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 base table display method according to any one of claims 1 to 2 is implemented.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the base table display method as described in any one of claims 1-2.