Server system, data transmission method, device, equipment and storage medium

By using a distributed server system, which utilizes base servers, world servers, window servers, and gateway servers to handle different game logic, the problem of players having difficulty interacting with players from other servers within the same game server is solved, thus improving the gaming experience.

CN114470746BActive Publication Date: 2026-02-24BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210124905.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-10
Publication Date
2026-02-24
Estimated Expiration
2042-02-24

AI Technical Summary

Technical Problem

Players in different game servers have difficulty interacting with each other in real time, resulting in a poor user experience.

Method used

The server system employs a distributed deployment, including a base server, a world server, a window server, and a gateway server, each handling different game logic and data. By increasing the number of servers, the system improves player capacity and interaction efficiency.

Benefits of technology

While ensuring the normal operation of the game, it increased the number of players that the game server could support, solved the problem of real-time interaction between players, and improved the user's gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114470746B_ABST
    Figure CN114470746B_ABST
Patent Text Reader

Abstract

The present disclosure provides a server system, a data transmission method, an apparatus, a device and a storage medium, the server system comprising a basic server, a world server, a window server and a gateway server, wherein: the gateway server is configured to receive a data update request sent by a user terminal and send the data update request to a target basic server corresponding to the user terminal; the basic server is configured to update game data in a database after receiving the data update request, and send updated first target game data to the window server; the world server is configured to obtain second target game data from the basic server for corresponding processing after receiving a game operation request, and send the processed target game data to the window server; and the window server is configured to generate rendering data after receiving the target game data, and send the rendering data to the user terminal for display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of game technology, and more specifically, to a server system, data transmission method, apparatus, device, and storage medium. Background Technology

[0002] With the development of internet technology, online games have gradually become a major form of leisure and entertainment for people.

[0003] In related technologies, when players first enter a game, they often need to select a game server. Subsequent gameplay is basically conducted within the selected game server, and interactions with other players also take place within that game server. This makes it difficult for players to interact with players from other game servers in real time, resulting in a poor user gaming experience. Summary of the Invention

[0004] This disclosure provides at least one server system, data transmission method, apparatus, device, and storage medium.

[0005] In a first aspect, embodiments of this disclosure provide a server system, including at least one base server, multiple world servers, at least one window server, and at least one gateway server, wherein:

[0006] The gateway server is configured to receive a data update request sent by a user client for updating game data, and send the data update request to a target base server corresponding to the user client; and to receive a first game operation request sent by the user client related to game map coordinates, and send the first game operation request to a world server connected to the user client; and to receive a second game operation request sent by the user client unrelated to game map coordinates, and send the second game operation request to a target base server corresponding to the user client.

[0007] The base server is used to update the game data in the database after receiving the data update request and / or the second game operation request, and send the updated first target game data to the window server.

[0008] The world server is used to obtain second target game data from the base server after receiving the first game operation request, process the second target game data accordingly, and send the processed second target game data to the window server.

[0009] The window server is used to generate corresponding rendering data after receiving target game data, and send the rendering data to the user terminal for display, wherein the target game data is first target game data and / or second target game data.

[0010] In one possible implementation, the base server sends the updated first target game data to the window server through the gateway server; the world server sends the processed target game data to the window server through the gateway server.

[0011] In one possible implementation, the first game operation request includes a game march request;

[0012] The system also includes a pathfinding server;

[0013] The pathfinding server is configured to, upon receiving a game march request sent by the user client through the world server, determine the route information corresponding to the game march request based on the starting point information and ending point information carried in the game march request, and send the route information to the world server so that the world server can process the second target game data corresponding to the game march request based on the route information.

[0014] In one possible implementation, where the server system includes multiple base servers, the gateway server is further configured to determine the target base server corresponding to the user terminal according to the following method:

[0015] Based on the correspondence between the user terminal and the base server, the target base server is determined from multiple base servers.

[0016] In one possible implementation, different world servers are associated with different areas in the game map to process the second target game data in the corresponding areas;

[0017] After receiving the first game operation request sent by the user terminal, the gateway server is further configured to:

[0018] Based on the correspondence between the user terminal and the world server, a first target world server that is associated with the user terminal is determined;

[0019] The first game operation request is sent to the first target world server, so that the first target world server can determine the second target world server associated with the current region of the user's game object based on the cached game data;

[0020] The system receives a first forwarding instruction from the first target world server and forwards the first game operation request to the second target world server indicated by the first forwarding instruction. The first forwarding instruction is sent by the first target world server when it detects that the first target world server and the second target world server are different.

[0021] In one possible implementation, when the world server processes the second target game data corresponding to the game march request based on the route information, it uses the following methods:

[0022] Based on the route information, the location information of the game object corresponding to the cached game march request is updated.

[0023] In one possible implementation, if the first target area currently occupied by the game object is detected to be different from the second target area occupied after updating according to the route information, the third target world server corresponding to the first target area is used to:

[0024] A second forwarding instruction is sent to the gateway server to send the game object addition instruction to the fourth target world server corresponding to the second target area, so as to instruct the fourth target world server to add the second target game data corresponding to the game object to the fourth target world server when the third target world server deletes the second target game data corresponding to the game object.

[0025] In one possible implementation, the third target world server is further used for:

[0026] A third forwarding instruction is sent to the gateway server to forward the game data corresponding to the game object to the base server corresponding to the game object through the gateway server, and the game data corresponding to the game object is updated through the base server.

[0027] Secondly, embodiments of this disclosure also provide a data transmission method, including:

[0028] The system receives a first game operation request from a user client and sends the first game operation request to a world server connected to the user client, so that the world server processes the game data corresponding to the first game operation request and generates corresponding rendering data through a window server.

[0029] The system receives rendering data sent by the window server and sends the rendering data to the user terminal so that the user terminal can display the content using the rendering data.

[0030] Thirdly, embodiments of this disclosure also provide a data transmission apparatus, including:

[0031] The first sending module is used to receive a first game operation request sent by the user terminal and send the first game operation request to the world server connected to the user terminal, so that the world server processes the game data corresponding to the first game operation request and generates corresponding rendering data through the window server.

[0032] The second sending module is used to receive rendering data sent by the window server and send the rendering data to the user terminal so that the user terminal can display the data.

[0033] Fourthly, embodiments of this disclosure also provide a computer device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps in the second aspect above are performed.

[0034] Fifthly, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps described in the second aspect.

[0035] The server system, data transmission method, apparatus, device, and storage medium provided in this disclosure construct a distributed server system using at least one base server, multiple world servers, at least one window server, and at least one gateway server. Compared to traditional server systems that use different threads within the same server to handle different functions, the server system provided in this disclosure delegates different game processing logic to different servers. This ensures the normal operation of the game while increasing the number of players a game server can support simply by adding more servers. This solves the problem of players having difficulty interacting with players from other game servers in real time, thus improving the user's gaming experience.

[0036] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0037] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.

[0038] Figure 1a This illustration shows a schematic diagram of the architecture of a server system provided in an embodiment of the present disclosure;

[0039] Figure 1b This illustration shows a schematic diagram of the architecture of another server system provided in an embodiment of the present disclosure;

[0040] Figure 2 A flowchart illustrating a specific method for a gateway server to forward requests in the server system provided in this embodiment of the disclosure is shown.

[0041] Figure 3 A flowchart of a data transmission method provided by an embodiment of this disclosure is shown;

[0042] Figure 4 A schematic diagram of a data transmission apparatus provided in an embodiment of this disclosure is shown;

[0043] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of this disclosure is shown. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.

[0045] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0046] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0047] Research has found that when players first enter a game, they often need to select a game server. Subsequent gameplay is primarily conducted within that selected server, and interactions with other players also take place within that server. This makes it difficult for players to interact with players from other game servers in real time, resulting in a poor user experience.

[0048] Based on the above research, this disclosure provides a server system that uses at least one base server, multiple world servers, at least one window server, and at least one gateway server to construct a distributed server system. Compared to traditional server systems that use different threads within the same server to handle different functions, the server system provided in this disclosure delegates different game processing logic to different servers. This ensures the normal operation of the game while increasing the number of players that a game server can support simply by adding more servers. This solves the problem of players having difficulty interacting with players from other game servers in real time, thus improving the user's gaming experience.

[0049] To facilitate understanding of this embodiment, the architecture of the server system disclosed in this embodiment will be described in detail first. The server system consists of a base server, a world server, a window server, and a gateway server.

[0050] See Figure 1a The diagram shown is an architectural representation of a server system according to an embodiment of this disclosure, including at least one base server 11, multiple world servers 12, at least one window server 13, and at least one gateway server 14, wherein:

[0051] The gateway server 14 is configured to receive a data update request sent by a user terminal for updating game data, and send the data update request to a target base server corresponding to the user terminal; and to receive a first game operation request sent by the user terminal related to game map coordinates, and send the first game operation request to a world server connected to the user terminal; and to receive a second game operation request sent by the user terminal unrelated to game map coordinates, and send the second game operation request to a target base server corresponding to the user terminal.

[0052] Here, the data update request may include a request to update the attribute information of a game object, etc. This data update request is often unrelated to coordinate information in the game world; therefore, the data update request can be sent by the gateway server 14 to the base server 11 for execution. The first game operation request may include at least one of a game march request, a combat interaction request, and a resource collection request. This game operation request is often related to coordinate information in the game world; therefore, the game operation request can be sent by the gateway server 14 to the world server 12 for execution. The second game operation request may include at least one of a game main city construction request, a game main city management request, and a game guild management request. The game main city is a target building corresponding to the user's terminal. The game main city construction request allows the construction of the target building corresponding to the user's terminal on the game map, and the game main city management request allows the management of the constructed game main city. This data update request is often unrelated to coordinate information in the game world; therefore, the second game operation request can be sent by the gateway server 14 to the base server 11 for execution.

[0053] In practical applications, since various servers in the server system can be deployed in a distributed manner, the gateway server 14 can not only be used to realize data transmission between the user terminal and the server system, but also provide routing services for each server to realize data transmission between each server. For example, the base server 11 can send the updated first target game data to the window server 13 through the gateway server 14, and the world server 12 can send the processed target game data to the window server 13 through the gateway server 14.

[0054] In addition, the gateway server 14 can also be used for connection management of user terminals, such as prohibiting access by user terminals in the blacklist and verifying the legitimacy of requests sent by user terminals.

[0055] The base server 11 is used to update the game data in the database after receiving the data update request and / or the second game operation request, and send the updated first target game data to the window server 13.

[0056] Here, the basic server 11 connects to the database corresponding to the server system, so that after receiving the data update request and / or the second game operation request, the game data can be updated according to the content of the data update request.

[0057] The world server 12 is used to obtain second target game data from the base server 11 after receiving the first game operation request, process the second target game data accordingly, and send the processed second target game data to the window server 13.

[0058] Here, different world servers 12 can be associated with different areas in the game map to process the second target game data in the corresponding area.

[0059] The window server 13 is used to generate corresponding rendering data after receiving target game data, and send the rendering data to the user terminal for display, wherein the target game data is either first target game data or second target game data.

[0060] Here, the window server is used to manage the scene of the user terminal display page. The rendering data includes the entities that need to be displayed on the user terminal display page and the attribute information corresponding to each entity, so that the user terminal can render the game screen according to the rendering data after receiving the rendering data.

[0061] In practical applications, the server system can also implement game functions such as game voice chat, game live streaming, and human-computer interaction. These game functions can be completed by the basic server 11 in the server system, or they can be completed by adding corresponding servers to the server system. For example, a game voice server can be added to process the voice data sent by different user terminals and send the processed voice data to the corresponding user terminals, thereby realizing the game voice chat function. On the other hand, since the processing capacity of the world server 12 is limited, if the computing resources consumed by the first game operation request are too large, it may cause the server to malfunction. Therefore, some first game operation requests that consume a lot of computing resources can be completed by a separately set server. For example, the game march request, since the number of game objects corresponding to a single user terminal is often large, and each game object needs to calculate the route information corresponding to the march request, it consumes a lot of computing resources and can be processed by a separately set server.

[0062] See Figure 1b The diagram shown illustrates the architecture of another server system provided in this embodiment of the present disclosure, including at least one base server 11, multiple world servers 12, at least one window server 13, at least one gateway server 14, and a routing server 15, wherein:

[0063] The pathfinding server 15 is used to, upon receiving a game march request sent by the user terminal through the world server 12, determine the route information corresponding to the game march request based on the starting point information and the ending point information carried in the game march request, and send the route information to the world server 12, so that the world server 12 can process the second target game data corresponding to the game march request based on the route information.

[0064] Specifically, when determining the route information corresponding to the game march request based on the start-point and end-point information carried in the game march request, map element information corresponding to the game march request can be obtained according to the start-point and end-point information. Based on the start-point information, end-point information, map element information, and a preset route generation algorithm, route information corresponding to the game march request can be generated. The route information can include the map coordinates corresponding to the game object at multiple times, and the multiple map coordinates can be connected to represent the complete route information; or, the route information can only include the multiple map coordinates corresponding to the game object.

[0065] For example, the route information can be (time 1, location 1), (time 2, location 2), (time 3, location 3), (time 4, location 4), or the route information can also be location 1, location 2, location 3, location 4, where location 1 to location 2 to location 3 to location 4 is the route corresponding to the game's marching request.

[0066] Furthermore, when the world server 12 processes the second target game data corresponding to the game march request based on the route information, it can update the cached position information of the game object corresponding to the game march request according to the route information.

[0067] Specifically, the world server 12 can cache the second target game data during operation. When the cached second target game data is updated, it can send a data update request to the base server 11 through the gateway server 14 to update the data in the database corresponding to the second target game data, so as to achieve synchronous data update.

[0068] For example, when updating the location information of the game object corresponding to the cached game march request, the location information of the game object "Soldier 1" can be updated from the coordinates of the game's main city to the coordinates of "Location 1".

[0069] It should be noted that "Basic Server 11" will be referred to as "Basic Server" in the following text; "World Server 12" will be referred to as "World Server" in the following text; "Window Server 13" will be referred to as "Window Server" in the following text; "Gateway Server 14" will be referred to as "Gateway Server" in the following text; and "Pathfinding Server 15" will be referred to as "Pathfinding Server" in the following text.

[0070] In one possible implementation, when the server system includes multiple base servers, the gateway server can determine the target base server from among the multiple base servers based on the correspondence between the user terminal and the base servers.

[0071] Specifically, the correspondence between the user terminal and the basic server can be determined during the game registration stage. Each user terminal has only one correspondence with one of the multiple basic servers. When any user terminal logs into the game, the corresponding data reading requests and data update requests are forwarded by the gateway server and finally processed by the target basic server uniquely corresponding to that user terminal.

[0072] One possible implementation, such as Figure 2 As shown, the gateway server can perform request forwarding through the following steps:

[0073] S201: Based on the correspondence between the user terminal and the world server, determine the first target world server that is associated with the user terminal.

[0074] Here, when any of the aforementioned user terminals establishes a connection with the server system (i.e., when the user logs into the game), the world server and base server associated with the user terminal can initiate a registration request to the gateway server. The gateway server corresponding to the user terminal stores the world server and base server associated with the user terminal. Thus, the first target world server associated with the user terminal can be determined based on the correspondence between the user terminal and the world server. The first target world server can be the world server that processes the game data of the game's main city corresponding to the user terminal.

[0075] S202: The first game operation request is sent to the first target world server, so that the first target world server determines the second target world server associated with the current region of the game object on the user terminal based on the cached game data.

[0076] S203: Receive a first forwarding instruction sent by the first target world server, and forward the first game operation request to the second target world server indicated by the first forwarding instruction, wherein the first forwarding instruction is sent by the first target world server when it detects that the first target world server and the second target world server are different.

[0077] Here, since the location of the game's main city corresponding to the user's client usually does not change, the game data can be cached using the first target world server corresponding to the game's main city. Therefore, after receiving the first game operation request, the first target world server can first determine the second target world server associated with the current region of the user's game object based on the cached game data, and then determine whether the first target world server and the second target world server are the same. If the first target world server and the second target world server are detected to be the same, the first game operation request will be processed by the first target world server. If the first target world server and the second target world server are detected to be different, the first target world server can send a first forwarding instruction to the gateway server to forward the first game operation request to the second target world server indicated by the first forwarding instruction, and the second target world server will process the first game operation request accordingly.

[0078] For example, taking the first target world server corresponding to the game's main city as world server 1 and the second target world server associated with the current region of the user's game object as world server 2, when world server 1 receives the first game operation request sent by the gateway server, it can determine the second target world server as world server 2 based on the cached game data, and then send a first forwarding instruction to the gateway server to forward the first game operation request to world server 2, and world server 2 will process the first game operation request accordingly.

[0079] In practical applications, since there can be multiple world servers, and different regions are handled by different world servers, when the same game object crosses regions corresponding to different world servers, there needs to be corresponding processing logic to ensure a normal gaming experience for the user.

[0080] In one possible implementation, if the first target area where the game object is currently located is detected to be different from the second target area where it is located after being updated according to the route information, the third target world server corresponding to the first target area can send a second forwarding instruction to the gateway server to send the game object addition instruction to the fourth target world server corresponding to the second target area, so as to instruct the fourth target world server to add the second target game data corresponding to the game object to the fourth target world server when the third target world server deletes the second target game data corresponding to the game object.

[0081] In this way, since the second target game data corresponding to the game object is added to the fourth target world server when the third target world server deletes the second target game data corresponding to the game object, it can be ensured that there will be no abnormal situations such as game object loss when the game object crosses regions.

[0082] Furthermore, the third target world server can also send a third forwarding instruction to the gateway server to forward the game data corresponding to the game object to the base server corresponding to the game object through the gateway server, and update the game data corresponding to the game object through the base server.

[0083] Specifically, since the game object has undergone a cross-region event (i.e., moved from the region corresponding to the third target world server to the region corresponding to the fourth target world server), the world server responsible for processing the game object will be the fourth target world server when the user logs in next time. Therefore, this update can be synchronized to the base server corresponding to the game object so that the user can play the game normally when logging in next time.

[0084] Furthermore, since the game object has reached the second target area, the first game operation request corresponding to the game object also needs to be forwarded to the fourth target world server. The third target world server can also send a forwarding information update instruction to the gateway server to instruct the gateway server to send the first game operation request to the fourth target world server after receiving the first game operation request corresponding to the game object.

[0085] In another possible implementation, the gateway server may also, upon receiving a first game operation request sent by the user terminal, determine the fifth target world server corresponding to the first game operation request based on cached data, and send the first game operation request to the fifth target world server.

[0086] Specifically, the gateway server and the user terminal can transmit data through a long connection. The gateway server can cache the fifth target world server corresponding to the user terminal that maintains a long connection with the gateway server, so that when the user terminal receives a first game operation request, the first game operation request will be sent to the fifth target world server.

[0087] Furthermore, if the world server corresponding to the first game operation request is updated, the gateway server also needs to obtain the updated correspondence between the world server and the first game operation request from the base server corresponding to the first game operation request, so as to ensure that the first game operation request sent by the user can be sent to the correct world server.

[0088] The following describes the data transmission method provided in this embodiment, taking the gateway server as the execution subject as an example. The steps and contents executed by the other servers in the server system are described above and will not be repeated hereafter.

[0089] See Figure 3 The diagram shows a flowchart of a data transmission method provided in an embodiment of this disclosure. The method includes steps S301 to S302, wherein:

[0090] S301: Receive a first game operation request sent by the user terminal, and send the first game operation request to the world server connected to the user terminal, so that the world server processes the game data corresponding to the first game operation request and generates the corresponding rendering data through the window server.

[0091] S302: Receive rendering data sent by the window server and send the rendering data to the user terminal so that the user terminal can display the data.

[0092] For details of each step, please refer to the relevant descriptions above, which will not be repeated here.

[0093] The server system and data transmission method provided in this disclosure construct a distributed server system using at least one base server, multiple world servers, at least one window server, and at least one gateway server. Compared to traditional server systems that use different threads within the same server to handle different functions, the server system provided in this disclosure delegates different game processing logic to different servers. This ensures the normal operation of the game while increasing the number of players a game server can support simply by adding more servers. This solves the problem of players having difficulty interacting with players from other game servers in real time, thus improving the user's gaming experience.

[0094] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0095] Based on the same inventive concept, this disclosure also provides a data transmission device corresponding to the data transmission method. Since the principle of the device in this disclosure for solving the problem is similar to that of the data transmission method described above in this disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0096] Reference Figure 4 The diagram shown is an architectural schematic of a data transmission device provided in an embodiment of this disclosure. The device includes: a first transmitting module 401 and a second transmitting module 402; wherein,

[0097] The first sending module 401 is used to receive a first game operation request sent by the user terminal and send the first game operation request to the world server connected to the user terminal, so that the world server processes the game data corresponding to the first game operation request and generates corresponding rendering data through the window server.

[0098] The second sending module 402 is used to receive rendering data sent by the window server and send the rendering data to the user terminal so that the user terminal can display the data.

[0099] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.

[0100] Based on the same technical concept, this disclosure also provides a computer device. (See also...) Figure 5 The diagram shows the structure of a computer device 500 provided in this embodiment of the present disclosure, including a processor 501, a memory 502, and a bus 503. The memory 502 stores execution instructions and includes main memory 5021 and external memory 5022. The main memory 5021, also called internal memory, is used to temporarily store computational data in the processor 501 and data exchanged with external memory 5022 such as a hard disk. The processor 501 exchanges data with the external memory 5022 through the main memory 5021. When the computer device 500 is running, the processor 501 and the memory 502 communicate through the bus 503, causing the processor 501 to execute the following instructions:

[0101] The system receives a first game operation request from a user client and sends the first game operation request to a world server connected to the user client, so that the world server processes the game data corresponding to the first game operation request and generates corresponding rendering data through a window server.

[0102] The system receives rendering data sent by the window server and sends the rendering data to the user terminal so that the user terminal can display the content using the rendering data.

[0103] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the data transmission method described in the above-described method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.

[0104] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the data transmission method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.

[0105] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.

[0106] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0107] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0108] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0109] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0110] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.

Claims

1. A server system, characterized in that, It includes at least one base server, multiple world servers, at least one window server, and at least one gateway server, wherein: The gateway server is configured to receive a data update request sent by a user client for updating game data, and send the data update request to a target base server corresponding to the user client; and to receive a first game operation request sent by the user client related to game map coordinates, and send the first game operation request to a world server connected to the user client; and to receive a second game operation request sent by the user client unrelated to game map coordinates, and send the second game operation request to a target base server corresponding to the user client. The base server is used to update the game data in the database after receiving the data update request and / or the second game operation request, and send the updated first target game data to the window server. The world server is used to obtain second target game data from the base server after receiving the first game operation request, process the second target game data accordingly, and send the processed second target game data to the window server. The window server is used to generate corresponding rendering data after receiving target game data, and send the rendering data to the user terminal for display, wherein the target game data is first target game data and / or second target game data.

2. The system according to claim 1, characterized in that, The base server sends the updated first target game data to the window server through the gateway server; the world server sends the processed target game data to the window server through the gateway server.

3. The system according to claim 1, characterized in that, The first game operation request includes a game march request; The system also includes a pathfinding server; The pathfinding server is configured to, upon receiving a game march request sent by the user client through the world server, determine the route information corresponding to the game march request based on the starting point information and ending point information carried in the game march request, and send the route information to the world server so that the world server can process the second target game data corresponding to the game march request based on the route information.

4. The system according to claim 1, characterized in that, In the case where the server system includes multiple base servers, the gateway server is further configured to determine the target base server corresponding to the user terminal according to the following method: Based on the correspondence between the user terminal and the base server, the target base server is determined from multiple base servers.

5. The system according to claim 1, characterized in that, Different world servers are associated with different areas of the game map and are used to process the secondary objective game data in the corresponding areas; After receiving the first game operation request sent by the user terminal, the gateway server is further configured to: Based on the correspondence between the user terminal and the world server, a first target world server that is associated with the user terminal is determined; The first game operation request is sent to the first target world server, so that the first target world server can determine the second target world server associated with the current region of the user's game object based on the cached game data; The system receives a first forwarding instruction from the first target world server and forwards the first game operation request to the second target world server indicated by the first forwarding instruction. The first forwarding instruction is sent by the first target world server when it detects that the first target world server and the second target world server are different.

6. The system according to claim 3, characterized in that, When the world server processes the second target game data corresponding to the game march request based on the route information, it is used to: Based on the route information, the location information of the game object corresponding to the cached game march request is updated.

7. The system according to claim 6, characterized in that, If the game object's current location in the first target area differs from its location in the second target area after updating based on the route information, the third target world server corresponding to the first target area is used for: A second forwarding instruction is sent to the gateway server to send the game object addition instruction to the fourth target world server corresponding to the second target area, so as to instruct the fourth target world server to add the second target game data corresponding to the game object to the fourth target world server when the third target world server deletes the second target game data corresponding to the game object.

8. The system according to claim 7, characterized in that, The third target world server is also used for: A third forwarding instruction is sent to the gateway server to forward the game data corresponding to the game object to the base server corresponding to the game object through the gateway server, and the game data corresponding to the game object is updated through the base server.

9. A data transmission method, characterized in that, Gateway servers used in server systems include: The system receives a data update request from a user client to update game data and sends the data update request to a target base server corresponding to the user client; it also receives a first game operation request from a user client and sends the first game operation request to a world server connected to the user client, so that the world server processes the game data corresponding to the first game operation request and generates corresponding rendering data through a window server. The system receives rendering data sent by the window server and sends the rendering data to the user terminal so that the user terminal can display the content using the rendering data.

10. A data transmission device, characterized in that, include: The first sending module is used to receive a data update request sent by the user terminal for updating game data, and send the data update request to the target base server corresponding to the user terminal; And receive a first game operation request sent by the user terminal, and send the first game operation request to the world server connected to the user terminal, so that the world server processes the game data corresponding to the first game operation request and generates the corresponding rendering data through the window server. The second sending module is used to receive rendering data sent by the window server and send the rendering data to the user terminal so that the user terminal can display the data.

11. A computer device, characterized in that, include: The computer device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the data transmission method as described in claim 9 are performed.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the data transmission method as described in claim 9.

Citation Information

Patent Citations

  • Game data editing method and device, editor, readable medium and equipment

    CN113856202A