Method and storage medium for decoupling game service and combat service
A game and decoupling technology, applied in the field of game services, can solve the problems of complicated configuration and difficult operation, and achieve the effect of simplifying the process of finding combat services, simplifying maintenance work, and reducing business burdens
- 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 rooms based on MQ decoupling game services and battle services, which can completely separate the game service and battle services in the process of creating rooms in terms of architecture, thereby simplifying the interaction process and reducing the business of game services Burden; at the same time, it can simplify maintenance work; it can significantly improve the efficiency of creating game rooms.
[0043] The method of this embodiment involves game service, combat service and MQ service. Among them, the combat service is the abbreviation of the combat 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 a message transfer service, which can usually be realized by deploying a RabbitMQ server. , Improve peak processing capacity, delivery and sequencing guarantee, message buffering and other ca...
Embodiment 2
[0064] Please refer to image 3 , this embodiment corresponds to Embodiment 1, and provides a corresponding system architecture, which is applied to the method for decoupling game services and combat services in Embodiment 1.
[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] Wherein, the game server and the combat 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 combat 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 connected in sequence; the...
Embodiment 3
[0074] This embodiment corresponds to Embodiment 1, and provides a computer-readable storage medium on which a computer program is stored. After the program is read and executed by a processor, it can realize the decoupling game described in Embodiment 1 above. The steps included in the method of service and combat service, and can realize the corresponding function. The specific steps are not repeated here, please refer to the description of Embodiment 1 for details.
[0075] Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
[0076] To sum up, the method and storage medium for decoupling game services and combat services provided by the present invention can completely remove the architectural dependencies between game services and combat services, which not only simplifies the process of game services searching for combat services, but also It g...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


