Test data generation method and device, equipment and storage medium

By obtaining preset test data models and initial business information, we automatically construct long-link test data for credit business, solving the problem of difficult preparation of credit business test data and achieving an efficient and standardized test data preparation process.

CN119537234APending Publication Date: 2025-02-28AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411666851.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

It is difficult to prepare long-link test data for credit business. The existing manual and automation methods have problems such as high cost, low efficiency, frequent changes in attributes caused by data sharing, and high communication costs.

Method used

By obtaining the preset test data model, initial business information and node information to be tested, the test data is automatically constructed and the target test data is output to realize the process of automatically replacing the manual preparation of test data.

Benefits of technology

Reduce manual repetition work, standardize and standardize the long-link service test data preparation process, and improve the test data preparation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention discloses a test data generation method, apparatus and device, and a storage medium. The method comprises the steps of obtaining a preset test data model, initial service information and node information of a to-be-tested operation; determining output position information of the test data model according to the node information; and inputting the initial service information and the output position information into the test data model for test data construction, and outputting target test data. By utilizing the method, the process of preparing the test data by an automatic mode instead of a manual mode is realized, the manual repeated work is reduced, the long-link service test data preparation process is standardized and normalized, and the preparation efficiency of the test data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of testing technology, and in particular to a test data generating method, device, equipment and storage medium. Background Art

[0002] As the digital transformation of banks continues to deepen, higher standards and requirements have been put forward for testing in the credit field. At present, there are three main characteristics of long-link business testing in the credit field: first, the business link is long. With the continuous iteration of credit business, business scenarios generally involve multiple business modules, and the overall business process is long; second, the credit business is highly complex, and different business forms will have different triggering methods, and different business logics will also produce different combinations; third, the credit business is highly dependent, and the dependence between the previous and next links of the business is strong. The input of the latter link is the output of the previous link.

[0003] Generally speaking, there are two ways to prepare test data: "making" data and "finding" data. "Making" data mainly generates test data by simulating the operation logic of the actual business in some way. One way is to construct test data through GUI, which is the most common and reliable way. Data construction is completed directly through the client or interface. The disadvantage is high cost and low efficiency. Another way is to construct data through the database. The disadvantage is that directly modifying the database is prone to dirty data, and full import of data has evaluation and operation costs. "Finding" data is to find existing test data in some way. One way is to find available data through the database. The disadvantage is that data sharing causes frequent changes in data attributes and will affect each other. Another way is to find the project team or the corresponding developers of the relevant system to provide cooperation. The disadvantage is that they need to be familiar with their respective modules and the communication cost is high. These two methods can undoubtedly meet the basic test data preparation needs, but they are often accompanied by the problems of "making" and "finding" data. For credit business, its long link characteristics make it more difficult to "make" and "find" data. How to quickly construct test data has become the key to affecting the progress and quality of testing. Summary of the invention

[0004] The embodiments of the present invention provide a test data generation method, apparatus, device and storage medium, which realize the process of preparing test data in an automated manner instead of a manual manner, reduce manual repetitive work, standardize and normalize the long link service test data preparation process, and improve the test data preparation efficiency.

[0005] In a first aspect, an embodiment of the present invention provides a test data generating method, comprising:

[0006] Obtain the preset test data model, initial business information and node information of the operation to be tested;

[0007] Determine output position information of the test data model according to the node information;

[0008] The initial business information and the output location information are input into the test data model to construct test data, and target test data is output.

[0009] In a second aspect, an embodiment of the present invention further provides a test data generating device, the device comprising:

[0010] An acquisition module is used to acquire a preset test data model, initial business information, and node information of the operation to be tested;

[0011] An output position determination module, used to determine output position information of the test data model according to the node information;

[0012] The test data output module is used to input the initial business information and the output position information into the test data model to construct the test data and output the target test data.

[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0014] one or more processors;

[0015] a storage device for storing one or more programs,

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the test data generating method provided by the embodiment of the present disclosure.

[0017] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to implement the test data generating method provided by the embodiments of the present disclosure.

[0018] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the test data generating method provided by the embodiment of the present disclosure is implemented.

[0019] The present invention discloses a test data generation method, device, equipment and storage medium, the method comprising: obtaining a preset test data model, initial business information and node information of an operation to be tested; determining the output position information of the test data model according to the node information; inputting the initial business information and the output position information into the test data model to construct the test data, and outputting the target test data. By using this method: the process of preparing test data manually is replaced by an automated method, manual repetitive work is reduced, the long link business test data preparation process is standardized and normalized, and the test data preparation efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0021] Figure 1 A flow chart of a test data generating method provided by an embodiment of the present disclosure;

[0022] Figure 2 An example diagram of the execution order of preset operations provided in an embodiment of the present disclosure;

[0023] Figure 3 A schematic diagram of the structure of a test data generating device provided by an embodiment of the present disclosure;

[0024] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0027] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0028] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0029] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0031] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0032] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0033] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0034] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0035] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0036] Embodiment 1

[0037] Figure 1 A flowchart of a test data generating method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation where a solution is provided to the problem of how to quickly construct test data. The method can be executed by a test data generating method device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0038] like Figure 1 As shown, a test data generation method provided by an embodiment of the present disclosure may specifically include the following steps:

[0039] S110: Obtain a preset test data model, initial business information, and node information of an operation to be tested.

[0040] In this embodiment, the test data model may be a preset model for automated batch production of test data. The initial business information may be basic business information. The operation to be tested may be an operation or function to be tested in a business system, and the node information may be location information and basic information of the operation to be tested in the business process data.

[0041] Exemplarily, the business information includes personnel information, loan amount, and loan information.

[0042] Specifically, based on the above embodiment, the following steps are included before obtaining the preset test data model, initial service information and node information of the operation to be tested:

[0043] a1) Obtain the historical logs of the business system to be tested, and extract the log records for different preset operation scenarios in the historical logs.

[0044] b1) Determine in each log record the execution order of the preset operations within the preset operation scenario.

[0045] c1) The execution sequence and preset operations corresponding to each preset operation scenario are used as test data models respectively.

[0046] In this embodiment, the business system to be tested may be a business system of a bank. The historical log is a detailed record of the past operations of the system. The preset operation scenario may be a business scenario of a long link to be created. The preset operation may be an operation in the business scenario. The execution order may be the order of execution of the preset operations.

[0047] Figure 2 This is an example diagram of the execution order of the preset operations provided in the embodiment of the present disclosure. Figure 2 As shown, the historical log of the business system to be tested is obtained, and the log records for different preset operation scenarios in the historical log are extracted. The execution order of the preset operations in the preset operation scenario is determined in each log record. The execution order and the preset operations corresponding to each preset operation scenario are respectively used as test data models.

[0048] Specifically, based on the above embodiment, the execution sequence and the preset operations corresponding to each preset operation scenario are used as the test data model, including the following steps:

[0049] c11) obtaining the operation logic file of the preset operation in each preset operation scenario;

[0050] c11) For the preset operation scenario, link each operation logic file according to the corresponding execution order to obtain a test data model.

[0051] In this embodiment, the operation logic file may be a source program file, an object code file, or the like.

[0052] Obtain the operation logic files of the preset operations in each preset operation scenario. For the preset operation scenarios, use the process orchestration engine to use parameter dynamic linking and other technologies to automatically link the operation logic files in the corresponding execution order to obtain the test data model.

[0053] Specifically, based on the above embodiment, it also includes:

[0054] Determine the data input format and data output format of the test data model.

[0055] Specifically, based on the above embodiment, it also includes:

[0056] When it is determined that the preset operation corresponding to the test data model has changed, the historical log is re-obtained to generate a new test data model.

[0057] This method can be used to avoid data structure unavailability due to changes in long link scenarios due to some reasons, such as changes in scenarios or functions. Automatic maintenance and preservation can be used to respond to corresponding changes in a timely manner to ensure that data structure is available at any time.

[0058] S120. Determine output location information of the test data model according to the node information.

[0059] Specifically, in response to the data construction instruction input by the user, the pre-stored business process data is obtained, the node identifier corresponding to the node information is searched in the business process data, and the output position information corresponding to the node identifier is searched in the preset mapping relationship; the mapping relationship stores the correspondence between the node identifier and the output position information.

[0060] Based on the above embodiment, determining the output position information of the test data model according to the node information includes the following steps:

[0061] a2) Responding to a data construction instruction input by a user, obtaining pre-stored business process data.

[0062] b2) Find the node identifier corresponding to the node information in the business process data.

[0063] c2) searching for output position information corresponding to the node identifier in a preset mapping relationship; the mapping relationship stores the corresponding relationship between the node identifier and the output position information.

[0064] In this embodiment, the data construction instruction may be an execution instruction for data construction sent by a user. The business process data may be a business process in the current scenario. The business process data includes a node identifier corresponding to the node information.

[0065] Specifically, in response to the data construction instruction input by the user, the pre-stored business process data is obtained, and the node identifier corresponding to the node information is searched in the business process data. The output position information corresponding to the node identifier is searched in the preset mapping relationship; the mapping relationship stores the corresponding relationship between the node identifier and the output position information.

[0066] S130: Input the initial business information and the output location information into the test data model to construct the test data, and output the target test data.

[0067] Specifically, this step is used to input the initial business information and the output location information into the test data model to construct the test data and output the target test data.

[0068] The present invention discloses a test data generation method, which includes: obtaining Chinese text to be recognized; obtaining a preset test data model, initial business information and node information of the operation to be tested; determining the output position information of the test data model according to the node information; inputting the initial business information and the output position information into the test data model to construct the test data, and outputting the target test data. By using this method: the process of preparing test data by manual mode is replaced by an automated mode, manual repetitive work is reduced, the long link business test data preparation process is standardized and normalized, and the test data preparation efficiency is improved.

[0069] Figure 3 The present invention also provides a test data generation method device structure diagram, such as Figure 3 As shown, an acquisition module 210, an output position determination module 220 and a test data output module 230.

[0070] The acquisition module 210 is used to acquire a preset test data model, initial business information and node information of the operation to be tested;

[0071] An output position determination module 220, configured to determine output position information of the test data model according to the node information;

[0072] The test data output module 230 is used to input the initial business information and the output location information into the test data model to construct test data and output target test data.

[0073] The technical solution provided by the embodiment of the present disclosure utilizes this method to: realize the process of preparing test data in an automated manner instead of manually, reduce manual repetitive work, standardize and normalize the long-link service test data preparation process, and improve the test data preparation efficiency.

[0074] Furthermore, the output position determination module 220 may be used to:

[0075] Responding to a data construction instruction input by a user, obtaining pre-stored business process data;

[0076] Searching the business process data for a node identifier corresponding to the node information;

[0077] The output position information corresponding to the node identifier is searched in a preset mapping relationship; the mapping relationship stores the corresponding relationship between the node identifier and the output position information.

[0078] Furthermore, the device can also be used for:

[0079] Before obtaining the preset test data model, initial business information and node information of the operation to be tested, the method further includes:

[0080] Obtaining historical logs of the business system to be tested, and extracting log records for different preset operation scenarios in the historical logs;

[0081] Determining in each of the log records the execution order of the preset operations in the preset operation scenario;

[0082] The execution order corresponding to each of the preset operation scenarios and the preset operations are respectively used as the test data models.

[0083] Furthermore, the device can also be used for:

[0084] Obtaining an operation logic file of the preset operation in each of the preset operation scenarios;

[0085] For the preset operation scenario, each of the operation logic files is linked according to the corresponding execution order to obtain the test data model.

[0086] Furthermore, the device can also be used for:

[0087] A data input format and a data output format of the test data model are determined.

[0088] Furthermore, the device can also be used for:

[0089] When it is determined that the preset operation corresponding to the test data model has changed, the historical log is re-acquired to generate a new test data model.

[0090] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not described in detail in this embodiment, please refer to the methods provided by all the above embodiments of the present invention.

[0091] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is given. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0092] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0093] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0094] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a test data generation method.

[0095] In some embodiments, the test data generation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the test data generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the test data generation method in any other appropriate manner (e.g., by means of firmware).

[0096] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0097] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0098] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0099] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0100] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0101] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0102] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0103] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A test data generation method, characterized in that: include: Obtain the preset test data model, initial business information and node information of the operation to be tested; Determine output position information of the test data model according to the node information; The initial business information and the output location information are input into the test data model to construct test data, and target test data is output.

2. The method according to claim 1, characterized in that The step of determining the output location information of the test data model according to the node information includes: Responding to a data construction instruction input by a user, obtaining pre-stored business process data; Searching the business process data for a node identifier corresponding to the node information; The output position information corresponding to the node identifier is searched in a preset mapping relationship; the mapping relationship stores the corresponding relationship between the node identifier and the output position information.

3. The method according to claim 1, characterized in that Before obtaining the preset test data model, initial business information and node information of the operation to be tested, the method further includes: Obtaining historical logs of the business system to be tested, and extracting log records for different preset operation scenarios in the historical logs; Determining in each of the log records the execution order of the preset operations in the preset operation scenario; The execution order corresponding to each of the preset operation scenarios and the preset operations are respectively used as the test data models.

4. The method according to claim 3, characterized in that: The using the execution sequence corresponding to each of the preset operation scenarios and the preset operations as the test data model respectively includes: Obtaining an operation logic file of the preset operation in each of the preset operation scenarios; For the preset operation scenario, each of the operation logic files is linked according to the corresponding execution order to obtain the test data model.

5. The method according to claim 3, characterized in that: Also includes: A data input format and a data output format of the test data model are determined.

6. The method according to claim 3, characterized in that Also includes: When it is determined that the preset operation corresponding to the test data model has changed, the historical log is re-acquired to generate a new test data model.

7. A test data generating device, characterized in that: include: An acquisition module is used to acquire a preset test data model, initial business information, and node information of the operation to be tested; An output position determination module, used to determine output position information of the test data model according to the node information; The test data output module is used to input the initial business information and the output position information into the test data model to construct the test data and output the target test data.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the test data generating method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the test data generating method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the test data generating method according to any one of claims 1 to 6.