Game logic processing method, device and electronic device

Simplifying the configuration of the game logic structure through the node graph system solves the problems of high difficulty in configuring complex skills and insufficient responsiveness in the existing technology, realizes the simple configuration of the game logic structure and three-terminal synchronization, and improves the efficiency of game planning.

CN113750526BActive Publication Date: 2024-08-23NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111050001.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2024-08-23
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

The existing game logic structure configuration method is highly complex, resulting in low operational convenience for game planners when configuring game logic structure data. Especially when faced with complex skills and high responsiveness requirements, existing technology is difficult to meet the needs of independent writing. Complex skill logic and three-terminal synchronization requirements.

Method used

The node graph system is used to represent the logical structure of the game, and the graphical user interface responds to editing operations, encapsulating game events and tasks into event occurrence nodes and task nodes, and configuring execution flow and data flow relationships, simplifying the configuration of logical relationships, and reducing the difficulty of data configuration. .

Benefits of technology

It realizes the visual configuration of the game logic structure, improves the simplicity and scalability of the configuration, supports three-terminal synchronization, ensures the client's advanced performance and server authority verification, and alleviates the problem of low operational convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113750526B
    Figure CN113750526B
Patent Text Reader

Abstract

The present invention provides a game logic processing method, device and electronic device, which relates to the field of game technology, and alleviates the technical problem of low operational convenience of existing configuration game logic structure data. The method includes: in response to a first editing operation on an event occurrence node, encapsulating the game event edited by the first editing operation into the event occurrence node; in response to a second editing operation on a task node, encapsulating the game task edited by the second editing operation into the task node; in response to a third editing operation on the logical relationship between the event occurrence node and the task node, configuring the logical relationship according to the flow relationship edited by the third editing operation; wherein the flow relationship includes execution flow and data flow; the logical relationship is used to trigger the game logic corresponding to the game task in the execution task node through execution flow and / or data flow when the game event in the event occurrence node occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a game logic processing method, device and electronic device. Background Art

[0002] The current logic framework in games is based on an abstract thinking about the logic of game behavior. The entire behavior logic is essentially a game behavior. For example, with the development of online games, the combat behavior in the game has become more and more complex, which also puts higher operational requirements on the process of configuring logical structure data for game planners. Currently, game planners mainly use two existing logical structures to configure data: table configuration triggering each other and timeline combined with timestamp.

[0003] However, the expansion of complex skills in the existing logical structure is rather cumbersome. The more complex the game skills are, the more complex the data configuration is. This makes it more complicated for game planners to configure the game logic structure data, making the configuration operation less convenient. Summary of the invention

[0004] The purpose of the present application is to provide a game logic processing method, device and electronic device to alleviate the technical problem of low operational convenience in the existing configuration of game logic structure data.

[0005] In a first aspect, an embodiment of the present application provides a game logic processing method, wherein a graphical user interface is provided through an electronic device, wherein the logical structure of the game is represented by a node graph system, wherein the node graph system includes event occurrence nodes and at least one task node of the game, and the graphical user interface includes at least part of the node graph system; the method comprises:

[0006] In response to a first editing operation on the event occurrence node, encapsulating the game event edited by the first editing operation into the event occurrence node;

[0007] In response to a second editing operation on the task node, encapsulating the game task edited by the second editing operation into the task node;

[0008] In response to a third editing operation on the logical relationship between the event occurrence node and the task node, the logical relationship is configured according to the flow relationship edited by the third editing operation; wherein the flow relationship includes execution flow and data flow; the logical relationship is used to trigger the execution of the game logic corresponding to the game task in the task node through the execution flow and / or the data flow when the game event in the event occurrence node occurs.

[0009] In a possible implementation, the at least one task node includes any one or more of the following:

[0010] Auxiliary nodes, driver nodes, process nodes, and effect nodes;

[0011] Among them, the auxiliary node is used to obtain and calculate the effect data of the game; the driving node is used to drive the process flow of the game; the process node is used to control the process of the game; and the effect node is used to generate game effects by calling the system.

[0012] In a possible implementation, in response to the second editing operation on the task node, the step of encapsulating the game task edited by the second editing operation into the task node includes:

[0013] In response to a second editing operation on the task node, determining a game task edited by the second editing operation; wherein the game task is any one of acquiring and calculating effect data of the game, driving the flow of the game process, controlling the flow of the game, and generating a game effect by calling a system;

[0014] The game task is encapsulated into the task node.

[0015] In a possible implementation, each of the nodes includes at least one input terminal and / or at least one output terminal;

[0016] The first input terminal and the first output terminal of the node correspond to each other and are used to perform the execution flow;

[0017] The second input terminal and the second output terminal of the node correspond to each other and are used for performing the data flow.

[0018] In a possible implementation, the execution flow is performed between the first output terminal of the event occurrence node and the first input terminal of the task node; and the data flow is performed between the second output terminal of the event occurrence node and the second input terminal of the task node.

[0019] In a possible implementation, the task node includes a first task node and a second task node, and the task node includes at least one input end and / or at least one output end;

[0020] The execution flow is performed between the first output end of the first task node and the first input end of the second task node; the data flow is performed between the second output end of the first task node and the second input end of the second task node.

[0021] In a possible implementation, the task node includes: a driving node and an auxiliary node; when the game is running on a local client, when the driving node is triggered on the local client, if the auxiliary node connected to the driving node is a preceding node, the auxiliary node is used to obtain and calculate the effect data of the game, and the driving node is used to drive the process flow of the game to the server, so that the server distributes the synchronization verification result of the process to several clients including the local client; if the synchronization verification result is a successful verification, the non-predecessor node connected to the driving node is triggered to execute, and the effect data is displayed on the client; if the synchronization verification result is a failed verification, the execution of the auxiliary node in the client is revoked.

[0022] In one possible implementation, the task node includes: a driving node; the driving node is used to drive the flow of the game to several clients when it is triggered during the game running on the server, so that the flow of the game in the several clients is synchronized with the server.

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

[0024] In response to the debugging operation on the task node, the game task encapsulated in the task node is adjusted, and / or the logical relationship configuration between the task node and other nodes is adjusted.

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

[0026] In response to currently running to the task node, highlighting the task node in the graphical user interface.

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

[0028] In response to currently running to the task node, the data being processed in the task node is displayed at a corresponding position of the task node in the graphical user interface.

[0029] In a second aspect, a game logic processing device is provided, which provides a graphical user interface through an electronic device, wherein the logical structure of the game is represented by a node graph system, wherein the node graph system includes event occurrence nodes and at least one task node of the game, and the graphical user interface includes at least part of the node graph system; the device comprises:

[0030] A first encapsulation module, configured to encapsulate the game event edited by the first editing operation into the event occurrence node in response to a first editing operation on the event occurrence node;

[0031] A second encapsulation module, configured to encapsulate the game task edited by the second editing operation into the task node in response to the second editing operation on the task node;

[0032] A configuration module, for responding to a third editing operation on the logical relationship between the event occurrence node and the task node, and configuring the logical relationship according to the flow relationship edited by the third editing operation; wherein the flow relationship includes execution flow and data flow; the logical relationship is used to trigger the execution of the game logic corresponding to the game task in the task node through the execution flow and / or the data flow when the game event in the event occurrence node occurs.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0034] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method described in the first aspect above.

[0035] The embodiments of the present application bring the following beneficial effects:

[0036] The embodiments of the present application provide a game logic processing method, device and electronic device, wherein the logical structure of the game is represented by a node graph system, wherein the node graph system includes an event occurrence node and at least one task node of the game, and a graphical user interface includes at least part of the node graph system. In the game logic processing method, the game event edited by the first editing operation can be encapsulated into the event occurrence node in response to a first editing operation on the event occurrence node, and then the game task edited by the second editing operation can be encapsulated into the task node in response to a second editing operation on the task node, and then the logical relationship is configured according to the flow relationship edited by the third editing operation in response to a third editing operation on the logical relationship between the event occurrence node and the task node, wherein the flow relationship includes execution flow and data flow, and the logical relationship is used for When a game event occurs in the event occurrence node, the game logic corresponding to the game task in the execution task node is triggered through execution flow and / or data flow. In this solution, the game event can be encapsulated into the event occurrence node of the node graph system and the game task can be encapsulated into the task node of the node graph system through simple and convenient editing operations. The logical relationship between the nodes can also be configured so that when a game event encapsulated in the event occurrence node occurs, the game logic corresponding to the game task encapsulated in the execution task node can be triggered through execution flow and / or data flow. This reduces the operational difficulty of configuring the logical structure data by utilizing the nodes in the node graph system and the encapsulated content in each node, making the data configuration operation simpler, more convenient and faster, alleviating the technical problem of low operational convenience in configuring the existing game logic structure data. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0039] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown;

[0040] Figure 3 A schematic diagram of a usage scenario of an electronic device provided in an embodiment of the present application;

[0041] Figure 4 A flowchart of a game logic processing method provided in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of an operation interface of a game logic processing method provided in an embodiment of the present application;

[0043] Figure 6 A schematic diagram of an operation interface of another game logic processing method provided in an embodiment of the present application;

[0044] Figure 7 A schematic diagram of an operation interface of another game logic processing method provided in an embodiment of the present application;

[0045] Figure 8 A schematic diagram of the execution flow of a master-client driver provided in an embodiment of the present application;

[0046] Fig. 9 A schematic diagram of a server-driven execution process provided in an embodiment of the present application;

[0047] Fig.10 A schematic diagram of an operation interface of another game logic processing method provided in an embodiment of the present application;

[0048] Fig.11 A schematic diagram of an operation interface of another game logic processing method provided in an embodiment of the present application;

[0049] Fig.12 A schematic diagram of an operation interface of another game logic processing method provided in an embodiment of the present application;

[0050] Fig.13 A schematic diagram of the structure of a game logic processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0052] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0053] With the development of online games, combat-related requirements are becoming more and more complex, which puts forward higher scalability and applicability requirements for combat systems, and also puts forward higher operational requirements for game planners in the process of configuring logical structure data. The common combat systems on the market are mainly divided into two categories: timeline + timestamp and table configuration triggering each other. However, these two categories do not perform well when faced with highly customized logic. The operations of game planners in configuring game logic structure data are relatively complicated, and it is difficult to meet the needs of game planners who want to independently write more complex skill logic. At the same time, combat-related responsiveness requirements are higher, and the framework needs to support client-side performance first, fallback, and unified effect synchronization support. At present, common technical solutions can be roughly divided into two categories, one is the implementation of timeline + timestamp, and the other is the implementation of table configuration triggering each other.

[0054] The implementation of the timeline + timestamp solution is to split the entire execution process of the skill into several timelines. The timelines are controlled by conditions to jump. Each timeline manages several timestamps. The corresponding skill effects are mounted on the timestamps, and then the performance and logic of the game are affected by the skill effects. No matter how complex the skill is, a timestamp is used to save the corresponding data, and the data is used to trigger the corresponding logic. However, no matter how complex the skill is, a timestamp is used to map the corresponding data, resulting in the data required for the corresponding demand to expand infinitely during the development process, and the special data required for certain specific skills must also be added to the data set, resulting in unnecessary data redundancy.

[0055] The solution for table configurations to trigger each other is to split a single complex skill into multiple sub-skill combinations, with each sub-skill being a row configuration in a single table. Some skills are created through configuration as intermediaries, specifically used to listen to the occurrence of certain events to trigger new skills and new events. Since it splits complex skills into multiple sub-skill combinations, its data redundancy is very low, but it is very unintuitive for planners. Planners use a table to imagine the entire process flow, and add events and listeners at the appropriate flow positions. The configuration is very inefficient and prone to errors.

[0056] And for the above two structures, the more complex the skill, the higher the complexity of the data configuration, and the more unpredictable the skill effect is for the planner. Every time there is a problem with the configuration and the effect is abnormal, the program needs to cooperate to investigate, which to a certain extent also affects the development efficiency of the project. Moreover, the current logical framework in the game is based on an abstract thinking of the battle logic. The entire battle logic is essentially a behavior, or "how to do it". "How to do it" is divided into "when to do it" and "how to do it specifically". For example, "when to do it" can be considered as a trigger, which triggers "how to do it specifically" or specific game effects at a reasonable time. Through this idea, the previous skill system is actually essentially the above two sentences. However, the traditional two system implementations have their own unintuitive parts in describing the trigger ("when to do it"), which makes it difficult to expand complex skills under their own systems.

[0057] From the above defects, it can be seen that the expansion of complex skills in the existing logic structure is rather cumbersome. The more complex the game skills are, the more complex the data configuration is, which makes it more complicated for game planners to operate when configuring the game logic structure data, making this configuration operation less convenient.

[0058] Based on this, the embodiments of the present application provide a game logic processing method, device and electronic device. Through this method, a three-end synchronization system with high visualization, simple configuration and good scalability can be provided for the logic structure data configuration process in the game planning process. The visualization degree is improved by using the form of a node graph, and the difficulty of configuration is reduced by encapsulating the nodes. In combination with relevant debugging tools, the overall work efficiency is improved. The three-end synchronization logic can also be encapsulated through a unified structural support to ensure the client's first performance and the server's authoritative verification, which can alleviate the technical problem of low operational convenience in the existing configuration of game logic structure data.

[0059] In one embodiment of the present application, the game logic processing method can be run on a local terminal device, a server device, a computer device or other electronic device. When the game logic processing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0060] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game planning method based on cloud computing. In the operation mode of cloud game planning, the operating body of the game program and the main body of the game screen presentation are separated, the storage and operation of the game logic processing method are completed on the cloud game server, and the role of the client device is used for data reception, transmission and presentation of the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud performs information processing. When planning a game, the game planner operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game planning according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0061] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with a game planner through a graphical user interface. The local terminal device may provide a graphical user interface to a game planner in a variety of ways, for example, it may be rendered and displayed on a display screen of a terminal, or provided to a game planner through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game plan, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0062] In a possible implementation, an embodiment of the present application provides a game logic processing method, which provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above.

[0063] For example, Figure 1 As shown, Figure 1 Schematic diagram of an application scenario provided by an embodiment of the present application. The application scenario may include a terminal device 102 and a server device 101, and the terminal device 102 may communicate with the server device 101 via a wired network or a wireless network. The electronic device in this embodiment may be the terminal device 102 or the server device 101.

[0064] In this embodiment, the electronic device is described by taking the terminal device 102 as an example. Figure 2As shown, the terminal device 102 includes a memory 1021 and a processor 1022. The memory stores a computer program that can be run on the processor. When the processor executes the computer program, the steps of the method provided in the above embodiment are implemented.

[0065] See also Figure 2 The terminal device 102 further includes: a bus 1023 and a communication interface 1024, the processor 1022, the communication interface 1024 and the memory 1021 are connected via the bus 1023; the processor 1022 is used to execute executable modules stored in the memory 1021, such as computer programs.

[0066] The memory 1021 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1024 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0067] The bus 1023 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0068] Among them, the memory 1021 is used to store programs, and the processor 1022 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present application can be applied to the processor 1022 or implemented by the processor 1022.

[0069] The processor 1022 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1022. The above processor 1022 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1021, and the processor 1022 reads the information in the memory 1021 and completes the steps of the above method in combination with its hardware.

[0070] Of course, the electronic device in this embodiment can also be a local computer device without network connection. Figure 3 As shown, the computer device 103 includes: a processor 1031, a memory 1032, and a bus. The memory 1032 stores machine-readable instructions executable by the processor 1031. When the electronic device is running, the processor 1031 communicates with the memory 1032 through the bus, and the processor 1031 executes the machine-readable instructions to perform steps such as the game logic processing method.

[0071] Specifically, the above-mentioned memory 1032 and processor 1031 can be general-purpose memory and processor, which are not specifically limited here. When the processor 1031 runs the computer program stored in the memory 1032, it can execute the game logic processing method.

[0072] The embodiments of the present application are further described below in conjunction with the accompanying drawings.

[0073] Figure 4A flowchart of a method for processing game logic provided in an embodiment of the present application. The method can be applied to an electronic device, wherein a graphical user interface is provided by the electronic device, the logical structure of the game is represented by a node graph system, the node graph system includes event occurrence nodes and at least one task node of the game, and the graphical user interface includes at least part of the node graph system. Figure 4 As shown, the method includes:

[0074] Step S410, in response to a first editing operation on an event occurrence node, encapsulate the game event edited by the first editing operation into the event occurrence node.

[0075] In practical applications, the node graph system can be an editing system used by game planners. Figure 5 As shown, in the process of game planners editing the node graph system, the attack event (game event) is encapsulated into the attack box node 501 (event occurrence node) through the first editing operation on the attack box node 501 (event occurrence node).

[0076] Step S420, in response to the second editing operation on the task node, encapsulate the game task edited by the second editing operation into the task node.

[0077] For example, Figure 5 As shown, in the process of game planners (hereinafter referred to as users) editing the node graph system, the task (game task) for processing the hit data is encapsulated into the hit data node 502 (task node) through the first editing operation on the hit data node 502 (task node).

[0078] Step S430, in response to the third editing operation on the logical relationship between the event occurrence node and the task node, the logical relationship is configured according to the flow relationship edited by the third editing operation.

[0079] Among them, the flow relationship includes execution flow and data flow; the logical relationship is used to trigger the game logic corresponding to the game task in the execution task node through execution flow and / or data flow when a game event occurs in the event occurrence node.

[0080] In practical applications, the task node in the node graph system can be the next node of the event node. Figure 5As shown, in the node graph system, the traversed hit data node 502 (task node) is the next node of the attack box node 501 (event occurrence node). The general attack box node 501 (event occurrence node) indicates that an attack event has occurred in the game. The occurrence of the attack event triggers the traversed hit data node 502 (task node). The traversed hit data node 502 processes the hit data, that is, executes the game logic corresponding to the hit data node 502.

[0081] For example, Figure 5 As shown, in the node graph system, the delay node 503 (second task node) is the next node of the traversed hit data node 502 (first task node). After the traversal of the hit data node 502 (first task node) is completed, the delay node 503 (second task node) is triggered. The triggered delay node 503 performs delay processing on the hit data, that is, executes the game logic corresponding to the triggered delay node 503.

[0082] In the embodiment of the present application, the user edits the node graph system and ultimately encapsulates it into game events and game tasks, etc. The node graph system also designs the logical relationship between each node into two flows, namely execution flow and data flow.

[0083] Through simple and convenient editing operations, game events can be encapsulated into event occurrence nodes of the node graph system, and game tasks can be encapsulated into task nodes of the node graph system. The logical relationship between each node can also be configured so that when a game event encapsulated in an event occurrence node occurs, the game logic corresponding to the game task encapsulated in the execution task node can be triggered through execution flow and / or data flow. This reduces the operational difficulty of configuring logical structure data by utilizing each node in the node graph system and the encapsulated content in each node, making data configuration operations simpler, more convenient and faster, and alleviating the technical problem of low operational convenience in configuring game logical structure data in the prior art.

[0084] The above steps are described in detail below.

[0085] In some embodiments, the task nodes include multiple types to respectively implement multiple different functions. As an example, at least one task node includes any one or more of the following:

[0086] Auxiliary nodes, driver nodes, process nodes and effect nodes; among them, auxiliary nodes are used to obtain and calculate game effect data; driver nodes are used to drive the flow of game processes; process nodes are used to control the flow of games; effect nodes are used to generate game effects by calling the system.

[0087] For example, Figure 6As shown, the throwing grenade node 601 is a kind of driving node, which is a node that links to an external system and can drive the skill process flow, and is often a persistent node (with a life cycle), and is verified by the server authority; the loop node 602 is a kind of process node, which is a process control, a node that can drive the skill process flow, and can only use the event data that triggers itself; the creation scene special effect node 603 is a kind of auxiliary node, which is to obtain, process and calculate related data; the split hit data node 604 is a kind of effect node, which is to call the relevant system to produce an effect, and is an instantaneous node (executor). For example, the auxiliary node can perform some damage calculations such as addition, subtraction, multiplication and division to obtain the final value, and the specific effect of causing damage to the target can be completed by the effect node.

[0088] In actual applications, different types of nodes can be distinguished by different colors, such as marking driver nodes in red, process nodes in yellow, auxiliary nodes in green, and effect nodes in blue. Moreover, different types of flows can also be distinguished by different colors, and different colors correspond to different types of flows. Only when the flows of the output end and the input end are consistent (that is, the colors are the same) can they be connected.

[0089] For example, Figure 7 As shown in the figure, it is a specific project case, which means: first, select a suitable landing point through the selection circle and create an empty summon, then the empty summon can process the shield data graph pointed by the arrow to add buffs to enhance its own attributes, add shield data and activate the shield. In this way, users can complete the need to release a shield by selecting a point by themselves through the combination of related nodes.

[0090] It should be noted that the nodes connected by the sequential nodes must be matched according to the upper and lower order of the output interfaces, and the nodes connected to the upper output interfaces are processed first, such as Figure 7 As shown, you must add shield data first and then activate the shield. For nodes connected to the same output interface, the processing order is from top left to bottom right, with the upper one being the first choice, and the left one being the second choice.

[0091] By encapsulating specific effects into related nodes, and dividing the nodes into driving nodes, process nodes, effect nodes, and auxiliary nodes, the editing system designs the node diagram into four types of nodes and two types of flows, making it more intuitive. It also has better scalability and lower maintenance costs. The framework maintains data consistency and trigger relationships, and does not require each management system to maintain it.

[0092] Based on this, the above step S420 may specifically include the following steps:

[0093] Step a), in response to a second editing operation on a task node, determining a game task edited by the second editing operation;

[0094] Step b), encapsulate the game task into a task node.

[0095] For the above step a), the game task is any one of the following game tasks: obtaining and calculating the game effect data, driving the game process flow, controlling the game process, and generating game effects by calling the system.

[0096] Through the second editing operation on the task node, the game task edited by the editing operation can be determined. The game task can be any one of the game tasks such as obtaining and calculating the game effect data, driving the game process flow, controlling the game process, and generating game effects by calling the system. Therefore, the task node encapsulating the game task can be more clearly determined as an auxiliary node, a driving node, a process node or an effect node, and the specific function of the task node can be clarified.

[0097] In some embodiments, different nodes can be transmitted through dedicated input terminals and dedicated output terminals to implement execution flow and data flow. For example, each node includes at least one input terminal and / or at least one output terminal; the first input terminal of the node corresponds to the first output terminal, which is used for execution flow; the second input terminal of the node corresponds to the second output terminal, which is used for data flow.

[0098] As an example, Figure 5 As shown, taking the delay node 503 as an example, the "entrance" in the delay node 503 is an input end, which is used to receive the flow transmitted by the previous node, and the "timing arrival" in the delay node 503 is an output end, which is used to transmit the flow to the next node. As another example, for some nodes, it only has an output end and no input end. Taking the standard formula calculation node 504 as an example, the "calculation result" therein is an output end, which is used to transmit the flow to the next node. As another example, for other nodes, it only has an input end and no output end. Taking the damage target node 505 as an example, the "entrance", "target identity identification number (Identity Document, ID)", "damage formula result", and "hit data" therein are 4 input ends, which are used to receive the flow transmitted from multiple nodes. By setting the input end and the output end for the node, the interconnection between different nodes can be realized, so as to transmit the related flow between different nodes.

[0099] In actual applications, the flow types transmitted between task nodes include execution flows, which are transmitted by input and output terminals specifically used for transmitting execution flows, so as to avoid confusion in the transmission of execution flows. Figure 5 As shown in the figure, the lines between different nodes represent the flow, and the flow represented by the solid line is the execution flow. Figure 5 Taking the delay node 503 and the damage target node 505 in the example, the "timing arrival" in the delay node 503 is the first output terminal, which is used to output the execution flow, and the "entrance" in the damage target node 505 is the first input terminal, which is used to input the execution flow. The "timing arrival" of the delay node 503 is connected to the "entrance" of the damage target node 505, thereby realizing the transmission of the execution flow.

[0100] It should be noted that the first input terminal is relative to the first output terminal. For the delay node 503 and the damage target node 505, the "timing arrival" of the delay node 503 is the first output terminal, and the "entrance" of the damage target node 505 is the second output terminal. However, for the traversal hit data node 502 and the delay node 503, the "process pin" of the traversal hit data node 502 is the first output terminal, and the "entrance" of the delay node 503 is the first input terminal.

[0101] By setting special input / output ports for the execution flow, only the output flow can be connected when the type is consistent with the input port, thus avoiding logical errors and flow confusion.

[0102] In practical applications, the flow types transmitted between task nodes may also include data streams, which are transmitted by input terminals and output terminals specifically used for transmitting data streams, so as to avoid confusion in the transmission of data streams. Figure 5 As shown in the figure, the lines between different nodes represent the flow, and the flow represented by the dotted line is the data flow. Figure 5 Taking the traversed hit data node 502 and the damaged target node 505 as an example, the "hit data" in the traversed hit data node 502 is the second output terminal for outputting the data stream, and the "hit data" in the damaged target node 505 is the second input terminal for inputting the data stream. The "hit data" of the traversed hit data node 502 is connected to the "hit data" of the damaged target node 505, thereby realizing the transmission of the data stream.

[0103] It should be noted that the second input terminal is relative to the second output terminal. For the traversed hit data node 502 and the damaged target node 505, the "hit data" of the traversed hit data node 502 is the second output terminal, and the "hit data" of the damaged target node 505 is the second input terminal. However, for the traversed hit data node 502 and the universal attack box node 501, the "all hit targets" of the traversed hit data node 502 is the second input terminal, and the "all hit targets" of the universal attack box node 501 is the second output terminal.

[0104] By setting input and output ports for nodes, different nodes can be connected to each other, so that related flows can be transmitted between different nodes. By setting special input / output ports for execution flows, only output flows can be connected when the type is consistent with that of the input port, avoiding logical errors and flow confusion. By setting special input / output ports for data flows, only output flows can be connected when the type is consistent with that of the input port, avoiding logical errors and flow confusion.

[0105] In some embodiments, execution flow and data flow can be performed between the event occurrence node and the task node. As an example, execution flow is performed between the first output terminal of the event occurrence node and the first input terminal of the task node; and data flow is performed between the second output terminal of the event occurrence node and the second input terminal of the task node.

[0106] By connecting the event occurrence nodes and task nodes in the node graph system and transmitting data flows and / or execution flows, related skills can be realized and triggered.

[0107] In some embodiments, execution flow and data flow can also be performed between different task nodes. As an example, the task node includes a first task node and a second task node, and the task node includes at least one input end and / or at least one output end; execution flow is performed between the first output end of the first task node and the first input end of the second task node; data flow is performed between the second output end of the first task node and the second input end of the second task node.

[0108] For example, Figure 5As shown, in the node graph system, the general attack box node 501 is an event occurrence node, the traversed hit data node 502 is a first task node, and the delay node 503 is a second task node. The "hit target" in the general attack box node 501 is a first output terminal for outputting the execution flow, and the "entrance" in the traversed hit data node 502 is a first input terminal for inputting the execution flow, and the two are connected to achieve the transmission of the execution flow from the event occurrence node to the first task node. The "process pin" of the traversed hit data node 502 is a first output terminal for outputting the execution flow, and the "entrance" of the delay node 503 is a first input terminal for inputting the execution flow, and the two are connected to achieve the transmission of the execution flow from the first task node to the second task node.

[0109] For example, Figure 5 As shown, in the node graph system, the general attack box node 501 is an event occurrence node, the traversed hit data node 502 is a first task node, and the damage target node 505 is a second task node. The "all hit targets" in the general attack box node 501 is a second output terminal for outputting data streams, and the "all hit targets" in the traversed hit data node 502 is a second input terminal for inputting data streams, and the two are connected to achieve the transmission of the data stream from the event occurrence node to the first task node. The "hit data" of the traversed hit data node 502 is a second output terminal for outputting data streams, and the "hit data" of the damage target node 505 is a second input terminal for inputting data streams, and the two are connected to achieve the transmission of the data stream from the first task node to the second task node.

[0110] By connecting the event occurrence node, the first task node and the second task node in the node graph system to transmit the data flow and / or execution flow, the specific values ​​of the relevant skills and the specific effects of the Buff can be realized and triggered.

[0111] In some embodiments, when the local client is used as the driver, after the main client driver node triggers a response, the performance can be performed first, thereby improving the performance speed of the effect. As an example, the task node includes: a driver node and an auxiliary node; when the game is running on the local client, when the driver node is triggered on the local client, if the auxiliary node connected to the driver node is a leading node, the auxiliary node is used to obtain and calculate the effect data of the game, and the driver node is used to drive the flow of the game to the server, so that the server distributes the synchronization verification result of the process to several clients including the local client; if the synchronization verification result is a successful verification, the non-leading node connected to the driver node is triggered to execute, and the effect data is displayed on the client; if the synchronization verification result is a failed verification, the execution of the auxiliary node in the client is revoked.

[0112] In practical applications, such as Figure 8 As shown in the figure, this figure shows the processing method under the condition of being driven by the main client. After the main client driving node triggers a response, the performance can be performed first. The relevant performance nodes decide whether to perform performance first according to the mark in the code. After that, the server performs authoritative verification. After the verification is successful, it is distributed to all players. After the local player receives the authoritative verification, it will process the non-preceding nodes. If the verification fails, the system's fallback mechanism will be triggered. It should be noted that only the auxiliary nodes in the above classification are performed first.

[0113] For example, after a grenade hits the ground, the explosion effect will be created locally first, that is, the explosion effect animation will be displayed first in the game, but the actual explosion damage needs to be verified by the server before the relevant logic processing. If the server verification is successful, the server will distribute the damage value to the local client. If the server verification fails, it will return a verification failure event. The local client's nodes (such as special effect creation) will roll back to the previous state, that is, the explosion effect of the grenade will be removed.

[0114] Of course, the logic of the preceding node can also be applied to the effect node. For example, if the effect node is a preceding node, the effect node is triggered and processed, that is, the system is called through the effect node to generate and display the corresponding game effect.

[0115] By providing a performance prediction and fallback mechanism centered on the local driver node, after the local processing of the relevant driver node is completed, the associated performance effect is immediately triggered to improve the performance and enhance the player's gaming experience.

[0116] In some embodiments, when the server is used as the driver, there is no performance priority, and the server processes and sends it to all clients to achieve unified regulation. As another example, the task node includes: a driver node; when the driver node is triggered during the game running on the server, it drives the flow of the game to several clients, so that the flow of the game in the several clients is synchronized with the server.

[0117] In practical applications, such as Fig. 9 As shown in the figure, this figure shows the processing method when the server is the driver. When the server is the driver, there is no precedence, and only the server processes and sends it to all clients.

[0118] For example, after a grenade hits the ground, it causes damage and creates special effects. After the server verifies and completes the relevant logical processing, it distributes the explosion effects and the actual explosion damage to all players, thereby displaying the explosion effects and the actual explosion damage on the local player's client.

[0119] Through the three-end synchronization structure with the driver and process nodes as the core, the execution flow and data flow of the driver and process nodes are synchronized to ensure the consistency of node flow and data at the three ends, to ensure that there are no logical errors or flow confusion, thereby avoiding affecting the player's gaming experience.

[0120] In some embodiments, the user can adjust the task configuration encapsulated in the task node and the connection relationship between the task nodes to improve the planning efficiency. As an example, the method can also include the following steps:

[0121] Step c), in response to the debugging operation on the task node, adjusting the game task encapsulated in the task node, and / or adjusting the logical relationship configuration between the task node and other nodes.

[0122] For example, Fig.10 as well as Fig.11 As shown, it shows two examples of graphical programming. It can be understood that this solution modularizes complex writing statements. Users can write programs and achieve corresponding skill effects by clicking on lines to connect different modules.

[0123] In actual applications, users can easily write skills, buff effects, etc. that are difficult to achieve under conventional frameworks, and adjust and test them in real time to see the effects. Moreover, this part of the work does not require the participation of programmers at all, which liberates the productivity of programmers and allows them to focus on providing nodes with specific needs. Users can merge related specific nodes and work in parallel, which improves work efficiency.

[0124] In some embodiments, the task node being processed can be highlighted to provide a prompt to the user. As an example, the method can also include the following steps:

[0125] Step d), in response to currently running to the task node, highlighting the task node in the graphical user interface.

[0126] For example, Fig.12 As shown, five nodes, including the Spit Skill (Monster Only) node, the Universal Attack Box node, the Get Releaser Coordinates node, the Calculate Relative Offset node, and the Create Scene Effects node, are being processed and are highlighted.

[0127] All nodes being processed can be highlighted, which is more intuitive. Users can intuitively see which specific step (specific node) of the relevant configuration has a problem, without having to stare at the configuration data and simply rely on their imagination to troubleshoot configuration problems. This also reduces the debugging burden to a certain extent.

[0128] In some embodiments, the processing data corresponding to the task node can be displayed at the corresponding position of the task node to facilitate user inspection. As an example, the method can also include the following steps:

[0129] Step e), in response to the current running to the task node, displaying the data being processed in the task node at the corresponding position of the task node in the graphical user interface.

[0130] For example, Fig.12 As shown, the corresponding processed data can be displayed above the corresponding node for user inspection. For example, the details of the creation location of the scene effect are displayed above the creation scene effect node, and the damage target ID and damage formula result are displayed above the damage target node. The framework supports visual flow display and debugging support. Users can right-click on any node and select the debug node, and then they can monitor all input and output information of the relevant nodes.

[0131] By generating corresponding unique IDs for different node graphs and nodes, and supporting visual flow display and debugging support, users can right-click on any node and select the debug node, and then they can monitor all input and output information of related nodes, which greatly speeds up the troubleshooting process and supports users to efficiently check and configure themselves.

[0132] Fig.13 A schematic diagram of the structure of a game logic processing device 1300 is provided. The device can be applied to an electronic device that can run a game program, and a graphical user interface is provided through the electronic device. The logical structure of the game is represented by a node graph system, and the node graph system includes event occurrence nodes and at least one task node of the game, and the graphical user interface includes at least part of the node graph system. Fig.13 As shown, the game logic processing device 1300 includes:

[0133] A first encapsulation module 1301 is used for, in response to a first editing operation on the event occurrence node, encapsulating the game event edited by the first editing operation into the event occurrence node;

[0134] A second encapsulation module 1302 is used for encapsulating the game task edited by the second editing operation into the task node in response to the second editing operation on the task node;

[0135] Configuration module 1303 is used to respond to a third editing operation on the logical relationship between the event occurrence node and the task node, and configure the logical relationship according to the flow relationship edited by the third editing operation; wherein the flow relationship includes execution flow and data flow; the logical relationship is used to trigger the execution of the game logic corresponding to the game task in the task node through the execution flow and / or the data flow when the game event in the event occurrence node occurs.

[0136] In some embodiments, the at least one task node includes any one or more of the following:

[0137] Auxiliary nodes, driver nodes, process nodes, and effect nodes;

[0138] Among them, the auxiliary node is used to obtain and calculate the effect data of the game; the driving node is used to drive the process flow of the game; the process node is used to control the process of the game; and the effect node is used to generate game effects by calling the system.

[0139] In some embodiments, the second packaging module is specifically used for:

[0140] In response to a second editing operation on the task node, determining a game task edited by the second editing operation; wherein the game task is any one of acquiring and calculating effect data of the game, driving the flow of the game process, controlling the flow of the game, and generating a game effect by calling a system;

[0141] The game task is encapsulated into the task node.

[0142] In some embodiments, each of the nodes comprises at least one input terminal and / or at least one output terminal;

[0143] The first input terminal and the first output terminal of the node correspond to each other and are used to perform the execution flow;

[0144] The second input terminal and the second output terminal of the node correspond to each other and are used for performing the data flow.

[0145] In some embodiments, the execution flow is performed between the first output terminal of the event occurrence node and the first input terminal of the task node; and the data flow is performed between the second output terminal of the event occurrence node and the second input terminal of the task node.

[0146] In some embodiments, the task node includes a first task node and a second task node, and the task node includes at least one input terminal and / or at least one output terminal;

[0147] The execution flow is performed between the first output end of the first task node and the first input end of the second task node; the data flow is performed between the second output end of the first task node and the second input end of the second task node.

[0148] In some embodiments, the task node includes: a driving node and an auxiliary node; when the game is running on a local client, when the driving node is triggered on the local client, if the auxiliary node connected to the driving node is a preceding node, the auxiliary node is used to obtain and calculate the effect data of the game, and the driving node is used to drive the process flow of the game to the server, so that the server distributes the synchronization verification result of the process to several clients including the local client; if the synchronization verification result is a successful verification, the non-preceding node connected to the driving node is triggered to execute, and the effect data is displayed on the client; if the synchronization verification result is a failed verification, the execution of the auxiliary node in the client is revoked.

[0149] In some embodiments, the task node includes: a driving node; the driving node is used to drive the flow of the game to several clients when it is triggered during the game running on the server, so that the flow of the game in the several clients is synchronized with the server.

[0150] In some embodiments, the apparatus further comprises:

[0151] The adjustment module is used to adjust the game task encapsulated in the task node in response to the debugging operation on the task node, and / or adjust the logical relationship configuration between the task node and other nodes.

[0152] In some embodiments, the apparatus further comprises:

[0153] The first display module is used for highlighting the task node in the graphical user interface in response to currently running to the task node.

[0154] In some embodiments, the apparatus further comprises:

[0155] The second display module is used for displaying the data being processed in the task node at a corresponding position of the task node in the graphical user interface in response to the current execution reaching the task node.

[0156] The game logic processing device provided in the embodiment of the present application has the same technical features as the game logic processing method provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.

[0157] Corresponding to the above-mentioned game logic processing method, an embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the steps of the above-mentioned game logic processing method.

[0158] The game logic processing device provided in the embodiment of the present application can be specific hardware on the device or software or firmware installed on the device. The device provided in the embodiment of the present application, its implementation principle and the technical effect produced are the same as those in the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the device embodiment can refer to the corresponding contents in the aforementioned method embodiment. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.

[0159] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0160] For another example, the flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0161] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0162] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0163] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the game logic processing method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0164] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0165] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solution of the present application, rather than to limit it. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solution recorded in the aforementioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiment of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A game logic processing method, characterized in that: A graphical user interface is provided via an electronic device, wherein the logical structure of the game is represented by a node graph system, wherein the node graph system includes event occurrence nodes and at least one task node of the game, and the graphical user interface includes at least a portion of the node graph system; the method comprising: In response to a first editing operation on the event occurrence node, encapsulating the game event edited by the first editing operation into the event occurrence node; In response to a second editing operation on the task node, encapsulating the game task edited by the second editing operation into the task node; In response to a third editing operation on the logical relationship between the event occurrence node and the task node, configuring the logical relationship according to the flow relationship edited by the third editing operation; wherein the flow relationship includes execution flow and data flow; the logical relationship is used to trigger the execution of the game logic corresponding to the game task in the task node through the execution flow and / or the data flow when the game event in the event occurrence node occurs; The task node includes: a driving node and an auxiliary node; when the game is running on the local client, when the driving node is triggered on the local client, if the auxiliary node connected to the driving node is a preceding node, the auxiliary node is used to obtain and calculate the effect data of the game, and the driving node is used to drive the process flow of the game to the server, so that the server distributes the synchronization verification result of the process to several clients including the local client; if the synchronization verification result is a successful verification, the non-predecessor node connected to the driving node is triggered to execute, and the effect data is displayed on the client; if the synchronization verification result is a failed verification, the execution of the auxiliary node in the client is revoked.

2. The method according to claim 1, characterized in that The at least one task node includes any one or more of the following: Auxiliary nodes, driver nodes, process nodes, and effect nodes; Among them, the auxiliary node is used to obtain and calculate the effect data of the game; the driving node is used to drive the process flow of the game; the process node is used to control the process of the game; and the effect node is used to generate game effects by calling the system.

3. The method according to claim 2, characterized in that The step of encapsulating the game task edited by the second editing operation into the task node in response to the second editing operation on the task node includes: In response to a second editing operation on the task node, determining a game task edited by the second editing operation; wherein the game task is any one of acquiring and calculating effect data of the game, driving the flow of the game process, controlling the flow of the game, and generating a game effect by calling a system; Encapsulate the game task into the task node.

4. The method according to claim 1, wherein Each of the nodes comprises at least one input terminal and / or at least one output terminal; The first input terminal and the first output terminal of the node correspond to each other and are used to perform the execution flow; The second input end and the second output end of the node correspond to each other and are used for performing the data flow.

5. The method according to claim 4, characterized in that The execution flow is performed between the first output end of the event occurrence node and the first input end of the task node; the data flow is performed between the second output end of the event occurrence node and the second input end of the task node.

6. The method according to claim 1, wherein The task nodes include a first task node and a second task node, and the task nodes include at least one input end and / or at least one output end; The execution flow is performed between the first output end of the first task node and the first input end of the second task node; The data flow is performed between the second output end of the first task node and the second input end of the second task node.

7. The method according to claim 1, characterized in that The task node includes: a driving node; when the driving node is triggered during the game running on the server, it drives the game process to flow to several clients, so that the game process in the several clients is synchronized with the server.

8. The method according to claim 1, characterized in that The method further comprises: In response to the debugging operation on the task node, the game task encapsulated in the task node is adjusted, and / or the logical relationship configuration between the task node and other nodes is adjusted.

9. The method according to claim 1, characterized in that The method further comprises: In response to currently running to the task node, the task node is highlighted in the graphical user interface.

10. The method according to claim 1, characterized in that The method further comprises: In response to currently running to the task node, the data being processed in the task node is displayed at a corresponding position of the task node in the graphical user interface.

11. A game logic processing device, characterized in that: A graphical user interface is provided by an electronic device, wherein the logical structure of the game is represented by a node graph system, wherein the node graph system includes event occurrence nodes and at least one task node of the game, and the graphical user interface includes at least a portion of the node graph system; the apparatus comprises: A first encapsulation module is configured to, in response to a first editing operation on the event occurrence node, encapsulate the game event edited by the first editing operation into the event occurrence node; A second encapsulation module is configured to encapsulate the game task edited by the second editing operation into the task node in response to the second editing operation on the task node; a configuration module for, in response to a third editing operation on the logical relationship between the event occurrence node and the task node, configuring the logical relationship according to the flow relationship edited by the third editing operation; wherein the flow relationship includes execution flow and data flow; and the logical relationship is used to trigger the execution of the game logic corresponding to the game task in the task node through the execution flow and / or the data flow when the game event in the event occurrence node occurs; The task node includes: a driving node and an auxiliary node; when the game is running on the local client, when the driving node is triggered on the local client, if the auxiliary node connected to the driving node is a preceding node, the auxiliary node is used to obtain and calculate the effect data of the game, and the driving node is used to drive the process flow of the game to the server, so that the server distributes the synchronization verification result of the process to several clients including the local client; if the synchronization verification result is a successful verification, the non-predecessor node connected to the driving node is triggered to execute, and the effect data is displayed on the client; if the synchronization verification result is a failed verification, the execution of the auxiliary node in the client is revoked.

12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method according to any one of claims 1 to 10.