Method, system, apparatus and medium for game expression formula processing

By creating parameter layers and calculation layers in the game's numerical design, forming tree structure branches and connecting logical operations, the problem of difficulty in tracing and displaying the source of game numerical formulas is solved, improving design efficiency and fault tolerance.

CN114404990BActive Publication Date: 2025-12-23HANGZHOU LIGHTNING PLAY NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111522559.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2025-12-23
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

The difficulty in tracing and displaying the source of game numerical formulas in existing technologies leads to low efficiency in game numerical design.

Method used

By creating a parameter layer and a calculation layer, the parameter layer is stored in the formula calculation carrier within the calculation layer, forming a tree structure branch of the game's numerical formula. Different tree structure branches are connected through tree structure branch nodes to realize logical operations between formula calculation carriers and display the corresponding data information in real time.

Benefits of technology

It enables rapid traceability and display of game numerical formulas, improving the efficiency and error tolerance of game numerical design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114404990B_ABST
    Figure CN114404990B_ABST
Patent Text Reader

Abstract

The application relates to a game expression formula processing method, system, device and medium, wherein the method comprises the following steps: creating a parameter layer and a calculation layer, storing the parameter layer in a formula operation carrier in the calculation layer, completing logical operation in the formula operation carrier, forming a structure tree branch of a game numerical formula, connecting different structure tree branches through structure tree branch nodes, completing logical operation between formula operation carriers in different structure tree branches, forming a structure tree of the game numerical formula, and performing interactive query on the formula operation carrier or the structure tree branch node, and real-time display of data information corresponding to the game numerical formula is realized. Through the application, the problem of difficult traceability display of a game numerical formula in related technologies is solved, quick traceability display of a game formula in a game numerical design scheme is realized, and the efficiency and fault tolerance of game numerical design are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of game value design, and in particular, to a game expression formula processing method, system, device and medium. BACKGROUND

[0002] At present, the tools mainly used by the game industry in designing numerical parameters such as prop attributes, character attributes and environmental variables in games are Excel components of Office, an office software. Excel is a powerful electronic data table program and is widely used in numerical calculation, data statistics and visualization chart making and other aspects.

[0003] In actual application scenarios, for some games with small parameter quantity and low numerical processing requirements, Excel can meet their requirements. However, for some games with large numerical quantity and complex numerical processing, Excel will face many problems in processing, because all calculations in Excel are realized by referencing cell positions, and it is relatively cumbersome and inconvenient to adjust and move a large range after the numerical table structure is written. In addition, when using Excel to express game numerical formulas, at most, only the information of the cell positions referenced by the formula can be displayed, and in game numerical design, the design of numerical formulas is often nested, so the more complex the formula content is, the more difficult it is to confirm the source of the formula content.

[0004] At present, there is no effective solution to the problem of difficult traceability display of game numerical formulas in the related art. SUMMARY

[0005] The embodiments of the present application provide a game expression formula processing method, system, device and medium to at least solve the problem of difficult traceability display of game numerical formulas in the related art.

[0006] In a first aspect, the embodiments of the present application provide a game expression formula processing method, which comprises:

[0007] creating a parameter layer and a calculation layer, storing the parameter layer in a formula operation carrier in the calculation layer, completing logical operation in the formula operation carrier, and forming a structure tree branch of a game numerical formula;

[0008] connecting different structure tree branches through structure tree branch nodes, completing logical operation between formula operation carriers in different structure tree branches, and forming a structure tree of a game numerical formula;

[0009] interactively querying the formula operation carrier or the structure tree branch node, and displaying data information of the corresponding game numerical formula in real time.

[0010] In some embodiments, the parameter layer is stored in a formula operation carrier in the calculation layer, and completing the logical operation in the formula operation carrier includes:

[0011] In the calculation layer, the parameter layer is stored in a calculation body, a mathematical operator and a new parameter layer are added to the calculation body, and a mathematical operation between the parameter layers in the calculation body is completed.

[0012] In the calculation layer, the parameter layer is stored in a function body, the operation logic inside the parameter layer is customized, and the logical operation inside the parameter layer in the function body is completed.

[0013] In some embodiments, the method further includes:

[0014] After completing the logical operation in the formula operation carrier to form a structure tree branch of the game value formula, the calculation layer is associated with the formula operation carrier, that is, the value of the calculation layer is equal to the logical operation result of the structure tree branch.

[0015] Or after completing the logical operation between the formula operation carriers in different structure tree branches to form a structure tree of the game value formula, the calculation layer is associated with the structure tree branch node, that is, the value of the calculation layer is equal to the logical operation result of the structure tree.

[0016] In some embodiments, after the calculation layer is associated with the formula operation carrier, or after the calculation layer is associated with the structure tree branch node, the method further includes:

[0017] The calculation layer is stored in a calculation body, a new calculation layer and / or a parameter layer are added to the calculation body through a mathematical operator, and a mathematical operation between the calculation layer and the new calculation layer and / or the parameter layer in the calculation body is completed.

[0018] In some embodiments, the formula operation carrier or the structure tree branch node is interactively queried, and data information of the corresponding game value formula is displayed in real time, including:

[0019] The formula operation carrier or the structure tree branch node is interactively queried by pointing the mouse, and the parameter value, parameter name and operation logic of the corresponding game value formula are displayed in real time.

[0020] In a second aspect, the embodiments of the present application provide a system for processing a game expression formula, which includes a formula processing module and a formula query module.

[0021] The formula processing module creates a parameter layer and a calculation layer, stores the parameter layer in a formula operation carrier in the calculation layer, completes logical operation in the formula operation carrier, and forms a structure tree branch of a game numerical formula;

[0022] The formula processing module connects different structure tree branches through structure tree branch nodes, completes logical operation between formula operation carriers in different structure tree branches, and forms a structure tree of a game numerical formula.

[0023] The formula query module performs interactive query on the formula operation carrier or the structure tree branch node, and displays data information of a corresponding game numerical formula in real time.

[0024] In some embodiments, the formula processing module stores the parameter layer in a formula operation carrier in the calculation layer, and completes logical operation in the formula operation carrier includes:

[0025] The formula processing module stores the parameter layer in a calculation body in the calculation layer, adds a mathematical operator and a new parameter layer to the calculation body, and completes mathematical operation between parameter layers in the calculation body.

[0026] The formula processing module stores the parameter layer in a function body in the calculation layer, customizes operation logic inside the parameter layer, and completes logical operation inside the parameter layer in the function body.

[0027] In some embodiments, the system further includes:

[0028] After completing logical operation in the formula operation carrier and forming a structure tree branch of a game numerical formula, the formula processing module associates the calculation layer with the formula operation carrier, that is, a numerical value of the calculation layer is equal to a logical operation result of the structure tree branch.

[0029] Or after completing logical operation between formula operation carriers in different structure tree branches and forming a structure tree of a game numerical formula, the formula processing module associates the calculation layer with the structure tree branch node, that is, a numerical value of the calculation layer is equal to a logical operation result of the structure tree.

[0030] In a third aspect, the embodiments of the present application provide an electronic device including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the game expression formula processing method of the first aspect.

[0031] In a fourth aspect, the embodiments of the present application provide a storage medium, characterized in that the storage medium stores a computer program, wherein the computer program is configured to execute the game expression formula processing method of the first aspect when running.

[0032] Compared with the related art, the game expression formula processing method, system, device and medium provided by the embodiments of the present application can create a parameter layer and a calculation layer, store the parameter layer in a formula operation carrier in the calculation layer, complete logical operation in the formula operation carrier, form a structure tree branch of a game numerical formula, connect different structure tree branches through structure tree branch nodes, complete logical operation between formula operation carriers in different structure tree branches, form a structure tree of the game numerical formula, and perform interactive query on the formula operation carrier or the structure tree branch node to display data information of the corresponding game numerical formula in real time, thereby solving the problem of difficult traceability display of the game numerical formula in the related art, realizing quick traceability display of the game formula in the game numerical design scheme, and improving the efficiency and fault tolerance of the game numerical design. BRIEF DESCRIPTION OF DRAWINGS

[0033] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of the present application and illustrate the illustrative embodiments of the present application and their description serve to explain the present application, but do not constitute improper limitations on the present application. In the drawings:

[0034] Figure 1 is a step flowchart of the game expression formula processing method according to the embodiments of the present application;

[0035] Figure 2 is a schematic diagram of the parameter layer implementing mathematical operation in the calculation body;

[0036] Figure 3 is a schematic diagram of connection to form a structure tree of a game numerical formula;

[0037] Figure 4 is a schematic diagram of interactive display of corresponding formula information on the structure tree;

[0038] Figure 5 is a schematic diagram of the parameter layer and the calculation layer implementing logical operation in the calculation body;

[0039] Figure 6 is a structure block diagram of the game expression formula processing system according to the embodiments of the present application;

[0040] Figure 7 is a schematic diagram of the internal structure of the electronic device according to the embodiments of the present application.

[0041] BRIEF DESCRIPTION OF DRAWINGS: 61, formula processing module; 62, formula query module. DETAILED DESCRIPTION

[0042] In order to make the purposes, technical solutions, and advantages of the present application clearer, the present application is described and explained below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application. Based on the embodiments provided by the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort belong to the scope of the present application.

[0043] It is obvious that the accompanying drawings in the following description are only some examples or embodiments of the present application, and for those of ordinary skill in the art, the present application can be applied to other similar scenarios without creative effort based on the accompanying drawings. In addition, it can be understood that although the efforts made in the development process can be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present application, some designs, manufacturing or production changes based on the technical content disclosed in the present application are only routine technical means and should not be understood as insufficient disclosure of the content disclosed in the present application.

[0044] In the present application, "embodiments" means that the specific features, structures or properties described in conjunction with the embodiments can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive or alternative embodiments to other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in the present application can be combined with other embodiments without conflict.

[0045] Unless otherwise defined, technical terms and scientific terms used in the present application shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terms "a", "an", "one", "this", and similar referents in the context of describing the application are to be construed to be inclusive, not exclusive. The terms "including", "containing", "having", and "comprising" and variations thereof in the present application are meant to encompass the items listed thereafter, and equivalents thereof, as well as additional items. The terms "connected", "coupled", and "pathway" are not restricted to direct or physical connections, but can include indirect connections, unless otherwise explicitly stated. The term "plurality" means two or more. The term "and / or" describes association between or among multiple components or steps, that is, it means either one or more steps, components, or a combination thereof. The term "first", "second", "third", and the like, merely denote different instances of a similar object without necessarily requiring a specific order thereof.

[0046] The embodiments of the present application provide a game expression formula processing method, Figure 1 is a step flow chart of the game expression formula processing method according to the embodiments of the present application, as shown in Figure 1 The method comprises the following steps:

[0047] In step S102, a parameter layer and a calculation layer are created, the parameter layer is stored in a formula operation carrier in the calculation layer, a logical operation in the formula operation carrier is completed, and a structure tree branch of a game value formula is formed.

[0048] Specifically, the parameter layer represents the most core value in game value design, is the most initial setting value in the game, and is denoted by an English letter "Va", such as "attack = 10", that is, the format of name = value. In addition, the parameter layer can also be used to edit the operation logic in the parameter layer.

[0049] The calculation layer represents the formula nesting relationship in game value design, and is denoted by the English word "Lf". Assuming that a formula is "A-B=C", it can be determined that the operation relationship between A and B, but A can be another formula or an unknown variable, such as "A=D+F+G". In game value design, there are many similar nested relationships, such as the final attack of a character, which is actually composed of multiple systems, such as the attack of the equipment system, the attack of the gem system, and the attack of the enhancement system. Among them, the attack of the equipment system is composed of other subsystems, so the game value design scheme is ultimately the result of multi-layer nested operation of data.

[0050] The formula operation carrier includes a calculation body and a function body. The calculation body represents the carrier for mathematical operation in game value design. The parameter layer and the calculation layer do not have operation function by themselves, and need to be stored in the operation body. By default, if there is only one parameter layer in the calculation body, the value of the parameter layer will be directly output, such as storing a parameter layer "attack=10" in the calculation body. When there is no other operation, the operation result of the calculation body is 10. The function body represents the carrier for custom editing in game value design. The parameter layer does not have the function of editing operation logic by itself. When the parameter layer is stored in the function body, the internal editing mode can be opened, and the relevant code can be input to customize the internal operation logic.

[0051] In the calculation layer, the parameter layer is stored in the calculation body, the mathematical operator and the new parameter layer are added to the calculation body, and the mathematical operation between the parameter layers in the calculation body is completed. Figure 2 Figure 2 As shown in FIG. 10, jump to the internal operation area of the calculation layer. In the internal operation area of the calculation layer, store the parameter layer "attack=10" in the calculation body, then add the mathematical operator to the right side of the parameter layer in the calculation body, and then add the new parameter layer "attack=10". The mathematical operation between the parameter layers in the calculation body can be completed, the value of the calculation body after the mathematical operation is obtained, and multiple parameter layers and mathematical operators can be added horizontally in one calculation body.

[0052] In the calculation layer, the parameter layer is stored in the function body, the operation logic inside the parameter layer is customized, and the logical operation inside the parameter layer in the function body is completed.

[0053] In step S104, different structure tree branches are connected through the structure tree branch nodes, the logical operation between the formula operation carriers in different structure tree branches is completed, and the structure tree of game value formula is formed.

[0054] ​Specifically, the structural tree branch node includes a symbol calculation body and a function calculation body, the symbol calculation body mainly represents mathematical operators such as "+", "-", "*", " / ", and the like, and the function calculation body mainly represents logical operators such as "select" and the like. Figure 3 is a schematic diagram of connecting to form a game value formula structural tree, as shown in Figure 3 The structural tree branch 1 (the calculation body 1) is connected to the structural tree branch 2 (the calculation body 2) through the structural tree branch node 1 (+), the logical operation between the structural tree branches is completed, the most basic structural tree of the game value formula is obtained, the structural tree can be used as the structural tree branch 3, and the structural tree branch 4 is connected through the structural tree branch node 2 (-), to obtain a new structural tree of the game value formula.

[0055] In step S106, the formula operation carrier or the structural tree branch node is interactively queried, and data information of the corresponding game value formula is displayed in real time.

[0056] Specifically, Figure 4 is a schematic diagram of interactively displaying corresponding formula information of the structural tree, as shown in Figure 4 The formula operation carrier or the structural tree branch node is interactively queried by pointing the mouse, and the parameter value, the parameter name, and the operation logic of the corresponding game value formula are displayed in real time.

[0057] Through steps S102 to S106 in the embodiment of the application, the problem of difficult traceability display of the game value formula in the related art is solved, the rapid traceability display of the game formula in the game value design scheme is realized, and the efficiency and the fault tolerance of the game value design are improved.

[0058] In some embodiments, after the logical operation in the formula operation carrier is completed, the structural tree branch of the game value formula is formed, the calculation layer is associated with the formula operation carrier, that is, the value of the calculation layer is equal to the logical operation result of the structural tree branch;

[0059] or after the logical operation between the formula operation carriers in different structural tree branches is completed, the structural tree of the game value formula is formed, the calculation layer is associated with the structural tree branch node, that is, the value of the calculation layer is equal to the logical operation result of the structural tree.

[0060] In some embodiments, after the calculation layer is associated with the formula operation carrier, or after the calculation layer is associated with the structural tree branch node, the method further includes:

[0061] The calculation layer is stored in the calculation body, the new calculation layer and / or the parameter layer are added to the calculation body through the mathematical operator, and the mathematical operation of the calculation layer in the calculation body and the new calculation layer and / or the parameter layer is completed.

[0062] Specifically, Figure 5 is a schematic diagram of the parameter layer and the calculation layer implementing logical operations in the calculation body, as Figure 5 As shown, the calculation layer, like the parameter layer, can be stored in the calculation body to implement mathematical operations between the parameter layer and / or other calculation layers through mathematical operators. For example, the calculation layer "equipment system attack" is stored in the calculation body, a mathematical operator is added to the right side of the parameter layer in the calculation body, a new parameter layer "attack = 10" is added, and a new calculation layer "gem system attack" is added. The mathematical operations between the calculation layers and the parameter layers and / or other calculation layers in the calculation body are completed, the numerical value of the calculation body after the mathematical operation is obtained, and multiple parameter layers and / or calculation layers can be added horizontally in a calculation body.

[0063] It should be noted that the steps shown in the above flow or the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.

[0064] The embodiment of the present application provides a game expression formula processing system, Figure 6 is a structural block diagram of the game expression formula processing system according to the embodiment of the present application, as Figure 6 shown, the system includes a formula processing module 61 and a formula query module 62;

[0065] The formula processing module 61 creates a parameter layer and a calculation layer, stores the parameter layer in the formula operation carrier in the calculation layer, completes the logical operation in the formula operation carrier, forms a structure tree branch of the game numerical value formula, and

[0066] The formula processing module 61 connects different structure tree branches through structure tree branch nodes, completes the logical operation between the formula operation carriers in different structure tree branches, and forms a structure tree of the game numerical value formula.

[0067] The formula query module 62 interacts with the formula operation carrier or the structure tree branch node, and displays the data information of the corresponding game numerical value formula in real time.

[0068] Through the formula processing module 61 and the formula query module 62 in the embodiment of the present application, the problem of difficult traceability display of the game numerical value formula in the related art is solved, the rapid traceability display of the game formula in the game numerical value design scheme is realized, and the efficiency and fault tolerance of the game numerical value design are improved.

[0069] In some embodiments, the formula processing module 61 stores the parameter layer in the formula operation carrier in the calculation layer, and completes the logical operation in the formula operation carrier includes:

[0070] The formula processing module 61 stores the parameter layer in the calculation body in the calculation layer, adds the mathematical operator and the new parameter layer to the calculation body, and completes the mathematical operation between the parameter layers in the calculation body.

[0071] The formula processing module 61 stores the parameter layer in the function body in the calculation layer, defines the operation logic inside the parameter layer, and completes the logical operation inside the parameter layer in the function body.

[0072] In some embodiments, after completing the logical operation inside the formula operation carrier to form the structure tree branch of the game numerical formula, the formula processing module 61 associates the calculation layer with the formula operation carrier, that is, the numerical value of the calculation layer is equal to the logical operation result of the structure tree branch.

[0073] Or after completing the logical operation between the formula operation carriers in different structure tree branches to form the structure tree of the game numerical formula, the formula processing module 61 associates the calculation layer with the structure tree branch node, that is, the numerical value of the calculation layer is equal to the logical operation result of the structure tree.

[0074] In some embodiments, after the formula processing module 61 associates the calculation layer with the formula operation carrier, or after the formula processing module 61 associates the calculation layer with the structure tree branch node, the system further includes:

[0075] The formula processing module 61 stores the calculation layer in the calculation body, adds the new calculation layer and / or parameter layer to the calculation body through the mathematical operator, and completes the mathematical operation between the calculation layer and the new calculation layer and / or parameter layer in the calculation body.

[0076] In some embodiments, the formula query module 62 interacts with the formula operation carrier or the structure tree branch node to query in real time, and displays the data information of the corresponding game numerical formula, including:

[0077] The formula query module 62 interacts with the formula operation carrier or the structure tree branch node by pointing the mouse to query in real time, and displays the parameter value, parameter name and operation logic of the corresponding game numerical formula.

[0078] It should be noted that the above various modules can be functional modules or program modules, which can be implemented by software or hardware. For the modules implemented by hardware, the above various modules can be located in the same processor; or the above various modules can also be located in different processors in any combination.

[0079] The embodiment also provides an electronic device including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the method embodiments.

[0080] Optionally, the electronic device described above can further include a transmission device connected with the processor, and an input and output device connected with the processor.

[0081] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation manners, and this embodiment will not be described here.

[0082] In addition, in combination with the game expression formula processing method in the above embodiments, the application embodiment can provide a storage medium for implementation. The storage medium has a computer program stored thereon; the computer program is executed by a processor to implement any one of the game expression formula processing methods in the above embodiments.

[0083] In one embodiment, a computer device is provided, which can be a terminal. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a game expression formula processing method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.

[0084] In one embodiment, Figure 7 is a schematic diagram of the internal structure of an electronic device according to an embodiment of the application, as Figure 7 shown, an electronic device is provided, which can be a server, and the internal structure diagram of the electronic device can be as Figure 7 shown. The electronic device includes a processor, a network interface, an internal memory and a non-volatile memory connected through an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is configured to provide computing and control capabilities, the network interface is configured to communicate with an external terminal through a network connection, the internal memory is configured to provide an environment for the operating system and the computer program to run, the computer program is executed by the processor to implement a game expression formula processing method, and the database is configured to store data.

[0085] Those skilled in the art can understand that, Figure 7The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0086] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments of each method. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0087] Those skilled in the art should understand that each technical feature of the above-mentioned embodiments can be combined arbitrarily, and in order to make the description simple, each technical feature of the above-mentioned embodiments is not described all possible combinations, however, as long as the combination of these technical features does not exist contradictory, it should be considered as the scope of the present application.

[0088] The above-mentioned embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be noted that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of the present application. Therefore, the scope of the patent of the present application should be subject to the appended claims.

Claims

1. A method of processing a game expression formula, characterized by, The method comprises: creating a parameter layer and a calculation layer, storing the parameter layer in a formula operation carrier in the calculation layer, completing logical operation in the formula operation carrier, and forming a structure tree branch of a game numerical formula; connecting different structure tree branches through a structure tree branch node, completing logical operation between formula operation carriers in different structure tree branches, and forming a structure tree of a game numerical formula; storing the calculation layer in a calculation body, adding a new calculation layer and / or parameter layer to the calculation body through a mathematical operator, and completing mathematical operation between the calculation layer and the new calculation layer and / or parameter layer in the calculation body; interactively querying the formula operation carrier or the structure tree branch node through a mouse, and displaying parameter values, parameter names, and operation logic of a corresponding game numerical formula in real time.

2. The method of claim 1, wherein, storing the parameter layer in a calculation body in the calculation layer, adding a mathematical operator and a new parameter layer to the calculation body, and completing mathematical operation between parameter layers in the calculation body; storing the parameter layer in a function body in the calculation layer, customizing operation logic inside the parameter layer, and completing logical operation inside the parameter layer in the function body. The system comprises a formula processing module and a formula query module; 3. A system for processing game expression formulae, characterized by the formula processing module creates a parameter layer and a calculation layer, stores the parameter layer in a formula operation carrier in the calculation layer, completes logical operation in the formula operation carrier, and forms a structure tree branch of a game numerical formula; the formula processing module associates the calculation layer with the formula operation carrier, and the value of the calculation layer is equal to the logical operation result of the structure tree branch; the formula processing module connects different structure tree branches through a structure tree branch node, completes logical operation between formula operation carriers in different structure tree branches, and forms a structure tree of a game numerical formula; the formula processing module associates the calculation layer with the structure tree branch node, and the value of the calculation layer is equal to the logical operation result of the structure tree; storing the calculation layer in a calculation body, adding a new calculation layer and / or parameter layer to the calculation body through a mathematical operator, and completing mathematical operation between the calculation layer and the new calculation layer and / or parameter layer in the calculation body; the formula query module interactively queries the formula operation carrier or the structure tree branch node through a mouse, and displays parameter values, parameter names, and operation logic of a corresponding game numerical formula in real time. the formula processing module stores the parameter layer in a formula operation carrier in the calculation layer, and completes logical operation in the formula operation carrier, which comprises:

4. The system of claim 3, wherein, ​ The formula processing module stores the parameter layer in a calculation body in the calculation layer, adds a mathematical operator and a new parameter layer to the calculation body, and completes mathematical operations between parameter layers in the calculation body; The formula processing module stores the parameter layer in a function body in the calculation layer, customizes operation logic inside the parameter layer, and completes logical operations inside the parameter layer in the function body. 5.An electronic device comprising a memory and a processor, the electronic device comprising: The memory stores a computer program, and the processor is configured to run the computer program to execute the game expression formula processing method in any one of claims 1 to 2.

6. A storage medium, characterized by The storage medium stores a computer program, and the computer program is configured to execute the game expression formula processing method in any one of claims 1 to 2 when running.

Citation Information

Patent Citations

  • Game automation test method and related apparatus

    CN106095666A

  • Game user data storage method and system

    CN107066552A

  • Method for generating and displaying multi-system method calling link diagram

    CN110717032A