Intelligent construction method and device for data generation

The intelligent construction method generates fabricated data according to test scenario requirements, which solves the problem of reliability and accuracy of fabricated data in automated testing and improves the testing quality and security of online trading applications.

CN118210708BActive Publication Date: 2024-09-17HUAAN SECURITIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410193167.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-21
Publication Date
2024-09-17
Estimated Expiration
2044-02-21

AI Technical Summary

Technical Problem

Existing automated testing relies on manual design of use cases and setting of expected results, resulting in high development and maintenance costs. Moreover, the quality of use case design, execution stability and coverage depend on the business and technical level of testers, making it difficult to ensure the construction of test data. Reliability and accuracy.

Method used

By determining the matching basic data from the pre-established data pool based on the preset test scenario demand information, and generating the data creation results according to the data creation method parameters, including the interface calling method, the number of data creation items and the data creation identification parameters, it improves Creation of data with reliability and accuracy.

Benefits of technology

It improves the reliability and accuracy of creating data, thereby improving the reliability and accuracy of testing online trading applications, ensuring the normal operation and security of the application, and improving the efficiency of creating data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118210708B
    Figure CN118210708B
Patent Text Reader

Abstract

The present invention discloses a method and device for intelligently constructing data, the method comprising: determining basic data for data construction that matches the test scenario requirement information from a pre-established data pool according to preset test scenario requirement information; determining data creation mode parameters corresponding to the basic data; the data creation mode parameters include interface call mode parameters, data creation number parameters, and data creation identification parameters; generating data creation results corresponding to the basic data according to the data creation mode parameters corresponding to the basic data. It can be seen that the implementation of the present invention can intelligently generate data creation results corresponding to the basic data according to the determined basic data and the corresponding data creation mode parameters, so that the reliability and accuracy of the creation of the data can be improved, and then the reliability and accuracy of the test of the online transaction application can be improved through the data creation, so as to ensure the normal operation and security of the online transaction application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data construction, and in particular to an intelligent construction method and device for data construction. Background Art

[0002] With the continuous development of financial services, the volume of various business transactions has continued to increase, and the amount of various transaction data has continued to increase, and the testing requirements for online trading applications have become increasingly higher. At present, the existing automated testing relies on manual number generation to support the construction of test data when there is a lack of data at the counter, and to test the operating performance of online trading applications in different business scenarios. However, through practice, it is found that since the existing automated testing requires manual design of use cases and setting of expected results, its development and maintenance costs are high, and the quality of use case design, execution stability and coverage all depend on the business and technical level of the testers, making it difficult to effectively guarantee the reliability and accuracy of the test data construction. It can be seen that it is particularly important to propose a method that can improve the reliability and accuracy of the test data construction. Summary of the invention

[0003] The present invention provides an intelligent construction method and device for fabricated data, which can improve the reliability and accuracy of the creation of fabricated data, and further improve the reliability and accuracy of the test of online transaction applications through fabricated data, thereby ensuring the normal operation and security of the online transaction applications.

[0004] In order to solve the above technical problems, the first aspect of the present invention discloses an intelligent construction method for data generation, the method comprising:

[0005] According to the preset test scenario requirement information, basic data for data construction that matches the test scenario requirement information is determined from a pre-established data pool;

[0006] Determine the data creation mode parameters corresponding to the basic data; the data creation mode parameters include interface call mode parameters, data creation number parameters and data creation identification parameters;

[0007] According to the data creation method parameters corresponding to the basic data, the data creation results corresponding to the basic data are generated.

[0008] As an optional implementation, in the first aspect of the present invention, before determining, according to the preset test scenario requirement information, from a pre-established data pool, basic data for data construction that matches the test scenario requirement information, the method further includes:

[0009] According to the preset test scenario requirement information, determine the target parameters required to establish the data pool; the target parameters include interface call parameters and data merging requirement parameters;

[0010] Calling multiple interfaces according to the interface calling parameters, so as to obtain multiple original interface data corresponding to each of the interfaces through all the interfaces;

[0011] Adding all the original interface data corresponding to all the interfaces to a preset original data pool to update all the original data in the original data pool, and calculating data difference parameters between any two of the original data;

[0012] The data pool is established according to the data difference parameters between the original data.

[0013] As an optional implementation, in the first aspect of the present invention, before determining, according to the preset test scenario requirement information, from a pre-established data pool, basic data for data construction that matches the test scenario requirement information, the method further includes:

[0014] According to the preset test scenario requirement information, determine the target parameters required to establish the data pool; the target parameters include interface call parameters and data merging requirement parameters;

[0015] Calling multiple interfaces according to the interface calling parameters, so as to obtain multiple original interface data corresponding to each of the interfaces through all the interfaces;

[0016] Adding all the original interface data corresponding to all the interfaces to a preset original data pool to update all the original data in the original data pool, and calculating data difference parameters between any two of the original data;

[0017] The data pool is established according to the data difference parameters between the original data.

[0018] As an optional implementation manner, in the first aspect of the present invention, generating the data creation result corresponding to the basic data according to the data creation mode parameter corresponding to the basic data includes:

[0019] Calling a target interface matching the basic data according to the interface calling mode parameter, so as to obtain the basic data through the target interface;

[0020] According to the parameter of the number of created data, a data creation operation is performed on the basic data under the created data identification parameter to obtain a plurality of created data corresponding to the basic data, and the return parameters of all the created data are obtained;

[0021] According to all the created data and all the return parameters of the created data, the created data result corresponding to the basic data is determined.

[0022] As an optional implementation, in the first aspect of the present invention, before determining the data creation result corresponding to the basic data according to all the creation data and the return parameters of all the creation data, the method further includes:

[0023] Determine the return requirement parameters of all the created data according to the test scenario requirement information, and calculate the return parameter matching degree of each created data according to the return requirement parameter of each created data and the corresponding return parameter;

[0024] According to the return parameter matching degrees of all the manufacturing data, determining whether there is at least one pending modification manufacturing data whose return parameter matching degree is less than a preset matching degree among all the manufacturing data;

[0025] When the judgment result is no, triggering the execution of the operation of determining the data creation result corresponding to the basic data according to all the creation data and all the return parameters of the creation data;

[0026] When the judgment result is yes, determining the modification degree parameter corresponding to each of the pending modification data according to the modification data identification parameter and the return parameters of all the pending modification data, and determining the target modification data whose modification degree parameter is greater than or equal to the preset modification degree threshold value from all the pending modification data according to the modification degree parameters corresponding to all the pending modification data;

[0027] Determining a data modification method of the target modified manufacturing data, and modifying the target modified manufacturing data according to the data modification method to obtain modified manufacturing data;

[0028] Obtain the return parameters of the modified created data, and update all the created data and the return parameters of all the created data according to the modified created data and the return parameters of the modified created data, and trigger the execution of the operation of calculating the matching degree of the return parameters of each created data according to the return requirement parameters of each created data and the corresponding return parameters.

[0029] As an optional implementation manner, in the first aspect of the present invention, after generating the data creation result corresponding to the basic data according to the data creation mode parameter corresponding to the basic data, the method further includes:

[0030] Detect whether a target data request sent by a certain user is received;

[0031] When it is detected that the target data request is received, the target data set required by the user is determined according to the target data request, and it is determined whether the target data set contains target data; all the data contain the target data;

[0032] When it is determined that the target data set does not exist in the target data set, the preset request counter sends the target data set to the user;

[0033] When it is determined that the target data set contains the target data, determining whether the target data satisfies a preset validity condition;

[0034] When it is determined that the target data does not meet the validation condition, the request counter determines, based on the target data, data to be sent whose data correlation with the target data is greater than or equal to a preset correlation threshold from a preset counter data set, and sends the data to be sent and the target data set except the target data to the user;

[0035] When it is determined that the target data set meets the validity condition, the request counter sends the target data set to the user.

[0036] As an optional implementation manner, in the first aspect of the present invention, the determining whether the target data satisfies a preset validity condition includes:

[0037] Determine a target identification parameter corresponding to the target data, and determine a data object corresponding to the target data according to the target identification parameter; the target identification parameter includes an account identification parameter and / or an interface identification parameter, and the data object includes a data account and / or a data interface;

[0038] Determine the current status of multiple pending creation data corresponding to the data object, and determine whether the current status of all pending creation data is in an invalid state; all the creation data include all pending creation data;

[0039] When it is determined that the current states of all the to-be-determined manufacturing data are the ineffective states, it is determined that the target manufacturing data meets the preset effectiveness condition.

[0040] The second aspect of the present invention discloses an intelligent construction device for creating data, the device comprising:

[0041] A determination module is used to determine, according to preset test scenario requirement information, basic data for data construction that matches the test scenario requirement information from a pre-established data pool; determine data creation mode parameters corresponding to the basic data; the data creation mode parameters include interface call mode parameters, data creation number parameters, and data creation identification parameters;

[0042] A generating module is used to generate a data creation result corresponding to the basic data according to the data creation method parameters corresponding to the basic data.

[0043] As an optional implementation manner, in the second aspect of the present invention, the determining module is further used to:

[0044] Before determining the basic data for data construction that matches the test scenario requirement information from the pre-established data pool according to the preset test scenario requirement information, determining the target parameters required for establishing the data pool according to the preset test scenario requirement information; the target parameters include interface call parameters and data merging requirement parameters;

[0045] The device also includes:

[0046] An acquisition module, used to call multiple interfaces according to the interface call parameters, so as to acquire multiple original interface data corresponding to each of the interfaces through all the interfaces;

[0047] An updating module, used for adding all the original interface data corresponding to all the interfaces to a preset original data pool, so as to update all the original data in the original data pool;

[0048] A calculation module, used for calculating data difference parameters between the two original data;

[0049] The establishing module is used to establish the data pool according to the data difference parameters between the two original data.

[0050] As an optional implementation, in the second aspect of the present invention, the establishment module establishes the data pool according to the data difference parameters between the two original data in a specific manner including:

[0051] According to the data merging requirement parameter, determine the data difference requirement threshold parameter corresponding to all the original data, and according to the data difference parameter between the two original data and the data difference requirement threshold parameter, determine the two data to be merged whose data difference parameter is less than the data difference requirement threshold parameter from the two original data;

[0052] Determine the data similarity factor between the two data to be merged, and determine the fields to be merged corresponding to the two data to be merged according to the data similarity factor between the two data to be merged;

[0053] According to the to-be-merged fields corresponding to the two to-be-merged data, a data merging operation is performed on the two to-be-merged data to obtain merged data corresponding to the two to-be-merged data;

[0054] The data pool is established according to the merged data corresponding to the data to be merged and the original data whose data difference parameter is greater than or equal to the data difference requirement threshold parameter.

[0055] As an optional implementation, in the second aspect of the present invention, the generation module generates the data creation result corresponding to the basic data according to the data creation method parameter corresponding to the basic data, specifically including:

[0056] Calling a target interface matching the basic data according to the interface calling mode parameter, so as to obtain the basic data through the target interface;

[0057] According to the parameter of the number of created data, a data creation operation is performed on the basic data under the created data identification parameter to obtain a plurality of created data corresponding to the basic data, and the return parameters of all the created data are obtained;

[0058] According to all the created data and all the return parameters of the created data, the created data result corresponding to the basic data is determined.

[0059] As an optional implementation, in the second aspect of the present invention, the generation module generates the data creation result corresponding to the basic data according to the data creation method parameter corresponding to the basic data, and the method further includes:

[0060] Before determining the data creation result corresponding to the basic data according to all the creation data and the return parameters of all the creation data, determining the return requirement parameters of all the creation data according to the test scenario requirement information, and calculating the return parameter matching degree of each creation data according to the return requirement parameter of each creation data and the corresponding return parameter;

[0061] According to the return parameter matching degrees of all the manufacturing data, determining whether there is at least one pending modification manufacturing data whose return parameter matching degree is less than a preset matching degree among all the manufacturing data;

[0062] When the judgment result is no, triggering the execution of the operation of determining the data creation result corresponding to the basic data according to all the creation data and all the return parameters of the creation data;

[0063] When the judgment result is yes, determining the modification degree parameter corresponding to each of the pending modification data according to the modification data identification parameter and the return parameters of all the pending modification data, and determining the target modification data whose modification degree parameter is greater than or equal to the preset modification degree threshold value from all the pending modification data according to the modification degree parameters corresponding to all the pending modification data;

[0064] Determining a data modification method of the target modified manufacturing data, and modifying the target modified manufacturing data according to the data modification method to obtain modified manufacturing data;

[0065] Obtain the return parameters of the modified created data, and update all the created data and the return parameters of all the created data according to the modified created data and the return parameters of the modified created data, and trigger the execution of the operation of calculating the matching degree of the return parameters of each created data according to the return requirement parameters of each created data and the corresponding return parameters.

[0066] As an optional implementation, in the second aspect of the present invention, the device further includes:

[0067] A detection module, used for detecting whether a target data request sent by a certain user is received after the generation module generates a data creation result corresponding to the basic data according to the data creation mode parameters corresponding to the basic data;

[0068] The determination module is further configured to determine the target data set required by the user according to the target data request when the detection module detects that the target data request is received;

[0069] A judgment module, used for judging whether there is target data in the target data set; all the data include the target data;

[0070] a sending module, configured to send the target data set to the user through a preset request counter when the judging module judges that the target data set does not exist in the target data set;

[0071] The judging module is further configured to judge whether the target data satisfies a preset validity condition when it is judged that the target data set contains the target data;

[0072] The sending module is also used for, when the judgment module judges that the target data does not meet the effectiveness condition, the request counter determines, based on the target data, data to be sent whose data correlation with the target data is greater than or equal to a preset correlation threshold from a preset counter data set, and sends the data to be sent and the target data set other than the target data to the user; when the judgment module judges that the target data meets the effectiveness condition, the request counter sends the target data set to the user.

[0073] As an optional implementation, in the second aspect of the present invention, the judgment module judges whether the target data meets the preset validity condition in a manner that specifically includes:

[0074] Determine a target identification parameter corresponding to the target data, and determine a data object corresponding to the target data according to the target identification parameter; the target identification parameter includes an account identification parameter and / or an interface identification parameter, and the data object includes a data account and / or a data interface;

[0075] Determine the current status of multiple pending creation data corresponding to the data object, and determine whether the current status of all pending creation data is in an invalid state; all the creation data include all pending creation data;

[0076] When it is determined that the current states of all the to-be-determined manufacturing data are the ineffective states, it is determined that the target manufacturing data meets the preset effectiveness condition.

[0077] The third aspect of the present invention discloses another intelligent construction device for creating data, the device comprising:

[0078] A memory storing executable program code;

[0079] a processor coupled to the memory;

[0080] The processor calls the executable program code stored in the memory to execute the intelligent construction method for data creation disclosed in the first aspect of the present invention.

[0081] The fourth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the intelligent construction method for creating data disclosed in the first aspect of the present invention.

[0082] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0083] In the embodiment of the present invention, according to the preset test scenario requirement information, the basic data for data construction that matches the test scenario requirement information is determined from the pre-established data pool; the data creation method parameters corresponding to the basic data are determined; the data creation method parameters include interface call method parameters, data creation number parameters and data creation identification parameters; according to the data creation method parameters corresponding to the basic data, the data creation results corresponding to the basic data are generated. It can be seen that the implementation of the present invention can intelligently generate the data creation results corresponding to the basic data according to the determined basic data and the corresponding data creation method parameters, so that the reliability and accuracy of the creation of the data can be improved, and then the reliability and accuracy of the test of the online transaction application can be improved through the data creation, so as to ensure the normal operation and security of the online transaction application. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0085] Figure 1 It is a flowchart of an intelligent construction method for creating data disclosed in an embodiment of the present invention;

[0086] Figure 2 It is a flowchart of another intelligent construction method for data creation disclosed in an embodiment of the present invention;

[0087] Figure 3 It is a structural schematic diagram of an intelligent construction device for creating data disclosed in an embodiment of the present invention;

[0088] Figure 4 It is a schematic diagram of the structure of another intelligent construction device for creating data disclosed in an embodiment of the present invention;

[0089] Figure 5 It is a structural schematic diagram of another intelligent construction device for creating data disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0090] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0091] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0092] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0093] The present invention discloses an intelligent construction method and device for fabricated data, which can improve the reliability and accuracy of the creation of fabricated data, and further improve the reliability and accuracy of the test of online transaction applications through fabricated data, thereby ensuring the normal operation and security of the online transaction applications; at the same time, it can also improve the creation efficiency of fabricated data.

[0094] Embodiment 1

[0095] See also Figure 1 , Figure 1 1 is a flow chart of an intelligent construction method for data generation disclosed in an embodiment of the present invention. Figure 1 The intelligent construction method of data fabrication described can be applied to create data fabrication required for various types of applications, such as online trading applications, social media applications, etc., which is not limited by the embodiments of the present invention. Optionally, the method can be implemented by a data fabrication construction device, which can be integrated into a data fabrication device, such as a smart computer, a data fabrication module, etc. When the data fabrication construction device exists independently, it can also be a local server or cloud server for processing the data fabrication process, which is not limited by the embodiments of the present invention. Figure 1 As shown, the intelligent construction method of the data may include the following operations:

[0096] 101. According to preset test scenario requirement information, basic data for data construction that matches the test scenario requirement information is determined from a pre-established data pool.

[0097] In an embodiment of the present invention, optionally, the test scenario requirement information may include test scenario type requirement information, test scenario duration requirement information, test scenario accuracy requirement information, etc. Further, the data pool may be determined by adding the original interface data corresponding to the called multiple interfaces to a preset original data pool.

[0098] 102. Determine the data creation method parameters corresponding to the basic data.

[0099] In an embodiment of the present invention, optionally, the data creation method parameters include interface call method parameters (such as specific interface call request method, interface return parameter delay parameters, etc.), data creation number parameters (such as the need to copy basic data into N data creation items) and data creation identification parameters (such as creating data for account A).

[0100] 103. Generate data creation results corresponding to the basic data according to the data creation method parameters corresponding to the basic data.

[0101] In an embodiment of the present invention, optionally, all the created data based on the basic data and the return parameters corresponding to each created data can be determined as the created data results corresponding to the basic data, and all the modified created data and the return parameters corresponding to the modified created data can be further determined as the created data results corresponding to the basic data.

[0102] It can be seen that the implementation of the embodiment of the present invention can intelligently generate data creation results corresponding to the basic data according to the determined basic data and the corresponding data creation method parameters. In this way, the reliability and accuracy of the creation of the created data can be improved, and then the reliability and accuracy of the test of the online transaction application can be improved through the created data, thereby ensuring the normal operation and security of the online transaction application; at the same time, the efficiency of the creation of the created data can also be improved.

[0103] In an optional embodiment, before determining basic data for data construction that matches the test scenario requirement information from a pre-established data pool according to the preset test scenario requirement information in the above step 101, the method further includes:

[0104] Determine the target parameters required to establish the data pool based on the preset test scenario requirements;

[0105] Call multiple interfaces according to interface call parameters to obtain multiple raw interface data corresponding to each interface through all interfaces;

[0106] Add all original interface data corresponding to all interfaces to a preset original data pool to update all original data in the original data pool, and calculate data difference parameters between any two original data;

[0107] A data pool is established based on the data difference parameters between the two original data.

[0108] In this optional embodiment, the target parameters may include interface call parameters and data merging requirement parameters (e.g., it is necessary to merge N pieces of original data obtained later into N-50 pieces of original data). Further, the calculation of the data difference parameters between the two pieces of original data may be achieved by comparing the data types, processing logics, interface objects, counter objects, etc. corresponding to the two pieces of original data.

[0109] It can be seen that this optional embodiment can call the corresponding interface according to the test scenario requirement information to add the acquired original interface data to the original data pool, and establish the data pool by calculating the data difference parameters between the pairwise original data in the updated original data pool. In this way, the reliability and accuracy of the establishment of the data pool can be improved, and then the efficiency and accuracy of the subsequent data creation operations on the basic data can be improved, which is conducive to quickly and effectively generating a large amount of data required for testing.

[0110] In an optional embodiment, the step of establishing a data pool according to the data difference parameters between the two original data in the above step includes:

[0111] According to the data merging requirement parameter, the data difference requirement threshold parameter corresponding to all the original data is determined, and according to the data difference parameter between the two original data and the data difference requirement threshold parameter, the two pairs of data to be merged whose data difference parameter is less than the data difference requirement threshold parameter are determined from the two original data;

[0112] Determine the data similarity factor between the two data to be merged, and determine the to-be-merged fields corresponding to the two data to be merged according to the data similarity factor between the two data to be merged;

[0113] According to the to-be-merged fields corresponding to the two to-be-merged data, a data merging operation is performed on the two to-be-merged data to obtain merged data corresponding to the two to-be-merged data;

[0114] A data pool is established based on the merged data corresponding to the pairwise data to be merged and the pairwise original data whose data difference parameters are greater than or equal to the data difference requirement threshold parameters.

[0115] In this optional embodiment, for example, there may be differences between the data in multiple original data. In this case, the fields of the data to be merged with higher similarity can be merged to retain the original data with greater differences, and the retained original data can be used to create a data pool. Furthermore, data processing operations such as data desensitization and data cleaning can be performed on the merged data corresponding to the two data to be merged and the two original data whose data difference parameters are greater than or equal to the data difference requirement threshold parameters, so as to ensure the data security and data accuracy of the retained original data.

[0116] It can be seen that this optional embodiment is able to perform field merging on pairwise original data whose data difference parameters are less than the data difference requirement threshold parameters, so as to establish a data pool based on all the merged data obtained and pairwise original data whose data difference parameters are greater than or equal to the data difference requirement threshold parameters. This is conducive to reducing the amount of redundant and duplicate data in the data pool, and further helps to ensure a large difference between all the original data in the established data pool, thereby facilitating the efficient execution of subsequent basic data determination operations.

[0117] Embodiment 2

[0118] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another intelligent construction method for data generation disclosed in an embodiment of the present invention. Figure 2 The intelligent construction method of data fabrication described can be applied to create data fabrication required for various types of applications, such as online trading applications, social media applications, etc., which is not limited by the embodiments of the present invention. Optionally, the method can be implemented by a data fabrication construction device, which can be integrated into a data fabrication device, such as a smart computer, a data fabrication module, etc. When the data fabrication construction device exists independently, it can also be a local server or cloud server for processing the data fabrication process, which is not limited by the embodiments of the present invention. Figure 2 As shown, the intelligent construction method of the data may include the following operations:

[0119] 201. According to preset test scenario requirement information, basic data for data construction that matches the test scenario requirement information is determined from a pre-established data pool.

[0120] 202. Determine the data creation method parameters corresponding to the basic data.

[0121] 203. Call a target interface that matches the basic data according to the interface calling method parameters, so as to obtain the basic data through the target interface.

[0122] In the embodiment of the present invention, the target interface is called by using a preset interface request id, request method, etc. to obtain basic data.

[0123] 204. According to the parameter for the number of created data, a data creation operation is performed on the basic data under the created data identification parameter to obtain multiple created data corresponding to the basic data, and the return parameters of all the created data are obtained.

[0124] In the embodiment of the present invention, when it is necessary to create data for account A (ie, data identification parameters), the basic data is copied and modified, and the obtained multiple data are mapped to the account A.

[0125] 205. According to all the created data and the return parameters of all the created data, determine the created data result corresponding to the basic data.

[0126] In the embodiment of the present invention, optionally, the return parameters of the generated data may include a return delay parameter, a return output parameter, and the like.

[0127] In the embodiment of the present invention, for other descriptions of step 201 and step 202, please refer to the detailed description of step 101 and step 102 in the first embodiment, and the embodiment of the present invention will not be repeated.

[0128] It can be seen that the implementation of the embodiment of the present invention can intelligently call the corresponding target interface according to the interface calling method parameters to obtain the basic data, and perform data creation operations on the basic data under the created data identification parameters according to the created data number parameters and obtain the return parameters of each created data. In this way, the reliability and accuracy of the created data creation can be improved, as well as the reliability and accuracy of the return parameters of the acquired created data, which is beneficial to ensure the accuracy of the created data results corresponding to the basic data, thereby facilitating the subsequent use of the created data results for corresponding application testing.

[0129] In an optional embodiment, before determining the data creation result corresponding to the basic data according to all the creation data and the return parameters of all the creation data in the above step 205, the method further includes:

[0130] According to the test scenario requirement information, determine the return requirement parameters of all created data, and calculate the return parameter matching degree of each created data according to the return requirement parameters of each created data and the corresponding return parameters;

[0131] According to the return parameter matching degree of all the creation data, it is determined whether there is at least one pending modification creation data whose return parameter matching degree is less than a preset matching degree in all the creation data;

[0132] When the judgment result is no, the operation of determining the data creation result corresponding to the basic data according to all the creation data and the return parameters of all the creation data in step 205 is triggered to execute;

[0133] When the judgment result is yes, determine the modification degree parameter corresponding to each pending modification manufacturing data according to the manufacturing data identification parameter and the return parameters of all pending modification manufacturing data, and determine the target modification manufacturing data whose modification degree parameter is greater than or equal to the preset modification degree threshold value from all pending modification manufacturing data according to the modification degree parameters corresponding to all pending modification manufacturing data;

[0134] Determine a data modification method for target modified manufacturing data, and modify the target modified manufacturing data according to the data modification method to obtain modified manufacturing data;

[0135] Obtain the return parameters of the modified data, and update all the data and the return parameters of all the data according to the modified data and the return parameters of the modified data, and trigger the execution of the above steps to calculate the matching degree of the return parameters of each data according to the return requirement parameters and the corresponding return parameters of each data.

[0136] In this optional embodiment, further, when there is pending modification data, its corresponding modification degree parameter can be calculated based on the modification data identification parameter and the return parameter of the pending modification data, or further based on the modification size of the pending modification data determined by the modification authority parameter of the corresponding modification personnel. Optionally, the data modification method of the target modification data can be to modify the target modification data itself, or to modify the return parameter of the target modification data.

[0137] It can be seen that this optional embodiment can first calculate the return parameter matching degree of the manufactured data based on the return requirement parameters of the manufactured data and the corresponding return parameters, and then modify the target modified manufactured data with a smaller return parameter matching degree and a larger modification degree parameter, so as to determine the manufactured data result corresponding to the basic data. In this way, the modification reliability, accuracy and effectiveness of the target modified manufactured data can be improved, and then it can be ensured that the obtained manufactured data result can meet the testing requirements of the tester, which is conducive to accurate testing of the running performance of the application.

[0138] In another optional embodiment, after generating the data creation result corresponding to the basic data according to the data creation mode parameter corresponding to the basic data in the above step 205, the method further includes:

[0139] Detect whether a target data request sent by a certain user is received;

[0140] When it is detected that a target data request is received, the target data set required by the user is determined according to the target data request, and whether the target data set exists in the target data set;

[0141] When it is determined that the target data set does not exist, the preset request counter sends the target data set to the user;

[0142] When it is determined that the target data set has target data, it is determined whether the target data satisfies a preset validity condition;

[0143] When it is determined that the target data does not meet the validity condition, the requesting counter determines the data to be sent from the preset counter data set according to the target data, the data correlation degree with the target data being greater than or equal to the preset correlation degree threshold, and sends the data to be sent and the target data set other than the target data to the user;

[0144] When it is determined that the target data meets the validity conditions, the request counter sends the target data set to the user.

[0145] In this optional embodiment, all the fake data include the target fake data. Optionally, the request counter includes a real counter and a simulated counter, wherein the real counter is used to send the real counter data, and the simulated counter is used to send the corresponding fake data (i.e., test data). For example, when the test user initiates a target data request to the trading system, the request counter can intercept the target data request and check whether the corresponding fake data exists in the target data set requested by the target data request. If so, check whether the corresponding fake data is valid. If so, send the corresponding fake data to the test user through the simulated counter in the request counter, and the rest of the data is sent through the real counter in the request counter; and if the corresponding fake data does not exist in the target data set or the corresponding fake data is not valid, the corresponding data sending operation is performed through the real counter (if the corresponding fake data is not valid, the real counter can send other fake data that has been valid and has a large data similarity, or send the real counter data with a large data similarity and a high security).

[0146] It can be seen that this optional embodiment can determine the target data set required by the user according to the target data request sent by the user, and check whether the target data exists in the target data set, and then perform the corresponding data sending operation according to the determination result. This is conducive to improving the execution reliability and accuracy of the target data set sending operation, and then to improving the security of the target data set sending, so as to improve the reliability and security of subsequent testing of the application.

[0147] In yet another optional embodiment, the step of determining whether the target data meets a preset validity condition in the above step includes:

[0148] Determine the target identification parameter corresponding to the target data, and determine the data object corresponding to the target data according to the target identification parameter;

[0149] Determine the current status of multiple pending creation data corresponding to the data object, and determine whether the current status of all pending creation data is in an invalid state;

[0150] When it is determined that the current states of all the to-be-determined manufacturing data are in an ineffective state, it is determined that the target manufacturing data meets the preset effectiveness condition.

[0151] In this optional embodiment, all the manufacturing data include all the manufacturing data to be determined. Optionally, the target identification parameter includes an account identification parameter and / or an interface identification parameter. Further optionally, the data object includes a data account and / or a data interface. For example, when the current state of the manufacturing data to be determined corresponding to the account and / or interface corresponding to the target manufacturing data has an effective state, the target manufacturing data does not meet the preset effectiveness conditions, thereby ensuring that only one manufacturing data under the same account and the same interface can be in an effective state. When the current state of the target manufacturing data needs to be converted to an effective state, the effective manufacturing data to be determined needs to be converted to an ineffective state.

[0152] It can be seen that this optional embodiment can determine whether the target data meets the preset effectiveness conditions based on the current status of multiple to-be-determined data corresponding to the data object corresponding to the target data. In this way, the execution reliability and accuracy of the effectiveness condition determination operation of the target data can be improved, and then the subsequent sending reliability, accuracy and effectiveness of the target data set can be improved, thereby ensuring the testing security of the application.

[0153] Embodiment 3

[0154] See also Figure 3 , Figure 3 Schematic diagram of the structure of an intelligent data construction device disclosed in an embodiment of the present invention. Figure 3 As shown, the intelligent construction device for creating data may include:

[0155] The determination module 301 is used to determine the basic data for data construction that matches the test scenario requirement information from the pre-established data pool according to the preset test scenario requirement information; and determine the data construction method parameters corresponding to the basic data;

[0156] The generating module 302 is used to generate the data creation result corresponding to the basic data according to the data creation method parameters corresponding to the basic data.

[0157] In the embodiment of the present invention, the data creation mode parameter includes an interface call mode parameter, a data creation number parameter, and a data creation identification parameter.

[0158] It can be seen that implementation Figure 3 The described intelligent construction device for fabricated data can intelligently generate fabricated data results corresponding to the basic data based on the determined basic data and the corresponding data fabrication method parameters. In this way, the reliability and accuracy of the creation of fabricated data can be improved, and the reliability and accuracy of the test of online transaction applications can be improved through fabricated data, thereby ensuring the normal operation and security of the online transaction applications; at the same time, the efficiency of the creation of fabricated data can also be improved.

[0159] In an optional embodiment, the determination module 301 is further configured to:

[0160] Before determining basic data for data construction that matches the test scenario requirement information from a pre-established data pool according to the preset test scenario requirement information, determining target parameters required for establishing the data pool according to the preset test scenario requirement information;

[0161] The device also includes:

[0162] The acquisition module 303 is used to call multiple interfaces according to the interface call parameters, so as to obtain multiple original interface data corresponding to each interface through all the interfaces;

[0163] An updating module 304 is used to add all original interface data corresponding to all interfaces to a preset original data pool to update all original data in the original data pool;

[0164] A calculation module 305 is used to calculate data difference parameters between two original data;

[0165] The establishing module 306 is used to establish a data pool according to the data difference parameters between the two original data.

[0166] In this optional embodiment, the target parameters include interface call parameters and data merging requirement parameters.

[0167] It can be seen that implementation Figure 4 The described intelligent construction device for artificial data can call the corresponding interface according to the test scenario requirement information to add the acquired original interface data to the original data pool, and establish the data pool by calculating the data difference parameters between the two original data in the updated original data pool. In this way, the reliability and accuracy of the establishment of the data pool can be improved, and then the efficiency and accuracy of the subsequent artificial data creation operations on the basic data can be improved, which is conducive to the fast and good generation of a large amount of artificial data required for the test.

[0168] In another optional embodiment, the establishment module 306 establishes the data pool according to the data difference parameters between the two original data in a specific manner including:

[0169] According to the data merging requirement parameter, the data difference requirement threshold parameter corresponding to all the original data is determined, and according to the data difference parameter between the two original data and the data difference requirement threshold parameter, the two pairs of data to be merged whose data difference parameter is less than the data difference requirement threshold parameter are determined from the two original data;

[0170] Determine the data similarity factor between the two data to be merged, and determine the to-be-merged fields corresponding to the two data to be merged according to the data similarity factor between the two data to be merged;

[0171] According to the to-be-merged fields corresponding to the two to-be-merged data, a data merging operation is performed on the two to-be-merged data to obtain merged data corresponding to the two to-be-merged data;

[0172] A data pool is established based on the merged data corresponding to the pairwise data to be merged and the pairwise original data whose data difference parameters are greater than or equal to the data difference requirement threshold parameters.

[0173] It can be seen that implementation Figure 4 The described intelligent data construction device can merge fields of pairwise original data whose data difference parameters are less than data difference requirement threshold parameters, so as to establish a data pool based on all the merged data obtained and pairwise original data whose data difference parameters are greater than or equal to data difference requirement threshold parameters. This is conducive to reducing the amount of redundant and duplicate data in the data pool, and further conducive to ensuring a large difference between all original data in the established data pool, thereby facilitating the efficient execution of subsequent basic data determination operations.

[0174] In another optional embodiment, the generation module 302 generates the data creation result corresponding to the basic data according to the data creation method parameters corresponding to the basic data, specifically including:

[0175] According to the interface calling method parameters, the target interface matching the basic data is called to obtain the basic data through the target interface;

[0176] According to the parameter of the number of created data, the data creation operation under the created data identification parameter is performed on the basic data to obtain multiple created data corresponding to the basic data, and the return parameters of all the created data are obtained;

[0177] According to all the created data and the return parameters of all the created data, the created data results corresponding to the basic data are determined.

[0178] It can be seen that implementation Figure 4 The described intelligent construction device for artificial data can intelligently call the corresponding target interface according to the interface calling method parameters to obtain the basic data, and perform data creation operations on the basic data under the artificial data identification parameters according to the artificial data number parameters and obtain the return parameters of each artificial data. In this way, the reliability and accuracy of artificial data creation can be improved, as well as the reliability and accuracy of the return parameters of the artificial data obtained, which is beneficial to ensure the accuracy of the artificial data results corresponding to the basic data, thereby facilitating the subsequent use of the artificial data results for corresponding application testing.

[0179] In another optional embodiment, the generation module 302 generates the data creation result corresponding to the basic data according to the data creation method parameter corresponding to the basic data, and the method specifically includes:

[0180] Before determining the data creation results corresponding to the basic data based on all the creation data and the return parameters of all the creation data, determine the return requirement parameters of all the creation data based on the test scenario requirement information, and calculate the return parameter matching degree of each creation data based on the return requirement parameters of each creation data and the corresponding return parameters;

[0181] According to the return parameter matching degree of all the creation data, it is determined whether there is at least one pending modification creation data whose return parameter matching degree is less than a preset matching degree in all the creation data;

[0182] When the judgment result is no, the operation of determining the data creation result corresponding to the basic data based on all the created data and the return parameters of all the created data is triggered;

[0183] When the judgment result is yes, determine the modification degree parameter corresponding to each pending modification manufacturing data according to the manufacturing data identification parameter and the return parameters of all pending modification manufacturing data, and determine the target modification manufacturing data whose modification degree parameter is greater than or equal to the preset modification degree threshold value from all pending modification manufacturing data according to the modification degree parameters corresponding to all pending modification manufacturing data;

[0184] Determine a data modification method for target modified manufacturing data, and modify the target modified manufacturing data according to the data modification method to obtain modified manufacturing data;

[0185] Get the return parameters of the modified data, and update all the data and the return parameters of all the data according to the modified data and the return parameters of the modified data, and trigger the operation of calculating the matching degree of the return parameters of each data according to the return requirement parameters and the corresponding return parameters of each data.

[0186] It can be seen that implementation Figure 4The intelligent construction device for manufacturing data described can first calculate the return parameter matching degree of the manufacturing data according to the return requirement parameters of the manufacturing data and the corresponding return parameters, and then modify the target modified manufacturing data with a smaller return parameter matching degree and a larger modification degree parameter, so as to determine the manufacturing data result corresponding to the basic data. In this way, the modification reliability, accuracy and effectiveness of the target modified manufacturing data can be improved, and then it can be ensured that the obtained manufacturing data result can meet the testing requirements of the testers, which is conducive to the accurate testing of the running performance of the application.

[0187] In yet another optional embodiment, the device further comprises:

[0188] A detection module 307 is used to detect whether a target data request sent by a certain user is received after the generation module 302 generates a data creation result corresponding to the basic data according to the data creation mode parameters corresponding to the basic data;

[0189] The determination module 301 is further configured to determine the target data set required by the user according to the target data request when the detection module 307 detects that a target data request has been received;

[0190] A judgment module 308 is used to judge whether there is target data in the target data set;

[0191] The sending module 309 is used to send the target data set to the user through a preset request counter when the judging module 308 judges that the target data set does not exist in the target data set;

[0192] The judging module 308 is further used to judge whether the target data satisfies a preset validity condition when it is judged that the target data set has target data;

[0193] The sending module 309 is also used for, when the judgment module 308 determines that the target data does not meet the effectiveness conditions, the request counter determines, based on the target data, the data to be sent whose data correlation with the target data is greater than or equal to the preset correlation threshold from the preset counter data set, and sends the data to be sent and the target data set other than the target data to the user; when the judgment module 308 determines that the target data meets the effectiveness conditions, the request counter sends the target data set to the user.

[0194] In this optional embodiment, all manufacturing data include target manufacturing data.

[0195] It can be seen that implementation Figure 4The intelligent construction device for constructing data described can determine the target data set required by the user according to the target data request sent by the user, and check whether the target data set exists in the target data set, and then perform corresponding data sending operations according to the judgment result. This is conducive to improving the execution reliability and accuracy of the sending operation of the target data set, and then to improving the sending security of the target data set, thereby helping to improve the reliability and security of subsequent testing of the application.

[0196] In another optional embodiment, the determination module 308 determines whether the target data meets the preset validity condition in the following manner:

[0197] Determine the target identification parameter corresponding to the target data, and determine the data object corresponding to the target data according to the target identification parameter;

[0198] Determine the current status of multiple pending creation data corresponding to the data object, and determine whether the current status of all pending creation data is in an invalid state;

[0199] When it is determined that the current states of all the to-be-determined manufacturing data are in an ineffective state, it is determined that the target manufacturing data meets the preset effectiveness condition.

[0200] In this optional embodiment, the target identification parameter includes an account identification parameter and / or an interface identification parameter, the data object includes a data account and / or a data interface; and all created data includes all created data to be determined.

[0201] It can be seen that implementation Figure 4 The intelligent construction device for creating data described can determine whether the target data satisfies preset effectiveness conditions based on the current states of multiple to-be-determined data corresponding to the data objects corresponding to the target data. In this way, the execution reliability and accuracy of the effectiveness condition determination operation on the target data can be improved, thereby improving the subsequent sending reliability, accuracy and effectiveness of the target data set, thereby ensuring the testing security of the application.

[0202] Embodiment 4

[0203] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the structure of another intelligent data construction device disclosed in an embodiment of the present invention. Figure 5 As shown, the intelligent construction device for creating data may include:

[0204] A memory 401 storing executable program codes;

[0205] a processor 402 coupled to the memory 401;

[0206] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the intelligent construction method for creating data described in the first embodiment of the present invention or the second embodiment of the present invention.

[0207] Embodiment 5

[0208] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps in the intelligent data construction method described in Embodiment 1 or Embodiment 2 of the present invention.

[0209] Embodiment 6

[0210] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the intelligent construction method for data generation described in Embodiment 1 or Embodiment 2.

[0211] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0212] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0213] Finally, it should be noted that the intelligent data construction method and device disclosed in the embodiments of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An intelligent construction method for creating data, characterized in that: The method comprises: According to the preset test scenario requirement information, basic data for data construction that matches the test scenario requirement information is determined from a pre-established data pool; Determine the data creation mode parameters corresponding to the basic data; the data creation mode parameters include interface call mode parameters, data creation number parameters and data creation identification parameters; Calling a target interface matching the basic data according to the interface calling mode parameter, so as to obtain the basic data through the target interface; According to the parameter of the number of created data, a data creation operation is performed on the basic data under the created data identification parameter to obtain a plurality of created data corresponding to the basic data, and the return parameters of all the created data are obtained; Determine the data creation result corresponding to the basic data according to all the created data and all the return parameters of the created data; And, after generating the data creation result corresponding to the basic data according to the data creation mode parameter corresponding to the basic data, the method further includes: Detect whether a target data request sent by a certain user is received; When it is detected that the target data request is received, the target data set required by the user is determined according to the target data request, and it is determined whether the target data set contains target data; all the data contain the target data; When it is determined that the target data set does not exist in the target data set, the preset request counter sends the target data set to the user; When it is determined that the target data set contains the target data, determining whether the target data satisfies a preset validity condition; When it is determined that the target data does not meet the validation condition, the request counter determines, based on the target data, data to be sent whose data correlation with the target data is greater than or equal to a preset correlation threshold from a preset counter data set, and sends the data to be sent and the target data set except the target data to the user; When it is determined that the target data set meets the validity condition, the request counter sends the target data set to the user.

2. The intelligent construction method for data generation according to claim 1, characterized in that: Before determining basic data for data construction that matches the preset test scenario requirement information from a pre-established data pool according to the preset test scenario requirement information, the method further includes: According to the preset test scenario requirement information, determine the target parameters required to establish the data pool; the target parameters include interface call parameters and data merging requirement parameters; Calling multiple interfaces according to the interface calling parameters, so as to obtain multiple original interface data corresponding to each of the interfaces through all the interfaces; Adding all the original interface data corresponding to all the interfaces to a preset original data pool to update all the original data in the original data pool, and calculating data difference parameters between any two of the original data; The data pool is established according to the data difference parameters between the original data.

3. The intelligent construction method of data generation according to claim 2, characterized in that: The step of establishing the data pool according to the data difference parameters between the two original data comprises: According to the data merging requirement parameter, determine the data difference requirement threshold parameter corresponding to all the original data, and according to the data difference parameter between the two original data and the data difference requirement threshold parameter, determine the two data to be merged whose data difference parameter is less than the data difference requirement threshold parameter from the two original data; Determine the data similarity factor between the two data to be merged, and determine the fields to be merged corresponding to the two data to be merged according to the data similarity factor between the two data to be merged; According to the to-be-merged fields corresponding to the two to-be-merged data, a data merging operation is performed on the two to-be-merged data to obtain merged data corresponding to the two to-be-merged data; The data pool is established according to the merged data corresponding to the data to be merged and the original data whose data difference parameter is greater than or equal to the data difference requirement threshold parameter.

4. The intelligent construction method for data generation according to any one of claims 1 to 3, characterized in that: Before determining the data creation result corresponding to the basic data according to all the creation data and the return parameters of all the creation data, the method further includes: Determine the return requirement parameters of all the created data according to the test scenario requirement information, and calculate the return parameter matching degree of each created data according to the return requirement parameter of each created data and the corresponding return parameter; According to the return parameter matching degrees of all the manufacturing data, determining whether there is at least one pending modification manufacturing data whose return parameter matching degree is less than a preset matching degree in all the manufacturing data; When the judgment result is no, triggering the execution of the operation of determining the data creation result corresponding to the basic data according to all the creation data and all the return parameters of the creation data; When the judgment result is yes, determining the modification degree parameter corresponding to each of the pending modification data according to the modification data identification parameter and the return parameters of all the pending modification data, and determining the target modification data whose modification degree parameter is greater than or equal to the preset modification degree threshold value from all the pending modification data according to the modification degree parameters corresponding to all the pending modification data; Determine a data modification method of the target modified manufacturing data, and modify the target modified manufacturing data according to the data modification method to obtain modified manufacturing data; Obtain the return parameters of the modified created data, and update all the created data and the return parameters of all the created data according to the modified created data and the return parameters of the modified created data, and trigger the execution of the operation of calculating the matching degree of the return parameters of each created data according to the return requirement parameters of each created data and the corresponding return parameters.

5. The intelligent construction method of data generation according to claim 4 is characterized in that: The determining whether the target data meets a preset validity condition includes: Determine a target identification parameter corresponding to the target data, and determine a data object corresponding to the target data according to the target identification parameter; the target identification parameter includes an account identification parameter and / or an interface identification parameter, and the data object includes a data account and / or a data interface; Determine the current status of multiple pending creation data corresponding to the data object, and determine whether the current status of all pending creation data is in an invalid state; all the creation data include all pending creation data; When it is determined that the current states of all the to-be-determined manufacturing data are the ineffective states, it is determined that the target manufacturing data meets the preset effectiveness condition.

6. An intelligent data construction device, characterized in that: The device comprises: A determination module is used to determine, according to preset test scenario requirement information, basic data for data construction that matches the test scenario requirement information from a pre-established data pool; determine data creation mode parameters corresponding to the basic data; the data creation mode parameters include interface call mode parameters, data creation number parameters, and data creation identification parameters; A generating module is used to call a target interface matching the basic data according to the interface calling mode parameter, so as to obtain the basic data through the target interface; perform a data creation operation on the basic data under the created data identification parameter according to the created data number parameter, obtain a plurality of created data corresponding to the basic data, and obtain return parameters of all the created data; determine a created data result corresponding to the basic data according to all the created data and all the return parameters of the created data; And, the device further comprises: A detection module, used for detecting whether a target data request sent by a certain user is received after the generation module generates a data creation result corresponding to the basic data according to the data creation mode parameters corresponding to the basic data; The determination module is further configured to determine the target data set required by the user according to the target data request when the detection module detects that the target data request is received; A judgment module, used for judging whether there is target data in the target data set; all the data include the target data; a sending module, configured to send the target data set to the user through a preset request counter when the judging module judges that the target data set does not exist in the target data set; The judging module is further configured to judge whether the target data satisfies a preset validity condition when it is judged that the target data set contains the target data; The sending module is also used for, when the judgment module judges that the target data does not meet the effectiveness condition, the request counter determines, based on the target data, data to be sent whose data correlation with the target data is greater than or equal to a preset correlation threshold from a preset counter data set, and sends the data to be sent and the target data set other than the target data to the user; when the judgment module judges that the target data meets the effectiveness condition, the request counter sends the target data set to the user.

7. An intelligent data construction device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent data construction method as described in any one of claims 1-5.

8. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the intelligent data construction method as described in any one of claims 1-5.