A data display method and device
By displaying the output setting interface of the Group module and recording the loop output results, the problem of users having difficulty viewing the output results of the Group module is solved, and the transparency of the data processing process and the improvement of user experience is achieved.
Patent Information
- Application Number
- CN202410052551.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-12
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-01-12
AI Technical Summary
During data processing, it is difficult for users to effectively view the output results related to the Group module, especially in the case of loop execution, and the prior art lacks an effective data display solution.
Provide a data display method and device, by displaying the output setting interface of the target Group module, configure the output parameters in response to user settings, and record and display the loop output results during the execution of the target process, ensuring that the user can view the data in the Group module. Process the output result of the module.
It realizes effective display of the output results related to the Group module, improves the transparency and user experience of the data processing process, and simplifies the data display process without the need to add additional data collection modules or write code.
Smart Images

Figure CN117931346B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data display method and device. Background Art
[0002] Visual software has the characteristics of visual operation, which brings convenience to users in processing data and is favored by users. Visual software is encapsulated with visualization modules that realize various data processing functions. Users can select the required visualization modules on the user interface and set the connection relationship between the selected visualization modules to design the required data processing flow. In this way, the above data processing flow can be used for data processing in subsequent work.
[0003] The Group module is a type of visualization module. The Group module includes multiple data processing modules, and these data processing modules form data processing sub-processes according to the connection relationship. In addition, the Group module has a loop function, that is, the data processing sub-process corresponding to the Group module in the entire data processing process can be executed cyclically.
[0004] To ensure the accuracy of the above data processing flow, in some cases, users need to view the output results of each module during the data processing process, especially the output results related to the Group module.
[0005] Therefore, a data display solution is needed. Summary of the invention
[0006] The purpose of the embodiment of the present application is to provide a data display method and device to display the output results related to the Group module during data processing. The specific technical solution is as follows:
[0007] In a first aspect, an embodiment of the present application provides a data display method, the method comprising:
[0008] Display the output setting interface for the target Group module;
[0009] In response to a setting operation of the user in the output setting interface, a first output parameter is configured as an output parameter of a target Group module in a target process, wherein the first output parameter includes: an output parameter of a target data processing module subscribed by the target Group module in the setting operation, and the target data processing module is: a data processing module included in the target Group module;
[0010] In response to a result display operation of the user on the target Group module, a loop output result of a second output parameter indicated by the result display operation is obtained, wherein the second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module, and the loop output result is obtained based on a target output result recorded during the execution of the target process, and the target output result includes: an output result obtained by executing the target data processing module each time in a loop;
[0011] Display the output of the loop.
[0012] In a second aspect, an embodiment of the present application provides a data display device, the device comprising:
[0013] The interface display module is used to display the output setting interface for the target Group module;
[0014] an output configuration module, configured to configure a first output parameter as an output parameter of a target Group module in a target process in response to a setting operation of a user in the output setting interface, wherein the first output parameter includes: an output parameter of a target data processing module subscribed by the target Group module in the setting operation, and the target data processing module is: a data processing module included in the target Group module;
[0015] A result obtaining module is used to obtain, in response to a result display operation of the user on the target Group module, a loop output result of a second output parameter indicated by the result display operation, wherein the second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module, and the loop output result is obtained based on a target output result recorded during the execution of the target process, and the target output result includes: an output result obtained by executing the target data processing module each time in a loop;
[0016] The result display module is used to display the output result of the cycle.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0018] Memory, used to store computer programs;
[0019] The processor is used to implement the method described in the first aspect when executing the program stored in the memory.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0021] Beneficial effects of the embodiments of the present application:
[0022] As can be seen from the above, when the scheme provided by the embodiment of the present application is applied to display data, after the client displays the output setting interface, the user can perform setting operations on the output setting interface, so that the client can configure the first output parameter of the target Group module in response to the user's setting operation, and the user can also perform a result display operation for the target Group module. The client responds to the result display operation and obtains the cyclic output result of the second output parameter indicated by the result display operation. The second output parameter is at least one of the first output parameter and the output parameter of the data processing module included in the target Group module. Therefore, the second output parameter belongs to the output result of the data processing module in the target Group module. In this way, displaying the cyclic output result also displays the output result related to the target Group module. It can be seen that the data display scheme provided by the embodiment of the present application can display the output results related to the Group module.
[0023] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0025] Figure 1 A flowchart of a data display method provided in an embodiment of the present application;
[0026] Figure 2a A schematic diagram of the first output setting interface provided in an embodiment of the present application;
[0027] Figure 2b A schematic diagram of the second output setting interface provided in an embodiment of the present application;
[0028] Figure 3 A schematic diagram of the structure of a target Group module provided in an embodiment of the present application;
[0029] Figure 4a A schematic diagram showing the first target process execution effect provided in the embodiment of the present application;
[0030] Figure 4b A schematic diagram showing the execution effect of the second target process provided in the embodiment of the present application;
[0031] Figure 4c A schematic diagram showing the execution effect of the third target process provided in the embodiment of the present application;
[0032] Figure 4d A schematic diagram showing the fourth target process execution effect provided in the embodiment of the present application;
[0033] Figure 4e A schematic diagram showing the fifth target process execution effect provided in the embodiment of the present application;
[0034] Figure 5a A schematic diagram of an input setting interface provided in an embodiment of the present application;
[0035] Figure 5b A schematic diagram of the first cycle setting interface provided in an embodiment of the present application;
[0036] Figure 5c A schematic diagram of the second loop setting interface provided in an embodiment of the present application;
[0037] Figure 6 A schematic diagram of a process for executing a target Group module provided in an embodiment of the present application;
[0038] Figure 7 A schematic diagram of the structure of a cache pool provided in an embodiment of the present application;
[0039] Figure 8 A flowchart of a data caching method provided in an embodiment of the present application;
[0040] Fig. 9 A schematic diagram of the structure of a data display device provided in an embodiment of the present application;
[0041] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0043] First, the application scenario of the data display solution provided in the embodiment of the present application is described.
[0044] The visual software has a module library containing various visualization modules. The module library can be deployed in the client where the visual software is located, or in the background server of the visual software.
[0045] When the module library is deployed on the client, when the user selects a visualization module and sets the connection relationship between the visualization modules in the client's user interface, the client can call the module selected by the user from the module library and connect the called module according to the connection relationship set by the user to obtain a data processing flow. In this way, when the user subsequently inputs the data to be processed in the client, the client can use the data processing flow to process the data to be processed and obtain the data processing results.
[0046] When the module library is deployed on the server, when the user selects a visualization module and sets the connection relationship between the visualization modules in the user interface of the client, the client can send user operation information of the user selecting the module and setting the connection relationship to the server. The server can determine the module selected by the user and the connection relationship between the modules based on the received user operation information, and thus call the module selected by the user from the module library, and connect the called module according to the connection relationship set by the user to obtain the data processing flow. In this way, after the user subsequently inputs the data to be processed in the client, the client can send the data to be processed to the server, and the server then uses the data processing flow to process the data to be processed, obtains the data processing result, and sends the data processing result to the client.
[0047] Next, the target execution process is described.
[0048] The target process includes the visualization modules selected by the user. To execute the target process, each module is executed in sequence according to the connection order of the modules in the process, that is, each module is called in sequence for data processing. After each module is executed, the data processing result can be output.
[0049] During the execution of the target process, if the target Group module in the target process is executed, the data processing sub-process inside the target Group module is executed cyclically, that is, the data processing module included in the target Group module is executed cyclically.
[0050] For example, if the target process is used to detect the position of the center of the gear in the gear image, the target process includes a contour matching module, a target group module and a circle fitting module, and the target group module includes a vertex detection module. After the user inputs a gear image into the target process, the contour matching module first finds the matching box of each tooth in the gear image, that is, detects the area of each tooth in the gear image, and then the vertex detection module in the target group module recycles to detect the vertices of the teeth in each matching box, and finally the circle fitting module determines the position of the center of the gear in the gear image based on the position of the vertices of each tooth.
[0051] For another example, if the target process is used to detect circles in an image, the target process includes an image segmentation module and a target group module, and the target group module includes a circle search module. After the user inputs an image into the target process, the image segmentation module first divides the image into multiple area images, such as 3*3 area images, and the circle search module in the target group module recycles to detect circles in these multiple area images.
[0052] The following describes the concepts involved in the data display solution provided in the embodiments of the present application.
[0053] 1. Group module
[0054] The Group module is a grouping module in the visual software. The Group module can be regarded as a module container. By putting multiple visualization modules into the module container, a Group module can be obtained. For the data processing process, the Group module can be regarded as a visualization module in the process; for the Group module itself, the Group module contains multiple visualization modules, forming a data processing sub-process within the module.
[0055] 2. Loop
[0056] After the user selects a visualization module and forms a data processing flow, the process of executing the data processing flow can be regarded as the process of sequentially executing the visualization modules in the flow. In this way, during the execution of the data processing flow, when the Group module is executed, the Group module has a data processing sub-flow inside, and the data processing sub-flow is executed multiple times. Each execution of the data processing sub-flow is the process of sequentially executing the data processing modules contained in the Group module. Therefore, the data processing sub-flow in the Group module is executed multiple times, and each data processing module in the Group module is also executed multiple times, that is, each data processing module in the Group module is executed in a loop.
[0057] 3. Loop output results
[0058] For the data processing module in the Group module, the data processing module may have one or more output parameters. Each time the data processing module is executed, the data processing module may output the output results of one or more output parameters. The loop output result of the data processing module is obtained based on the output results containing the one or more output parameters.
[0059] The data processing module is executed in a loop for multiple times, and a loop output result can be obtained in each loop. Multiple loop output results can be obtained by looping multiple times.
[0060] Next, the execution entity of the data display solution provided in the embodiment of the present application is described.
[0061] The executor of the data display solution provided in the embodiment of the present application is the client.
[0062] Next, the data display method and device provided in the embodiments of the present application are described in detail.
[0063] See also Figure 1 , Figure 1 This is a flow chart of a first data display method provided in an embodiment of the present application. In this embodiment, the method includes the following steps S101-S104.
[0064] Step S101: displaying the output setting interface for the target Group module.
[0065] The target Group module includes multiple data processing modules, and the target Group module may also include other Group modules. In this case, the other Group module can be considered as just a data processing module included in the target Group module. The output parameters of the target Group module itself can be the output parameters of one or more modules in the data processing modules it contains.
[0066] When displaying the above output setting interface, the output setting interface may include output parameter information of each data processing module included in the target Group module, so that the user can set the output parameters of the target Group module according to the output parameter information of each data processing module included in the interface.
[0067] In addition, in order to facilitate the user to set the output parameters of the target Group module, the above output setting interface may also display the data processing sub-processes formed by the data processing modules in the target Group module.
[0068] For example, see Figure 2a , Figure 2a A schematic diagram of an output setting interface for a target Group module.
[0069] from Figure 2a It can be seen that the target Group module, that is, the combination module 1, includes the image source 1 module, the circle search 1 module, the line search 1 module and the line circle measurement 1 module. The image source 1 module is used to obtain images, the circle search 1 module is used to search for circles in images, the line search 1 module is used to search for lines in images, and the line circle measurement 1 module is used to measure based on circles and lines in images, and output the two intersection points of the circle and the line and the line formed by the two intersection points. The above four modules are connected in sequence to form a data processing sub-flow inside the combination module 1.
[0070] Figure 2a It also shows the output parameter information of the data processing modules included in the combined module 1, wherein the first three pieces of information belong to the line circle measurement 1 module, the fourth piece of information belongs to the circle search 1 module, and the fifth piece of information belongs to the line search 1 module.
[0071] Each piece of output parameter information has three information items: module name, type, and subscription relationship.
[0072] The module name refers to the name of the data processing module, including line circle measurement 1, circle search 1, and straight line search 1.
[0073] Type refers to the type of output parameters of the data processing module, including LINE, POINT, ANNULUS, etc.
[0074] The subscription relationship refers to whether the combination module 1 subscribes to the output parameters of the data processing module, that is, whether the output parameters of the data processing module are used as the output parameters of the combination module 1. Each output parameter information contains a display box in the subscription relationship, and each display box contains an output subscription button, that is, Figure 2b The user can use a finger or mouse to click the output subscription button to set whether the combined module 1 subscribes to the output parameter to which the output parameter information belongs, that is, to subscribe to the output of the internal module as the output of the Group itself.
[0075] When the user clicks the output subscription button corresponding to the output parameter information so that the combination module 1 subscribes to the output parameter corresponding to the output parameter information, the output parameter name in the output parameter information is displayed in the display box corresponding to the output parameter information; when the user clicks the output subscription button corresponding to the output parameter information so that the combination module 1 does not subscribe to the output parameter corresponding to the output parameter information, the content of the display box corresponding to the output parameter information is empty.
[0076] Figure 2a The interface shown also includes an image rendering frame, namely Figure 2aEach output parameter information corresponds to an image rendering box. For the description of the image rendering box, please refer to the subsequent embodiments, which will not be described in detail here.
[0077] In the example above where the target process is used to detect the position of the center of a gear in a gear image, see Figure 2b , shows the output setting interface of the combination module 1, Figure 2b In the example, the combined module 1 includes a vertex detection 1 module.
[0078] Figure 2b The interface shown shows the output parameter information of the vertex detection 1 module and the image rendering box, wherein the module name of the output parameter information of the vertex detection 1 module is Vertex Detection 1, the type is POINT, and the subscription relationship refers to whether the combination module 2 subscribes to the output parameters of the vertex detection 1 module, that is, whether the output parameters of the vertex detection 1 module are used as the output parameters of the combination module 2. The display box of the subscription relationship item contains an output subscription button, and the output parameter name of the vertex detection 1 module is displayed in the display box, indicating that the combination module 1 has subscribed to the output parameters of the vertex detection 1 module.
[0079] Step S102: In response to a setting operation of the user in the output setting interface, the first output parameter is configured as an output parameter of the target Group module in the target process.
[0080] The first output parameter includes: setting the output parameter of the target data processing module subscribed by the target Group module.
[0081] The target data processing module is: the data processing module included in the target Group module.
[0082] The above target process is a data processing process designed by the user and includes a target Group module.
[0083] Specifically, in response to a setting operation of the user, the client may determine a first output parameter set by the user and subscribed to by the target Group module.
[0084] After determining the first output parameter, the first output parameter is configured as an output parameter of the target Group module in the target process. The output parameter is configured differently in different scenarios.
[0085] In one embodiment of the present application, in a scenario where the above module library is deployed on a client, the target process is located in the client, so that after the client determines the first output parameter, the output parameter of the target Group module in the target process can be set as the first output parameter.
[0086] In the scenario where the above module library is deployed on the server, after determining the first output parameter, the client can notify the server target Group module to subscribe to the first output parameter, so that the server sets the output parameter of the target Group module in the target process as the first output parameter.
[0087] Step S103: In response to the user's result display operation on the target Group module, a loop output result of the second output parameter indicated by the result display operation is obtained.
[0088] The second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module.
[0089] The loop output results are obtained based on the target output results recorded during the execution of the target process.
[0090] The target output result includes: the output result obtained by executing the target data processing module in each cycle.
[0091] From the above description of the target execution process, it can be seen that each data processing module included in the target Group module outputs the data processing result of the call each time it is executed, that is, it outputs the target output result.
[0092] The target process records the target output result output by each data processing module, so that all target output results output by each data processing module recorded by the target process can be determined as the loop output result of the data processing module, or all target output results output by each data processing module recorded by the target process are structured and processed to obtain the processed result as the loop output result of the data processing module. The method of performing structured processing on the target output result can be found in the subsequent embodiments and will not be described in detail here.
[0093] See also Figure 3 , provides a structural diagram of a Group module. Figure 3 The Group module shown includes data processing module 1, data processing module 2 and data processing module 3. When the Group module is called during the execution of the data processing flow, data processing module 1, data processing module 2 and data processing module 3 are called cyclically, and these three modules generate data processing results in each cyclic calling process, that is, they all output target output results. For example, if the loop is N times, the three modules output N target output results respectively. The target flow can record the N target output results output by the three modules respectively.
[0094] Next, obtaining the loop output result in response to the result presentation operation is described.
[0095] The above result display operation can be generated by the user before executing the target process, or it can be generated by the user after executing the target process. The methods of obtaining the loop output results are different in these two cases. Please refer to the subsequent embodiments for details, which will not be described in detail here.
[0096] Step S104: Display the loop output result.
[0097] See also Figure 4a , 4b , respectively showing the execution effect diagram after the target process is executed and the circle search module is executed.
[0098] exist Figure 4a , the structure of the target process and the circles in the image are shown, wherein the target process includes an image segmentation module and a combination module 3, and the combination module 3 represents a circle search module.
[0099] exist Figure 4b , the internal structure of the combined module 3 (i.e., the circle search module), the execution time of the circle search 1 module, and the module data output by the circle search 1 module in each cycle are shown, wherein the combined module 3 includes the circle search 1 module, and the module data of the circle search 1 module includes the module state, the center of the circle, the radius, and the fitting error. The module state is 0, indicating that the module has not detected a circle in the image, and the module state is 1, indicating that the module has detected a circle in the image.
[0100] exist Figure 4b In the effect diagram shown, the circle search 1 module is in the offline state at time T1, and the circle search 1 module has no output at this time; at times T2, T3, and T4, the circle search 1 module is in the online state. At time T2, the module data of the circle search 1 module includes the center of the circle (X1, Y1), the radius R1, and the fitting error K1; at time T3, the module data of the circle search 1 module includes the center of the circle (X2, Y2), the radius R2, and the fitting error K2; at time T4, the module data of the circle search 1 module includes the center of the circle (X3, Y3), the radius R3, and the fitting error K3.
[0101] In the example above where the target process is used to detect the position of the center of a gear in a gear image, see Figure 4c , 4d 4e are the execution effect diagrams of the contour matching module, the combination module 2 and the circle fitting module respectively.
[0102] exist Figure 4c, a gear image with a matching frame and parameter information of multiple matching frames are displayed, the parameter information includes the matching frame center, the matching point center, the angle, the scale and the score, wherein the matching frame center information includes the matching frame center X-axis coordinate and the matching frame center Y-axis coordinate, the matching point center information includes the matching point center X-axis coordinate and the matching point center Y-axis coordinate, the angle information may be the angle between the straight line where the matching point and the matching frame center are located and the X-axis or Y-axis, the scale information includes the scale value, the scale X (the scale value in the X-axis direction) and the scale Y (the scale value in the Y-axis direction), and the score indicates the confidence that the area where the matching frame is located is the area where the tooth is located.
[0103] For ease of display, Figure 4c Only the parameter information of the three matching boxes, matching box 0, matching box 1, and matching box 2, is shown as an example. In addition, the execution effect diagram may also display the parameter information of other number of matching boxes or all matching boxes.
[0104] Figure 4d Also shown is an image of a gear showing the vertices of each tooth.
[0105] Figure 4e Also displayed is a gear image showing the center position of the gear and module data of the circle fitting module. The module data includes the X-axis coordinate of the center, the Y-axis coordinate of the center, the radius of the circle, the fitting status information, the fitting error, and the number of matching points. Among them, the fitting status information is 1, indicating that the circle fitting module has completed the circle fitting, the fitting error is the error of the circle fitting, and the number of matching points refers to the number of vertices of each tooth that match the fitted circle.
[0106] In addition, in the above Figure 4c , 4d 4e both show the structure of process 1 and a thumbnail of the initial gear image in the image source.
[0107] As can be seen from the above, when the scheme provided by the embodiment of the present application is applied to display data, after the client displays the output setting interface, the user can perform setting operations on the output setting interface, so that the client can configure the first output parameter of the target Group module in response to the user's setting operation, and the user can also perform a result display operation for the target Group module. The client responds to the result display operation and obtains the cyclic output result of the second output parameter indicated by the result display operation. The second output parameter is at least one of the first output parameter and the output parameter of the data processing module included in the target Group module. Therefore, the second output parameter belongs to the output result of the data processing module in the target Group module. In this way, displaying the cyclic output result also displays the output result related to the target Group module. It can be seen that the data display scheme provided by the embodiment of the present application can display the output results related to the Group module.
[0108] In one embodiment of the present application, before the target process is executed, in addition to displaying the output setting interface for the target Group module so that the user can set the output of the target Group module, the input setting interface and the loop setting interface for the target Group module can also be displayed.
[0109] See also Figure 5a , showing an input setting interface, Figure 5a The interface shown contains the output parameter information of the image source module and the contour matching module. The user can set the input parameter of the target Group module to the output parameter of at least one of the image source and contour matching modules.
[0110] For the output parameter information of the image source module, the parameter name of the information is image source 1, the type is IMAGE, and the subscription relationship contains a display box with the content of image source 1-image, and the display box contains an input subscription button, that is, Figure 5a Similar to the subscription relationship in the output setting interface, when the display box displays the output parameter name, it means that the target Group module subscribes to the input parameter corresponding to the display box; when the content of the display box is empty, it means that the target Group module does not subscribe to the input parameter corresponding to the display box.
[0111] For the output parameter information of the contour matching module, the parameter name of the information is contour matching, the type is BOX, and the subscription relationship includes a display box whose content is contour matching-matching box, and the display box includes an input subscription button.
[0112] See also Figure 5b , showing a loop setting interface for the target Group module, Figure 5b The interface shown contains five setting options: loop enable, loop start value, loop end value, loop interval, and interrupt loop. The loop enable option is the loop function switch of the target Group module. The loop enable option in the figure is in the on state, indicating that the target Group module has the loop function turned on; the loop start value and the loop end value respectively represent the first and last data processed when the loop is turned on. The loop start value in the figure is 0, and the loop end value is contour matching. Match number, indicating that the target Group module starts from 0 and processes each matching box detected by the contour matching module until all matching boxes detected by the contour matching module are processed; the loop interval represents the time interval between two loops. The loop interval in the figure is 0, indicating that the target Group module immediately enters the next loop after one internal loop; the interrupt loop is used to interrupt the internal loop of the target Group module when the preset conditions are met. The interrupt loop option in the figure is in the off state.
[0113] See also Figure 5c , shows another loop setting interface, similar to the above Figure 5b compared to, Figure 5c The Interrupt Loop option is turned on. In this case, Figure 5c The interface shown also includes three setting options: data type, source comparison value, and target comparison value. When the target Group module is looping internally, if the output parameter subscribed by the target Group module meets the type in the data type option and meets the condition set in the target comparison value compared with the source comparison value, the loop of the target Group module will be interrupted. The data type in the figure is int, which means that when judging whether to terminate the loop, it is necessary to judge whether the output parameter subscribed by the target Group module is an int type parameter.
[0114] The following describes the manner of obtaining the loop output results in the two cases mentioned in the above step S103.
[0115] 1. For the case where the user generates a result display operation before executing the target process
[0116] In one embodiment of the present application, when the client obtains the above-mentioned loop output result, it determines that the user triggers the result display operation for the target Group module, and in response to the user's start operation on the target process, triggers the execution of the target process, and the target process records the target output result during the execution process. In this way, after the target Group module is executed, the client obtains the loop output result obtained based on the target output result after the target Group module is executed.
[0117] Specifically, before executing the target process, the user can perform result display operations on the target Group module when setting the target Group module, for example, in the module setting interface of the target Group module, setting the result display instructions of the target Group module; or the user can perform result display operations on the target Group module in the target process when setting the target process as a whole, for example, in the setting interface of the target process, setting the result display instructions of the target Group module.
[0118] In the above Figure 2a middle, Figure 2a The interface shown includes an image rendering box. The user can click on the image rendering box to turn on or off the image rendering function. If the user turns on the image rendering function, it means that the user triggers the result display operation for the vertex detection module. In this way, during the execution of the target process, if the vertex detection module is executed, the loop output result is obtained, and based on the loop output result, a gear image showing vertices with teeth is rendered in the interface, that is, the loop output result is displayed.
[0119] After the user performs a result display operation on the target Group module, the client can detect the result display operation of the user, thereby determining that the user triggers the result display operation on the target Group module.
[0120] After determining that the user triggers the result display operation, if the user starts the target process, for example, the user clicks the start button in the interface of the process flow diagram of the target process, the client can trigger the execution of the target process in response to the user's start operation on the target process, and the target process can record the above target output result during the execution process. The execution process of the target process can refer to the description of the above step S103, which will not be repeated here.
[0121] During the execution of the target process, when the target Group module is executed, the target process also records the target output results output by the data processing module in the target Group module during each cycle, so that the target process can generate a loop output result based on the recorded target output result, so that the client obtains the loop output result generated by the target process.
[0122] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, when it is determined that the user triggers the result display operation for the target Group module, the target process is triggered to execute in response to the start operation. That is, the user can perform the result display operation for the target Group module before the target process is executed. Therefore, during the execution of the target process, the loop output result can be obtained after the execution of the target Group module is completed, and the loop output result can be displayed. In this way, the loop output result can be displayed quickly, thereby improving data display efficiency.
[0123] 2. For situations where users generate result display operations after the target process is executed.
[0124] In one embodiment of the present application, in response to a user's result display operation on a target Group module and before obtaining the loop output result of a second output parameter indicated by the result display operation, the client may trigger the execution of the target process in response to a user's start operation on the target process, and the target process records the target output result during the execution process.
[0125] In the process of recording the target output result of the target process, the loop output result can be obtained based on the target output result, and the loop output result can be cached in the cache pool corresponding to the data processing module that outputs the target output result. Among them, the data processing module that outputs the target output result is also the target visualization module, so caching the target output result means caching the target output result in the cache pool corresponding to the target visualization module.
[0126] After the target process is executed, the user can perform a result display operation on the target Group module, so that the client responds to the user's result display operation on the target Group module and obtains the loop output result of the second output parameter indicated by the result display operation from the cache pool corresponding to the target visualization module.
[0127] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, the target process can record the target output result during execution and cache the loop output result obtained based on the target output result. In this way, after the target process is executed, the user can perform the result display operation, and the client then obtains the loop output result from the cache pool and displays the loop output result. This ensures that the user can always view the output results related to the target Group module, thereby improving the practicality of the data display solution.
[0128] In one embodiment of the present application, the target process records the target output result in the following manner during execution:
[0129] Obtain the output result of the third output parameter output after the target data processing module is executed; perform structured processing on the output result of the third output parameter, and cache the output result after structured processing in the cache pool corresponding to the target data processing module; if the third output parameter is the first output parameter, write the output result of the third output parameter to the tail of the result queue of the third output parameter corresponding to the target Group module.
[0130] See also Figure 6 , a flow diagram for executing a target Group module is provided. In this embodiment, the target Group module is Group1, Group1 includes module 1, module 2, module 3, module 4 and Group2, and the target process has result queues corresponding to module 1, module 2, module 3, module 4 and Group2, which are used to record the output results of each module in each cycle.
[0131] Combine the following Figure 6 , explaining how the target process records the target output results.
[0132] When Group1 is executed, module 1, module 2, module 3, module 4 and Group2 are executed in a loop. Taking module 1 and module 2 as the target data processing modules, each time module 1 is executed, the target process can obtain the output results of all the third output parameters output after the execution of module 1 is completed, and the output results of all the third output parameters obtained are structured, and the output results of the structured processing are cached in the cache pool corresponding to module 1; each time module 2 is executed, the target process can obtain the output results of all the third output parameters output after the execution of module 2 is completed, and the output results of all the third output parameters obtained are structured, and the output results of the structured processing are cached in the cache pool corresponding to module 2.
[0133] In addition, if Group1 subscribes to the third output parameters of module 1 and module 2, the third output parameters of module 1 and module 2 are the first output parameters. In this case, after obtaining the output result of the third output parameter output by module 1, the output result is written to the end of the queue of the result queue of the third output parameter corresponding to module 1; after obtaining the output result of the third output parameter output by module 2, the output result is written to the end of the queue of the result queue of the third output parameter corresponding to module 2.
[0134] If module 1 has multiple third output parameters, and Group 1 subscribes to some of the third output parameters, when the third output result is written into the result cache space of the third output parameter corresponding to Group 1, the subscribed third output result is written into the result cache space of the third output parameter corresponding to Group 1.
[0135] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, after the target process obtains the output result of the third output parameter output by the target data processing module, the obtained output result is processed and cached, or written into a specific queue, that is, the output results related to the target data processing module are stored. In this way, if the user performs a result display operation for the target Group module, data can be obtained from each storage space, thereby realizing data display.
[0136] Furthermore, the solution provided by the embodiment of the present application does not require the addition of an additional data collection module or the writing of additional code in the target Group module, which can simplify user operations and improve the user experience of using visual software.
[0137] In one embodiment of the present application, after the target Group module is executed, the loop output result can be obtained in the following manner:
[0138] The data recorded in the result queue of each first output parameter is structured to obtain the loop output result of each first output parameter, and the loop output result of each first output parameter is cached in the cache pool corresponding to the target Group module.
[0139] Specifically, for the target Group module, after the target Group module is executed, the result cache space corresponding to the target process caches the output results of all the output parameters subscribed to by it generated during the loop process, so that the client can perform structured processing on these output results in the result cache space to obtain a loop output result.
[0140] See also Figure 7 , showing the above Figure 6 The cache pools corresponding to modules 1, 2, 3, 4 and Group 2 in Group 1 are used to cache their respective loop output results. Figure 7 It can be seen that if module 1, module 2, module 3, module 4 and Group 2 are executed in a loop N times, the cache pools corresponding to modules 1, module 2, module 3, module 4 and Group 2 can cache the loop output results generated from loop one to loop N times.
[0141] Group1 also has its corresponding cache pool. The cache pool corresponding to Group1 is independent of the cache pools corresponding to each internal module in Group1. Figure 7 When Group1 is executed, that is, when the internal modules contained in Group1 are executed, the output results of Group1 are cached in the cache pool corresponding to Group1.
[0142] In addition, the user can also perform a result display operation in the client interface, so that the client can query the cyclic output results indicated by the result display operation from the cache pool.
[0143] As can be seen from the above, when the scheme provided by the embodiment of the present application is applied to display data, the data recorded in each result queue is structured, which can be convenient for users to view. The loop output results obtained after the structured processing are cached in the cache pool, which can ensure that users can view the data related to the target Group module at any time. Therefore, the data display scheme provided by the embodiment of the present application can improve the practicality of data display.
[0144] In one embodiment of the present application, see Figure 8 , provides a flow chart of a data caching method. In this embodiment, the Figure 8 In steps S801-S803 shown, the loop output result of the fourth output parameter is cached in a target cache pool corresponding to the module to which the fourth output parameter belongs.
[0145] The fourth output parameter is the first output parameter or the third output parameter.
[0146] Step S801: Determine whether the sum of the first quantity and the second quantity is greater than or equal to a preset quantity threshold.
[0147] The first number is: the number of cached data in the target cache pool, and the second number is: the number of data in the loop output result of the fourth output parameter.
[0148] The preset quantity threshold may be any threshold set manually, or may be a quantity threshold determined according to the storage space size of the target cache pool.
[0149] Specifically, if it is determined that the sum of the first number and the second number is less than the preset number threshold, it means that after the loop output result is cached in the cache pool, it will not cause excessive data accumulation in the cache pool. At this time, execute step S802; on the contrary, if it is determined that the sum of the first number and the second number is greater than or equal to the preset number threshold, it means that after the loop output result is cached in the cache pool, it may cause excessive data accumulation in the cache pool. At this time, execute step S803.
[0150] Step S802: Cache the loop output result of the fourth output parameter into the target cache pool.
[0151] Step S803: Based on the earliest execution sequence number, the loop output result of the fourth output parameter is cached in the target cache pool.
[0152] The earliest execution sequence number is: the execution sequence number of the target Group module corresponding to the earliest cached data in the target cache pool.
[0153] The execution sequence number of the data refers to the execution number of the target Group module that outputs the data.
[0154] Specifically, the target cache pool not only caches data, but also caches the execution sequence number and cache time of the data. When it is determined that the sum of the first number and the second number is greater than or equal to the preset number threshold, the data with the earliest cache time in the target cache pool can be determined, and the execution sequence number of the data can be determined as the earliest execution sequence number, and based on the earliest execution sequence number, the loop output result of the fourth output parameter is cached in the target cache pool.
[0155] Based on the earliest execution sequence number, the loop output result of the fourth output parameter may be cached in any of the following two implementations.
[0156] In the first implementation method, determine whether the earliest execution sequence number is equal to the current execution sequence number corresponding to the target Group module; if equal, cache the loop output result of the fourth output parameter in the target cache pool; if not equal, calculate the difference between the sum value and the preset quantity threshold, delete the difference data with the longest cache time in the target cache pool, and cache the loop output result of the fourth output parameter in the target cache pool.
[0157] Specifically, if the earliest execution sequence number is equal to the current execution sequence number corresponding to the target Group module, it means that the data cached in the target cache pool are all data generated during the current execution of the target process. In this case, the loop output result of the fourth output parameter is directly cached in the target cache pool, which can avoid the data generated during the current execution of the target process from being accidentally deleted, thereby ensuring data integrity.
[0158] If the earliest execution sequence number is not equal to the current execution sequence number corresponding to the target Group module, it means that the target cache pool has cached data generated when the target process was previously executed. At this time, multiple data with the longest cache time in the target cache pool can be deleted to release cache space, which can ensure the normal operation of the target cache pool.
[0159] In the second implementation method, the difference between the earliest execution sequence number and the current execution sequence number corresponding to the target Group module can be obtained. If the difference is less than a preset threshold, the loop output result of the fourth output parameter is cached in the target cache pool; otherwise, the difference between the sum value and the preset quantity threshold is calculated, the difference data with the longest cache time in the target cache pool is deleted, and the loop output result of the fourth output parameter is cached in the target cache pool.
[0160] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, the preset quantity threshold can be used to manage the cache status of the target cache pool, which can ensure the normal operation of the target cache pool and thus ensure the reliability of data display.
[0161] Corresponding to the above-mentioned data display method, the embodiment of the present application also provides a data display device.
[0162] In one embodiment of the present application, see Fig. 9 , a structural schematic diagram of a data display device is provided. In this embodiment, the device includes:
[0163] The interface display module 901 is used to display the output setting interface for the target Group module;
[0164] The output configuration module 902 is used to configure the first output parameter as the output parameter of the target Group module in the target process in response to the setting operation of the user in the output setting interface, wherein the first output parameter includes: the output parameter of the target data processing module subscribed by the target Group module in the setting operation, and the target data processing module is: the data processing module included in the target Group module;
[0165] A result obtaining module 903 is used to obtain, in response to a result display operation of the user on the target Group module, a loop output result of a second output parameter indicated by the result display operation, wherein the second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module, and the loop output result is obtained based on a target output result recorded during the execution of the target process, and the target output result includes: an output result obtained by executing the target data processing module in each loop;
[0166] The result display module 904 is used to display the loop output result.
[0167] As can be seen from the above, when the scheme provided by the embodiment of the present application is applied to display data, after the client displays the output setting interface, the user can perform setting operations on the output setting interface, so that the client can configure the first output parameter of the target Group module in response to the user's setting operation, and the user can also perform a result display operation for the target Group module. The client responds to the result display operation and obtains the cyclic output result of the second output parameter indicated by the result display operation. The second output parameter is at least one of the first output parameter and the output parameter of the data processing module included in the target Group module. Therefore, the second output parameter belongs to the output result of the data processing module in the target Group module. In this way, displaying the cyclic output result also displays the output result related to the target Group module. It can be seen that the data display scheme provided by the embodiment of the present application can display the output results related to the Group module.
[0168] In one embodiment of the present application, the result obtaining module 903 is specifically used to:
[0169] When it is determined that the user triggers a result display operation for the target Group module, in response to the user's start operation for the target process, triggering the execution of the target process, and the target process records the target output result during the execution process;
[0170] Obtain a loop output result based on the target output result after the target Group module is executed.
[0171] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, when it is determined that the user triggers the result display operation for the target Group module, the target process is triggered to execute in response to the start operation. That is, the user can perform the result display operation for the target Group module before the target process is executed. Therefore, during the execution of the target process, the loop output result can be obtained after the execution of the target Group module is completed, and the loop output result can be displayed. In this way, the loop output result can be displayed quickly, thereby improving data display efficiency.
[0172] In one embodiment of the present application, the device further includes:
[0173] A first response module is used for, before obtaining the loop output result of the second output parameter indicated by the result display operation in response to the result display operation of the user on the target Group module, triggering the execution of the target process in response to the start operation of the user on the target process, and the target process records the target output result during the execution process;
[0174] The result obtaining module 903 is specifically used for:
[0175] In response to the user's result display operation on the target Group module, a loop output result of the second output parameter indicated by the result display operation is obtained from the cache pool corresponding to the target visualization module, wherein the target visualization module is a module whose output parameters include the second output parameter, and the cache pool caches the loop output result obtained based on the target output result of the corresponding module.
[0176] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, the target process can record the target output result during execution and cache the loop output result obtained based on the target output result. In this way, after the target process is executed, the user can perform the result display operation, and the client then obtains the loop output result from the cache pool and displays the loop output result. This ensures that the user can always view the output results related to the target Group module, thereby improving the practicality of the data display solution.
[0177] In one embodiment of the present application, the target process records the target output result in the following manner during execution:
[0178] Obtaining an output result of a third output parameter outputted after the target data processing module is executed;
[0179] Performing structured processing on the output result of the third output parameter, and caching the output result after structured processing into a cache pool corresponding to the target data processing module;
[0180] If the third output parameter is the first output parameter, the output result of the third output parameter is written to the tail of the result queue of the third output parameter corresponding to the target Group module.
[0181] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, after the target process obtains the output result of the third output parameter output by the target data processing module, the obtained output result is processed and cached, or written into a specific queue, that is, the output results related to the target data processing module are stored. In this way, if the user performs a result display operation for the target Group module, data can be obtained from each storage space, thereby realizing data display.
[0182] Furthermore, the solution provided by the embodiment of the present application does not require the addition of an additional data collection module or the writing of additional code in the target Group module, which can simplify user operations and improve the user experience of using visual software.
[0183] In one embodiment of the present application, after the target Group module is executed, the loop output result is obtained in the following manner:
[0184] The data recorded in the result cache space of each first output parameter is structured to obtain the loop output result of each first output parameter, and the loop output result of each first output parameter is cached in the cache pool corresponding to the target Group module.
[0185] As can be seen from the above, when the scheme provided by the embodiment of the present application is applied to display data, the data recorded in each result queue is structured, which can be convenient for users to view. The loop output results obtained after the structured processing are cached in the cache pool, which can ensure that users can view the data related to the target Group module at any time. Therefore, the data display scheme provided by the embodiment of the present application can improve the practicality of data display.
[0186] In one embodiment of the present application, the output result of the fourth output parameter is cached in the target cache pool corresponding to the module to which the fourth output parameter belongs in the following manner, wherein the fourth output parameter is the first output parameter or the third output parameter:
[0187] Determine whether the sum of the first number and the second number is greater than or equal to a preset number threshold, wherein the first number is: the number of cached data in the target cache pool, and the second number is: the number of data in the loop output result of the fourth output parameter;
[0188] If not, caching the loop output result of the fourth output parameter into the target cache pool;
[0189] If yes, the loop output result of the fourth output parameter is cached in the target cache pool based on the earliest execution sequence number, wherein the earliest execution sequence number is: the execution sequence number of the target Group module corresponding to the earliest cached data in the target cache pool.
[0190] As can be seen from the above, when the solution provided in the embodiment of the present application is used to display data, the preset quantity threshold can be used to manage the cache status of the target cache pool, which can ensure the normal operation of the target cache pool and thus ensure the reliability of data display.
[0191] In one embodiment of the present application, based on the earliest execution sequence number, caching the loop output result of the fourth output parameter into the target cache pool includes:
[0192] Determine whether the earliest execution sequence number is equal to the current execution sequence number corresponding to the target Group module;
[0193] If they are equal, then the loop output result of the fourth output parameter is cached in the target cache pool;
[0194] If not equal, the difference between the sum and the preset quantity threshold is calculated, the difference data with the longest cache time in the target cache pool is deleted, and the loop output result of the fourth output parameter is cached in the target cache pool.
[0195] In this solution, if the earliest execution sequence number is equal to the current execution sequence number corresponding to the target Group module, it means that the data cached in the target cache pool are all data generated during the current execution of the target process. In this case, the loop output result of the fourth output parameter is directly cached in the target cache pool, which can avoid the data generated during the current execution of the target process from being accidentally deleted, thereby ensuring data integrity.
[0196] In the technical solution of this application, the operations involved in obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.
[0197] The present application also provides an electronic device, such as Fig.10 As shown, including:
[0198] Memory 1001, used for storing computer programs;
[0199] The processor 1002 is used to implement the following steps when executing the program stored in the memory 1001:
[0200] Display the output setting interface for the target Group module;
[0201] In response to a setting operation of the user in the output setting interface, a first output parameter is configured as an output parameter of a target Group module in a target process, wherein the first output parameter includes: an output parameter of a target data processing module subscribed by the target Group module in the setting operation, and the target data processing module is: a data processing module included in the target Group module;
[0202] In response to a result display operation of the user on the target Group module, a loop output result of a second output parameter indicated by the result display operation is obtained, wherein the second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module, and the loop output result is obtained based on a target output result recorded during the execution of the target process, and the target output result includes: an output result obtained by executing the target data processing module each time in a loop;
[0203] Display the output of the loop.
[0204] Other solutions for the processor 1002 to execute the program stored in the memory 1001 to realize data display can be found in the aforementioned method embodiments, which will not be repeated here.
[0205] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 1002, the communication interface, and the memory 1001 communicate with each other via the communication bus.
[0206] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0207] The communication interface is used for communication between the above electronic device and other devices.
[0208] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0209] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0210] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned data display methods are implemented.
[0211] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the data display methods in the above embodiments.
[0212] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0213] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0214] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, computer storage medium, and computer electronic product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0215] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A data display method, It is characterized in that The method comprises: Displaying an output setting interface for a target Group module, wherein the target Group module includes at least one data processing module, and the at least one data processing module forms a data processing sub-process in the vision software; In response to a setting operation of the user in the output setting interface, a first output parameter is configured as an output parameter of a target Group module in a target process, wherein the first output parameter includes: an output parameter of a target data processing module subscribed by the target Group module in the setting operation, and the target data processing module is: a data processing module included in the target Group module; In response to a result display operation of the user on the target Group module, a loop output result of a second output parameter indicated by the result display operation is obtained, wherein the second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module, and the loop output result is obtained based on a target output result recorded during the execution of the target process, and the target output result includes: an output result obtained by executing the target data processing module each time in a loop; Display the output result of the loop; The target process records the target output result in the following manner during execution: Obtaining the output result of the third output parameter outputted after the target data processing module is executed; performing structured processing on the output result of the third output parameter, and caching the output result after structured processing into the cache pool corresponding to the target data processing module; if the third output parameter is the first output parameter, writing the output result of the third output parameter into the tail of the result queue of the third output parameter corresponding to the target Group module; The loop output result of the second output parameter is obtained from the buffer pool and / or the result queue.
2. The method according to claim 1, It is characterized in that The step of obtaining, in response to the user's result display operation on the target Group module, a cyclic output result of a second output parameter indicated by the result display operation includes: When it is determined that the user triggers a result display operation for the target Group module, in response to the user's start operation for the target process, triggering the execution of the target process, and the target process records the target output result during the execution process; Obtain a loop output result based on the target output result after the target Group module is executed.
3. The method according to claim 1, It is characterized in that Before obtaining the cyclic output result of the second output parameter indicated by the result display operation in response to the result display operation of the user on the target Group module, the method further includes: In response to a user's start operation on the target process, triggering the execution of the target process, wherein the target process records the target output result during the execution process; The step of obtaining, in response to the user's result display operation on the target Group module, a cyclic output result of a second output parameter indicated by the result display operation includes: In response to the user's result display operation on the target Group module, a loop output result of the second output parameter indicated by the result display operation is obtained from the cache pool corresponding to the target visualization module, wherein the target visualization module is a module whose output parameters include the second output parameter, and the cache pool caches the loop output result obtained based on the target output result of the corresponding module.
4. The method according to claim 1, It is characterized in that After the target Group module is executed, the loop output result is obtained in the following manner: The data recorded in the result queue of each first output parameter is structured to obtain the loop output result of each first output parameter, and the loop output result of each first output parameter is cached in the cache pool corresponding to the target Group module.
5. The method according to claim 4, It is characterized in that The output result of the fourth output parameter is cached in the target cache pool corresponding to the module to which the fourth output parameter belongs in the following manner, wherein the fourth output parameter is the first output parameter or the third output parameter: Determine whether the sum of the first number and the second number is greater than or equal to a preset number threshold, wherein the first number is: the number of cached data in the target cache pool, and the second number is: the number of data in the loop output result of the fourth output parameter; If not, caching the loop output result of the fourth output parameter into the target cache pool; If yes, the loop output result of the fourth output parameter is cached in the target cache pool based on the earliest execution sequence number, wherein the earliest execution sequence number is: the execution sequence number of the target Group module corresponding to the earliest cached data in the target cache pool.
6. The method according to claim 5, It is characterized in that The step of caching the loop output result of the fourth output parameter into the target cache pool based on the earliest execution sequence number includes: Determine whether the earliest execution sequence number is equal to the current execution sequence number corresponding to the target Group module; If they are equal, then the loop output result of the fourth output parameter is cached in the target cache pool; If not equal, the difference between the sum and the preset quantity threshold is calculated, the difference data with the longest cache time in the target cache pool is deleted, and the loop output result of the fourth output parameter is cached in the target cache pool.
7. A data display device, It is characterized in that The device comprises: An interface display module, used to display an output setting interface for a target Group module, wherein the target Group module includes at least one data processing module, and the at least one data processing module forms a data processing sub-process in the visual software; an output configuration module, configured to configure a first output parameter as an output parameter of a target Group module in a target process in response to a setting operation of a user in the output setting interface, wherein the first output parameter includes: an output parameter of a target data processing module subscribed by the target Group module in the setting operation, and the target data processing module is: a data processing module included in the target Group module; A result obtaining module is used to obtain, in response to a result display operation of the user on the target Group module, a loop output result of a second output parameter indicated by the result display operation, wherein the second output parameter includes at least one of the first output parameter and an output parameter of a data processing module included in the target Group module, and the loop output result is obtained based on a target output result recorded during the execution of the target process, and the target output result includes: an output result obtained by executing the target data processing module each time in a loop; A result display module, used to display the output result of the cycle; The target process records the target output result in the following manner during execution: Obtaining the output result of the third output parameter outputted after the target data processing module is executed; performing structured processing on the output result of the third output parameter, and caching the output result after structured processing into the cache pool corresponding to the target data processing module; if the third output parameter is the first output parameter, writing the output result of the third output parameter into the tail of the result queue of the third output parameter corresponding to the target Group module; The loop output result of the second output parameter is obtained from the buffer pool and / or the result queue.
8. The device according to claim 7, It is characterized in that The result obtaining module is specifically used to: determine that the user triggers the result display operation for the target Group module, and in response to the user's start operation for the target process, trigger the execution of the target process, and the target process records the target output result during the execution process; Obtaining a loop output result based on the target output result after the target Group module is executed; The device further includes: a first response module, which is used to trigger the execution of the target process in response to the user's start operation on the target process, before obtaining the loop output result of the second output parameter indicated by the result display operation in response to the user's result display operation on the target Group module, and the target process records the target output result during the execution process; the result acquisition module is specifically used to: in response to the user's result display operation on the target Group module, obtain the loop output result of the second output parameter indicated by the result display operation from the cache pool corresponding to the target visualization module, wherein the target visualization module is: a module whose output parameters include the second output parameter, and the cache pool caches the loop output result obtained based on the target output result of the corresponding module; After the target Group module is executed, the loop output result is obtained in the following manner: structural processing is performed on the data recorded in the result queue of each first output parameter to obtain the loop output result of each first output parameter, and the loop output result of each first output parameter is cached in the cache pool corresponding to the target Group module; The loop output result of the fourth output parameter is cached in the target cache pool corresponding to the module to which the fourth output parameter belongs in the following manner, wherein the fourth output parameter is the first output parameter or the third output parameter: judging whether the sum of the first quantity and the second quantity is greater than or equal to a preset quantity threshold, wherein the first quantity is: the quantity of cached data in the target cache pool, and the second quantity is: the quantity of data in the loop output result of the fourth output parameter; if not, caching the loop output result of the fourth output parameter in the target cache pool; if yes, caching the loop output result of the fourth output parameter in the target cache pool based on the earliest execution sequence number, wherein the earliest execution sequence number is: the execution sequence number of the target Group module corresponding to the earliest cached data in the target cache pool; The method of caching the output result of the fourth output parameter in the target cache pool based on the earliest execution sequence number includes: determining whether the earliest execution sequence number is equal to the current execution sequence number corresponding to the target Group module; if so, caching the loop output result of the fourth output parameter in the target cache pool; if not, calculating the difference between the sum and the preset quantity threshold, deleting the difference data with the longest cache time in the target cache pool, and caching the loop output result of the fourth output parameter in the target cache pool.
9. An electronic device, It is characterized in that include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-6 when executing a program stored in a memory.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
