CN114225384A - Communication method, system, equipment and storage medium based on combinable GM instruction - Google Patents

Communication method, system, equipment and storage medium based on combinable GM instruction Download PDF

Info

Publication number
CN114225384A
CN114225384A CN202111473343.6A CN202111473343A CN114225384A CN 114225384 A CN114225384 A CN 114225384A CN 202111473343 A CN202111473343 A CN 202111473343A CN 114225384 A CN114225384 A CN 114225384A
Authority
CN
China
Prior art keywords
instruction
function
command
platform
atomization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111473343.6A
Other languages
Chinese (zh)
Other versions
CN114225384B (en
Inventor
刘舟
杨帆
谢洁敦
谢林廷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Sanqi Jichuang Network Technology Co ltd
Original Assignee
Guangzhou Sanqi Jichuang Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Sanqi Jichuang Network Technology Co ltd filed Critical Guangzhou Sanqi Jichuang Network Technology Co ltd
Priority to CN202111473343.6A priority Critical patent/CN114225384B/en
Publication of CN114225384A publication Critical patent/CN114225384A/en
Application granted granted Critical
Publication of CN114225384B publication Critical patent/CN114225384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application relates to the field of communications technologies, and in particular, to a method, a system, a device, and a storage medium for communications based on a combinable GM command. The method comprises the following steps: registering the self atomization GM instruction support capacity on a GM platform; and acquiring a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combining the atomized GM command according to the function script to realize the function command. The method and the system solve the technical problems that the GM platform cannot effectively know GM instruction information provided by different game clothes, and the subsequent debugging work is caused by failure possibly caused by initiating invalid calling in the calling process.

Description

Communication method, system, equipment and storage medium based on combinable GM instruction
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, a system, a device, and a storage medium for communications based on a combinable GM command.
Background
The GM platform, i.e., the game master platform, is used to manage the game suits. In the traditional relation between the GM platform and the game suit, a specific role generally initiates a demand (operation, test and the like), the specific role needs to inform a game suit developer and a GM platform developer of the demand, the GM platform developer is informed of joint debugging after the development of the game suit developer is finished, and the game suit developer is delivered to a demand initiator after the joint debugging is finished.
In the process, the game suit may provide different GM instruction support due to different environments, for example, the test suit may have an A instruction, and the formal suit may not have. The GM platform cannot effectively know GM instruction information that can be provided by different gaming suits, and may fail in initiating an invalid call during a call process, resulting in subsequent troubleshooting.
Disclosure of Invention
Therefore, embodiments of the present application provide a communication method, a communication system, a communication device, and a storage medium based on a combinable GM instruction, which can solve the technical problems that a GM platform cannot effectively know GM instruction information provided by different game suits, and a subsequent debugging work may be caused by a failure in initiating an invalid call during a call process, and the specific technical solution content is as follows:
in a first aspect, an embodiment of the present application provides a communication method based on a combinable GM command, where the method includes:
registering the self atomization GM instruction support capacity on a GM platform;
and acquiring a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combining the atomized GM command according to the function script to realize the function command.
By adopting the technical scheme, the game node encapsulates the self GM instruction to form the minimum unit instruction, reports the support capability of the atomized GM instruction to the GM platform, receives the function script which is sent by the GM platform and is suitable for the configuration of the equipment of the game node, and changes the original process that the GM platform is connected with the game node interface into the process that the game node actively reports the support capability of the atomized GM instruction, so that the problem that the GM platform cannot effectively know the GM instruction information which can be provided by different game nodes, and the problem that the subsequent debugging work is caused by failure due to the fact that invalid calling is possibly initiated in the process of calling the GM instruction is solved. The scheme promotes the effective communication between the game nodes and the GM platform, and reduces the situation that the game node information processing capacity is influenced due to the occupation of the memory of the game nodes caused by unnecessary debugging work.
Preferably, the registering of the self-atomization GM instruction support capability on the GM platform comprises the following steps:
and splitting the functional instruction of the compound operation supported by the self into an atomization GM instruction, and forming the atomization GM instruction supporting capability according to the atomization GM instruction.
Through the technical scheme, the game node divides the functional instruction of the compound operation into the atomic GM instruction, so that the GM instruction reuse rate is improved, and repeated development work caused by the compound GM instruction is reduced.
Preferably, the atomic GM instruction support capability for registering itself on the GM platform is: and registering the support capability of the atomized GM instruction in the SDK, and reporting the support capability of the atomized GM instruction to a GM platform by the SDK.
In a second aspect, an embodiment of the present application provides a communication method based on a combinable GM instruction, where the method includes:
receiving an atomization GM instruction support capability of a game node;
and forming a function script according to the function command and the support capability of the atomized GM command of the game node, and sending the function script to the game node.
By adopting the technical scheme, the original GM platform is changed into the game node interface for actively reporting the support capability of the atomic GM instruction by the game node, so that the problem that the GM platform cannot effectively know the GM instruction information provided by different game nodes and the subsequent debugging work is caused after the invalid call is failed in the process of calling the GM instruction of the game node is solved. The scheme promotes the effective communication between the GM platform and the game node, reduces the joint debugging work of the GM platform when generating a new functional instruction, and simplifies the processing logic required by the GM platform for generating the new functional instruction which can be executed by the game node.
Preferably, a plurality of function points are preset on the GM platform, the function points are combined to form a function instruction, and the support capability of the atomization GM instruction comprises the atomization GM instruction supported by the game node;
after receiving the supporting capability of the atomic GM instruction of the game node, the method further comprises the following steps: the atomic GM instructions in the atomic GM instruction support capability are associated with corresponding function points.
By adopting the technical scheme, the GM platform can manage the atomization GM instructions of different game nodes conveniently according to the function points.
Preferably, the forming a function script according to the function command and the supporting capability of the atomic GM command of the game node, and the sending the function script to the game node includes:
the GM platform acquires an atomization GM instruction associated with the function point in the atomization GM instruction support capacity of each game node according to the function point in the function instruction, forms a function script conforming to the configuration of each game node according to the acquired atomization GM instruction, and sends the function script to the corresponding game node.
By adopting the technical scheme, when the GM platform generates the function script according to the function command, the function points in the function command are split, so that the function scripts corresponding to the game nodes with different configurations can be directly generated according to the incidence relation between the function points and the atomic GM command, and the function script can be efficiently generated by the scheme.
Preferably, the sending the function script to the game node includes:
the GM platform sends the function script to the agent cluster, and the agent cluster forwards the function script to the corresponding game node; and the GM platform issues the service for supervising the game node to execute the function script and receiving the result returned by the game node to the agent cluster.
By adopting the technical scheme, the GM platform is connected with the game nodes through the agent cluster, and transmits part of functions of managing the game nodes to the agent cluster, so that the logic of managing the game nodes by the GM platform can be simplified, and the operation and maintenance are convenient.
In a third aspect, an embodiment of the present application provides a communication method based on a combinable GM command, where the method includes:
the game node registers the self-atomization GM instruction support capacity on the GM platform;
the GM platform receives the support capability of the atomization GM instruction of the game node, forms a function script according to the function instruction and the support capability of the atomization GM instruction of the game node, and sends the function script to the game node;
and the game node acquires a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combines the atomized GM command according to the function script to realize the function command.
By adopting the technical scheme, the GM function of the GM platform is regarded as an organized function, in the actual implementation process, the game node reports the support capability of the atomized GM instruction to the GM platform, the process of developing the function of the functional instruction by the GM platform is changed into a simple process of generating an atomized GM instruction description script, the GM platform can conveniently develop the functional script according to the functional instruction, the GM platform can also generate a corresponding functional script according to the configuration of the game node, and the debugging work caused by invalid call of the instruction is avoided. The function script is transmitted to the game nodes, the game nodes call the corresponding atomization GM instruction according to the function script to realize the complex function instruction, when the complex function is changed, a game clothes developer is not needed to realize the corresponding GM function aiming at different game nodes, the processing logic of the game nodes is simplified, the resource occupancy rate of the game nodes is reduced, and the game development and operation and maintenance are facilitated.
Preferably, a plurality of function points are preset in the GM platform, and the function points are combined to form a function instruction;
the method comprises the following steps that before the game node registers the self atomization GM instruction support capacity on a GM platform: the game node divides the functional instruction of the composite operation supported by the game node into an atomization GM instruction, and forms an atomization GM instruction supporting capacity according to the atomization GM instruction;
after receiving the supporting capability of the atomization GM instruction of the game node, the GM platform further comprises the following steps: the atomic GM instructions in the atomic GM instruction support capability are associated with corresponding function points.
By adopting the technical scheme, the GM platform associates the atomized GM instruction reported by the game node with the function point, when the GM platform generates the function script, the function description script corresponding to the configured game node can be generated according to the function point in the function instruction as the function script, and the atomized GM instruction packaged in the game node can be called and combined through the function script.
Preferably, the GM platform forms the function script according to the function command and the atomic GM command support capability of the game node, and sending the function script to the game node includes:
and the GM platform acquires an atomization GM instruction associated with the function point in the atomization GM instruction support capacity of each game node according to the function point in the function instruction, forms a function script according to the acquired atomization GM instruction, and sends the function script to the game node.
By adopting the technical scheme, the GM platform associates the atomic GM instruction reported by the game node with the function point, when the GM platform generates the function script, the function description script corresponding to the configured game node can be generated as the function script according to the function point in the function instruction, and the atomic GM instruction packaged in the game node can be called and combined through the function script, so that the development process of the complex function instruction is simplified into the process that the GM platform generates the function script and calls the corresponding function in the game node.
In a fourth aspect, embodiments of the present application provide a communications apparatus based on a combinable GM command, the apparatus including:
the instruction atomization module is used for registering the self atomization GM instruction support capability on the GM platform;
and the instruction combination module is used for acquiring the function script generated by the GM platform according to the function instruction and the support capability of the atomized GM instruction, and combining the atomized GM instruction according to the function script to realize the function instruction.
In a fifth aspect, embodiments of the present application provide a communications apparatus based on a combinable GM command, the apparatus including:
the receiving module is used for receiving the supporting capability of the atomization GM instruction of the game node;
and the function script generating module is used for forming a function script according to the function command and the support capability of the atomization GM command of the game node and sending the function script to the game node.
In a sixth aspect, an embodiment of the present application provides an apparatus, at least one memory, at least one processor, and a computer program stored in the memory and running on the processor, where the processor implements the steps of the combinable GM instruction-based communication method according to any one of the preceding claims when executing the computer program.
In a seventh aspect, an embodiment of the present application provides a system, including at least one memory, at least one processor, and a computer program stored in the memory and running on the processor, where the processor implements the steps of the combinable GM instruction-based communication method according to any one of the preceding claims when executing the computer program.
In an eighth aspect, an embodiment of the present application provides a storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the combinable GM instruction-based communication method according to any one of the preceding claims.
In summary, compared with the prior art, the beneficial effects brought by the technical scheme provided by the embodiment of the present application at least include:
1. the game node packages a self GM instruction to form a minimum unit instruction, reports the support capability of an atomization GM instruction to a GM platform, receives a function script which is sent by the GM platform and is suitable for the configuration of equipment of the game node, and changes the original process that the GM platform is connected with a game node interface into the process that the game node actively reports the support capability of the atomization GM instruction, so that the problem that the GM platform cannot effectively know GM instruction information provided by different game nodes and can possibly initiate invalid calling in the process of calling the GM instruction to cause failure and cause subsequent debugging work is solved. The scheme promotes the effective communication between the game node and the GM platform, and reduces the situation that the game node information processing capacity is influenced due to the occupation of the memory of the game node caused by unnecessary debugging work;
2. the original GM platform is changed into the game node interface to actively report the support capability of the atomized GM instruction by the game node, so that the problem that the GM platform cannot effectively know the GM instruction information provided by different game nodes and the subsequent debugging work is caused after the invalid call is failed in the process of calling the GM instruction of the game node is solved. The scheme promotes the effective communication between the GM platform and the game node, reduces the joint debugging work of the GM platform when generating a new functional instruction, and simplifies the processing logic required by the GM platform for generating the new functional instruction which can be executed by the game node;
3. the GM function of the GM platform is regarded as an organized function, in the actual implementation process, the game node reports the support capability of the atomized GM instruction to the GM platform, the process of developing the function of the functional instruction by the GM platform is changed into a simple process of generating an atomized GM instruction description script, the GM platform is convenient to develop the functional script according to the functional instruction, the GM platform can also generate a corresponding functional script according to the configuration of the game node, and the debugging work caused by invalid call of the instruction is avoided. The function script is transmitted to the game nodes, the game nodes call the corresponding atomization GM instruction according to the function script to realize the complex function instruction, when the complex function is changed, a game clothes developer is not needed to realize the corresponding GM function aiming at different game nodes, the processing logic of the game nodes is simplified, the resource occupancy rate of the game nodes is reduced, and the game development and operation and maintenance are facilitated.
Drawings
Fig. 1 is a flowchart illustrating a communication method based on a combinable GM command according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a communication method based on a combinable GM instruction according to another embodiment of the present disclosure.
Fig. 3 is a second flowchart illustrating a communication method based on a combinable GM instruction according to another embodiment of the present disclosure.
Fig. 4 is a third flowchart illustrating a communication method based on combinable GM commands according to another embodiment of the present disclosure.
Fig. 5 is a fourth flowchart illustrating a communication method based on a combinable GM instruction according to another embodiment of the present disclosure.
Fig. 6 is a fifth flowchart illustrating a communication method based on a combinable GM instruction according to another embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a communication device based on a combinable GM command according to an embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of a communication device based on a combinable GM command according to another embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of an apparatus provided in an embodiment of the present application.
Detailed Description
The present embodiment is only for explaining the present application, and it is not limited to the present application, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, the term "and/or" in the present application is only one kind of association relationship describing the associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the present application, the character "/" indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
Referring to fig. 1, in an embodiment of the present application, a communication method based on combinable GM commands is provided, which is applied to a game node, and the main steps of the method are described as follows:
s12: registering the self atomization GM instruction support capacity on a GM platform;
s13: and acquiring a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combining the atomized GM command according to the function script to realize the function command.
Specifically, the game node may be a single game suit or a game suit cluster formed by a plurality of game suits. If the game node is a game server cluster formed by a plurality of game servers, the plurality of game servers in the formed game server cluster have the same equipment configuration and support the same configuration of function commands.
In this embodiment, the game node is taken as a single game suit as an example.
In this embodiment, the atomized GM instruction support capability is formed according to the atomized GM instruction supported by the game node, specifically, the GM instruction may be formed according to a common function instruction configured by the game node during development, and the game node performs minimum unitization on the GM instruction supported by the game node to obtain the atomized GM instruction of this embodiment, so that the function instruction may be implemented by the atomized GM instruction of the current game node. The functional instruction is an instruction formed according to the requirement of a specific character person, and is realized in the game suit by a GM instruction.
The game node reports the support capability of the self-atomization GM instruction so that the GM platform knows the atomization GM instruction currently supported by the game node. The game node receives a function script combination (GM) instruction generated by the GM platform according to the supporting capability of the atomization GM instruction of the game node so as to realize a function instruction; in this embodiment, combining GM instructions according to function scripts may be combining one or more atomized GM instructions according to function scripts.
In the present embodiment, the function script is a description script of a GM instruction supported by the game node formed based on the function instruction.
The game node encapsulates the self GM instruction to form a minimum unit instruction, reports the support capability of the atomized GM instruction to the GM platform, receives a function script which is sent by the GM platform and is suitable for the configuration of the equipment of the game node, and changes the original mode by the GM platform to the game node interface into the mode that the game node actively reports the support capability of the atomized GM instruction, so as to solve the problem that the GM platform cannot effectively know the GM instruction information which can be provided by different game nodes, and possibly initiates invalid calling in the calling process to cause failure and cause subsequent debugging work. The effective communication between the GM platform and the game node is promoted, and the condition that the memory occupation of the game node is caused by unnecessary debugging work to influence the information processing capability of the game node is reduced.
Referring to fig. 2, optionally, in another embodiment, step S12 is preceded by:
s11: and splitting the functional instruction of the compound operation supported by the self into an atomization GM instruction, and forming the atomization GM instruction supporting capability according to the atomization GM instruction.
In the configuration of this embodiment, the game node splits the GM command supported by itself, and as the smallest command unit, the atomized GM command support capability is the set of smallest unit commands or the registry supportable by the game node, and in this embodiment, the atomized GM command support capability is the set of smallest unit commands supportable by the game node.
In the embodiment, the splitting of the GM instruction is that the game node splits the GM instruction into combinable functions and packages the combinable functions to form an atomized GM instruction, and the atomized GM instruction can be freely combined according to the functional instructions, so that the GM instruction reuse rate is improved, and the repeated development caused by the composite GM instruction is avoided.
The game nodes call the corresponding atomization GM instruction to realize the complex function instruction according to the function script, when the complex function is changed, a game clothes developer does not need to realize the corresponding GM function aiming at different game nodes, the processing logic of the game nodes is simplified, and the game development and the operation and maintenance are convenient.
Optionally, in another embodiment, step S2 is: and registering the support capability of the atomized GM instruction in the SDK, and reporting the support capability of the atomized GM instruction to a GM platform by the SDK.
The GM platform provides the SDK, which refers to a software development kit, to the gaming nodes. SDKs are generally a collection of development tools used by some software engineers to build application software for a particular software package, software framework, hardware platform, operating system, etc. The SDK provides an interface for the game node to report the support capability of the atomization GM instruction to the GM platform.
Referring to fig. 3, in an embodiment of the present application, a combinable GM command-based communication method is provided, which is applied to a GM platform and is used in conjunction with any one of the combinable GM command-based communication methods applied to a game node. The communication method based on the combinable GM command provided by the embodiment includes:
s21: receiving an atomization GM instruction support capability of a game node;
s23: and forming a function script according to the function command and the support capability of the atomized GM command of the game node, and sending the function script to the game node.
Specifically, the GM platform obtains a corresponding GM instruction implementation form from the support capability of the atomic GM instruction reported by the game node according to the GM instruction that the function instruction needs to use, and generates a function script that conforms to the configuration of the game node, where the function script is a description script of the GM instruction supported by the game node.
The GM platform receives the support capability of the atomic GM instruction reported by the game node, and the original process that the GM platform is connected with the game node interface is changed into the process that the game node actively reports the support capability of the atomic GM instruction, so that the problem that the GM platform cannot effectively know the GM instruction information provided by different game nodes, and the subsequent debugging work is possibly caused by failure in the process of calling the GM instruction due to the fact that invalid calling is initiated is solved. The effective communication between the GM platform and the game node is promoted, the joint debugging work of the GM platform when generating a new function instruction is reduced, and the processing logic required by the GM platform for generating the new function instruction which can be executed by the game node is simplified.
Referring to fig. 4, optionally, in another embodiment, the GM platform presets a plurality of function points, and the function points are combined to form a function instruction, and the atomic GM instruction support capability includes an atomic GM instruction supported by the game node. The communication method based on the combinable GM command provided by the embodiment further includes:
step S21 is followed by step S22: the atomic GM instructions in the atomic GM instruction support capability are associated with corresponding function points.
Specifically, in this embodiment, a plurality of function points are preset in the GM platform, where the function points are functions that can be split in the function command and can be independently implemented, for example, the function command is to send a reward to the whole service, and the function points include sending and reward, and for different game nodes, the implementation manners of the function points are different due to their own configurations. Such as sending, at different gaming nodes, implementations may include sending emails, sending gift packages, messaging notifications, and so on.
In this embodiment, the GM platform is connected to a plurality of game nodes in different configurations, receives the atomic GM instruction support capability reported by each game node, associates an atomic instruction carried in the atomic GM instruction support capability with a function point, and facilitates management of the atomic GM instruction support capability reported by each game node.
Optionally, in another embodiment, the sending the function script to the game node includes: the GM platform sends the function script to the agent cluster, and the agent cluster forwards the function script to the corresponding game node;
and the GM platform issues the service for supervising the game node to execute the function script and receiving the result returned by the game node to the agent cluster.
The proxy cluster includes a plurality of proxy nodes, and in the present embodiment, the proxy nodes are implemented by servers.
The game nodes are connected with the agent nodes, the agent nodes are the same with the game nodes connected with the agent nodes in application environment configuration, the GM platform is connected with the plurality of game nodes through the agent cluster, the GM platform can be connected with the plurality of game nodes, the GM platform issues a service for supervising the game nodes to execute the function scripts and receiving the results returned by the game nodes to the agent cluster, the agent cluster manages the game nodes, and the management logic of the GM platform is simplified.
Referring to fig. 4, alternatively, in another embodiment, S23 is: and acquiring an atomization GM instruction associated with the function point in the support capability of the atomization GM instruction of each game node according to the function point in the function instruction, forming a function script of each game node according to the acquired atomization GM instruction, and sending the function script to the corresponding game node.
After the GM platform receives the function instruction, the function points contained in the function instruction are split, the atomization GM instruction associated with the function points is obtained, and the adaptive function script is generated according to the configuration of the game nodes.
For example, the function instruction is to send a reward to the game node a and the game node B, the function point sends an atomized GM instruction associated with the game node a as an email, and the function point sends an atomized GM instruction associated with the game node B as a gift-sending; the GM platform generates a function script which accords with the configuration of the game node A according to the function instruction, and the realization mode of the function script about the function point transmission is an email; and the GM platform generates a function script which is configured by the game node B according to the function instruction, wherein the function script is transmitted by the function point in a gift bag.
The function points are set, so that the GM platform can generate the function scripts of all the game nodes quickly according to the support capability of the atomized GM instructions of different game nodes, and the function scripts accord with the configuration of all the game nodes, thereby avoiding the calling condition of the GM platform to invalid GM instructions.
Further, in this embodiment, the GM platform visualizes the function point as a graph node, and provides a UI interface to the operator, where the operator can combine the graph nodes at the UI interface, and the GM platform generates the function instruction according to the graph node combined by the operator. After the operator generates a new service requirement, the graph nodes can be independently combined according to the service requirement to form a functional instruction and be realized on the game nodes through the GM platform, and GM platform developers are not required to cooperate with development and joint debugging of the game node developers.
Referring to fig. 5, in an embodiment of the present application, a combinable GM command-based communication method is provided, which is applied to an information interaction process between a GM platform and a game node, and is combined with any one of the aforementioned combinable GM command-based communication methods applied to the game node and/or the GM platform. The communication method based on the combinable GM command in the embodiment includes:
s32: the game node registers the self-atomization GM instruction support capacity on the GM platform;
s33: the GM platform receives the support capability of the atomization GM instruction of the game node, forms a function script according to the function instruction and the support capability of the atomization GM instruction of the game node, and sends the function script to the game node;
s34: and the game node acquires a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combines the atomized GM command according to the function script to realize the function command.
Specifically, according to the embodiment, the GM function of the GM platform is regarded as an organized function, in the actual implementation process, the game node realizes a small amount of atomization capability, and reports the support capability of the atomized GM command to the GM platform, so that the process of the GM platform developing the function of the function command can be changed into the process of the simple atomized GM command describing script, and the GM platform can conveniently develop the function script according to the function command. The function script is transmitted to the game nodes, the game nodes call the corresponding atomization GM instruction according to the function script to realize the complex function instruction, when the complex function is changed, a game clothes developer does not need to realize the corresponding GM function aiming at different game nodes, the processing logic of the game nodes is simplified, and the game development and the operation and maintenance are convenient.
Referring to fig. 6, optionally, in another embodiment, the GM platform presets a plurality of function points, and the function points are combined to form a function instruction.
Step S32 is preceded by:
s31: the game node divides the functional instruction of the compound operation supported by the game node into an atomization GM instruction, and forms an atomization GM instruction supporting capacity according to the atomization GM instruction.
After receiving the supporting capability of the atomization GM instruction of the game node, the GM platform further comprises the following steps: the atomic GM instructions in the atomic GM instruction support capability are associated with corresponding function points.
Specifically, the game node splits the function instruction of the composite operation into an atomization GM instruction, and the GM platform associates the atomization GM instruction with the function point after receiving the support capability of the atomization GM instruction.
The game node splits the GM instruction supported by itself as the minimum instruction unit, and the atomized GM instruction support capability is the set of minimum unit instructions or the registry supportable by the game node.
In the embodiment, the splitting of the GM instruction is that the game node splits the GM instruction of the compound operation into combinable functions and packages the combinable functions to form an atomized GM instruction, and the atomized GM instruction can be freely combined according to the functional instructions, so that the GM instruction reuse rate is improved, and the repeated development brought by the compound GM instruction is avoided.
The GM platform associates the atomized GM instruction reported by the game node with the function point, when the GM platform generates the function script, the function description script of the correspondingly configured game node can be generated according to the function point in the function instruction as the function script, and the atomized GM instruction packaged in the game node can be called and combined through the function script.
Optionally, in another embodiment, the GM platform forms a function script according to the function instruction and the supporting capability of the atomization GM instruction of the game node, and sending the function script to the game node is: and the GM platform acquires an atomization GM instruction associated with the function point in the atomization GM instruction support capacity of each game node according to the function point in the function instruction, forms a function script according to the acquired atomization GM instruction, and sends the function script to the game node.
Specifically, in the actual implementation of the embodiment, when the GM platform receives the function command, the function command may be split into different function points, and the function script configured corresponding to the game node may be generated according to the atomization GM command associated with the function point and corresponding to the game node configured differently.
Optionally, in another embodiment, the GM platform sending the function script to the game node includes: the GM platform sends the function script to the agent cluster, the agent cluster forwards the function script to the corresponding game node, and sends the service of monitoring the game node to execute the function script and receiving the result returned by the game node to the agent cluster;
the game node is connected with the agent cluster, receives the function script forwarded by the agent cluster, and reports the return result to the agent cluster.
Optionally, in another embodiment, step S32 is: the game node registers the support capability of the atomization GM instruction in the SDK, and the SDK reports the support capability of the atomization GM instruction to the GM platform.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 7, in an embodiment of the present application, a communication device based on a combinable GM command is provided, and the communication device based on the combinable GM command corresponds to the communication method based on the combinable GM command applied to the game node in the above-mentioned embodiment. The communication device based on the combinable GM command comprises:
the instruction atomization module is used for registering the self atomization GM instruction support capability on the GM platform;
and the instruction combination module is used for acquiring the function script generated by the GM platform according to the function instruction and the support capability of the atomized GM instruction, and combining the atomized GM instruction according to the function script to realize the function instruction.
Further, in another embodiment, the instruction atomization module is further configured to enable the gaming node to split a functional instruction of a compound operation supported by the gaming node into an atomization GM instruction, and form an atomization GM instruction support capability according to the atomization GM instruction.
And the instruction atomization module is used for the game node to register the support capability of the atomization GM instruction in the SDK and the SDK reports the support capability of the atomization GM instruction to the GM platform.
Referring to fig. 8, in an embodiment of the present application, a combinable GM command-based communication device is provided, and the combinable GM command-based communication device corresponds to the combinable GM command-based communication method applied to the GM platform in the above-mentioned embodiment. The communication device based on the combinable GM command comprises:
the receiving module is used for receiving the supporting capability of the atomization GM instruction of the game node;
and the function script generating module is used for forming a function script according to the function command and the support capability of the atomization GM command of the game node and sending the function script to the game node.
Further, in another embodiment, the GM platform presets a plurality of function points, and the function points are combined to form a function command, where the atomic GM command support capability includes an atomic GM command supported by the game node, and the apparatus in this embodiment further includes a correlation module:
and the association module is used for associating the atomized GM instruction in the support capability of the atomized GM instruction with the corresponding functional point.
Further, in another embodiment, the function script generating module is further configured to enable the GM platform to obtain, according to a function point in the function instruction, an atomized GM instruction associated with the function point in the atomic GM instruction support capability of each game node, form a function script of each game node according to the obtained atomized GM instruction, and send the function script to the corresponding game node.
Further, in another embodiment, the GM platform sends the function script to the agent cluster, and the agent cluster forwards the function script to the corresponding game node; and the GM platform issues the service for supervising the game node to execute the function script and receiving the result returned by the game node to the agent cluster.
The modules of the communication device based on the combinable GM command according to any of the above embodiments can be implemented in whole or in part by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the device, and can also be stored in a memory in the device in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 9, in one embodiment of the embodiments of the present application, there is provided an apparatus, which may be a server. The device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the device is configured to provide computing and control capabilities. The memory of the device may be implemented by any type or combination of volatile or non-volatile storage devices, including but not limited to: magnetic disk, optical disk, EEPROM (Electrically-Erasable Programmable Read Only Memory), EPROM (Erasable Programmable Read Only Memory), SRAM (Static Random Access Memory), ROM (Read-Only Memory), magnetic Memory, flash Memory, PROM (Programmable Read-Only Memory). The memory of the device provides an environment for the running of an operating system and computer programs stored within it. The network interface of the device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements the steps of the method of communication based on combinable GM instructions as described in the above embodiments.
In one embodiment of the embodiments of the present application, a system is provided, which includes at least one memory, at least one processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the processor implements the steps of the combinable GM instruction-based communication method according to the above embodiments.
In an embodiment of the present application, a storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the steps of the combinable GM instruction-based communication method according to the above-mentioned embodiment. The storage medium includes a ROM (Read-Only Memory), a RAM (Random-Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic disk, a floppy disk, and the like.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system described in this application is divided into different functional units or modules to perform all or part of the above-mentioned functions.

Claims (15)

1. A communication method based on combinable GM instructions, the method comprising:
registering the self atomization GM instruction support capacity on a GM platform;
and acquiring a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combining the atomized GM command according to the function script to realize the function command.
2. The combinable GM instruction based communication method of claim 1, wherein registering its atomic GM instruction support capability on the GM platform comprises:
and splitting the functional instruction of the compound operation supported by the self into an atomization GM instruction, and forming the atomization GM instruction supporting capability according to the atomization GM instruction.
3. The combinable GM instruction based communication method of claim 2, wherein the atomic GM instruction support capability registered with the GM platform is: and registering the support capability of the atomized GM instruction in the SDK, and reporting the support capability of the atomized GM instruction to a GM platform by the SDK.
4. A communication method based on combinable GM instructions, the method comprising:
receiving an atomization GM instruction support capability of a game node;
and forming a function script according to the function command and the support capability of the atomized GM command of the game node, and sending the function script to the game node.
5. The combinable GM command-based communication method of claim 4, wherein the GM platform presets a plurality of function points, the function points are combined to form the function command, and the atomic GM command support capability comprises an atomic GM command supported by the game node;
after receiving the supporting capability of the atomic GM instruction of the game node, the method further comprises the following steps: the atomic GM instructions in the atomic GM instruction support capability are associated with corresponding function points.
6. The combinable GM command-based communication method of claim 5, wherein the forming of the function script according to the function command and the atomized GM command support capability of the game node, and the sending of the function script to the game node comprises:
and acquiring an atomization GM instruction associated with the function point in the support capability of the atomization GM instruction of each game node according to the function point in the function instruction, forming a function script of each game node according to the acquired atomization GM instruction, and sending the function script to the corresponding game node.
7. The combinable GM command based communication method of claim 4, wherein the sending the function script to the game node comprises:
the GM platform sends the function script to the agent cluster, and the agent cluster forwards the function script to the corresponding game node; and the GM platform issues the service for supervising the game node to execute the function script and receiving the result returned by the game node to the agent cluster.
8. A communication method based on combinable GM instructions, the method comprising:
the game node registers the self-atomization GM instruction support capacity on the GM platform;
the GM platform receives the support capability of the atomization GM instruction of the game node, forms a function script according to the function instruction and the support capability of the atomization GM instruction of the game node, and sends the function script to the game node;
and the game node acquires a function script generated by the GM platform according to the function command and the support capability of the atomized GM command, and combines the atomized GM command according to the function script to realize the function command.
9. The combinable GM instruction-based communication method of claim 8, wherein the GM platform presets a plurality of function points, and the function points are combined to form the function instruction;
the method comprises the following steps that before the game node registers the self atomization GM instruction support capacity on a GM platform: the game node divides the functional instruction of the composite operation supported by the game node into an atomization GM instruction, and forms an atomization GM instruction supporting capacity according to the atomization GM instruction;
after receiving the supporting capability of the atomization GM instruction of the game node, the GM platform further comprises the following steps: the atomic GM instructions in the atomic GM instruction support capability are associated with corresponding function points.
10. The combinable GM command-based communication method of claim 9, wherein the GM platform forms a function script according to the function command and the atomized GM command support capability of the gaming node, and sending the function script to the gaming node comprises:
and the GM platform acquires an atomization GM instruction associated with the function point in the atomization GM instruction support capacity of each game node according to the function point in the function instruction, forms a function script according to the acquired atomization GM instruction, and sends the function script to the game node.
11. A communications apparatus based on a combinable GM command, the apparatus comprising:
the instruction atomization module is used for registering the self atomization GM instruction support capability on the GM platform;
and the instruction combination module is used for acquiring the function script generated by the GM platform according to the function instruction and the support capability of the atomized GM instruction, and combining the atomized GM instruction according to the function script to realize the function instruction.
12. A communications apparatus based on a combinable GM command, the apparatus comprising:
the receiving module is used for receiving the supporting capability of the atomization GM instruction of the game node;
and the function script generating module is used for forming a function script according to the function command and the support capability of the atomization GM command of the game node and sending the function script to the game node.
13. An apparatus comprising at least one memory, at least one processor, and a computer program stored in the memory and executed on the processor, wherein the processor implements the steps of the combinable GM instruction-based communication method of any one of claims 1 to 3 or any one of claims 4 to 7 when executing the computer program.
14. A system comprising at least one memory, at least one processor, and a computer program stored in the memory and executed on the processor, wherein the processor implements the steps of the combinable GM instruction-based communication method of any one of claims 8-10 when executing the computer program.
15. A storage medium characterized in that it stores a computer program which, when executed by a processor, implements the steps of the combinable GM instruction-based communication method of any one of claims 1 to 3, 4 to 7, or 8 to 10.
CN202111473343.6A 2021-12-02 2021-12-02 Communication method, system, equipment and storage medium based on combinable GM instruction Active CN114225384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111473343.6A CN114225384B (en) 2021-12-02 2021-12-02 Communication method, system, equipment and storage medium based on combinable GM instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111473343.6A CN114225384B (en) 2021-12-02 2021-12-02 Communication method, system, equipment and storage medium based on combinable GM instruction

Publications (2)

Publication Number Publication Date
CN114225384A true CN114225384A (en) 2022-03-25
CN114225384B CN114225384B (en) 2022-09-16

Family

ID=80753183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111473343.6A Active CN114225384B (en) 2021-12-02 2021-12-02 Communication method, system, equipment and storage medium based on combinable GM instruction

Country Status (1)

Country Link
CN (1) CN114225384B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110111861A1 (en) * 2009-11-12 2011-05-12 Bally Gaming, Inc. Gaming device architecture and related components
US20110258595A1 (en) * 2010-04-15 2011-10-20 Clevenger Nathan J Cross-Platform Application Framework
CN106873885A (en) * 2016-12-19 2017-06-20 广州爱九游信息技术有限公司 Game management system, unit and method
CN108170537A (en) * 2017-12-06 2018-06-15 北京像素软件科技股份有限公司 Game API approach, device, interface server and readable storage medium storing program for executing
CN111359216A (en) * 2020-02-13 2020-07-03 网易(杭州)网络有限公司 Game information processing method and device, electronic equipment and storage medium
CN111464646A (en) * 2020-04-01 2020-07-28 中国工商银行股份有限公司 Information processing method, information processing apparatus, electronic device, and medium
CN111581936A (en) * 2020-05-13 2020-08-25 网易(杭州)网络有限公司 GM instruction processing method, device, equipment and storage medium
CN111773674A (en) * 2020-07-15 2020-10-16 网易(杭州)网络有限公司 Instruction processing method in game and electronic equipment
CN111858092A (en) * 2020-07-06 2020-10-30 北京乐学帮网络技术有限公司 Method, device and system for communication between scripts
CN113058263A (en) * 2021-03-31 2021-07-02 重庆五诶科技有限公司 Distributed operation management system and method for online chess game
CN113144619A (en) * 2021-03-17 2021-07-23 杭州电魂网络科技股份有限公司 Method and system for visually configuring dynamic function
CN113253979A (en) * 2020-02-10 2021-08-13 英特尔公司 System architecture for cloud gaming
CN113537944A (en) * 2021-08-02 2021-10-22 北京明略软件***有限公司 Method and device for generating business instruction, electronic equipment and readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110111861A1 (en) * 2009-11-12 2011-05-12 Bally Gaming, Inc. Gaming device architecture and related components
US20110258595A1 (en) * 2010-04-15 2011-10-20 Clevenger Nathan J Cross-Platform Application Framework
CN106873885A (en) * 2016-12-19 2017-06-20 广州爱九游信息技术有限公司 Game management system, unit and method
CN108170537A (en) * 2017-12-06 2018-06-15 北京像素软件科技股份有限公司 Game API approach, device, interface server and readable storage medium storing program for executing
CN113253979A (en) * 2020-02-10 2021-08-13 英特尔公司 System architecture for cloud gaming
CN111359216A (en) * 2020-02-13 2020-07-03 网易(杭州)网络有限公司 Game information processing method and device, electronic equipment and storage medium
CN111464646A (en) * 2020-04-01 2020-07-28 中国工商银行股份有限公司 Information processing method, information processing apparatus, electronic device, and medium
CN111581936A (en) * 2020-05-13 2020-08-25 网易(杭州)网络有限公司 GM instruction processing method, device, equipment and storage medium
CN111858092A (en) * 2020-07-06 2020-10-30 北京乐学帮网络技术有限公司 Method, device and system for communication between scripts
CN111773674A (en) * 2020-07-15 2020-10-16 网易(杭州)网络有限公司 Instruction processing method in game and electronic equipment
CN113144619A (en) * 2021-03-17 2021-07-23 杭州电魂网络科技股份有限公司 Method and system for visually configuring dynamic function
CN113058263A (en) * 2021-03-31 2021-07-02 重庆五诶科技有限公司 Distributed operation management system and method for online chess game
CN113537944A (en) * 2021-08-02 2021-10-22 北京明略软件***有限公司 Method and device for generating business instruction, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114225384B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
US9329983B2 (en) Computer program testing
US10250482B2 (en) Distributed task execution in different locations with dynamic formation of testing groups
CN110289983B (en) Load balancing application creation method and device, computer equipment and storage medium
CN107241315B (en) Access method and device of bank gateway interface and computer readable storage medium
CN110138876B (en) Task deployment method, device, equipment and platform
WO2016082476A1 (en) Service testing method and apparatus
CN109471776B (en) Ethernet-based log collection method for VxWorks operating system
CN111552568A (en) Cloud service calling method and device
CN113703997A (en) Bidirectional asynchronous communication middleware system integrating multiple message agents and implementation method
CN114422386B (en) Monitoring method and device for micro-service gateway
CN113360386B (en) Method and device for testing driving of switching chip, electronic equipment and storage medium
CN110674043A (en) Application debugging processing method and server
CN112583630A (en) Device management method, device, system, device and storage medium
CN114225384B (en) Communication method, system, equipment and storage medium based on combinable GM instruction
CN111314397A (en) Message processing method and device based on Swoole framework and Yaf framework
CN111737028B (en) Dubbo service detection method and device
CN109274533B (en) Web service fault positioning device and method based on rule engine
CN110162250B (en) Screenshot method, system and storage medium
CN108228880B (en) Method, device, equipment and medium for database management system to call external function
CN116366644A (en) Message sending method and device, electronic equipment and storage medium
CN105827567B (en) Service management and control method and capability opening platform
CN110413333B (en) Micro-service management method and device of Windows system based on NodeJS and PowerShell
CN112783778A (en) Test method, test device, network equipment and storage medium
CN116893913B (en) Remote program execution method, device, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant