High-concurrency game server architecture
The invention provides a high-concurrency game server architecture, and relates to the technical field of computer systems and network communication. The system is deployed on a Linux operating system and comprises a server and a client. The client is a command line application program drawn based o...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a high-concurrency game server architecture, and relates to the technical field of computer systems and network communication. The system is deployed on a Linux operating system and comprises a server and a client. The client is a command line application program drawn based on NCurses; the server comprises an IO multiplexing module, a protocol analysis module, a command line parameter analysis module, a log recording module and a game logic module. The IO multiplexing module is used for processing a TCP (Transmission Control Protocol) network request based on an Epoll mechanism provided by a Linux system; the protocol analysis module uses an application layer protocol designed based on a TCP protocol as a communication protocol, and uses an event bus to distribute network events; the command line parameter analysis module is used for processing parameters transmitted through a command line during operation and can dynamically specify port and log level parameters. The method can bear r |
---|