Program blueprint testing method and device, computer equipment and storage medium

By splitting the task execution logic into multiple logical stages and packaging them into attribute information of stage nodes, the blueprint configuration process is simplified, solving the problems of existing blueprint configuration complexity and user operation difficulty, and achieving a more efficient blueprint. Configuration experience.

CN118733429APending Publication Date: 2024-10-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310371788.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing blueprint configuration process has complex logical structures, high requirements for configuration personnel, difficult user operations, and lacks convenient configuration methods.

Method used

By splitting the execution logic of the task into multiple logical stages, each stage corresponds to a stage node, and packaging the execution logic of the stage nodes into attribute information, users can execute and configure based on the connection relationship and attribute information between stage nodes. Blueprints, simplify the display and configuration process of blueprints.

Benefits of technology

It reduces the user's requirements for blueprint configuration, improves the convenience of configuration, and makes the logical structure of the blueprint simple and clear, making it easy to understand and configure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733429A_ABST
    Figure CN118733429A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a program blueprint testing method and device, computer equipment and a storage medium, and belongs to the technical field of computers. The method comprises the steps that a program blueprint is displayed, the program blueprint is used for representing execution logic of a task, stage nodes corresponding to a plurality of logic stages and a connection relation among the stage nodes are displayed in the program blueprint, and in response to the fact that a first stage node in the program blueprint is triggered, based on attribute information of the first stage node, the first stage node in the program blueprint is triggered; executing an execution logic corresponding to a first-stage node, wherein the first-stage node is any node in the program blueprint; and in response to the condition that the first-stage node meets the corresponding node jump condition, triggering a second-stage node indicated by the node jump condition, the second-stage node being connected with the first-stage node. According to the embodiment of the invention, the task corresponding to the program blueprint can be realized, the complexity of connecting lines in the program blueprint is simplified, the logic structure presented by the program blueprint is simple and clear, and the blueprint configuration convenience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, apparatus, computer device, and storage medium for testing a program blueprint. Background Art

[0002] A blueprint is a visual script that represents the execution logic of a task. When editing a blueprint, you can create the execution logic of a task by setting nodes with functions. You can quickly create the execution logic of a task without writing code. However, the logic structure in the currently configured blueprint is relatively complex, which places high demands on the person who configures the blueprint. Summary of the invention

[0003] The embodiment of the present application provides a program blueprint testing method, device, computer equipment and storage medium, which has low requirements for users, is easy for users to configure, and improves the convenience of program blueprint configuration. The technical solution is as follows:

[0004] In one aspect, a method for testing a program blueprint is provided, the method comprising:

[0005] Display a program blueprint, wherein the program blueprint is used to represent the execution logic of a task, wherein the task includes multiple logical stages, and the program blueprint displays stage nodes corresponding to the multiple logical stages and connection relationships between the multiple stage nodes, wherein each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node;

[0006] In response to a first-stage node in the program blueprint being triggered, executing execution logic corresponding to the first-stage node based on attribute information of the first-stage node, the first-stage node being any node in the program blueprint;

[0007] In response to the first-stage node satisfying the corresponding node jump condition, the second-stage node indicated by the node jump condition is triggered, and the second-stage node is connected to the first-stage node.

[0008] In one possible implementation, the method further includes:

[0009] In response to a save operation on the attribute information associated with the fourth-stage node, a resource file is generated based on the attribute information associated with the fourth-stage node, and the generated resource file is stored. The fourth-stage node is any node in the program blueprint.

[0010] In another aspect, a testing device for a program blueprint is provided, the device comprising:

[0011] A display module is used to display a program blueprint, wherein the program blueprint is used to represent the execution logic of a task, wherein the task includes multiple logical stages, and the program blueprint displays stage nodes corresponding to the multiple logical stages and connection relationships between the multiple stage nodes, wherein each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node;

[0012] An execution module, configured to execute, in response to a first-stage node in the program blueprint being triggered, an execution logic corresponding to the first-stage node based on attribute information of the first-stage node, wherein the first-stage node is any node in the program blueprint;

[0013] The trigger module is used to trigger the second stage node indicated by the node jump condition in response to the first stage node satisfying the corresponding node jump condition, and the second stage node is connected to the first stage node.

[0014] In a possible implementation, the first stage node further includes a subprogram blueprint, the logic stage corresponding to the first stage node includes a plurality of sub-logic stages, the subprogram blueprint displays sub-stage nodes corresponding to the plurality of sub-logic stages and connection relationships between the plurality of sub-stage nodes, each sub-stage node has attribute information, and the attribute information of the sub-stage node indicates the execution logic of the sub-logic stage corresponding to the sub-stage node;

[0015] The execution module is used to execute the execution logic corresponding to the first stage node in response to any sub-stage node being triggered, based on the attribute information of the sub-stage node, during the execution of the execution logic corresponding to the first stage node.

[0016] In another possible implementation, the node jump condition includes:

[0017] When the execution logic corresponding to the first-stage node is completed, the second-stage node is triggered; or,

[0018] If the execution logic corresponding to the first-stage node fails, triggering the second-stage node; or,

[0019] When the execution logic corresponding to the first-stage node starts to execute, the second-stage node is triggered; or,

[0020] During the execution of the execution logic corresponding to the first-stage node, when the first event is triggered, the second-stage node is triggered.

[0021] In another possible implementation, the trigger module is used to verify the state of the first-stage node in response to the first-stage node satisfying the node jump condition based on the verification condition corresponding to the node jump condition; and trigger the second-stage node when the state of the first-stage node satisfies the verification condition.

[0022] In another possible implementation, the attribute information of the first stage node includes a first input parameter, a logic function and a first output parameter, the first output parameter is bound to a first data object, the first data object is a data object in a data file associated with the program blueprint or other stage nodes other than the first stage node, and the data file includes at least one type of data object; the execution module is used to call the logic function, process the first input parameter, and obtain the first output parameter; and write the first output parameter into the first data object.

[0023] In another possible implementation, the attribute information of the first stage node also includes context data, and the context data is bound to a second data object in a data file associated with other stage nodes except the first stage node, and the execution module is used to obtain data from the second data object and determine the obtained data as the context data; call the logic function, process the first input parameter and the context data, and obtain the first output parameter.

[0024] In another possible implementation, a second event is also bound to the attribute information of the first-stage node, and the second event is used to jump to the corresponding execution logic. The execution module is also used to execute the execution logic corresponding to the second event in response to the second event being triggered during the execution of the execution logic corresponding to the first-stage node.

[0025] In another possible implementation, the device further includes:

[0026] A determination module is used to obtain data from the third data object contained in the data file associated with the program blueprint when the first input parameter is bound to the third data object in the data file, and determine the obtained data as the first input parameter; or, when the first input parameter is bound to an evaluator, process the second input parameter corresponding to the evaluator through the evaluator to obtain a second output parameter, and determine the second output parameter as the first input parameter.

[0027] In another possible implementation, the device further includes:

[0028] A creation module, configured to create, in response to a node creation operation, phase nodes corresponding to the plurality of logical phases;

[0029] The display module is further used to display an attribute information interface in response to a selection operation on a third-stage node, wherein the attribute information interface is used to configure attribute information of the third-stage node, wherein the third-stage node is any node among the created multiple stage nodes;

[0030] A configuration module, configured to configure the attribute information of the third-stage node in response to a configuration operation in the attribute information interface;

[0031] The creation module is also used to create a connection relationship between the multiple stage nodes in response to the connection operation on the multiple stage nodes to obtain the program blueprint.

[0032] In another possible implementation, the configuration module is used to, in response to a first binding operation on a node type in the attribute information, bind the node type to a type file indicated by the first binding operation, wherein the type file includes a logic function; or, in response to a second binding operation on an input parameter in the attribute information, bind the input parameter to a data object indicated by the second binding operation, wherein the data object is a data object in a data file associated with the program blueprint or other stage nodes; or, in response to a third binding operation on an output parameter in the attribute information, bind the output parameter to a data object indicated by the third binding operation, wherein the data object is a data object in a data file associated with the program blueprint or other stage nodes except the third stage node.

[0033] In another possible implementation, the configuration module is used to display multiple resource files in response to a reuse operation in the attribute information interface, and the resource files include attribute information corresponding to other stage nodes; in response to a selection operation on any resource file, the selected resource file is determined as the attribute information of the stage node.

[0034] In another possible implementation, the device further includes:

[0035] A storage module is used to generate a resource file based on the attribute information of the fourth-stage node in response to a save operation on the attribute information of the fourth-stage node, and store the generated resource file. The fourth-stage node is any node in the program blueprint.

[0036] In another possible implementation, the device further includes:

[0037] an adding module, for, when the third-stage node is selected, responding to a blueprint adding operation on the third-stage node, adding a subroutine blueprint to the third-stage node;

[0038] The creation module is further used to create a plurality of sub-stage nodes corresponding to the sub-logical stages in the sub-program blueprint in response to a node creation operation on the sub-program blueprint;

[0039] A configuration module, configured to configure attribute information for each sub-stage node in response to a configuration operation on the attribute information of each sub-stage node;

[0040] The creation module is further used to create a connection relationship between the multiple sub-stage nodes in response to a connection operation on the multiple sub-stage nodes.

[0041] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the testing method of the program blueprint as described in the above aspects.

[0042] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the testing method of the program blueprint as described in the above aspects.

[0043] On the other hand, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the operations performed by the testing method of the program blueprint as described in the above aspects are implemented.

[0044] The embodiment of the present application provides a new program blueprint for representing the execution logic of a task, which divides the execution process of the task into multiple logical stages, creates a stage node corresponding to each logical stage in the program blueprint, and packages the execution logic corresponding to each logical stage into attribute information of the stage node, so that when the program blueprint is tested, the corresponding execution logic can be executed based on the attribute information of each stage node according to the connection relationship between the multiple stage nodes in the program blueprint. This program blueprint can not only realize the task corresponding to the program blueprint, but also only displays multiple stage nodes and the connection relationship between the multiple stage nodes in the program blueprint, which simplifies the complexity of the connection in the program blueprint and makes the logical structure presented by the program blueprint simple and clear, so that users can more easily understand the logical structure in the program blueprint. In addition, this program blueprint has low requirements on users and is easy for users to configure, thereby improving the convenience of program blueprint configuration. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 It is a structural diagram of an implementation environment provided by an embodiment of the present application;

[0047] Figure 2 It is a flow chart of a method for testing a program blueprint provided in an embodiment of the present application;

[0048] Figure 3 It is a flow chart of another method for testing a program blueprint provided in an embodiment of the present application;

[0049] Figure 4 It is a flow chart of another method for testing a program blueprint provided in an embodiment of the present application;

[0050] Figure 5 It is a flow chart of another method for testing a program blueprint provided in an embodiment of the present application;

[0051] Figure 6 It is a schematic diagram of a program blueprint provided in an embodiment of the present application;

[0052] Figure 7 It is a schematic diagram of another program blueprint provided in an embodiment of the present application;

[0053] Figure 8 It is a schematic diagram of another program blueprint provided in an embodiment of the present application;

[0054] Fig. 9 It is a schematic diagram of a subroutine blueprint provided in an embodiment of the present application;

[0055] Fig.10 is a schematic diagram of attribute information provided by an embodiment of the present application;

[0056] Fig.11 It is a structural schematic diagram of a testing device for a program blueprint provided in an embodiment of the present application;

[0057] Fig.12 It is a structural schematic diagram of a testing device for a program blueprint provided in an embodiment of the present application;

[0058] Fig.13 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0059] Fig.14It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0061] The terms "first", "second", "third", "fourth", etc. used in this application may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, a first-stage node may be referred to as a second-stage node, and similarly, a second-stage node may be referred to as a first-stage node without departing from the scope of this application.

[0062] The terms "at least one", "a plurality of", "each", and "any" used in this application include one, two or more than two, a plurality of includes two or more than two, each refers to each of the corresponding plurality, and any refers to any one of the plurality. For example, a plurality of stage nodes include three stage nodes, and each refers to each of the three stage nodes, and any refers to any one of the three stage nodes, which can be the first stage node, or the second stage node, or the third stage node.

[0063] It should be noted that the data involved in this application (including but not limited to program blueprints, etc.) are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the program blueprints involved in this application are obtained with full authorization.

[0064] The test method of the program blueprint provided in the embodiment of the present application can be executed by a computer device. Optionally, the computer device is a terminal or a server. Optionally, the server is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server. Optionally, the terminal is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, an intelligent voice interaction device, a smart home appliance, and a car terminal, etc., but is not limited to this.

[0065] In some embodiments, the computer program involved in the embodiments of the present application may be deployed and executed on a computer device, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected through a communication network. Multiple computer devices distributed at multiple locations and interconnected through a communication network can constitute a blockchain system.

[0066] In some embodiments, the computer device is provided as a terminal. Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.

[0067] The server 102 is used to store the program blueprint. The terminal 101 interacts with the server 102 to obtain the program blueprint from the server 102, and displays the obtained program blueprint to test the program blueprint.

[0068] It should be noted that the above description is based on the example of the server 102 storing the program blueprint. In another embodiment, the terminal 101 is installed with an application provided by the server 102, and the terminal 101 can implement functions such as blueprint compilation and blueprint testing through the application. Optionally, the application is an application in the operating system of the terminal 101, or an application provided by a third party. For example, the application is Unreal Engine (UE), which has the functions of blueprint compilation and blueprint testing.

[0069] Terminal 101 displays the program blueprint through the application and can test the displayed program blueprint. In response to the test instruction of the program blueprint, terminal 101 interacts with server 102 through the application, sends a test request of the program blueprint to server 102, and server 102 tests the program blueprint based on the test request.

[0070] Optionally, taking the Unreal Engine as an example, a blueprint plug-in is developed for the method provided in the embodiment of the present application, and a blueprint plug-in is installed in the Unreal Engine, which has the functions of testing program blueprints and editing program blueprints. That is, the terminal 101 can display the program blueprint through the blueprint plug-in in the Unreal Engine, and can test the program blueprint. In addition, the terminal 101 can edit a new program blueprint or modify the displayed program blueprint through the blueprint plug-in in the Unreal Engine.

[0071] Figure 2 is a flow chart of a method for testing a program blueprint provided in an embodiment of the present application, the method being executed by a terminal as an example, Figure 2 As shown, the method includes:

[0072] 201. The terminal displays a program blueprint, which is used to represent the execution logic of a task. The task includes multiple logical stages. The program blueprint displays stage nodes corresponding to multiple logical stages and the connection relationship between the multiple stage nodes. Each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node.

[0073] In the embodiment of the present application, the program blueprint is a visual script, which is used to represent the execution logic of a certain task, that is, the task can be realized through the program blueprint. And the task is composed of multiple logical stages, which is equivalent to splitting the execution process of the task into multiple logical stages, and each logical stage is a part of the execution process of the task. Each logical stage corresponds to a stage node, and the attribute information of the stage node can indicate the execution logic of the logical stage, and the connection relationship between multiple stage nodes can reflect the jump relationship between multiple logical stages, that is, it can reflect the order of executing multiple logical stages, the connection relationship between multiple stage nodes and the attribute information corresponding to each stage node, which can reflect the execution logic of the task. In the process of testing the program blueprint, according to the connection relationship between the multiple stage nodes in the program blueprint, multiple stage nodes are triggered to realize the operation of the program blueprint, and then it can be tested whether there is an abnormality in the execution process of each logical stage in the program blueprint, reflecting whether the program blueprint is accurate.

[0074] The task is any task, for example, the task is a task of controlling a virtual object in a game to release a skill or a task of controlling the movement of a virtual object in a game. The program blueprint can be represented by any visual script, for example, the program blueprint is a multilayer logic diagram (MLD), or a blueprint in Unreal Engine. In the embodiment of the present application, the program blueprint is equivalent to a program code represented in a visual form for implementing the task.

[0075] 202. In response to a first-stage node in the program blueprint being triggered, the terminal executes execution logic corresponding to the first-stage node based on attribute information of the first-stage node, where the first-stage node is any node in the program blueprint.

[0076] In the embodiment of the present application, in the process of testing the program blueprint, each stage node is triggered according to the connection relationship between the multiple stage nodes contained in the program blueprint. Since the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node, when any stage node in the program blueprint is triggered, the execution logic corresponding to the stage node is executed according to the attribute information of the stage node to realize the execution of the logical stage corresponding to the stage node in the task.

[0077] Among them, the triggering of the first stage node means that in the process of testing the program blueprint, the execution logic corresponding to the first stage node will be executed.

[0078] 203. In response to the first-stage node satisfying the corresponding node jump condition, the terminal triggers the second-stage node indicated by the node jump condition, and the second-stage node is connected to the first-stage node.

[0079] Among them, the node jump condition indicates the condition of jumping to other stage nodes in the program blueprint when executing the execution logic corresponding to the first stage node. In the embodiment of the present application, in the process of executing the execution logic corresponding to the first stage node, if the first stage node satisfies the corresponding node jump condition, the second stage node indicated by the node jump condition is triggered to realize the jump between different stage nodes in the program blueprint, and then the multiple stage nodes in the program blueprint can be executed in sequence in the above manner to realize the tasks corresponding to the program blueprint.

[0080] The embodiment of the present application provides a new program blueprint for representing the execution logic of a task, which divides the execution process of the task into multiple logical stages, creates a stage node corresponding to each logical stage in the program blueprint, and packages the execution logic corresponding to each logical stage into attribute information of the stage node, so that when the program blueprint is tested, the corresponding execution logic can be executed based on the attribute information of each stage node according to the connection relationship between the multiple stage nodes in the program blueprint. This program blueprint can not only realize the task corresponding to the program blueprint, but also only displays multiple stage nodes and the connection relationship between the multiple stage nodes in the program blueprint, which simplifies the complexity of the connection in the program blueprint and makes the logical structure presented by the program blueprint simple and clear, so that users can more easily understand the logical structure in the program blueprint. In addition, this program blueprint has low requirements on users and is easy for users to configure, thereby improving the convenience of program blueprint configuration.

[0081] exist Figure 2 On the basis of the illustrated embodiment, in the embodiment of the present application, the first-stage node also includes a sub-program blueprint. After the first-stage node is triggered, the execution logic of the sub-stage node in the sub-program blueprint will also be executed. The specific process is detailed in the following embodiment.

[0082] Figure 3 is a flow chart of a method for testing a program blueprint provided in an embodiment of the present application, the method being executed by a terminal as an example, Figure 3 As shown, the method includes:

[0083] 301. The terminal displays a program blueprint, which is used to represent the execution logic of a task. The task includes multiple logical stages. The program blueprint displays stage nodes corresponding to multiple logical stages and the connection relationship between the multiple stage nodes. Each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node.

[0084] In one possible implementation, the terminal can display the attribute information of the stage nodes based on displaying the program blueprint, that is, the process of displaying the attribute information of the stage nodes includes: in response to the selection operation of any stage node in the program blueprint, displaying the attribute information of the selected stage node.

[0085] In an embodiment of the present application, the displayed program blueprint only includes multiple stage nodes and the connection relationship between the multiple stage nodes, and by selecting a certain stage node, the attribute information of the selected stage node can be displayed, that is, the attribute panel of the selected stage node is displayed. The attribute panel includes attribute information for the user to view, and there is no need to present the attribute information directly in the program blueprint, which simplifies the logical structure presented by the program blueprint.

[0086] Optionally, in the case of a test program blueprint, the displayed attribute information of the selected stage node is in a read-only state. In an embodiment of the present application, in the case of a test program blueprint, the attribute information of each stage node can be viewed, but the viewed attribute information is only in a read-only state, that is, the attribute information of each stage can also be viewed, but the viewed attribute information cannot be modified at this time.

[0087] Optionally, when any stage node is selected, the selected stage node, the stage nodes connected to the selected stage node, and the lines used to represent the connection relationship are highlighted. The highlighting can be displayed in any manner, for example, the highlighting is highlighted or dynamically displayed.

[0088] In an embodiment of the present application, a selected stage node, stage nodes having a connection relationship with the selected stage node, and lines used to represent the connection relationship are displayed in a prominent manner, so that users can more intuitively view the connection relationship between each stage node in the program blueprint, thereby improving the display effect of the program blueprint.

[0089] Optionally, when the selected stage node includes a sub-program blueprint, the sub-program blueprint included in the stage node will also be displayed. That is, the process of displaying the attribute information of the stage node includes: in response to the selection operation of any stage node in the program blueprint, displaying the attribute information and the sub-program blueprint of the selected stage node.

[0090] In an embodiment of the present application, the stage node in the program blueprint has attribute information, and the stage node may also include a subprogram blueprint, which includes a plurality of sub-stage nodes and the connection relationship between the plurality of sub-stage nodes. The logical stage corresponding to the stage node is a part of the execution process of realizing the task, and the sub-logical stages corresponding to the plurality of sub-stage nodes included in the subprogram blueprint constitute the logical stage corresponding to the stage node, that is, the logical stage corresponding to the stage node is split into a plurality of sub-logical stages. Each sub-stage node has attribute information, and the attribute information of the sub-stage node indicates the implementation logic of the corresponding sub-logical stage. In the case where the stage node includes a subprogram blueprint, the program blueprint is equivalent to a multi-layer program blueprint.

[0091] In a possible implementation, the program blueprint also includes a start phase node and an end phase node, and both the start phase node and the end phase node include an event graph.

[0092] Wherein, the starting stage node is the first stage node in the program blueprint, which is used to indicate that the program blueprint starts running; the terminating stage node is the last stage node in the program blueprint, which is used to indicate that the program blueprint stops running. The event graph (Graph) included in the starting stage node indicates the event at which the program blueprint starts running, and the event graph included in the terminating stage node indicates the event at which the program blueprint stops running. In an embodiment of the present application, once the event indicated by the event graph included in the starting stage node is triggered, the program blueprint starts running, and once the event graph indicated by the terminating stage node is triggered, the program blueprint stops running.

[0093] In a possible implementation, an Unreal Engine is installed on the terminal, and a blueprint plug-in is installed in the Unreal Engine. Then step 301 includes: the terminal displays the program blueprint through the blueprint plug-in in the Unreal Engine.

[0094] Wherein, the blueprint plug-in has the functions of testing program blueprint and editing program blueprint. The program blueprint is edited by the blueprint plug-in in the Unreal Engine installed by the developer through the terminal. Optionally, the blueprint plug-in is a plug-in developed by the developer for the method provided in the embodiment of the present application.

[0095] In an embodiment of the present application, the blueprint plug-in in the virtual engine has the functions of testing the program blueprint and editing the program blueprint. The program blueprint is displayed through the blueprint plug-in in the virtual engine, so that the displayed program blueprint can be tested through the blueprint plug-in later to determine whether the program blueprint is accurate.

[0096] Optionally, the terminal creates a program blueprint through a blueprint plug-in in the virtual engine, and displays the created program blueprint.

[0097] In an embodiment of the present application, developers can create a program blueprint through a blueprint plug-in in the Unreal Engine installed in the terminal. After creating the program blueprint, the terminal can display the created program blueprint through the blueprint plug-in so that the displayed program blueprint can be tested later.

[0098] Optionally, the terminal accesses a stored program blueprint through a blueprint plug-in in the Unreal Engine, and displays the accessed blueprint.

[0099] The program blueprint is stored in the terminal or in the server. When the program blueprint is stored in the terminal, the terminal accesses the locally stored program blueprint through the blueprint plug-in so as to display the accessed program blueprint through the blueprint plug-in. When the program blueprint is stored in the server, the terminal interacts with the server through the blueprint plug-in to access the program blueprint stored in the server so as to display the accessed program blueprint through the blueprint plug-in.

[0100] 302. In response to the first stage node in the program blueprint being triggered, during the process of executing the execution logic corresponding to the first stage node, in response to any sub-stage node being triggered, the terminal executes the execution logic corresponding to the sub-stage node based on the attribute information of the sub-stage node.

[0101] In an embodiment of the present application, the first phase node also includes a subprogram blueprint, and the logic phase corresponding to the first phase node includes multiple sub-logic phases. The subprogram blueprint displays the sub-phase nodes corresponding to multiple sub-logic phases and the connection relationship between the multiple sub-phase nodes, and each sub-phase node has attribute information, and the attribute information of the sub-phase node indicates the execution logic of the sub-logic phase corresponding to the sub-phase node. In the process of testing the program blueprint, the first phase node is triggered, and based on the attribute information of the first phase node, the execution logic corresponding to the first phase node is executed. In the process of executing the execution logic corresponding to the first phase node, the sub-phase node in the sub-logic graph included in the first phase node may be triggered, and the attribute information of the first phase node indicates under what circumstances the subprogram blueprint included in the first phase node will be triggered. In the process of executing the execution logic corresponding to the first phase node, once any sub-phase node in the subprogram blueprint is triggered, based on the attribute information of the sub-phase node, the execution logic corresponding to the sub-phase node is executed.

[0102] Wherein, the first phase node is any node in the program blueprint, for example, the first phase node is the first phase node in the program blueprint, or, it is other phase nodes except the first phase node. For example, if the first phase node is the first phase node in the program blueprint, then in response to the test operation on the program blueprint, the first phase node in the program blueprint is triggered, that is, the first phase node in the program blueprint is triggered. For another example, if the first phase node is other phase nodes except the first phase node in the program blueprint, then in the process of executing the execution logic corresponding to the fifth phase node in the program blueprint, the first phase node is triggered, wherein the fifth phase node is connected to the first phase node. That is, in the process of testing the program blueprint, according to the connection relationship between multiple phase nodes in the program blueprint, starting from the first phase node, after executing the execution logic corresponding to the first phase node, it will trigger to the next phase node, execute the execution logic corresponding to the triggered phase node, and so on, it is possible to execute the execution logic corresponding to multiple phase nodes in sequence.

[0103] For the sub-program blueprint included in the first-stage node, during the execution of the execution logic corresponding to the first-stage node, the first sub-stage node in the sub-program blueprint contained in the first-stage node can be triggered. Then, according to the connection relationship between the multiple sub-stage nodes in the program blueprint, after executing the execution logic corresponding to the first sub-stage node, it will trigger to the next sub-stage node, and execute the execution logic corresponding to the triggered sub-stage node. By analogy, the execution logic corresponding to the multiple sub-stage nodes included in the sub-program blueprint can be executed in sequence.

[0104] In an embodiment of the present application, the subroutine blueprint is included in the first-stage node of the program blueprint in a nested manner. In the process of executing the execution logic corresponding to the first-stage node, the sub-stage node in the subroutine blueprint can be triggered. By nesting the subroutine blueprint in the node included in the program blueprint in a nested manner, a multi-layer program blueprint is implemented, so that the logical structure of the program blueprint is divided into levels, which can not only ensure the normal operation of the multi-layer program blueprint, but also ensure that the logical structure of the program blueprint is simple and clear, which is convenient for users to understand and configure.

[0105] In one possible implementation, the attribute information of the first-stage node includes multiple logic functions, and indicates that when the first logic function among the multiple logic functions is executed, the first sub-stage node in the sub-program blueprint is triggered. Then step 302 includes: in response to the first-stage node in the program blueprint being triggered, based on the attribute information of the first-stage node, executing multiple logic functions corresponding to the first-stage node; in the process of executing the execution logic corresponding to the first-stage node, in response to the first logic function being executed, based on the attribute information of the first sub-stage node in the sub-program blueprint, executing the execution logic corresponding to the first sub-stage node.

[0106] In an embodiment of the present application, multiple logic functions corresponding to the first stage node are executed, that is, the execution logic corresponding to the first stage node is executed. In the process of executing the execution logic corresponding to the first stage node, multiple logic functions will be executed sequentially or in parallel. The attribute information of the first stage node has indicated that the first sub-stage node in the subroutine blueprint is triggered when the first logic function is executed, and the first logic function is any one of the multiple logic functions. Then, in the process of executing the execution logic corresponding to the first stage node in the program blueprint, once the first logic function is executed, the first sub-stage node in the subroutine blueprint is triggered, and the execution logic corresponding to the first stage node in the subroutine blueprint is executed.

[0107] In an embodiment of the present application, the subroutine blueprint is included in the first-stage node of the program blueprint in a nested manner. By nesting the subroutine blueprint in the node included in the program blueprint in a nested manner, a multi-layer program blueprint is implemented, and the logical structure of the program blueprint is divided into levels, thereby ensuring that the logical structure of the program blueprint is simple and clear, and is easy for users to understand and configure.

[0108] In one possible implementation, the first-stage node includes multiple sub-program blueprints, and step 302 includes: the terminal responds to the first-stage node in the program blueprint being triggered, and in the process of executing the execution logic corresponding to the first-stage node, responds to any sub-stage node in any sub-program blueprint being triggered, and executes the execution logic corresponding to the sub-stage node based on the attribute information of the sub-stage node.

[0109] In an embodiment of the present application, the multiple sub-program blueprints included in the first phase node are different, and the multiple sub-program blueprints are all used to implement the logic stage corresponding to the first phase node, that is, each sub-program blueprint is an implementation of the logic stage corresponding to the first phase, that is, the logic stage corresponding to the first phase node has a variety of different implementations. In the process of executing the execution logic corresponding to the first phase node, multiple sub-program blueprints can be triggered, or, only one sub-program blueprint among the multiple sub-program blueprints can be triggered, and the present application does not limit this. The attribute information of the first phase node indicates under what circumstances each sub-program blueprint will be triggered. In the process of executing the execution logic corresponding to the first phase node, once any sub-stage node in a sub-program blueprint is triggered, based on the attribute information of the sub-stage node in the sub-program blueprint, the execution logic corresponding to the sub-stage node is executed.

[0110] For example, the attribute information of the first stage node includes multiple logic functions, and the attribute information of the first stage node indicates that when the first logic function among the multiple logic functions is executed, the first sub-stage node in the first sub-program blueprint is triggered; when the second logic function is executed, the first sub-stage node in the second sub-program blueprint is triggered; when the third logic function is executed, the first sub-stage node in the third sub-program blueprint is triggered. In response to the first stage node in the program blueprint being triggered, based on the attribute information of the first stage node, multiple logic functions corresponding to the first stage node are executed. In the process of executing multiple logic functions, once any one of the first logic function, the second logic function or the third logic function is executed, the first sub-stage node in the corresponding sub-program blueprint is triggered.

[0111] In an embodiment of the present application, by nesting sub-program blueprints in nodes included in a program blueprint in a nested manner, multiple sub-program blueprints can be configured for the same stage node, so that a certain sub-program blueprint can be triggered in different situations to implement the logical stage corresponding to the stage node, thereby ensuring the diversification of program blueprint configuration and ensuring that the logical structure of the program blueprint is simple and clear, which is easy for users to understand and configure.

[0112] In one possible implementation, the connection relationship between multiple stage nodes in the program blueprint is represented by a connection line, and the connection line has an arrow, and the arrow of the connection line represents the connection sequence of the logical stages corresponding to the two connected stage nodes. The method also includes: in response to the first stage node being triggered, highlighting the first stage node and the connection line between the stage node that triggers the first stage node and the first stage node.

[0113] In the embodiment of the present application, the first stage node is triggered, that is, the first stage node is activated. The stage node that triggers the first stage node is, that is, the stage node that was triggered before the first stage node was triggered. When the first stage node is activated, the first stage node and the connecting line are highlighted to indicate which stage node jumps to trigger the first stage node, and the execution logic corresponding to that stage node is currently being executed.

[0114] It should be noted that the embodiment of the present application is described by taking the first-stage node including the subroutine blueprint as an example. In another embodiment, there is no need to execute the above step 302, but other methods are adopted. In response to the first-stage node in the program blueprint being triggered, the execution logic corresponding to the first-stage node is executed based on the attribute information of the first-stage node.

[0115] 303. In response to the first-stage node satisfying the node jump condition, the terminal verifies the state of the first-stage node based on a verification condition corresponding to the node jump condition.

[0116] In the embodiment of the present application, the node jump condition corresponds to a verification condition. Even if the first-stage node meets the node jump condition, the status of the first-stage node must be verified according to the verification condition to determine whether to jump the node.

[0117] The state of the first-stage node is a parameter or other state in the attribute information of the first-stage node, and the check condition is used to check whether the state of the first-stage node meets the check condition. For example, if the check condition indicates that the float (floating point data type) value of the stage node is greater than the float threshold, then based on the check condition, check whether the float value of the first-stage node is greater than the float threshold to determine whether the state of the first-stage node meets the check condition.

[0118] In one possible implementation, the test condition is configured based on a condition template. The condition template indicates which state to test. In the process of configuring the program blueprint, any condition template can be selected as the test condition corresponding to the node jump condition. Optionally, there will also be input parameters in the test condition, and the input parameters can also be passed in the form of data binding. For example, the test condition indicates that the float (floating point data type) value of the stage node is greater than the float threshold, and the float value is passed in the form of data binding.

[0119] In one possible implementation, the node jump conditions include the following five conditions.

[0120] The first type: When the execution logic corresponding to the first-stage node is completed, the second-stage node is triggered.

[0121] The second type: When the execution logic corresponding to the first-stage node fails, the second-stage node is triggered.

[0122] The third type: When the execution logic corresponding to the first-stage node is successfully executed, the second-stage node is triggered.

[0123] The fourth type: when the execution logic corresponding to the first-stage node starts to execute, the second-stage node is triggered.

[0124] The fifth type: during the execution of the execution logic corresponding to the first-stage node, when the first event is triggered, the second-stage node is triggered.

[0125] The first event is any event, for example, the first event is the execution of a certain logic function included in the attribute information of the first-stage node, or other events.

[0126] In an embodiment of the present application, the above five node jump conditions are all triggered by detecting events inside the corresponding stage nodes. The detected events are whether the execution logic corresponding to the first stage node is completed or successful, or a specified first event.

[0127] In an embodiment of the present application, the node jump conditions include multiple types, and one or more node jump conditions can be set for the first-stage node. In the process of executing the execution logic corresponding to the first-stage node, the node jump can be implemented according to the node jump conditions set for the first-stage node, thereby enriching the form of node jump, ensuring the diversity of the program blueprint, and enabling users to arbitrarily configure the program blueprint, thereby improving the configurability of the program blueprint.

[0128] 304. When the state of the first-stage node meets the verification condition, the terminal triggers the second-stage node, and the second-stage node is connected to the first-stage node.

[0129] In an embodiment of the present application, when the first-stage node meets the node jump condition and the state of the first-stage node meets the verification condition corresponding to the node jump condition, the second-stage node is triggered so that the execution logic corresponding to the second-stage node is subsequently executed, thereby realizing the jump of the stage node to ensure the accuracy of the node jump.

[0130] For example, if the check condition indicates that the float (floating point data type) value of the stage node is greater than the float threshold, then based on the check condition, check whether the float value of the first stage node is greater than the float threshold to determine whether the state of the first stage node meets the check condition. When the first stage node meets the node jump condition and the float value of the first stage node is greater than the float threshold, the second stage node is triggered and the execution logic corresponding to the second stage node is executed.

[0131] In one possible implementation, step 304 includes: when the first-stage node satisfies the node jump condition and the state of the first-stage node satisfies the verification condition corresponding to the node jump condition, stopping executing the execution logic corresponding to the first-stage node, triggering the second-stage node, and executing the execution logic corresponding to the second-stage node based on the attribute information of the second-stage node.

[0132] In an embodiment of the present application, when the first-stage node satisfies the node jump condition and the state of the first-stage node satisfies the verification condition corresponding to the node jump condition, regardless of whether the logic stage corresponding to the first-stage node is completed or successfully executed, the execution of the logic stage corresponding to the first-stage node will be terminated to achieve the node jump, so as to ensure the accuracy of the execution of the logic stage in the program blueprint, and further ensure the accuracy of the program blueprint operation.

[0133] Optionally, the first-stage node includes a sub-program blueprint. Regardless of whether the sub-logic stage corresponding to the sub-program blueprint included in the first-stage node is executed, the sub-logic stage corresponding to the sub-program blueprint will be immediately ended when the logic stage corresponding to the first-stage node ends.

[0134] In an embodiment of the present application, when the logic stage corresponding to the first stage node ends, the sub-logic stage corresponding to the sub-program blueprint will be immediately ended to ensure the accuracy of the execution of the logic stage in the program blueprint, and then ensure the accuracy of the program blueprint operation.

[0135] It should be noted that the embodiment of the present application is explained by taking the node jump condition corresponding to the verification condition as an example, while in another embodiment, there is no need to execute the above steps 303-304, but other methods are adopted to respond to the first-stage node satisfying the corresponding node jump condition, and trigger the second-stage node indicated by the node jump condition.

[0136] It should be noted that the embodiment of the present application only takes the first stage node in the program blueprint as an example to illustrate the process of triggering the second stage node when the first stage node is triggered. In another embodiment, when the second stage node is triggered, the third stage node connected to the second stage node can also be triggered. By analogy, multiple stage nodes in the program blueprint can be triggered to complete the program blueprint test. In the process of testing the program blueprint, if the multiple stage nodes included in the program blueprint can be executed, it means that the program blueprint test is successful and the program blueprint is accurate. If an error occurs during the execution of a certain stage node in the program blueprint, it means that the program blueprint is wrong and cannot be successfully executed.

[0137] The embodiment of the present application provides a new program blueprint for representing the execution logic of a task, which divides the execution process of the task into multiple logical stages, creates a stage node corresponding to each logical stage in the program blueprint, and packages the execution logic corresponding to each logical stage into attribute information of the stage node, so that when the program blueprint is tested, the corresponding execution logic can be executed based on the attribute information of each stage node according to the connection relationship between the multiple stage nodes in the program blueprint. This program blueprint can not only realize the task corresponding to the program blueprint, but also only displays multiple stage nodes and the connection relationship between the multiple stage nodes in the program blueprint, which simplifies the complexity of the connection in the program blueprint and makes the logical structure presented by the program blueprint simple and clear, so that users can more easily understand the logical structure in the program blueprint. In addition, this program blueprint has low requirements on users and is easy for users to configure, thereby improving the convenience of program blueprint configuration.

[0138] In an embodiment of the present application, the subroutine blueprint is included in the first-stage node of the program blueprint in a nested manner. In the process of executing the execution logic corresponding to the first-stage node, the sub-stage node in the subroutine blueprint can be triggered. By nesting the subroutine blueprint in the node included in the program blueprint in a nested manner, a multi-layer program blueprint is implemented, so that the logical structure of the program blueprint is divided into levels, which can not only ensure the normal operation of the multi-layer program blueprint, but also ensure that the logical structure of the program blueprint is simple and clear, which is convenient for users to understand and configure.

[0139] In an embodiment of the present application, when the first-stage node meets the node jump condition and the state of the first-stage node meets the verification condition corresponding to the node jump condition, the second-stage node is triggered so that the execution logic corresponding to the second-stage node is subsequently executed, thereby realizing the jump of the stage node to ensure the accuracy of the node jump.

[0140] Based on the above Figure 3 In the embodiment shown, the program blueprint in the embodiment of the present application is a multi-layer program blueprint, that is, a multi-layer logic diagram. The program blueprint including multiple stage nodes and the connection relationship between the multiple stage nodes is the first layer program blueprint, and any stage node includes a sub-program blueprint, and the sub-program blueprint includes multiple sub-stage nodes and the connection relationship between the multiple sub-stage nodes. The sub-program blueprint is the second layer program blueprint. For any sub-program blueprint, any sub-stage node in the sub-program blueprint can also include a sub-program blueprint, and the sub-program blueprint included in the sub-stage node is the third layer program blueprint. That is, in the embodiment of the present application, the stage node in the program blueprint can nest the sub-program blueprint, and the sub-logic stage in the sub-program blueprint can nest the sub-program blueprint of the next layer, and so on, then the obtained program blueprint is a multi-layer program blueprint. This multi-layer program blueprint can make the logical structure in the multi-layer program blueprint simple, which is convenient for users to observe, and when the multi-layer program blueprint is configured in the form of this multi-layer program blueprint, even if it is a complex logical structure, it can ensure that the logical structure of the multi-layer program blueprint is simple and clear, which is convenient for users to configure.

[0141] exist Figure 2 On the basis of the illustrated embodiment, in the embodiment of the present application, the attribute information of the first-stage node includes a first input parameter, a logic function and a first output parameter, and the first output parameter can be bound to a data object in a data file, so that when the first-stage node outputs the first output parameter, it is written into the data object contained in the data file to update the data in the data object. The specific process is described in the following embodiment.

[0142] Figure 4 is a flow chart of a method for testing a program blueprint provided in an embodiment of the present application, the method being executed by a terminal as an example, Figure 4 As shown, the method includes:

[0143] 401. The terminal displays a program blueprint, which is used to represent the execution logic of a task. The task includes multiple logical stages. The program blueprint displays stage nodes corresponding to multiple logical stages and the connection relationship between the multiple stage nodes. Each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node.

[0144] The step 401 is the same as the above step 301 and will not be described again.

[0145] 402. In response to the first stage node in the program blueprint being triggered, the terminal obtains data from the third data object included in the data file associated with the blueprint when the first input parameter is bound to the third data object in the data file associated with the program blueprint, and determines the obtained data as the first input parameter.

[0146] In the embodiment of the present application, the first stage node is any node in the program blueprint. The attribute information of the first stage node includes a first input parameter, a logic function and a first output parameter, the first output parameter is bound to a first data object, and the first data object is a data object in a data file associated with the program blueprint or other stage nodes other than the first stage node.

[0147] Wherein, the data file can be represented in any form, for example, the data file is represented in the form of Data Asset (data resource) blueprint class. In an embodiment of the present application, the data file associated with the program blueprint is a global data file, and the parameters in the attribute information of each stage node in the program blueprint can bind the data objects in the global data file. Moreover, each stage node in the program blueprint can be associated with a data file, and for any stage node, the parameters in the attribute information of the stage node can bind the data objects in the data files associated with other stage nodes. In an embodiment of the present application, the data of each logical stage in the program blueprint is extracted into a separate data file as a data object in the data file, so that when the various stage nodes in the configuration program blueprint are subsequently configured, the data objects in the data file can be used as input data or context data of each stage node, and each stage node can only configure the corresponding attribute information, realizing the separation of execution logic and data, and the data file is independent, and the data required for each stage node can be centrally configured, so that the data configuration is more centralized and not dispersed, and it is more convenient for users to configure.

[0148] Among them, the data file includes at least one type of data object, the data object is used to represent a data type, and the data object includes data of the corresponding data type, and the data object can be bound by the parameters in the attribute information of the stage node in the program blueprint. For example, the data objects in the data file exist in the form of classes, each class corresponds to a data type, and the attribute value set in the class is the data in the corresponding data object. For another example, the data objects in the data file exist in the form of entry information, and each entry information includes a type identifier and an attribute value. The type identifier indicates the type to which the data object belongs, and the attribute value is the data in the data object. The third data object is any data object in the data file associated with the program blueprint.

[0149] Among them, the first input parameter in the attribute information of the first-stage node is bound to the third data object in the data file associated with the program blueprint in the form of data binding. The first input parameter is bound to the third data object, indicating that the data in the third data object is used as the first input parameter. When the first-stage node in the program blueprint is triggered, the execution logic corresponding to the first-stage node needs to be executed based on the attribute information of the first-stage node, and the first input parameter needs to be used when executing the corresponding execution logic. Therefore, data is obtained from the bound third data object as the first input parameter to ensure that the execution logic corresponding to the first-stage node can be executed later.

[0150] In an embodiment of the present application, the data in the data objects contained in the data file may change at different logical stages during the task execution process. By adopting the form of data binding, the data in the third data object in the data file can be passed to the first input parameter to ensure the accuracy of data transmission, avoid the impact caused by directly transmitting a certain numerical value, and improve the convenience of users in configuring the program blueprint.

[0151] It should be noted that the embodiment of the present application is described by taking the binding of the first input parameter and the third data object as an example, while in another embodiment, there is no need to execute the above step 402, but other methods are adopted to obtain the first input parameter.

[0152] In one possible implementation, the process of obtaining the first input parameter includes: when the first input parameter is bound to the evaluator, processing the second input parameter corresponding to the evaluator through the evaluator to obtain the second output parameter, and determining the second output parameter as the first input parameter.

[0153] The evaluator is any type of evaluator, used to obtain a certain value. Optionally, the evaluator indicates a certain evaluation function, and the certain value is obtained through the evaluator, that is, the evaluation function is called to obtain certain data.

[0154] In the embodiment of the present application, the evaluator also obtains an output parameter based on an input parameter, and the output parameter is the value obtained by the evaluator. When the first input parameter is bound to the evaluator, the second input parameter corresponding to the evaluator is processed by the evaluator to obtain the second output parameter, and the second output parameter is determined as the first input parameter, realizing a new parameter configuration method, instead of configuring parameters in the form of fixed values, enriching the parameter configuration method, facilitating user configuration, and improving the flexibility of program blueprint configuration.

[0155] Optionally, the second input parameter corresponding to the evaluator is bound to a data object in a data file associated with the program blueprint or a stage node, that is, the process of obtaining the first input parameter includes: when the first input parameter is bound to the evaluator, obtaining data from the data object bound to the second input parameter, determining the obtained data as the second input parameter, processing the second input parameter corresponding to the evaluator through the evaluator to obtain a second output parameter, and determining the second output parameter as the first input parameter.

[0156] In an embodiment of the present application, the second input parameter of the evaluator also adopts the form of data binding to transfer data, and the data in the data object bound to the second input parameter may change with the execution of the logical stages included in the task, then the second output parameter of the evaluator output will also change, realizing a new parameter configuration method, instead of configuring parameters in the form of fixed values, enriching the parameter configuration method, being able to facilitate user configuration, and improving the flexibility of program blueprint configuration.

[0157] In a possible implementation, the first input parameter in the attribute information of the first-stage node is a configured fixed value.

[0158] 403. The terminal calls a logic function, processes the first input parameter, obtains a first output parameter, and writes the first output parameter into a first data object.

[0159] In the embodiment of the present application, the attribute information of the first stage node includes the first input parameter, the logic function and the first output parameter, and the logic function is the execution logic of the logic stage corresponding to the execution of the first stage node, then the logic function is called, and the first input parameter is processed to obtain the first output parameter, and the first output parameter is bound to the first data object, and the first data object is a data object in the data file associated with the program blueprint or other stage nodes other than the first stage node, therefore, the first output parameter is written into the first data object to update the data in the first data object. When the first output parameter is written into the first data object, it means that the execution of the logic stage corresponding to the first stage node is completed, and the logic stage corresponding to the next stage node connected to the first stage node can be executed.

[0160] In an embodiment of the present application, the first output parameter is bound to the first data object in the form of data binding. When the first output parameter is obtained, the first output parameter is written into the first data object to update the data in the first data object, so that the data in the data object included in the data file will change at different logical stages during the task execution process. Data transmission can be achieved through data binding without configuring complex data transmission logic, thereby improving the convenience of configuring program blueprints.

[0161] In one possible implementation, the attribute information of the first-stage node also includes context data, and the context data is bound to a second data object in a data file associated with other stage nodes except the first-stage node. The process of obtaining the first output parameter includes: obtaining data from the second data object, and determining the obtained data as context data; calling a logic function to process the first input parameter and the context data to obtain the first output parameter.

[0162] Among them, context data is arbitrary data, that is, data required to implement the logical stage corresponding to the first stage node. For data files associated with other stage nodes other than the first stage node, taking the other stage node as the sixth stage node as an example, the data objects in the data files associated with the sixth stage node can be bound to the parameters in the attribute information of the sixth stage node, or, for the parameter binding in the attribute information of other stage nodes. In an embodiment of the present application, each stage node in the program blueprint can be configured with an associated data file, and the data objects in the data files associated with the stage node are different from the data objects in the data files associated with the program blueprint.

[0163] In an embodiment of the present application, when calling a logic function to obtain a first output parameter, not only the first input parameter is utilized, but also the data in the second data object in the data file associated with other stage nodes except the first stage node is utilized, and data is transferred in the form of data binding, which can ensure the calling of data objects between nodes in different stages, can ensure the implementation of various complex logics, realizes data calling between nodes in different stages, facilitates the user's configuration of the program blueprint, and ensures the flexibility of the program blueprint configuration.

[0164] In one possible implementation, a second event is also bound to the attribute information of the first-stage node, and the second event is used to jump to the corresponding execution logic. The method also includes: in the process of executing the execution logic corresponding to the first-stage node, in response to the second event being triggered, executing the execution logic corresponding to the second event.

[0165] In an embodiment of the present application, the attribute information of the first-stage node is also bound to a second event, and the second event is an arbitrary event, for example, the second event is an event in which a certain logic function is executed, or an event in which a certain parameter changes, etc. The second event is also associated with an execution logic, that is, the associated execution logic needs to be executed when the second event is triggered. The execution logic associated with the second event can be the execution logic indicated by the attribute information of the first-stage node, or the execution logic indicated by the attribute information of other stage nodes except the first-stage node. In the process of executing the execution logic corresponding to the first-stage node, the second event may be triggered. Once the second event is triggered, the execution logic corresponding to the second event is executed.

[0166] In an embodiment of the present application, in the execution logic indicated by the attribute information of the first-stage node, the execution logic jump can also be realized based on the event being triggered, thereby enriching the execution logic jump method. While ensuring the simplicity of the logical structure of the program blueprint, the program blueprint can also realize complex execution logic, which facilitates the user's configuration of the program blueprint and ensures the flexibility of the program blueprint configuration.

[0167] It should be noted that the embodiment of the present application is explained by taking the example that both the first input parameter and the first output parameter are bound to the data object. In another embodiment, there is no need to execute the above steps 402-403, but other methods are adopted. In response to the first stage node in the program blueprint being triggered, the execution logic corresponding to the first stage node is executed based on the attribute information of the first stage node.

[0168] 404. In response to the first-stage node satisfying the corresponding node jump condition, the terminal triggers the second-stage node indicated by the node jump condition, and the second-stage node is connected to the first-stage node.

[0169] The step 404 is the same as the above step 203 and will not be described again.

[0170] The embodiment of the present application provides a new program blueprint for representing the execution logic of a task, which divides the execution process of the task into multiple logical stages, creates a stage node corresponding to each logical stage in the program blueprint, and packages the execution logic corresponding to each logical stage into attribute information of the stage node, so that when the program blueprint is tested, the corresponding execution logic can be executed based on the attribute information of each stage node according to the connection relationship between the multiple stage nodes in the program blueprint. This program blueprint can not only realize the task corresponding to the program blueprint, but also only displays multiple stage nodes and the connection relationship between the multiple stage nodes in the program blueprint, which simplifies the complexity of the connection in the program blueprint and makes the logical structure presented by the program blueprint simple and clear, so that users can more easily understand the logical structure in the program blueprint. In addition, this program blueprint has low requirements on users and is easy for users to configure, thereby improving the convenience of program blueprint configuration.

[0171] In an embodiment of the present application, the data in the data object in the data file may change at different logical stages during the task execution process. By adopting the form of data binding, the data in the third data object in the data file can be passed to the first input parameter to ensure the accuracy of data transmission, avoid the impact caused by directly transmitting a certain numerical value, and improve the convenience of users in configuring the program blueprint.

[0172] It should be noted that in the above Figures 2 to 4 Based on the illustrated embodiment, before displaying the program blueprint, a program blueprint can also be created. The process of creating a program blueprint is detailed in the following embodiment.

[0173] Figure 5 is a flow chart of a method for testing a program blueprint provided in an embodiment of the present application, such as Figure 5 As shown, taking the method executed by a terminal as an example, the method includes:

[0174] 501. In response to a node creation operation, the terminal creates phase nodes corresponding to multiple logical phases.

[0175] In the embodiment of the present application, the multiple logical stages constitute a task, that is, the task to be implemented by the program blueprint to be created. For a certain task, the execution process of the task is divided into multiple logical stages, and a stage node is created for each logical stage, so that multiple stage nodes can be obtained to make the logical structure in the program blueprint clearer.

[0176] The node creation operation indicates the creation of a phase node, and the node creation operation is an operation of any type. For example, the node creation operation is an operation of creating nodes in batches, and the operation of creating nodes in batches indicates that multiple phase nodes can be created at the same time. For another example, each time a node creation operation is responded to, only one phase node is created, and in response to multiple node creation operations, multiple phase nodes can be created.

[0177] In a possible implementation, in the process of creating multiple phase nodes, a sequence number is set for each phase node according to the creation order of the multiple phase nodes. By setting a sequence number for each phase node, the corresponding phase node can be represented by the sequence number, so that the program blueprint can present the order of the phase nodes.

[0178] Optionally, the created stage node can also be deleted, that is, the method also includes: in the case of creating multiple stage nodes, in response to a node deletion operation, deleting the stage node indicated by the node deletion operation, and in the case of deleting any stage node, adjusting the sequence numbers of the remaining stage nodes.

[0179] In one possible implementation, an Unreal Engine is installed on the terminal, and a blueprint plug-in is installed in the Unreal Engine. Step 501 includes: the terminal displays a blueprint editing interface through the blueprint plug-in in the Unreal Engine, and creates multiple stage nodes in the blueprint editing interface in response to a node creation operation in the blueprint editing interface.

[0180] The blueprint editing interface is used to edit the program blueprint and display the edited program blueprint. When multiple phase nodes are created in the blueprint editing interface, the created phase nodes are displayed in the blueprint editing interface.

[0181] 502. In response to the selection operation of the third-stage node, the terminal displays an attribute information interface, where the attribute information interface is used to configure attribute information of the third-stage node, where the third-stage node is any node among the created multiple stage nodes.

[0182] In the embodiment of the present application, when multiple phase nodes are created, attribute information can be configured for each phase node, and the attribute information of the phase node indicates the execution logic of the logical phase corresponding to the phase node, that is, the execution logic can be configured for the logical phase corresponding to each phase node. When a phase node is selected, an attribute information interface will be displayed, so that the attribute information can be configured for the selected phase node in the displayed attribute information interface.

[0183] 503. The terminal configures the attribute information of the third-stage node in response to the configuration operation in the attribute information interface.

[0184] In an embodiment of the present application, the configuration operation indicates configuring attribute information, that is, the user can trigger the configuration operation through the attribute information interface displayed by the terminal, so as to configure the attribute information for the selected third-stage node in the attribute information interface.

[0185] In a possible implementation, step 503 includes the following three methods.

[0186] The first way: in response to a first binding operation on a node type in the attribute information, the node type is bound to a type file indicated by the first binding operation, where the type file includes a logic function.

[0187] The type file includes a logic function, that is, a logic function for implementing the logic stage corresponding to the stage node, and different type files include different logic functions. The node type in the attribute information is used to specify the type of the third stage node, that is, to specify the logic function of the logic stage corresponding to the third stage node. By binding the node type in the attribute information of the third stage node with the type file indicated by the first binding operation, the logic function is specified for the third stage node.

[0188] In one possible implementation, the attribute information of the third-stage node includes a first node type and a second node type; then the first method includes: in response to a selection operation on the first node type in the attribute information, multiple node types are displayed; in response to the selection operation on any node type, the selected node type is determined as the first node type; when the first node type is determined, in response to a binding operation on the first node type in the attribute information, multiple type files matching the first node type are displayed; in response to a selection operation on any type file, the second node type is bound to the selected type file.

[0189] The second node type is a subtype of the first node type. For example, the first node type is an MLD base type, and the second node type is an MLD type. When a certain MLD base type has been specified, the multiple type files displayed are multiple type files under the specified MLD base type, and each type file indicates a subtype under the specified MLD base type.

[0190] In an embodiment of the present application, in the process of configuring attribute information for the third-stage node, when configuring the first node type, any node type can be specified from multiple preset node types as the first node type. In the case of specifying the first node type, it is necessary to specify the second node type in a binding form from multiple type files associated with the first node type to ensure that the logic function configured for the third-stage node matches the node type of the third-stage node, thereby ensuring the accuracy of the configured logic function.

[0191] The second method: in response to a second binding operation on the input parameter in the attribute information, the input parameter is bound to the data object indicated by the second binding operation, and the data object is a data object in a data file associated with a program blueprint or other stage nodes except the third stage node.

[0192] In an embodiment of the present application, the attribute information includes input parameters, and the input parameters are bound to data objects in a data file associated with a program blueprint or other stage nodes except the third stage node in the form of data binding, so that data transmission can be realized in the form of data binding later, and the call of data of the data object is realized, which facilitates user configuration and eliminates the need to configure complex execution logic to realize data transmission, thereby improving the convenience of program blueprint configuration.

[0193] The third method: in response to the third binding operation on the output parameter in the attribute information, the output parameter is bound to the data object indicated by the third binding operation, and the data object is a data object in the program blueprint or in a data file associated with other stage nodes except the third stage node.

[0194] In an embodiment of the present application, the attribute information includes output parameters, and the output parameters can update the data in a data object in the form of data binding, so that in the subsequent process of executing the execution logic corresponding to the third-stage node, the data in the data object can be updated, thereby realizing a new data calling method, facilitating user configuration, and eliminating the need to configure complex execution logic to realize data transmission, thereby improving the convenience of program blueprint configuration.

[0195] It should be noted that the present application only uses the above three methods as examples for explanation. In another embodiment, in the process of configuring attribute information for the third-stage node, the event and the event parameters can also be bound to the third-stage node in a data binding manner. The event parameters are used to indicate the parameters that trigger the event. The event parameters are also bound to a data object in the form of data binding so as to jump to the corresponding execution logic based on the event. For example, the event represents a certain logic function, and the event parameters are the input parameters of the logic function. Context data can also be bound to the third-stage node. Node jump conditions can also be configured for the third-stage node to indicate under what circumstances to jump to which stage node.

[0196] In an embodiment of the present application, in the process of configuring the attribute information of the stage node, no matter the node type, input parameters, or output parameters included in the attribute information, they can be bound to the type file or data object in the form of data binding, so that in the subsequent process of executing the execution logic corresponding to the third stage node, data can be obtained in the form of data binding, thereby realizing a new data calling method, facilitating user configuration, and eliminating the need to configure complex execution logic to realize data transmission, thereby improving the convenience of program blueprint configuration.

[0197] It should be noted that the above three methods can be combined arbitrarily. For example, when configuring attribute information for the third-stage node, the third-stage node can be bound to a type file, input parameters, output parameters, events, and context data. Figure 6 As shown, when the third-stage node is selected, the attribute information interface of the third-stage node is displayed, and the attribute information interface displays the MLD basic type, MLD type, context data, input parameters, output parameters and delegated events, and the delegated event is the event bound in the attribute information, wherein the MLD type, context data, input parameters, output parameters and delegated events are all bound to other data objects or events in the form of data binding.

[0198] In one possible implementation, step 503 includes: in response to a reuse operation in the attribute information interface, displaying multiple resource files, the resource files including attribute information corresponding to other stage nodes; in response to a selection operation on any resource file, determining the selected resource file as the attribute information of the stage node.

[0199] In an embodiment of the present application, in the process of configuring a program blueprint, when configuring attribute information for a certain stage node, the attribute information of other stage nodes in the program blueprint or stage nodes in other program blueprints can be reused, thereby improving the convenience of configuring the attribute information, and thereby improving the convenience of configuring the program blueprint.

[0200] Among them, the resource file includes the attribute information corresponding to other stage nodes. Optionally, the resource file is saved based on the attribute information of other stage nodes except the third stage node in the program blueprint, or is saved based on the attribute information of the stage nodes in other program blueprints. In an embodiment of the present application, the attribute information of any stage node or any sub-stage node in any program blueprint can be saved separately as a resource file, that is, saved separately as a blueprint resource file. In this way, when configuring the attribute information of each stage node of the program blueprint, the saved resource file can be reused, and there is no need to manually configure the attribute information of the stage node, which improves the convenience of configuring the attribute information of the stage node, and then improves the convenience of configuring the program blueprint.

[0201] Optionally, the method further includes: in response to a save operation on the attribute information of the fourth-stage node, generating a resource file based on the attribute information of the fourth-stage node, and storing the generated resource file, wherein the fourth-stage node is any node in the program blueprint.

[0202] In an embodiment of the present application, in the process of currently configuring a program blueprint, the attribute information of any stage node that has been configured can be stored separately as a resource file, so that the resource file can be reused when subsequently configuring other stage nodes in the program blueprint or when configuring other program blueprints, thereby improving the convenience of configuring the attribute information of the stage nodes, and thereby improving the convenience of configuring the program blueprint.

[0203] 504. When the third-stage node is selected, the terminal responds to the blueprint adding operation on the third-stage node and adds a subroutine blueprint to the third-stage node.

[0204] In an embodiment of the present application, in the process of configuring the program blueprint, it is also possible to nest sub-program blueprints for the third-stage nodes, thereby realizing the layering of the configured program blueprints. There is no need to display complex logical structures in the same layer of program blueprints, so as to simplify the logical structure in the program blueprint.

[0205] 505. In response to the node creation operation on the sub-program blueprint, the terminal creates a plurality of sub-stage nodes corresponding to the sub-logic stages in the sub-program blueprint.

[0206] In the embodiment of the present application, the logic stage corresponding to the third stage node is divided into multiple sub-logic stages, and a sub-stage node is created for each sub-logic stage, so that the logic stage corresponding to the third stage node can be implemented through the sub-stage node later. This step 505 is similar to the above step 501 and will not be repeated here.

[0207] 506. In response to the configuration operation on the attribute information of each sub-phase node, the terminal configures the attribute information for each sub-phase node.

[0208] The step 506 is the same as the above step 502 and will not be described again.

[0209] 507. The terminal creates a connection relationship between the multiple sub-stage nodes in response to the connection operation on the multiple sub-stage nodes.

[0210] In an embodiment of the present application, a connection relationship is created between multiple sub-stage nodes to limit the jump relationship between sub-logic stages corresponding to the multiple sub-stage nodes, reflecting the order of executing multiple sub-logic stages to ensure that subsequent sub-program blueprints can run normally.

[0211] It should be noted that the embodiment of the present application only takes the example of nesting a subroutine blueprint in the third stage node for explanation. In another embodiment, for the sub-stage node in the subroutine blueprint, according to the above steps 504-507, the subroutine blueprint of the next layer can also be nested for the sub-stage node.

[0212] It should be noted that the embodiment of the present application is only described by taking the configuration of the third stage node as an example, while in another embodiment, according to the above steps 502-507, each stage node can be configured.

[0213] 508. The terminal creates a connection relationship between the multiple stage nodes in response to the connection operation on the multiple stage nodes, and obtains a program blueprint.

[0214] In an embodiment of the present application, a connection relationship is created between multiple stage nodes to limit the jump relationship between the logical stages corresponding to the multiple stage nodes, reflecting the order of executing multiple logical stages, so that the attribute information of each stage node in the program blueprint can indicate the execution logic of the corresponding logical stage, and limit the order of executing multiple logical stages to ensure that the subsequent program blueprint can run normally.

[0215] In a possible implementation, the connection relationship between multiple stage nodes is represented by a connection line between the stage nodes, and the connection line has an arrow, and the arrow of the connection line represents the connection sequence of the logical stages corresponding to the two connected stage nodes.

[0216] Optionally, each phase node corresponds to a sequence number, and when a connection line is created between any two phase nodes, a sequence number is set for the connection line based on the sequence numbers of the two phase nodes connected by the connection line. For example, a connection line is created between phase node 01 and phase node 02, and the connection line points from phase node 01 to phase node 02, then the sequence number set for the connection line is 01-02.

[0217] In a possible implementation, a proxy phase node of any phase node can be created in the program blueprint, and other phase nodes are connected to the proxy phase node, that is, other phase nodes are connected to the phase node.

[0218] In an embodiment of the present application, in a program blueprint, a proxy stage node of any stage node can also be created. When the stage node has been configured with attribute information, the proxy stage node is equivalent to the stage node and is only used to connect with other stage nodes to indicate the connection relationship between multiple stage nodes. By adding a proxy stage node of a stage node so that the proxy stage node can be connected with other stage nodes to indicate the connection relationship between the stage node corresponding to the proxy stage node and other stage nodes, the complexity of the connection between multiple stage nodes in the program blueprint is avoided, so that the connection used to indicate the connection relationship between multiple stage nodes will not cross, so as to simplify the logical structure presented in the program blueprint.

[0219] It should be noted that the embodiment of the present application is described by taking the configuration of the subroutine blueprint of the third-stage node as an example. In another embodiment, there is no need to execute the above steps 504-507. Instead, after configuring the attribute information for the third-stage node, the connection relationship between multiple stage nodes is created to obtain the program blueprint.

[0220] It should be noted that the embodiment of the present application is to take the configuration of attribute information and subroutine blueprint of the third stage node as an example for explanation, while in another embodiment, there is no need to execute the above 502-503, and only the subroutine blueprint is configured for the stage node. In the embodiment of the present application, the stage node may have attribute information or may not have attribute information. The stage node with attribute information belongs to the Stage type, and the stage node without attribute information belongs to the Group type. The stage node without attribute information includes a subroutine blueprint. When the stage node is triggered, the subroutine blueprint included in the stage node is triggered. And in the program blueprint, the display styles of the stage nodes belonging to the Stage type and the stage nodes belonging to the Group type are different.

[0221] The embodiment of the present application realizes a method of configuring a program blueprint, which can split a task into multiple logical stages, create a stage node for each logical stage, and configure attribute information for each stage node to indicate the execution logic. The process of configuring the attribute information is simple, has low requirements on users, and is convenient for users to configure, thereby improving the convenience of program blueprint configuration. In addition, the configured program blueprint only displays the stage nodes corresponding to each logical stage and the connection relationship between multiple stage nodes, and packages the execution logic into the attribute information of each stage node, so that the logical structure presented by the program blueprint is simple, making it easier for users to understand the logical structure in the program blueprint through the program blueprint, and also realizing a visual programming solution.

[0222] In the solution provided in the embodiment of the present application, in the process of configuring the program blueprint, the task can be divided into multiple logical stages, and the attribute information of the stage nodes corresponding to the logical stages can be reused, thereby improving the reusability of the logic. The jumps between the nodes of each stage are implemented in an event-based manner, ensuring that the program blueprint can run normally. It can be applied to program blueprints of any task, thereby improving the scope of application of the program blueprint.

[0223] For example, a program blueprint such as Figure 7 As shown, the program blueprint displays a starting stage node, stage node 01, stage node 02, stage node 03, stage node 04, stage node 05 and a terminating stage node, and stage node 03 has a proxy stage node, the starting stage node is connected to stage node 01, stage node 01 is connected to stage node 02, stage node 02 is connected to stage node 03, stage node 04 and stage node 05 respectively, and stage node 04 is connected to the proxy stage node of stage node 03 to indicate that stage node 04 is connected to stage node 03, thereby avoiding the crossing of connection lines in the program blueprint. Stage node 05 is connected to stage node 03, stage node 04 and the terminating stage node respectively. The connection lines between each stage node are used to indicate the connection relationship between each stage node, and the arrows of the connection lines indicate the connection sequence of the logical stages corresponding to the two connected stage nodes, such as the arrow of the connection line between the starting stage node and stage node 01 points to stage node 01, indicating that after the starting stage node is completed, stage node 01 is triggered. And, Figure 7 The event graph of the start phase node and the end phase node in the program blueprint is also displayed to indicate the triggering event for executing the start logic phase or the end logic phase.

[0224] like Figure 8 As shown, when stage node 04 is selected, the attribute information of stage node 04 and the node jump condition and the corresponding inspection condition corresponding to stage node 04 are displayed. The attribute information of stage node 04 includes MLD basic type, and MLD type, context data, input parameters, output parameters and events bound in the form of data binding. The node jump condition of stage node 04 indicates that the trigger event is stage completion, and the inspection condition indicates the comparison of Float value.

[0225] When the stage node 04 is selected and the stage node 04 includes a subroutine blueprint, the subroutine blueprint is displayed. Fig. 9As shown, the subprogram blueprint includes a starting substage node, substage node 01, substage node 02, substage node 03, substage node 04 and a terminating substage node, the starting substage node is connected to substage node 01, substage node 01 is connected to substage node 02 and substage node 03 respectively, and substage node 04 can be connected to substage node 02, substage node 03 and the terminating substage node respectively, and substage node 02 and substage node 03 have two connecting lines, and the arrows of the two connecting lines point to substage node 02 and substage node 03 respectively, indicating that substage node 02 can trigger substage node 03, and substage node 03 can trigger substage node 02. And, Fig.10 The event diagram of the start sub-phase node and the end sub-phase node in the subroutine blueprint is also shown to indicate the triggering event of executing the start sub-logic phase or the end sub-logic phase. For example, sub-phase node 02 and sub-phase node 03 respectively represent the high-throwing logic phase and the low-throwing logic phase of the virtual object throwing the virtual prop in the game.

[0226] Based on the above Figures 2 to 5 In the embodiment shown, only the stage nodes and the connection relationships between the nodes are displayed in the program blueprint, and the execution logic corresponding to each stage node is packaged into the attribute information of the stage node. The input parameters, output parameters, context data, and events in the attribute information of the stage node are all transferred in the form of data binding. The attribute information of the stage node will not be directly displayed in the program blueprint. Instead, when a stage node is selected when the program blueprint is displayed, the attribute information of the selected stage node will be displayed. This can simplify the complexity of the program blueprint connection and is more convenient for user configuration.

[0227] Taking the program blueprint including the starting stage node, the stage nodes corresponding to multiple logical stages, the terminating stage node and the connection relationship between each stage node as an example, three types of logic are included in the multi-layer program blueprint: the first type of logic is the logic stage diagram, that is, the logic stage diagram includes the starting stage node, the stage nodes corresponding to multiple logical stages, the terminating stage node and the connection relationship between each stage node. The second type of logic is the event diagram corresponding to the starting stage node and the terminating stage node in the multi-layer logic diagram, and the event diagram indicates the event triggered by the corresponding stage node; wherein the starting stage node corresponds to the starting (Start) logic stage, and the terminating stage node corresponds to the terminating (End) logic stage. In an embodiment of the present application, each program blueprint includes a starting stage node and a terminating stage node, and only the starting logic stage and the terminating logic stage in the program blueprint have corresponding event diagrams, and the stage nodes corresponding to other logic stages have attribute information or are embedded with subroutine blueprints. The third type of logic is a node jump condition, that is, a jump condition logic, which is used to realize the jump between stage nodes in the program blueprint.

[0228] In addition, the program blueprint may also include a proxy stage node of a certain stage node. By adding a proxy stage node of the stage node, the proxy stage node can be connected to other stage nodes to indicate the connection relationship between the stage node corresponding to the proxy stage node and other stage nodes, so as to avoid complicating the connection between multiple stage nodes in the program blueprint, and make sure that the connection lines used to indicate the connection relationship between multiple stage nodes do not cross, so as to simplify the logical structure presented in the program blueprint.

[0229] In the embodiment of the present application, the node jump condition corresponding to the stage node of the program blueprint can be triggered by detecting an event inside the corresponding stage node, for example, by detecting whether the execution logic corresponding to the stage node has been completed or successfully executed. In addition, when the stage node corresponding to the currently executed execution logic meets the node jump condition, the state of the stage node needs to be checked using the check condition corresponding to the node jump condition. Only when the check passes, the next stage node will be triggered according to the node jump condition.

[0230] In an embodiment of the present application, the attribute information of the stage node can be stored in two forms. One is to set it in a nested manner in the stage node of the program blueprint, which makes the attribute information of the stage node unable to be reused; the other is to save the attribute information of the stage node as an independent resource file so that other stage nodes can reuse the resource file. Since the data required by each stage node in the program blueprint is extracted as a separate data file, and the parameters in the attribute information of the stage node are bound to the data object in the data file in the form of data binding, the data binding relationship can be retained when a resource file is reused, and the attribute information of the stage node can directly obtain data from the data object in the data file, so that the resource files corresponding to the attribute information of each stage node can be reused.

[0231] In addition, when the configured program blueprint is displayed, when any stage node in the program blueprint is selected, the selected stage node and the connection lines related to the selected stage node are highlighted, and other connection lines are dimmed. When creating a stage node in the program blueprint, the stage node will be automatically numbered, and when creating a connection line between any two stage nodes, the connection line will be automatically numbered based on the sequence numbers of the two stage nodes connected by the connection line, and a name or related description can also be added to the connection line.

[0232] In the process of configuring the program blueprint, you can also add comments to the stage nodes, or, when multiple stage nodes are selected, add comments to multiple stage nodes, and the added comments are displayed in the comment panel in the form of tags. In response to the selection operation of any stage node, the property panel and comment panel of the stage node are displayed, the property panel displays the property information, and the comment panel displays the comments. In the program blueprint, the stage nodes with comments are displayed with comment marks to distinguish which stage nodes in the program blueprint have comments. On the basis of displaying the program blueprint, it is also possible to display the comments of multiple stage nodes, or display the comments of the selected stage node. When the comments are displayed, in response to the modification operation of the comments, the displayed comments are modified.

[0233] In addition, when testing the program blueprint, the displayed program blueprint needs to be compiled, the attribute information of the stage node is converted into a static function, the input parameters, output parameters or context data in the attribute information of the stage node are expanded and connected to the static function, and instance objects are created for the parameters in the attribute information as parameters of the instance object, and the input parameters, output parameters or context data are transferred in the form of data binding.

[0234] In the above Figure 3 Based on the embodiment shown, the attribute information of the stage node in the program blueprint is as follows Fig.10 As shown, the parameters in the attribute information of the stage node can be bound to data in multiple ways. One is value binding, which directly binds the context data of a stage node in the program blueprint to the input parameter; another is to write the output parameter in the attribute information to a data object in the form of data binding; another is to bind the input parameter to the evaluator; another is to bind the attribute information to an event, such as an event that triggers the binding during or at the end of the stage node. Figure 4 In the example, the input parameter is bound to a data object, the distance value is bound to the evaluator, and Value1 is bound to a data in the form of value binding, and Value1 is bound to the evaluator. For events bound in the attribute information, taking the "fire" event of a virtual object in the game as an example, parameter 1 is bound to a data in the form of value binding, and parameter 2 is bound to the evaluator. In an embodiment of the present application, when the parameters in the attribute information are bound to a data object, the value range of the parameters is divided into two categories. One is to bind the parameters in the attribute information to the parameters in the attribute information of each stage node in the program blueprint, the evaluator function or the matching event, and the parameters can be obtained from the bound object, function or event; the other is to bind the parameters in the attribute information to the read-only data of the stage node, and the read-only data only has the authority to obtain data.

[0235] Based on the above Figures 2 to 5In the embodiment shown, the program blueprint can represent the execution logic of any task, for example, the task is a task of releasing a skill of a virtual object in a game. The program blueprint illustrates the process of a virtual object releasing a skill. For example, when an operation of a virtual object releasing a skill is detected, the start phase node in the program blueprint is triggered, and the execution logic of the task is executed according to the connection relationship between the nodes of each phase in the program blueprint, until the end phase node in the program blueprint is triggered, completing the skill release process. The program blueprint is used to describe the execution logic of a virtual object releasing a skill. In the process of running the program blueprint, judgments and node jumps will be made according to the configured execution logic to determine whether the skill can be successfully released. In the case of running the program blueprint, the virtual object may successfully release the skill, or it may fail to release the skill.

[0236] Fig.11 is a schematic diagram of the structure of a test device for a program blueprint provided in an embodiment of the present application, such as Fig.11 As shown, the device comprises:

[0237] Display module 1101, used to display a program blueprint, the program blueprint is used to represent the execution logic of a task, the task includes multiple logical stages, the program blueprint displays the stage nodes corresponding to the multiple logical stages and the connection relationship between the multiple stage nodes, each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node;

[0238] An execution module 1102, configured to execute the execution logic corresponding to the first-stage node in the program blueprint based on the attribute information of the first-stage node in response to the first-stage node in the program blueprint being triggered, wherein the first-stage node is any node in the program blueprint;

[0239] The trigger module 1103 is used to trigger the second-stage node indicated by the node jump condition in response to the first-stage node satisfying the corresponding node jump condition, and the second-stage node is connected to the first-stage node.

[0240] In a possible implementation, the first-stage node further includes a subprogram blueprint, the logic stage corresponding to the first-stage node includes a plurality of sub-logic stages, the subprogram blueprint displays sub-stage nodes corresponding to the plurality of sub-logic stages and connection relationships between the plurality of sub-stage nodes, each sub-stage node has attribute information, and the attribute information of the sub-stage node indicates the execution logic of the sub-logic stage corresponding to the sub-stage node;

[0241] The execution module 1102 is used to execute the execution logic corresponding to the first stage node in response to any sub-stage node being triggered, based on the attribute information of the sub-stage node, in the process of executing the execution logic corresponding to the first stage node.

[0242] In another possible implementation, the node jump condition includes:

[0243] When the execution logic corresponding to the first-stage node is completed, the second-stage node is triggered; or,

[0244] If the execution logic corresponding to the first-stage node fails, the second-stage node is triggered; or,

[0245] When the execution logic corresponding to the first-stage node starts to execute, the second-stage node is triggered; or,

[0246] During the execution of the execution logic corresponding to the first-stage node, when the first event is triggered, the second-stage node is triggered.

[0247] In another possible implementation, the trigger module 1103 is used to verify the state of the first-stage node in response to the first-stage node satisfying the node jump condition based on the verification condition corresponding to the node jump condition; and trigger the second-stage node when the state of the first-stage node satisfies the verification condition.

[0248] In another possible implementation, the attribute information of the first stage node includes a first input parameter, a logic function and a first output parameter, the first output parameter is bound to a first data object, the first data object is a data object in a data file associated with a program blueprint or other stage nodes other than the first stage node, and the data file includes at least one type of data object; an execution module 1102 is used to call the logic function, process the first input parameter, and obtain a first output parameter; and write the first output parameter into the first data object.

[0249] In another possible implementation, the attribute information of the first-stage node also includes context data, and the context data is bound to a second data object in a data file associated with other stage nodes except the first-stage node. The execution module 1102 is used to obtain data from the second data object and determine the obtained data as context data; call the logic function to process the first input parameter and the context data to obtain the first output parameter.

[0250] In another possible implementation, a second event is also bound to the attribute information of the first-stage node, and the second event is used to jump to the corresponding execution logic. The execution module 1102 is also used to execute the execution logic corresponding to the second event in response to the second event being triggered during the process of executing the execution logic corresponding to the first-stage node.

[0251] In another possible implementation, Fig.12 As shown, the device also includes:

[0252] The determination module 1104 is used to obtain data from the third data object contained in the data file when the first input parameter is bound to the third data object in the data file associated with the program blueprint, and determine the obtained data as the first input parameter; or, when the first input parameter is bound to the evaluator, process the second input parameter corresponding to the evaluator through the evaluator to obtain the second output parameter, and determine the second output parameter as the first input parameter.

[0253] In another possible implementation, Fig.12 As shown, the device also includes:

[0254] A creation module 1105, for creating phase nodes corresponding to a plurality of logical phases in response to a node creation operation;

[0255] The display module 1101 is further used to display an attribute information interface in response to a selection operation on a third-stage node, where the attribute information interface is used to configure attribute information of the third-stage node, where the third-stage node is any node among the multiple stage nodes created;

[0256] Configuration module 1106, configured to configure the attribute information of the third stage node in response to the configuration operation in the attribute information interface;

[0257] The creation module 1105 is also used to create a connection relationship between multiple stage nodes in response to the connection operation on multiple stage nodes to obtain a program blueprint.

[0258] In another possible implementation, the configuration module 1106 is used to respond to a first binding operation on the node type in the attribute information, bind the node type to the type file indicated by the first binding operation, and the type file includes a logical function; or, respond to a second binding operation on the input parameter in the attribute information, bind the input parameter to the data object indicated by the second binding operation, and the data object is a data object in a data file associated with a program blueprint or other stage nodes; or, respond to a third binding operation on the output parameter in the attribute information, bind the output parameter to the data object indicated by the third binding operation, and the data object is a data object in a data file associated with a program blueprint or other stage nodes except the third stage node.

[0259] In another possible implementation, the configuration module 1106 is used to display multiple resource files in response to a reuse operation in the attribute information interface, and the resource files include attribute information corresponding to other stage nodes; in response to a selection operation on any resource file, the selected resource file is determined as the attribute information of the stage node.

[0260] In another possible implementation, Fig.12 As shown, the device also includes:

[0261] The storage module 1107 is used to generate a resource file based on the attribute information of the fourth stage node in response to the save operation of the attribute information of the fourth stage node, and store the generated resource file. The fourth stage node is any node in the program blueprint.

[0262] In another possible implementation, Fig.12 As shown, the device also includes:

[0263] An adding module 1108, for adding a subroutine blueprint to the third stage node in response to a blueprint adding operation on the third stage node when the third stage node is selected;

[0264] The creation module 1105 is further used to create a plurality of sub-phase nodes corresponding to the sub-logical phases in the sub-program blueprint in response to the node creation operation on the sub-program blueprint;

[0265] Configuration module 1106, configured to configure attribute information for each sub-stage node in response to a configuration operation on the attribute information of each sub-stage node;

[0266] The creation module 1105 is further used to create a connection relationship between multiple sub-stage nodes in response to a connection operation on multiple sub-stage nodes.

[0267] It should be noted that the program blueprint test device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the program blueprint test device provided in the above embodiment and the program blueprint test method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0268] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the testing method of the program blueprint of the above embodiment.

[0269] Optionally, the computer device is provided as a terminal. Fig.13 The structure block diagram of a terminal 1300 provided by an exemplary embodiment of the present application is shown. The terminal 1300 includes: a processor 1301 and a memory 1302 .

[0270] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0271] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one computer program, which is used to be executed by the processor 1301 to implement the test method of the program blueprint provided in the method embodiment of the present application.

[0272] In some embodiments, the terminal 1300 may further optionally include: a peripheral device interface 1303 and at least one peripheral device. The processor 1301, the memory 1302 and the peripheral device interface 1303 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307 and a power supply 1308.

[0273] The peripheral device interface 1303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0274] The radio frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1304 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1304 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1304 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0275] The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 also has the ability to collect touch signals on the surface or above the surface of the display screen 1305. The touch signal can be input to the processor 1301 as a control signal for processing. At this time, the display screen 1305 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1305 can be one, set on the front panel of the terminal 1300; in other embodiments, the display screen 1305 can be at least two, respectively set on different surfaces of the terminal 1300 or in a folding design; in other embodiments, the display screen 1305 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1300. Even, the display screen 1305 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0276] The camera assembly 1306 is used to capture images or videos. Optionally, the camera assembly 1306 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0277] The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1301 for processing, or input them into the radio frequency circuit 1304 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1300. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1307 may also include a headphone jack.

[0278] The power supply 1308 is used to power various components in the terminal 1300. The power supply 1308 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1308 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0279] Those skilled in the art will understand that Fig.13 The structure shown in the figure does not constitute a limitation on the terminal 1300, and the terminal 1300 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0280] Optionally, the computer device is provided as a server. Fig.14 This is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1401 and one or more memories 1402, wherein at least one computer program is stored in the memory 1402, and at least one computer program is loaded and executed by the processor 1401 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0281] An embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the testing method of the program blueprint of the above embodiment.

[0282] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the operations performed by the testing method of the program blueprint of the above embodiment.

[0283] A person of ordinary skill in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0284] The above description is only an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A method for testing a program blueprint, characterized in that: The method comprises: Display a program blueprint, wherein the program blueprint is used to represent the execution logic of a task, wherein the task includes multiple logical stages, and the program blueprint displays stage nodes corresponding to the multiple logical stages and connection relationships between the multiple stage nodes, wherein each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node; In response to a first-stage node in the program blueprint being triggered, executing execution logic corresponding to the first-stage node based on attribute information of the first-stage node, the first-stage node being any node in the program blueprint; In response to the first-stage node satisfying the corresponding node jump condition, the second-stage node indicated by the node jump condition is triggered, and the second-stage node is connected to the first-stage node.

2. The method according to claim 1, characterized in that The first stage node also includes a subprogram blueprint, the logic stage corresponding to the first stage node includes multiple sub-logic stages, the subprogram blueprint displays sub-stage nodes corresponding to the multiple sub-logic stages and the connection relationship between the multiple sub-stage nodes, each sub-stage node has attribute information, and the attribute information of the sub-stage node indicates the execution logic of the sub-logic stage corresponding to the sub-stage node; In response to the first stage node in the program blueprint being triggered, executing the execution logic corresponding to the first stage node based on the attribute information of the first stage node includes: In the process of executing the execution logic corresponding to the first stage node, in response to any sub-stage node being triggered, the execution logic corresponding to the sub-stage node is executed based on the attribute information of the sub-stage node.

3. The method according to claim 1, characterized in that The node jump conditions include: When the execution logic corresponding to the first-stage node is completed, the second-stage node is triggered; or, If the execution logic corresponding to the first-stage node fails, triggering the second-stage node; or, When the execution logic corresponding to the first-stage node starts to execute, the second-stage node is triggered; or, During the execution of the execution logic corresponding to the first-stage node, when the first event is triggered, the second-stage node is triggered.

4. The method according to claim 1, characterized in that: In response to the first-stage node satisfying the corresponding node jump condition, triggering the second-stage node indicated by the node jump condition includes: In response to the first-stage node satisfying the node jump condition, verifying the state of the first-stage node based on a verification condition corresponding to the node jump condition; When the state of the first-stage node meets the verification condition, the second-stage node is triggered.

5. The method according to claim 1, characterized in that: The attribute information of the first stage node includes a first input parameter, a logic function and a first output parameter, the first output parameter is bound to a first data object, the first data object is a data object in a data file associated with the program blueprint or other stage nodes except the first stage node, the data file includes at least one type of data object; the execution logic corresponding to the first stage node based on the attribute information of the first stage node includes: Calling the logic function to process the first input parameter to obtain the first output parameter; The first output parameter is written into the first data object.

6. The method according to claim 5, characterized in that The attribute information of the first stage node also includes context data, and the context data is bound to a second data object in a data file associated with other stage nodes except the first stage node. The calling of the logic function to process the first input parameter to obtain the first output parameter includes: Acquire data from the second data object, and determine the acquired data as the context data; The logic function is called to process the first input parameter and the context data to obtain the first output parameter.

7. The method according to claim 5, characterized in that The attribute information of the first-stage node is also bound with a second event, and the second event is used to jump to the corresponding execution logic. The method further includes: In the process of executing the execution logic corresponding to the first stage node, in response to the second event being triggered, the execution logic corresponding to the second event is executed.

8. The method according to claim 5, characterized in that Before calling the logic function and processing the first input parameter to obtain the first output parameter, the method further includes: In the case where the first input parameter is bound to a third data object in a data file associated with the program blueprint, obtaining data from the third data object contained in the data file, and determining the obtained data as the first input parameter; or In the case where the first input parameter is bound to the evaluator, the second input parameter corresponding to the evaluator is processed by the evaluator to obtain a second output parameter, and the second output parameter is determined as the first input parameter.

9. The method according to any one of claims 1 to 8, characterized in that: Before displaying the program blueprint, the method further includes: In response to the node creation operation, creating phase nodes corresponding to the multiple logical phases; In response to a selection operation on a third-stage node, an attribute information interface is displayed, wherein the attribute information interface is used to configure attribute information of the third-stage node, wherein the third-stage node is any node among the created multiple stage nodes; In response to a configuration operation in the attribute information interface, configuring attribute information of the third-stage node; In response to the connection operation on the multiple stage nodes, a connection relationship between the multiple stage nodes is created to obtain the program blueprint.

10. The method according to claim 9, characterized in that The configuring the attribute information of the third-stage node in response to the configuration operation in the attribute information interface includes: In response to a first binding operation on a node type in the attribute information, binding the node type to a type file indicated by the first binding operation, the type file including a logic function; or, In response to a second binding operation on an input parameter in the attribute information, the input parameter is bound to a data object indicated by the second binding operation, the data object being a data object in a data file associated with the program blueprint or other phase node; or In response to a third binding operation on the output parameter in the attribute information, the output parameter is bound to a data object indicated by the third binding operation, and the data object is a data object in a data file associated with the program blueprint or other stage nodes except the third stage node.

11. The method according to claim 9, characterized in that The configuring the attribute information of the third-stage node in response to the configuration operation in the attribute information interface includes: In response to a reuse operation in the attribute information interface, a plurality of resource files are displayed, the resource files including attribute information corresponding to other phase nodes; In response to a selection operation on any resource file, the selected resource file is determined as the attribute information of the phase node.

12. The method according to claim 9, characterized in that The method further comprises: When the third-stage node is selected, in response to a blueprint adding operation on the third-stage node, a subroutine blueprint is added to the third-stage node; In response to a node creation operation on the subprogram blueprint, creating a plurality of sub-stage nodes corresponding to sub-logic stages in the subprogram blueprint; In response to a configuration operation on the attribute information of each sub-stage node, configuring the attribute information for each sub-stage node; In response to a connection operation on a plurality of sub-phase nodes, a connection relationship between the plurality of sub-phase nodes is created.

13. A testing device for a program blueprint, characterized in that: The device comprises: A display module is used to display a program blueprint, wherein the program blueprint is used to represent the execution logic of a task, wherein the task includes multiple logical stages, and the program blueprint displays stage nodes corresponding to the multiple logical stages and connection relationships between the multiple stage nodes, wherein each stage node has attribute information, and the attribute information of the stage node indicates the execution logic of the logical stage corresponding to the stage node; An execution module, configured to execute, in response to a first-stage node in the program blueprint being triggered, an execution logic corresponding to the first-stage node based on attribute information of the first-stage node, wherein the first-stage node is any node in the program blueprint; The trigger module is used to trigger the second stage node indicated by the node jump condition in response to the first stage node satisfying the corresponding node jump condition, and the second stage node is connected to the first stage node.

14. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the testing method of the program blueprint as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement the operations performed by the testing method of the program blueprint according to any one of claims 1 to 12.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the operations performed by the testing method of the program blueprint according to any one of claims 1 to 12 are implemented.