Data construction tool generation method and device, medium, equipment and product

By displaying the logical configuration area and component display area of ​​the page of the tool building in software testing, and generating test data construction tools in response to component addition operations, the problem of low development efficiency of data construction tools in the existing technology is solved, and efficient and flexible testing is achieved Data construction tool generation.

CN119226170APending Publication Date: 2024-12-31BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411379661.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The development efficiency of data construction tools during existing software testing is low, resulting in low efficiency, high cost and poor accuracy of test data construction tools.

Method used

The logical configuration area and component display area of ​​the page are built by displaying the tool, and the test data construction tool is generated in response to component addition operations to generate the test data construction tool, display the component links and configure the logical connection relationship, so as to realize the generation of the test data construction tool.

Benefits of technology

It improves the efficiency of the generation of test data construction tools, reduces development costs, enhances the flexibility and accuracy of the tools, and meets different data construction needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226170A_ABST
    Figure CN119226170A_ABST
Patent Text Reader

Abstract

The invention relates to a data construction tool generation method and device, a medium, electronic equipment and a program product, and the method comprises the steps that a tool building page is displayed, the tool building page comprises a logic configuration area and a component display area, and a component in the component display area is associated with a data management event; and in response to an operation of adding a target component in the component display area to the logic configuration area, displaying a component link comprising the target component in the logic configuration area, and in response to a tool generation operation, generating a test data construction tool based on a data management event associated with the component in the component link and a logic connection relationship between the components. The method can improve the generation efficiency and flexibility of the test data construction tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of software testing technology, and in particular, to a method, device, medium, equipment and product for generating a data construction tool. Background Art

[0002] In the process of software testing, test data construction is an important process of pre-test preparation, and test data construction generally relies on relevant data construction tools. However, the development efficiency of data construction tools in related technologies is low. Summary of the invention

[0003] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0004] In a first aspect, the present disclosure provides a method for generating a data construction tool, comprising: Displaying a tool building page, the tool building page includes a logic configuration area and a component display area, and the components in the component display area are associated with data management events; In response to an operation of adding a target component of the component display area to the logic configuration area, displaying a component link including the target component in the logic configuration area; In response to the tool generation operation, a test data construction tool is generated based on the component-related data management events in the component link and the logical connection relationship between the components.

[0005] In a second aspect, the present disclosure provides a device for generating a data construction tool, comprising: A first display module is configured to display a tool building page, wherein the tool building page includes a logic configuration area and a component display area, and components in the component display area are associated with data management events; A first response module, configured to, in response to an operation of adding a target component of the component display area to the logic configuration area, display a component link including the target component in the logic configuration area; The second response module is configured to generate a test data construction tool in response to a tool generation operation based on component-related data management events in the component link and logical connection relationships between components.

[0006] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method described in the first aspect.

[0007] In a fourth aspect, the present disclosure provides an electronic device, including: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of the method described in the first aspect.

[0008] In a fifth aspect, the present disclosure provides a computer program product, comprising a computer program, which implements the steps of the method described in the first aspect when executed by a processing device.

[0009] Through the above technical solution, the electronic device can display a tool building page including a logical configuration area and a component display area, and then, in response to the operation of adding the target component of the component display area to the logical configuration area, a component link including the target component can be displayed in the logical configuration area, and then, in response to the tool generation operation, a test data construction tool can be generated based on the data management events associated with the components in the component link and the logical connection relationship between the components. Since the test data construction tool can be generated directly by adding the target component of the component display area to the logical configuration area and the tool generation operation, the efficiency of the test data construction tool generation is improved, and the development cost of the test data construction tool is reduced. Moreover, by displaying the component link in the logical configuration area, the logical process of the test data construction tool can be displayed in a visual form, so as to find problems and make corrections, thereby improving the accuracy of the test data construction tool generated subsequently. Moreover, since the component link can be generated by adding the target component of the component display area to the logical configuration area, and since the component link has a logical connection relationship between components, the configuration of different logical connection relationships between different components can be realized, so that the generated test data construction tool can meet different data construction requirements, and the flexibility of the generated test data construction tool is improved.

[0010] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] 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 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. In the drawings: Figure 1 The present invention is a flowchart of a method for generating a data construction tool shown in some embodiments.

[0012] Figure 2 It is a schematic diagram of a tool building page shown in some embodiments.

[0013] Figure 3 It is a schematic diagram of a tool building page shown in other embodiments.

[0014] Figure 4 It is a schematic diagram of an operation interface corresponding to a test data construction tool shown in some embodiments.

[0015] Figure 5A It is a schematic diagram of a first logical connection relationship selection interface shown in some embodiments.

[0016] Figure 5B It is a schematic diagram of a second logical connection relationship selection interface shown in some embodiments.

[0017] Figure 5C It is a schematic diagram of a third logical connection relationship selection interface shown in some embodiments.

[0018] Figure 5D It is a schematic diagram of a fourth logical connection relationship selection interface shown in some embodiments.

[0019] Figure 6 It is a schematic diagram of a property configuration interface displayed on a tool building page according to other embodiments.

[0020] Figure 7 It is a schematic diagram of module connections of a generating device of a data construction tool shown in some embodiments.

[0021] Figure 8 It is a schematic diagram of the structure of an electronic device shown in some embodiments. DETAILED DESCRIPTION

[0022] 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.

[0023] 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.

[0024] 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.

[0025] 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.

[0026] 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".

[0027] 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.

[0028] 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.

[0029] 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.

[0030] 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.

[0031] 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.

[0032] At the same time, 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.

[0033] Figure 1 FIG. 1 is a flow chart of a method for generating a data construction tool according to some embodiments. Figure 1 As shown, the embodiment of the present disclosure provides a method for generating a data construction tool, which can be executed by an electronic device, specifically, by a device for generating a data construction tool, which can be implemented by software and / or hardware and configured in an electronic device. Figure 1 As shown, the method may include the following steps.

[0034] In step 110, a tool building page is displayed, the tool building page includes a logic configuration area and a component display area, and the components in the component display area are associated with data management events.

[0035] The component display area can display one or more optional components. Each component realizes the corresponding component function by associating the backend data management events.

[0036] The logic configuration area can be used to configure the logical connection relationship between components, and the execution sequence logic between components can be obtained through the logical connection relationship.

[0037] In step 120 , in response to the operation of adding a target component in the component display area to the logic configuration area, a component link including the target component is displayed in the logic configuration area.

[0038] A component link refers to a link structure with a logical connection relationship between components. Through the component link, the components included therein and the logical connection relationship between the components can be obtained.

[0039] The target component refers to the component selected by the user, which can be any component in the component display area.

[0040] Here, the user can select a component from the component display area as a target component and then initiate an operation to add the target component to the logical configuration area, whereby the electronic device can generate and display a component link including the target component in the logical configuration area in response to the operation.

[0041] Through the free selection of components and the free configuration of logical connection relationships, component links with different logical connection relationships can be freely constructed between different components according to actual needs.

[0042] In step 130 , in response to the tool generation operation, a test data construction tool is generated based on component-related data management events in the component link and logical connection relationships between components.

[0043] After generating the component link, the user can initiate a tool generation operation, so that the electronic device can generate a test data construction tool in response to the operation based on the data management events associated with the components in the component link and the logical connection relationship between the components. Since the components are associated with data management events and there is a logical connection relationship between the components, the generated test data construction tool has event execution logic and execution sequence logic, and can be executed to generate test data.

[0044] For example, please refer to Figure 2 as well as Figure 3 , Figure 2 A schematic diagram of a tool building page according to an embodiment of the present disclosure is shown in FIG. Figure 3 This is a schematic diagram of another tool building page according to an embodiment of the present disclosure, wherein: Figure 2 This corresponds to the situation before the user initiates the operation of adding the target component in the component display area to the logical configuration area. In this case, there are no components and component links in the logical configuration area. Figure 3 This corresponds to a case where the user performs the operation of adding the target component in the component display area to the logic configuration area multiple times. In this case, a component link including multiple components is displayed in the logic configuration area.

[0045] Furthermore, users can click Figure 3 In this case, the electronic device can generate a test data construction tool based on the data management events associated with the components in the component link and the logical connection relationship between the components.

[0046] In some embodiments, after clicking the "Publish" control, the test data construction tool can be published online, so that other users can download and use the test data construction tool. When using the test data construction tool, the electronic device using the test data construction tool can display the following information: Figure 4 The operation interface corresponding to the test data construction tool shown.

[0047] In some implementations, various published versions of the test data construction tool may be saved online so that the user can quickly roll back to any published version according to actual needs.

[0048] In some implementations, after clicking the "Go to Run" control, the following can be displayed directly in the current electronic device: Figure 4 The operation interface corresponding to the test data construction tool shown.

[0049] Thus, the electronic device can display a tool building page including a logical configuration area and a component display area, and then, in response to the operation of adding the target component of the component display area to the logical configuration area, a component link including the target component can be displayed in the logical configuration area, and then, in response to the tool generation operation, a test data construction tool can be generated based on the data management events associated with the components in the component link and the logical connection relationship between the components. Since the test data construction tool can be generated directly by adding the target component of the component display area to the logical configuration area and the tool generation operation, the efficiency of the test data construction tool generation is improved, and the development cost of the test data construction tool is reduced. Moreover, by displaying the component link in the logical configuration area, the logical process of the test data construction tool can be displayed in a visual form, so as to find problems and make corrections, thereby improving the accuracy of the test data construction tool generated subsequently. Moreover, since the component link can be generated by adding the target component of the component display area to the logical configuration area, and since the component link has a logical connection relationship between components, the configuration of different logical connection relationships between different components can be realized, so that the generated test data construction tool can meet different data construction requirements, and the flexibility of the generated test data construction tool is improved.

[0050] In some embodiments, the electronic device can obtain associated components of the target component and the target logical connection relationship between the target component and the associated components in response to the operation of adding the target component to the logical configuration area, and then display the component link including the target component in the logical configuration area based on the target component, the associated components and the target logical connection relationship.

[0051] Here, the associated component of the target component refers to a component in the component link that has a logical connection relationship with the target component.

[0052] Taking into account that even in the case of the same components, different logical connection relationships between components will also make the constructed component chains different, therefore, the electronic device can respond to the operation of adding the target component to the logical configuration area, obtain the associated components of the target component and the target logical connection relationship between the target component and the associated components, thereby, after obtaining the target component, the associated components of the target component and the target logical connection relationship between the target component and the associated components, the target component can be accurately added to the component chain, so that the test data construction tool can be accurately generated later.

[0053] In some embodiments, the associated components of the target component and the target logical connection relationship are related to the specific operation of adding the target component to the logical configuration area. Depending on the operation initiated by the user, the associated components of the target component and the target logical connection relationship between the target component and the associated components may be different.

[0054] In some embodiments, a user can click on a target component in a component display area, and the electronic device can respond to the click operation by displaying an associated component selection interface, in which components in a component link are displayed, and the user can select an associated component by initiating a selection operation on the associated component selection interface, and the electronic device can respond to the selection operation by further displaying a logical connection relationship selection interface, in which possible logical connection relationships between the target component and associated components are displayed, and the user can further select a target logical connection relationship by initiating a selection operation on the logical connection relationship selection interface.

[0055] Thus, through the above process, an operation of adding the target component of the component display area to the logical configuration area can be initiated. Then, in response to the operation, the electronic device can obtain the associated components of the target component and the target logical connection relationship between the target component and the associated components, and based on the target component, the associated components and the target logical connection relationship, display the component link including the target component in the logical configuration area.

[0056] In other embodiments, the operation of adding the target component in the component display area to the logical configuration area can also be initiated by dragging the target component in the component display area to the logical configuration area. In this case, the electronic device can display a logical connection relationship selection interface in response to dragging the target component to a preset range of candidate components in the logical configuration area, and determine the candidate component as an associated component, and then, in response to further dragging the target component to the target area in the logical relationship selection interface, determine the logical connection relationship corresponding to the target area as the target logical connection relationship.

[0057] The candidate component is any component in the logical configuration area. In this way, when the user wants to establish a logical connection relationship between the target component and any component in the logical configuration area, the target component can be dragged to the preset range of the component. Then, the electronic device can respond to the operation and display a logical connection relationship selection interface in the interface for the user to select the logical connection relationship. At the same time, the component can also be determined as an associated component of the target component.

[0058] In one example, a component in a component link may correspond to a component box, and the component box area corresponding to the component may be determined as a preset range of the component. That is, when the target component is dragged into the component box of the candidate component in the logical configuration area, the electronic device may display a logical connection relationship selection interface, and further, the electronic device may determine the candidate component as an associated component of the target component.

[0059] The logical relationship selection interface includes areas corresponding to logical connection relationships, so that by dragging the target component to any area in the logical relationship selection interface, the logical connection relationship corresponding to the area can be selected for the target component.

[0060] Thus, through the above process, an operation of adding a target component in the component display area to the logic configuration area can also be initiated. Then, in response to the operation, the electronic device can obtain the associated components of the target component and the target logical connection relationship between the target component and the associated components, and based on the target component, the associated components and the target logical connection relationship, display the component link including the target component in the logic configuration area.

[0061] It is understandable that there may be multiple types of components, and the types of target components and candidate components are different, and the selectable logical connection relationships between them may be different, thereby resulting in different generated logical connection relationship selection interfaces.

[0062] In some implementations, the types of components may include a first type and a second type, wherein the first type of components are associated with data construction events to implement data operation behaviors, and the second type of components are associated with data flow control events to implement data execution flows.

[0063] Exemplarily, data construction events associated with the first type of components may include interface execution events, database operation events, message queue sending events, and script execution events, etc., and data flow control events associated with the second type of components may include grouping events, loop events (for), judgment events (if), and polling events, etc.

[0064] The following describes the corresponding logical connection relationship selection interface when the target component and candidate components are of different types: When the user initiates dragging the first type of target component to the preset range of the first type of candidate component, since two first type components cannot be nested in each other, the electronic device displays a first logical connection relationship selection interface including areas corresponding to the parallel first, parallel second, serial first, and serial second logical connection relationships, respectively.

[0065] For example, Figure 5AAs shown, the first logical connection relationship selection interface displayed by the electronic device includes a first area 51, a second area 52, a third area 53 and a fourth area 54, wherein the first area 51 corresponds to a parallel-first logical connection relationship, the second area 52 corresponds to a parallel-back logical connection relationship, the third area 53 corresponds to a serial-first logical connection relationship, and the fourth area 54 corresponds to a serial-back logical connection relationship.

[0066] When the user initiates dragging the first type of target component to the preset range of the second type of candidate component, since the second type of component can nest sub-components, the electronic device displays areas corresponding to the logical connection relationships including parallel in front, parallel in back, serial in front, serial in back, and sub-component connections.

[0067] For example, Figure 5B As shown, the second logical connection relationship selection interface displayed by the electronic device includes a first area 51, a second area 52, a third area 53, a fourth area 54 and a fifth area 55, wherein the fifth area 55 corresponds to the logical connection relationship of the sub-component connection.

[0068] When the user initiates dragging the second type of target component to the preset range of the first type of candidate component, since the second type of component can nest sub-components, the electronic device displays areas corresponding to the logical connection relationships including parallel in front, parallel in back, serial in front, serial in back and parent component connection.

[0069] For example, Figure 5C As shown, the third logical connection relationship selection interface displayed by the electronic device includes a first area 51, a second area 52, a third area 53, a fourth area 54 and a sixth area 56, wherein the sixth area 56 corresponds to the logical connection relationship of the parent component connection.

[0070] When the user initiates dragging the second type of target component to the preset range of the second type of candidate component, since the second type of component can nest sub-components, the electronic device displays areas corresponding to the logical connection relationships including parallel in front, parallel in back, serial in front, serial in back, sub-component connection and parent component connection.

[0071] For example, Figure 5D As shown, the fourth logical connection relationship selection interface displayed by the electronic device includes a first area 51 , a second area 52 , a third area 53 , a fourth area 54 , a fifth area 55 and a sixth area 56 .

[0072] It should be noted that in Figures 5A-5DIn the example, the serial direction is from left to right and the parallel direction is from top to bottom. In other examples, the parallel direction may be from left to right and the serial direction may be from top to bottom.

[0073] In some implementations, in order to enrich the functions of a component, a component may have a corresponding property configuration interface, through which the relevant properties of the component may be configured. In this case, there may be multiple ways of displaying the property configuration interface corresponding to the component.

[0074] In some embodiments, a user may initiate an operation to add a target component to a logical configuration area, and the electronic device may respond to the operation by, on the one hand, displaying a component link including the target component in the logical configuration area, and on the other hand, displaying a property configuration interface corresponding to the target component.

[0075] In other implementations, the user may initiate a selection operation on any target component in the component link, and the electronic device may display a property configuration interface corresponding to the target component in response to the operation.

[0076] In some implementations, the electronic device may display a floating interface on the tool building page, and display a property configuration interface corresponding to the target component in the floating interface. Figure 6 As shown, taking the "http" component in the first type of component as an example, a floating interface can be displayed on the tool building page, and the corresponding property configuration interface can be displayed in the floating interface. In the property configuration interface, the domain name, request parameters, request content, extraction variables and other property contents can be configured.

[0077] Based on the above content, it can be seen that some components can be nested in each other, and after being nested, they form nested components. For example, the second type of component can be used as a parent component, nesting one or more child components, and the first type of component can be used as a child component, nested in the parent component.

[0078] Therefore, in some embodiments, the component link includes nested components. In this case, the electronic device can expand and display the parent component and child components included in the target nested component in response to an expansion operation on the target nested component, and can also display the parent component included in the target nested component in response to a collapse operation on the target nested component.

[0079] The target nested component is any nested component in the component link.

[0080] Here, in response to an expansion operation on a target nested component, the electronic device expands and displays the parent component and child components included in the target nested component, thereby focusing on specific details of the target nested component. In response to a collapse operation on a target nested component, the electronic device displays the parent component included in the target nested component, thereby reducing the display size of the same component and facilitating display of the overall content of the component link in the logical configuration area.

[0081] For example, please refer to Figure 3 , Figure 3 The nested components 31 and 32 in FIG. 1 are schematic diagrams showing the expansion display of the parent component and the child component. Figure 3 The nested component 33 in FIG. 1 shows a schematic diagram of displaying the parent component. Figure 3 The nested components 31, 32 and 33 in the figure all include a folding control 300. By clicking the folding control 300, the target nested component can be switched for display.

[0082] In some implementations, the electronic device may, in response to a tool generation operation, assemble a test data construction tool based on component-associated data management events in a component link and logical connection relationships between components.

[0083] In combination with the above content, it can be known that in some embodiments, the test data construction tool can have a visual operation interface. For example, continue as follows Figure 4 As shown, the operation interface may include an input parameter input area 41, an output parameter display area 42, and a component link display area 43, and the component link display area 43 displays the component link corresponding to the test data construction tool. In this case, the electronic device can display the operation interface corresponding to the test data construction tool, so that the user can initiate a parameter input operation in the input parameter input area 41, so that the electronic device can obtain the scene input parameter in response to the operation, and display the scene input parameter in the input parameter input area 41, then the user can trigger the execution operation of the test data construction tool, so that the electronic device can respond to the operation and call the test data construction tool to process the scene input parameter. In the process of the electronic device calling the test data construction tool to process the scene input parameter, the electronic device can display the execution status corresponding to the component in the component link in the component link display area 43, and display the execution result corresponding to the component in the component link in the output parameter display area 42, so that the user can monitor the execution process of the test data construction tool, for the developers of the test data construction tool, it is convenient to help debug the test data construction tool, and for the users of the test data construction tool, it is convenient to clearly understand the data construction process.

[0084] In some implementations, the execution states corresponding to the components in the component link are different, and the electronic device displays the components in different colors, thereby indicating the execution states corresponding to the components by different colors.

[0085] For example, a component whose execution status is successful may be rendered in green, a component whose execution status is failed may be rendered in red, and a component whose execution status is pending may be rendered in black.

[0086] In some embodiments, continuing as Figure 4 As shown, the operation interface may further include an execution control 44, so that the user may trigger the execution control 44 to trigger the execution operation of the test data construction tool.

[0087] Figure 7 FIG. 1 is a schematic diagram of module connections of a generating device of a data construction tool shown in some embodiments. Figure 7 As shown, the embodiment of the present disclosure provides a device 700 for generating a data construction tool, and the device 700 for generating a data construction tool includes: A first display module 701 is configured to display a tool building page, wherein the tool building page includes a logic configuration area and a component display area, and components in the component display area are associated with data management events; A first response module 702 is configured to, in response to an operation of adding a target component in the component display area to the logic configuration area, display a component link including the target component in the logic configuration area; The second response module 703 is configured to generate a test data construction tool in response to the tool generation operation based on the component-related data management events in the component link and the logical connection relationship between the components.

[0088] Optionally, the first response module 702 includes: A first response submodule is configured to, in response to an operation of adding the target component to the logic configuration area, obtain an associated component of the target component and a target logical connection relationship between the target component and the associated component; The display submodule is configured to display a component link including the target component in the logic configuration area based on the target component, the associated components and the target logical connection relationship.

[0089] Optionally, the first response submodule includes: A first response unit is configured to, in response to dragging the target component to a preset range of candidate components in the logical configuration area, display a logical connection relationship selection interface and determine the candidate component as the associated component, the logical relationship selection interface including an area corresponding to a logical connection relationship, and the candidate component is any component in the logical configuration area; The second response unit is configured to, in response to dragging the target component to a target area in the logical relationship selection interface, determine the logical connection relationship corresponding to the target area as the target logical connection relationship.

[0090] Optionally, the type of the component includes a first type and a second type, the first type of component is associated with a data construction event, the second type of component is associated with a data flow control event, and the first response unit is further configured to: In response to dragging the target component of the first type to a preset range of candidate components of the first type, displaying a first logical connection relationship selection interface, the first logical connection relationship selection interface including areas corresponding to parallel first, parallel second, serial first, and serial second logical connection relationships, respectively; In response to dragging the target component of the first type into a preset range of the candidate component of the second type, a second logical connection relationship selection interface is displayed, wherein the second logical connection relationship selection interface includes areas corresponding to the logical connection relationships of parallel first, parallel second, serial first, serial second, and sub-component connection, respectively; In response to dragging the target component of the second type into the preset range of the candidate component of the first type, a third logical connection relationship selection interface is displayed, wherein the third logical connection relationship selection interface includes areas corresponding to the logical connection relationships of parallel first, parallel second, serial first, serial second, and parent component connection, respectively; In response to dragging the target component of the second type to the preset range of the candidate component of the second type, a fourth logical connection relationship selection interface is displayed, and the fourth logical connection relationship selection interface includes areas corresponding to the logical connection relationships of parallel in front, parallel in back, serial in front, serial in back, sub-component connection and parent component connection, respectively.

[0091] Optionally, the data construction tool generating device 700 further includes: A second display module is configured to display a property configuration interface corresponding to the target component; The property configuration interface is displayed in response to a selection operation on a target component in the component link, or is displayed in response to an operation of adding the target component to the logic configuration area.

[0092] Optionally, the component chain includes a nested component, and the nested component includes a parent component and a corresponding child component. The generating device 700 of the data construction tool further includes: A third response module is configured to, in response to an expansion operation on a target nested component, expand and display a parent component and a child component included in the target nested component, wherein the target nested component is any nested component in the component link; The fourth response module is configured to display the parent component included in the target nested component in response to the folding operation on the target nested component.

[0093] Optionally, the data construction tool generating device 700 further includes: A third display module is configured to display an operation interface corresponding to the test data construction tool, wherein the operation interface includes an input parameter input area, an output parameter display area, and a component link display area, wherein the component link display area displays a component link corresponding to the test data construction tool; A fifth response module is configured to obtain scene input parameters in response to a parameter input operation in the input parameter input area; a sixth response module, configured to, in response to triggering the execution operation of the test data construction tool, call the test data construction tool to process the scenario input parameter; The fourth display module is configured to display the execution status corresponding to the components in the component chain in the component chain display area, and to display the execution results corresponding to the components in the component chain in the output parameter display area.

[0094] The logic of the method executed by each functional module in the generating device 700 of the data construction tool can refer to the method part of the above embodiment, which will not be repeated here.

[0095] Reference below Figure 8 , which shows a schematic diagram of the structure of an electronic device 800 suitable for implementing the embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may include but is not limited to terminals such as mobile phones, notebook computers, PADs (tablet computers), and desktop computers. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0096] like Figure 8As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0097] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0098] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0099] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0100] In some embodiments, the electronic devices may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with 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"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0101] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0102] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a tool building page, the tool building page includes a logical configuration area and a component display area, and the components in the component display area are associated with data management events; in response to the operation of adding the target component of the component display area to the logical configuration area, the component link including the target component is displayed in the logical configuration area; in response to the tool generation operation, a test data construction tool is generated based on the data management events associated with the components in the component link and the logical connection relationship between the components.

[0103] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0104] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0105] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, limit the module itself.

[0106] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0107] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. 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.

[0108] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0109] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0110] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims

1. A method for generating a data construction tool, characterized in that: include: Displaying a tool building page, the tool building page includes a logic configuration area and a component display area, and the components in the component display area are associated with data management events; In response to an operation of adding a target component of the component display area to the logic configuration area, displaying a component link including the target component in the logic configuration area; In response to the tool generation operation, a test data construction tool is generated based on the component-related data management events in the component link and the logical connection relationship between the components.

2. The method according to claim 1, characterized in that: In response to the operation of adding the target component of the component display area to the logic configuration area, displaying a component link including the target component in the logic configuration area includes: In response to an operation of adding the target component to the logic configuration area, acquiring an associated component of the target component and a target logical connection relationship between the target component and the associated component; Based on the target component, the associated components, and the target logical connection relationship, a component link including the target component is displayed in the logic configuration area.

3. The method according to claim 2, characterized in that The step of acquiring, in response to the operation of adding the target component to the logic configuration area, an associated component of the target component and a target logical connection relationship between the target component and the associated component comprises: In response to dragging the target component into a preset range of candidate components in the logical configuration area, a logical connection relationship selection interface is displayed, and the candidate component is determined as the associated component, the logical relationship selection interface includes an area corresponding to the logical connection relationship, and the candidate component is any component in the logical configuration area; In response to dragging the target component to a target area in the logical relationship selection interface, the logical connection relationship corresponding to the target area is determined as the target logical connection relationship.

4. The method according to claim 3, characterized in that The types of the components include a first type and a second type, the first type of component-associated data construction events, the second type of component-associated data flow control events, and the response to dragging the target component to a preset range of candidate components in the logic configuration area, displaying a logic connection relationship selection interface, including: In response to dragging the target component of the first type to a preset range of candidate components of the first type, displaying a first logical connection relationship selection interface, the first logical connection relationship selection interface including areas corresponding to parallel first, parallel second, serial first, and serial second logical connection relationships, respectively; In response to dragging the target component of the first type into a preset range of the candidate component of the second type, a second logical connection relationship selection interface is displayed, wherein the second logical connection relationship selection interface includes areas corresponding to the logical connection relationships of parallel first, parallel second, serial first, serial second, and sub-component connection, respectively; In response to dragging the target component of the second type into the preset range of the candidate component of the first type, a third logical connection relationship selection interface is displayed, wherein the third logical connection relationship selection interface includes areas corresponding to the logical connection relationships of parallel first, parallel second, serial first, serial second, and parent component connection, respectively; In response to dragging the target component of the second type to the preset range of the candidate component of the second type, a fourth logical connection relationship selection interface is displayed, and the fourth logical connection relationship selection interface includes areas corresponding to the logical connection relationships of parallel in front, parallel in back, serial in front, serial in back, sub-component connection and parent component connection, respectively.

5. The method according to claim 1, characterized in that The method further comprises: Display the property configuration interface corresponding to the target component; The property configuration interface is displayed in response to a selection operation on a target component in the component link, or is displayed in response to an operation of adding the target component to the logic configuration area.

6. The method according to claim 1, characterized in that The component chain includes a nested component, and the nested component includes a parent component and a corresponding child component. The method further includes: In response to an expansion operation on a target nested component, expanding and displaying a parent component and a child component included in the target nested component, wherein the target nested component is any nested component in the component link; In response to a collapse operation on a target nested component, a parent component included in the target nested component is displayed.

7. The method according to claim 1, characterized in that The method further comprises: Displaying an operation interface corresponding to the test data construction tool, the operation interface including an input parameter input area, an output parameter display area, and a component link display area, the component link display area displays a component link corresponding to the test data construction tool; In response to the parameter input operation in the input parameter input area, the scene input parameter is obtained; In response to triggering the execution operation of the test data construction tool, calling the test data construction tool to process the scenario input parameter; The execution status corresponding to the components in the component chain is displayed in the component chain display area, and the execution result corresponding to the components in the component chain is displayed in the output parameter display area.

8. A device for generating a data construction tool, characterized in that: include: A first display module is configured to display a tool building page, wherein the tool building page includes a logic configuration area and a component display area, and components in the component display area are associated with data management events; A first response module, configured to, in response to an operation of adding a target component of the component display area to the logic configuration area, display a component link including the target component in the logic configuration area; The second response module is configured to generate a test data construction tool in response to a tool generation operation based on component-related data management events in the component link and logical connection relationships between components.

9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 7 are implemented.

10. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processing device, the steps of the method according to any one of claims 1 to 7 are implemented.