Multi-level association table data creation method and device, equipment and storage medium
By determining the number parameter configuration information and table relation link of the number table to be created, traversing and creating numbers, the problem of low number efficiency of multi-level related tables in the database is solved, and efficient number production and completion in complex scenarios is achieved , meets the needs of the test scenario.
Patent Information
- Application Number
- CN202411411831.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-07
AI Technical Summary
The prior art cannot realize efficient data of multi-level correlation tables in database performance testing scenarios, and cannot meet the needs of complex scenarios.
By determining the number parameter configuration information of the number table to be created, determining the table relation link, traversing the table relation link, and starting from the root node table. If there is a parent node table, it will be based on the data and associated fields of the parent node table. Carry out numbers to improve numbers efficiency and completeness.
In complex scenarios, the number efficiency and completeness are improved, and the needs of test scenarios can be quickly met, and the robustness and reliability of the number process are improved.
Smart Images

Figure CN119271671A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of database technology, and in particular to a method, device, equipment and storage medium for creating a multi-level association table. Background Art
[0002] In database performance testing scenarios, it is usually necessary to construct a large number of data tables, and these data tables are usually related.
[0003] In the related art, when creating numbers, it is impossible to create numbers in multi-level association tables, which cannot meet the needs of complex scenarios. Summary of the invention
[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, the purpose of the present disclosure is to propose a multi-level association table number generation method, device, computer equipment and storage medium, which can improve number generation efficiency and number generation completeness, and can also quickly meet the needs of test scenarios in complex scenarios.
[0006] To achieve the above-mentioned purpose, the multi-level association table number-generating method proposed in the first aspect of the present disclosure includes:
[0007] Determine the number-generating parameter configuration information of the table to be generated;
[0008] Determine a table relationship link according to the number-generating parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of the plurality of tables to be generated;
[0009] Starting from the root node table of the table relationship link, each table in the table relationship link is traversed. If the table to be created has a parent node table, the table to be created is created according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
[0010] To achieve the above-mentioned purpose, the multi-level association table number-generating device proposed in the second embodiment of the present disclosure includes:
[0011] The first determining module is used to determine the number-generating parameter configuration information of the number table to be generated;
[0012] A second determination module is used to determine a table relationship link according to the number-making parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of the plurality of tables to be made;
[0013] A processing module is used to traverse each table in the table relationship link starting from the root node table of the table relationship link, and if the table to be created has a parent node table, create numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
[0014] The computer device proposed in the third aspect of the present disclosure includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the multi-level association table number creation method proposed in the first aspect of the present disclosure is implemented.
[0015] The fourth aspect of the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-level association table number generation method as provided in the first aspect of the present disclosure.
[0016] The fifth aspect of the present disclosure provides a computer program product. When the instructions in the computer program product are executed by a processor, the multi-level association table number generation method provided in the first aspect of the present disclosure is executed.
[0017] The multi-level association table numbering method, device, computer equipment and storage medium provided by the present disclosure determine the numbering parameter configuration information of the table to be created; determine the table relationship link according to the numbering parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of multiple tables to be created; traverse each table in the table relationship link starting from the root node table of the table relationship link, and if the table to be created has a parent node table, create numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created. In this way, the numbering efficiency and the completeness of the numbering can be improved, and the needs of the test scenario can be quickly met in complex scenarios.
[0018] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0020] Figure 1 It is a flowchart of a method for creating numbers in a multi-level association table proposed in an embodiment of the present disclosure;
[0021] Figure 2 It is a flowchart of a multi-level association table number generation method proposed in another embodiment of the present disclosure;
[0022] Figure 3It is a schematic diagram of the number-making process of the multi-level association table proposed in the present disclosure;
[0023] Figure 4 is a schematic diagram of a multi-level tree structure proposed according to the present disclosure;
[0024] Figure 5 It is a structural diagram of a multi-level association table number-generating device proposed in an embodiment of the present disclosure;
[0025] Figure 6 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0026] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.
[0027] Figure 1 It is a flowchart of a method for creating a number of multi-level association tables proposed in an embodiment of the present disclosure.
[0028] It should be noted that the executor of the multi-level association table number generation method of this embodiment is a multi-level association table number generation device, which can be implemented by software and / or hardware. The device can be configured in a computer device, and the computer device can include but is not limited to a terminal, a server, etc. For example, the terminal can be a mobile phone, a handheld computer, etc.
[0029] like Figure 1 As shown, the multi-level association table numbering method includes:
[0030] S101: Determine the number-generating parameter configuration information of the number table to be generated.
[0031] The table to be generated may refer to a table to be processed for generating numbers. The specific form and content (such as field identifiers) of the table may be flexibly determined by the application scenario and are not limited thereto.
[0032] The number generation parameter configuration information can be used to indicate the association relationship between different tables.
[0033] It is understandable that there may be associations between multiple number tables to be created. Therefore, when determining the number parameter configuration information of the number table to be created in the embodiment of the present disclosure, reliable reference information can be provided for the subsequent determination of the table relationship link.
[0034] S102: Determine a table relationship link according to the number-generating parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of multiple tables to be generated.
[0035] The table relationship link can be used to indicate the hierarchical relationship of multiple tables to be created. In the embodiment of the present disclosure, the table relationship link can be displayed in the form of a chart.
[0036] It is understandable that there may be associations between multiple tables to be created at the same time. Therefore, in the embodiment of the present disclosure, table relationship links can be determined according to the number creation parameter configuration information, so as to quickly sort out the association information between different tables to be created.
[0037] S103: starting from the root node table of the table relationship link, traverse each table in the table relationship link. If the table to be created has a parent node table, create numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
[0038] The root node table may refer to the table to be created at the starting position in the table relationship link. The parent node table may refer to a table adjacent to the table to be created in the hierarchical relationship and located above the table to be created.
[0039] The associated field between the parent node table and the table to be created may refer to a field having an associated relationship between the parent node table and the table to be created.
[0040] The field configuration information refers to the related information of the field configuration, which can be used to indicate the number creation process of the related fields of the table to be created.
[0041] Optionally, in some embodiments, if the table to be created does not have a parent node table, the table to be created is created according to the field configuration information of the table to be created. Thus, when the table to be created does not have a parent node table, the table to be created can be quickly created in combination with the field configuration information of the table to be created.
[0042] In this embodiment, by determining the number-making parameter configuration information of the table to be created; according to the number-making parameter configuration information, determining the table relationship link, wherein the table relationship link is used to indicate the hierarchical relationship of multiple tables to be created; starting from the root node table of the table relationship link, traversing each table in the table relationship link, if the table to be created has a parent node table, then creating numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created. In this way, the efficiency of number creation and the completeness of number creation can be improved, and the needs of test scenarios can be quickly met in complex scenarios.
[0043] Figure 2 It is a flowchart of a multi-level association table number generation method proposed in another embodiment of the present disclosure.
[0044] like Figure 2As shown, the multi-level association table numbering method includes:
[0045] S201: Determine the number-generating parameter configuration information of the number table to be generated.
[0046] S202: Determine a table relationship link according to the number-creation parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of multiple tables to be created.
[0047] S203: starting from the root node table of the table relationship link, traverse each table in the table relationship link. If the table to be created has a parent node table, create numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
[0048] S204: If the table to be created does not have a parent node table, create the table according to the field configuration information of the table to be created.
[0049] The description of S201 - S204 can be specifically referred to the above embodiment, which will not be repeated here.
[0050] S205: After completing the number-generating task of the table to be generated, adaptively adjusting the fields of the table to be generated.
[0051] In the embodiment of the present disclosure, when the fields of the table to be constructed are adaptively adjusted, it can be based on a pre-trained machine learning model, or it can also be based on a third-party field adjustment device, and there is no limitation on this.
[0052] That is to say, in the embodiment of the present disclosure, after completing the number-generating task of the number-generating table, the fields of the number-generating table are adaptively adjusted, thereby effectively improving the robustness of the number-generating process.
[0053] Optionally, in some embodiments, when the fields of the table to be created are adaptively adjusted, at least one field to be configured in the table to be created may be determined according to the field configuration information; the configured fields in the table to be created may be determined; the fields to be configured and the configured fields may be matched to determine the additional configured fields in the table to be created; and the additional configured fields in the table to be created may be filtered. Thus, the additional configured fields may be effectively prevented from affecting the actual use process of the table, thereby improving the reliability of the creation process.
[0054] The additional configuration field may refer to a field that is not indicated in the field configuration information as requiring a value to be assigned but is assigned a value in the current number generation process. For example, if the field configuration information indicates that the table to be generated needs to be configured with the contents of the three fields A, B, and C, and the contents of the four fields A, B, C, and D are configured in the current number generation process, then field D is the additional configuration field.
[0055] Optionally, in some embodiments, when the fields of the table to be created are adaptively adjusted, at least one field to be configured in the table to be created may be determined according to the field configuration information; an unconfigured field in the at least one field to be configured may be determined; and a value may be assigned to the unconfigured field. In this way, the unconfigured field may be effectively prevented from affecting the practicality of the table.
[0056] Optionally, in some embodiments, when assigning a value to an unconfigured field, a preset default value corresponding to the unconfigured field may be obtained, and the unconfigured field may be assigned a value based on the preset default value. Thus, the reliability of the assignment to the unconfigured field may be guaranteed based on the preset default value, thereby effectively improving the practicality and applicability of the number-making result.
[0057] The preset default value may refer to a default value pre-set for an unconfigured field. The specific value of the default value may be flexibly determined according to the attributes of the field and the specific application scenario.
[0058] In this embodiment, after completing the number-generating task of the number-generating table, the fields of the number-generating table are adaptively adjusted, thereby effectively improving the robustness of the number-generating process.
[0059] Based on the above embodiments, Figure 3 As shown, Figure 3 This is a schematic diagram of the process of creating numbers for a multi-level association table according to the present disclosure. It may include the following contents:
[0060] 1. Number generation parameter configuration:
[0061] The current data generation scenario is that multiple tables have a multi-level tree relationship structure, such as Figure 4 As shown, Figure 4 This is a schematic diagram of a multi-level tree structure proposed according to the present disclosure. Among them, there are related fields between tables with relationships. Therefore, the number parameter configuration information can be used to indicate these related information.
[0062] 2. Multi-level associative number creation process
[0063] As in the above example, the configuration parameters are parsed to restore all table relationship links. After parsing, there are 3 links in total: [Table 1 -> Table 2 -> Table 4], [Table 1 -> Table 2 -> Table 5], [Table 1 -> Table 3 -> Table 6];
[0064] First, numbers are created based on the link [Table 1 -> Table 2 -> Table 4], that is, numbers are created for Table 1 first; then numbers are created for Table 2 based on the data already created for Table 1, the associated fields between Table 1 and Table 2, and the field configuration of Table 2 itself;
[0065] For example, Table 1 is the customer table, the primary key is the customer code, Table 2 is the order table, the primary key is the order number, and the customer table and the order table are associated through the customer code. The number-generating tool first generates numbers for the customer table data according to the customer table configuration, as shown in Table 1:
[0066] Table 1
[0067] Customer Code Customer Name A xxx B xxx C xxx
[0068] Then, based on the data in the customer table, the customer code field in the customer table and the order table, and the configuration of the order table, the order table is created as shown in Table 2:
[0069] Table 2
[0070] Customer Code Product Code A a A b B a B b C a C b
[0071] Then continue to follow the above logic, create numbers for Table 4 based on the data already created in Table 2, the associated fields between Table 2 and Table 4, and the field configuration of Table 4 itself.
[0072] Then, numbers are generated according to the link [Table 1 -> Table 2 -> Table 5]. It is determined that Table 1 and Table 2 have already been generated. Therefore, only the generated data of Table 2, the associated fields of Table 2 and Table 5, and the field configuration of Table 5 itself are needed to generate numbers for Table 5.
[0073] Finally, according to the link [Table 1->Table 3->Table 6], numbers are generated. It is determined that Table 1 has been generated, so Table 3 needs to be generated based on the data already generated in Table 1, the associated fields between Table 1 and Table 3, and the field configuration of Table 3 itself; finally, Table 6 is generated based on the data already generated in Table 3, the associated fields between Table 3 and Table 6, and the field configuration of Table 6 itself.
[0074] Determine that all links have been completed, that is, the multi-level association number is completed
[0075] 3. Adaptability of number generation parameter configuration.
[0076] When configuring parameters, mismatches are inevitable because not all fields in the table are understood. The tool will automatically ignore fields that do not exist in the incorrectly configured table, and then add default values to fields in the table that are required to be non-empty but are not configured.
[0077] Figure 5 It is a schematic diagram of the structure of a multi-level association table number-generating device proposed in an embodiment of the present disclosure.
[0078] like Figure 5 As shown, the multi-level association table number generating device 50 comprises:
[0079] The first determining module 501 is used to determine the number-generating parameter configuration information of the number table to be generated;
[0080] The second determining module 502 is used to determine a table relationship link according to the number-making parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of multiple tables to be made;
[0081] Processing module 503 is used to traverse each table in the table relationship link starting from the root node table of the table relationship link, and if the table to be created has a parent node table, create numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
[0082] It should be noted that the above explanation of the method for generating numbers in a multi-level association table is also applicable to the device for generating numbers in a multi-level association table of this embodiment, and will not be repeated here.
[0083] In this embodiment, by determining the number-making parameter configuration information of the table to be created; according to the number-making parameter configuration information, determining the table relationship link, wherein the table relationship link is used to indicate the hierarchical relationship of multiple tables to be created; starting from the root node table of the table relationship link, traversing each table in the table relationship link, if the table to be created has a parent node table, then creating numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created. In this way, the efficiency of number creation and the completeness of number creation can be improved, and the needs of test scenarios can be quickly met in complex scenarios.
[0084] Figure 6 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. Figure 6 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0085] like Figure 6 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0086] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.
[0087] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0088] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 Not shown, often called a "hard drive").
[0089] although Figure 6 Not shown, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (Compact Disc Read Only Memory; hereinafter referred to as: CD-ROM), a digital versatile disc read only memory (Digital Video Disc Read Only Memory; hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0090] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0091] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a human body to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the computer device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0092] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the multi-level association table number creation method mentioned in the above embodiment.
[0093] In order to implement the above embodiments, the present disclosure further proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the multi-level association table number generation method proposed in the above embodiments of the present disclosure is implemented.
[0094] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When the instruction processor in the computer program product executes, the multi-level association table number generation method proposed in the above embodiments of the present disclosure is executed.
[0095] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0096] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0097] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.
[0098] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0099] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0100] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0101] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0102] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0103] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "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 disclosure. 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.
[0104] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A method for creating a multi-level association table, characterized in that: include: Determine the number-generating parameter configuration information of the table to be generated; Determine a table relationship link according to the number-generating parameter configuration information, wherein the table relationship link is used to indicate the hierarchical relationship of the plurality of tables to be generated; Starting from the root node table of the table relationship link, each table in the table relationship link is traversed. If the table to be created has a parent node table, the table to be created is created according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
2. The method according to claim 1, characterized in that Also includes: If the parent node table does not exist in the table to be created, the table to be created is created according to the field configuration information of the table to be created.
3. The method according to claim 1, characterized in that Also includes: After completing the number-generating task of the number table to be generated, the fields of the number table to be generated are adaptively adjusted.
4. The method according to claim 3, characterized in that The adaptively adjusting the fields of the table to be created includes: Determine at least one field to be configured in the table to be created according to the field configuration information; Determine the configured fields in the table to be created; Matching the fields to be configured and the configured fields to determine the additional configuration fields in the table to be created; The additionally configured fields in the table to be created are filtered.
5. The method according to claim 3, characterized in that The adaptively adjusting the fields of the table to be created also includes: Determine at least one field to be configured in the table to be created according to the field configuration information; Determining an unconfigured field in the at least one field to be configured; The unconfigured field is assigned a value.
6. The method according to claim 5, characterized in that The assigning of a value to the unconfigured field includes: A preset default value corresponding to the unconfigured field is obtained, and a value is assigned to the unconfigured field based on the preset default value.
7. A multi-level association table number generating device, characterized in that: include: The first determining module is used to determine the number-generating parameter configuration information of the number table to be generated; A second determination module is used to determine a table relationship link according to the number-making parameter configuration information, wherein the table relationship link is used to indicate a hierarchical relationship between a plurality of the number-making tables to be created; A processing module is used to traverse each table in the table relationship link starting from the root node table of the table relationship link, and if the table to be created has a parent node table, create numbers according to the data of the parent node table, the associated fields between the parent node table and the table to be created, and the field configuration information of the table to be created.
8. A computer device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Associated numeration method and device, storage medium and computer equipment
CN110069376A
Test data generation method, terminal equipment and computer readable storage medium
CN115437966A
Test data generation method and device, equipment and storage medium
CN115509942A
Table creation for partitioned tables
US20130166606A1