Method for decoupling game service and combat service and storage medium
A game and decoupling technology, applied in the field of game services, can solve problems such as difficult operation and complicated configuration, and achieve the effect of simplifying maintenance work, simplifying the process of finding combat services, and releasing dependencies
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 2, this embodiment provides a method for creating a room based on MQ decoupling of game service and battle service, which can completely separate the game service and battle service interactively in the process of creating a room, thereby simplifying the interaction process and reducing the business of game service. burden; at the same time, it can also simplify maintenance work; it can significantly improve the efficiency of game room creation.
[0043] The method of this embodiment involves a game service, a battle service, and an MQ service. Among them, the battle service is the abbreviation of the battle server; the game service is the abbreviation of the game server; the MQ service is the abbreviation of the message queue middleware, and the MQ service is the message relay service, which can usually be realized by deploying the RabbitMQ server. The MQ service has decoupling , Improve peak processing capacity, delivery and ordering guarantee...
Embodiment 2
[0064] Please refer to image 3 , this embodiment corresponds to the first embodiment, and provides a corresponding system architecture, and the system is applied to the method for decoupling the game service and the battle service of the first embodiment.
[0065] The system includes an MQ server, a game server and a battle server; wherein, the game server includes a first message processing module and a game room peer; the battle server includes a second message processing module, a room allocation module and a game room.
[0066] The game server and the battle server are respectively linked with the MQ server; specifically, the game server is linked with the MQ server through the first message processing module, and the battle server is linked with the MQ server through the second message processing module; the first message processing The module is connected with the game room peer; the second message processing module, the room allocation module and the game room are conn...
Embodiment 3
[0074] This embodiment corresponds to the first embodiment, and provides a computer-readable storage medium on which a computer program is stored. After the program is read and executed by a processor, the decoupling game described in the first embodiment can be realized. The steps included in the method of service and combat service, and the corresponding functions can be realized. The specific steps are not repeated here, please refer to the description of the first embodiment for details.
[0075] The storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
[0076] To sum up, the method and storage medium for decoupling game service and battle service provided by the present invention can completely remove the architectural dependency between game service and battle service, which not only simplifies the process of game service searching for battle service, but als...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


