Game broadcast notification method, device, equipment and storage medium

By managing the channel user identification list, only broadcast messages are sent to users of the corresponding channel, which solves the problem of server broadcast overhead in multiplayer online games and improves game experience and server stability.

CN112354175BActive Publication Date: 2024-11-26NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011394163.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-02
Publication Date
2024-11-26
Estimated Expiration
2040-12-02

AI Technical Summary

Technical Problem

In multiplayer online games, a large number of broadcast notification messages are generated in the scene areas where player characters gather, resulting in large server broadcast overhead, affecting server stability and player gaming experience.

Method used

By obtaining and managing the user identification list for each channel, the message is broadcast only to the users of the corresponding channel, rather than to all online players, reducing the pressure on the server.

Benefits of technology

It effectively relieves the pressure on the server, improves the player's gaming experience, and reduces the server's computing overhead and broadcast load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112354175B_ABST
    Figure CN112354175B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a game broadcast notification method, device, equipment and storage medium. The method includes: a first server obtains identification information of a first channel to be broadcast; the first server obtains a user identification list corresponding to the first channel according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel; the first server sends a broadcast message according to the user identification information in the user identification list. The method of the embodiments of the present application only needs to broadcast to users of the corresponding channel, without broadcasting to all online players, thereby alleviating the pressure on the server to a certain extent, and users can also get a better game experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of online game technology, and in particular to a game broadcast notification method, device, equipment and storage medium. Background Art

[0002] Online games, especially multiplayer online games, have a large number of players, and they are always unevenly distributed in various game scenes. Therefore, a large number of broadcast notification messages will be generated in the scene areas where player characters gather, resulting in a large overhead for server broadcasts, affecting the stability of the server and the player's gaming experience.

[0003] In the related art, the server needs to cache the information of all characters in the scene area where each player is located. However, when the player moves and the position of his character changes, the server needs to recalculate the information of all characters in the new scene area according to the change of the player's area, which will cause a large server overhead during the game. Summary of the invention

[0004] Embodiments of the present application provide a game broadcast notification method, apparatus, device, and storage medium to reduce server overhead.

[0005] In a first aspect, an embodiment of the present application provides a game broadcast notification method, comprising:

[0006] The first server obtains identification information of a first channel to be broadcast;

[0007] The first server acquires a user identification list corresponding to the first channel according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel;

[0008] The first server sends a broadcast message according to the user identification information in the user identification list.

[0009] In a second aspect, an embodiment of the present application provides a game broadcast notification method, including:

[0010] The second server receives the identification information of the first channel sent by the first server;

[0011] The second server sends a user identification list corresponding to the first channel to the first server according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel; the user identification list is used by the first server to send broadcast messages.

[0012] In a third aspect, an embodiment of the present application provides a game broadcast notification device, including:

[0013] An acquisition module, used for acquiring identification information of a first channel to be broadcast;

[0014] A processing module, configured to obtain a user identification list corresponding to the first channel according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel;

[0015] The sending module is used to send a broadcast message according to the user identification information in the user identification list.

[0016] In a fourth aspect, an embodiment of the present application provides a game broadcast notification device, including:

[0017] A receiving module, used for receiving identification information of the first channel sent by the first server;

[0018] The sending module is used to send a user identification list corresponding to the first channel to the first server according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel; the user identification list is used by the first server to send broadcast messages.

[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in any one of the first aspect and the second aspect is implemented.

[0020] In a sixth aspect, an embodiment of the present application provides a first server, including:

[0021] Processor; and

[0022] A memory, configured to store executable instructions of the processor;

[0023] The processor is configured to perform the method according to any one of the first aspects by executing the executable instructions.

[0024] In a seventh aspect, an embodiment of the present application provides a second server, including:

[0025] Processor; and

[0026] A memory, configured to store executable instructions of the processor;

[0027] The processor is configured to perform the method described in any one of the second aspects by executing the executable instructions.

[0028] In an eighth aspect, an embodiment of the present application provides a computer program, which, when executed by a processor, is used to execute the method as described in any one of the first and second aspects above.

[0029] In a ninth aspect, an embodiment of the present application provides a computer program product, comprising program instructions, and the program instructions are used to implement the method described in any one of the first and second aspects.

[0030] The game broadcast notification method, apparatus, device and storage medium provided in the embodiments of the present application, the first server obtains the identification information of the first channel to be broadcast; the first server obtains the user identification list corresponding to the first channel according to the identification information of the first channel; each channel corresponds to a user identification list, and the user identification list includes the user identification information of the users in the channel. When sending a broadcast message to the terminal device of the user in the first channel, the broadcast message is sent according to the user identification information included in the user identification list, that is, it only needs to broadcast to the users of the corresponding channel, and there is no need to broadcast to all online players, thereby alleviating the pressure on the server to a certain extent, and the user can also get a better game experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0032] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0033] Figure 2 It is a flowchart of an embodiment of a game broadcast notification method provided by the present application;

[0034] Figure 3 It is a schematic diagram of the interaction process of an embodiment of a method provided by the present application;

[0035] Figure 4 It is a flowchart of another embodiment of the game broadcast notification method provided by the present application;

[0036] Figure 5 It is a structural diagram of an embodiment of a game broadcast notification device provided by the present application;

[0037] Figure 6 It is a structural diagram of another embodiment of the game broadcast notification device provided by the present application;

[0038] Figure 7 is a structural diagram of a first server embodiment provided by the present application;

[0039] Figure 8 is a structural diagram of a second server embodiment provided by the present application;

[0040] Fig. 9 It is a structural diagram of a terminal device embodiment provided in this application.

[0041] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0043] The terms "including" and "having" and any variations thereof in the specification and claims of the present application and the drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0044] First, the application scenarios involved in the embodiments of the present application are introduced.

[0045] Figure 1 This is a schematic diagram of the system architecture provided by an embodiment of the present application. Figure 1 As shown, the system architecture of an embodiment of the present application may include but is not limited to: one or more terminal devices 11, a first server 12 and a second server 13. The terminal device 11 includes, for example, user devices such as mobile phones, tablet computers, and personal computers.

[0046] The terminal device 11 and the first server 12 can be connected via a network. The first server 12 and the second server 13 can be connected via a network.

[0047] Figure 1 In the example, two terminal devices are used for explanation, and the two terminal devices are, for example, terminal devices of different players. Among them, the first server can be a server of the game application.

[0048] In the related art, the server of the game application needs to cache the information of all characters in the scene area where each player is located. However, when the player moves and the position of his character changes, the server needs to recalculate the information of all characters in the new scene area according to the change of the player's area, which will cause a large server overhead during the game.

[0049] In the method of the embodiment of the present application, each channel corresponds to a user identification list, and the user identification list includes user identification information of users in the channel. When a broadcast message is sent to a terminal device of a user in a channel, the broadcast message is sent according to the user identification information included in the user identification list. That is, it is only necessary to broadcast to the users of the corresponding channel, and there is no need to broadcast to all online players, thereby alleviating the pressure on the server to a certain extent, and users can also get a better gaming experience.

[0050] In one embodiment of the present disclosure, the game broadcast notification method can be run on a terminal device or a server. The terminal device can be a local terminal device. When the game broadcast notification method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0051] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the marking method in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the terminal device for information processing is a cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0052] In an optional embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0053] In a possible implementation, an embodiment of the present invention provides a game broadcast notification method, which provides a graphical user interface through a first terminal device, wherein the first terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above.

[0054] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0055] Figure 2 1 is a flow chart of an embodiment of a game broadcast notification method provided by the present application. Figure 2 As shown, the method provided in this embodiment includes:

[0056] Step 101: The first server obtains identification information of a first channel to be broadcast;

[0057] Specifically, when the business logic is to trigger a broadcast, the first channel of the corresponding required broadcast is obtained according to the business logic, and the identification information of the first channel is obtained and the first channel is determined according to the identification information. The first server may be a server of a game application and / or a game gateway.

[0058] For example, in a certain game scene, when a player moves to another area, it is only necessary to broadcast to the terminal devices of players in a certain area of ​​the game scene.

[0059] For another example, in a message channel, every time a player enters another chat channel from one chat channel, when sending a broadcast message in a chat channel, it is only necessary to send the broadcast message to the terminal devices of the users in the corresponding chat channel.

[0060] Dividing users into different broadcast channels can better relieve the broadcast pressure on the server.

[0061] Step 102: The first server obtains a user identification list corresponding to the first channel according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel.

[0062] Specifically, each channel corresponds to a user identification list, which includes user identification information of users in the channel. When a message needs to be broadcast, the user identification list corresponding to the first channel is obtained according to the identification information of the first channel.

[0063] Step 103: The first server sends a broadcast message according to the user identification information in the user identification list.

[0064] Specifically, after obtaining the user identification list corresponding to the first channel, a broadcast message is sent according to the user identification information in the user identification list corresponding to the first channel, that is, a broadcast message is sent to the terminal devices corresponding to the users in the first channel. Each user has a corresponding channel.

[0065] In the method of this embodiment, the first server obtains identification information of the first channel to be broadcast; the first server obtains a user identification list corresponding to the first channel according to the identification information of the first channel; each channel corresponds to a user identification list, and the user identification list includes user identification information of users in the channel. When sending a broadcast message to the terminal device of the user in the first channel, the broadcast message is sent according to the user identification information included in the user identification list, that is, it only needs to broadcast to the users of the corresponding channel, and there is no need to broadcast to all online players, thereby alleviating the pressure on the server to a certain extent, and the user can also get a better gaming experience.

[0066] Based on the above embodiment, step 102 can be specifically implemented in the following manner:

[0067] The first server determines whether the cache duration of the user identification list corresponding to the first channel stored locally exceeds a first threshold;

[0068] If not, the first server obtains a user identification list corresponding to the first channel from a local computer according to the identification information of the first channel;

[0069] If so, the first server obtains the user identification list corresponding to the first channel from the second server.

[0070] Specifically, the user identification list corresponding to one or more channels may be stored on the second server, or stored locally on the first server.

[0071] The second server is, for example, a Redis server, which may be one or more Redis servers, such as a Redis cluster. Redis is a log-type, Key-Value database that can be based on memory or can be persistent.

[0072] The first server determines whether the cache duration of the user identification list corresponding to the first channel stored locally exceeds a duration threshold; the duration threshold may be a preset value, such as 1 second.

[0073] If the cache duration does not exceed the duration threshold, it means that the cache duration is short and the user change in the channel is small. The first server obtains the user identification list corresponding to the first channel from the local according to the identification information of the first channel;

[0074] like Figure 3As shown, if the cache duration exceeds the duration threshold, the first server obtains the user identification list corresponding to the first channel from the second server. For example, a request message can be sent to the second server, the request message includes the identification information of the first channel, and the user identification list corresponding to the first channel returned by the second server is received.

[0075] In the above implementation, since the redis database is an in-memory database, there is no disk IO when obtaining the user identification list corresponding to the channel (that is, the user identification information corresponding to the channel). Even if the local cache expires, the information of users in the corresponding channel can be obtained as quickly as possible, thereby alleviating the pressure on the server to a certain extent, and users can also get a better gaming experience.

[0076] In one embodiment, if Figure 3 As shown, the method of this embodiment also includes:

[0077] If a user in the first channel moves from the first channel to the second channel, the first server sends the identification information of the second channel to which the user belongs to the second server, so that the second server moves the identification information of the user from the user identification list corresponding to the first channel to the user identification list corresponding to the second channel.

[0078] Specifically, if a player in a channel moves or increases, it is only necessary to broadcast to the terminal devices of the users in the channel, for example, moving to another channel or adding a user to the channel.

[0079] When the first server detects that a user in the first channel moves to the second channel, the first server sends the identification information of the second channel to which the user belongs to the second server. The second server removes the identification information of the user from the original user identification list corresponding to the first channel and adds it to the user identification list corresponding to the second channel.

[0080] Optionally, when the first server detects that a user has moved a channel, it will send the identification information of the moved second channel to the second server. The second server will atomically implement through Redis's Lua script: a user's identification information is transferred from a user identification list to a user identification list corresponding to another channel, thereby realizing the user's channel migration.

[0081] Optionally, in order not to affect the performance of the game server, if there are too many players in the channel, you can set preset conditions and broadcast to users who meet the preset conditions.

[0082] In the above implementation, each user is mapped to the user identification list of the corresponding channel through business logic. Then, when broadcasting is needed, it is only necessary to broadcast to the users of the corresponding channel without broadcasting to all online players. This alleviates the pressure on the server to a certain extent, and users can also get a better gaming experience.

[0083] In one embodiment, when a user is added to a channel, the identification information of the user is added to the user identification list corresponding to the channel.

[0084] In one embodiment, when a user is removed from a channel, the identification information of the user is deleted from the user identification list corresponding to the channel.

[0085] In one embodiment, the following operations may be performed after step 102:

[0086] The first server stores the user identification list corresponding to the first channel locally.

[0087] Specifically, in order to improve the response speed of subsequent broadcasts, after obtaining the user identification list corresponding to the first channel, the first server stores the user identification list corresponding to the first channel locally. If the cache duration is less than or equal to the duration threshold, the user identification list is directly obtained locally.

[0088] In one embodiment, the user identification list is stored in a hash table, the key of the hash table is the identification information of the first channel, and the value of the hash table is the user identification information of the users in the first channel.

[0089] Specifically, each channel can maintain a hash table HashTable in the Redis database, and the hash table is used to store the user identification list corresponding to each channel, that is, the user identification information of the users in each channel.

[0090] In the method of the embodiment of the present application, each user is mapped to the user identification list of the corresponding channel through business logic. Then, when broadcasting is needed, it is only necessary to broadcast to the users of the corresponding channel without broadcasting to all online players. Because the redis database is an in-memory database, there is no disk IO when obtaining the user identification list corresponding to the channel (that is, the user identification information corresponding to the channel). Even if the local cache expires, the information of users in the corresponding channel can be obtained as quickly as possible, thereby alleviating the pressure on the server to a certain extent, and users can also get a better gaming experience.

[0091] Figure 4 FIG. 1 is a flow chart of another embodiment of the game broadcast notification method provided by the present application. Figure 4 As shown, the method provided in this embodiment includes:

[0092] Step 201: The second server receives identification information of the first channel sent by the first server;

[0093] Step 202: The second server sends a user identification list corresponding to the first channel to the first server according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel; the user identification list is used by the first server to send broadcast messages.

[0094] Specifically, each channel corresponds to a user identification list, and the user identification lists corresponding to one or more channels can be stored on the second server. The user identification list includes: user identification information of users in the channel. When a message needs to be broadcast, the user identification list corresponding to the first channel is obtained according to the identification information of the first channel.

[0095] Step 103: The first server sends a broadcast message according to the user identification information in the user identification list.

[0096] Specifically, after obtaining the user identification list corresponding to the first channel, a broadcast message is sent according to the user identification information in the user identification list corresponding to the first channel, that is, a broadcast message is sent to the terminal devices corresponding to the users in the first channel. Each user has a corresponding channel.

[0097] In one embodiment, the method further comprises:

[0098] The second server acquires identification information of a second channel to which the user belongs, which is sent by the first server; the user moves from the first channel to the second channel;

[0099] The second server moves the identification information of the user from the user identification list corresponding to the first channel to the user identification list corresponding to the second channel.

[0100] In one embodiment, the user identification list is stored in a hash table, the key of the hash table is the identification information of the first channel, and the value of the hash table is the user identification information of the users in the first channel.

[0101] The implementation principle and technical effect of the method of this embodiment are similar to those of the method on the first server side described above, and will not be repeated here.

[0102] Figure 5 This is a structural diagram of an embodiment of a game broadcast notification device provided by the present application, such as Figure 5 As shown, the game broadcast notification device of this embodiment includes:

[0103] An acquisition module 110, configured to acquire identification information of a first channel to be broadcast;

[0104] The processing module 111 is used to obtain a user identification list corresponding to the first channel according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel;

[0105] The sending module 112 is configured to send a broadcast message according to the user identification information in the user identification list.

[0106] In a possible implementation, the processing module 111 is specifically configured to:

[0107] Determining whether a cache duration of the locally stored user identification list corresponding to the first channel exceeds a duration threshold;

[0108] If not, obtaining a user identification list corresponding to the first channel from a local location according to the identification information of the first channel;

[0109] If yes, a user identification list corresponding to the first channel is obtained from the second server.

[0110] In a possible implementation, the processing module 111 is further configured to:

[0111] If a user in the first channel moves from the first channel to a second channel, the identification information of the second channel to which the user belongs is sent to a second server, so that the second server moves the identification information of the user from a user identification list corresponding to the first channel to a user identification list corresponding to the second channel.

[0112] In a possible implementation, the processing module 111 is further configured to:

[0113] The user identification list corresponding to the first channel is stored locally.

[0114] In a possible implementation, the user identification list is stored in a hash table, the key of the hash table is the identification information of the first channel. The device of this embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0115] Figure 6 This is a structural diagram of another embodiment of the game broadcast notification device provided by the present application, such as Figure 6 As shown, the game broadcast notification device of this embodiment includes:

[0116] The receiving module 120 is used to receive the identification information of the first channel sent by the first server;

[0117] The sending module 121 is used to send a user identification list corresponding to the first channel to the first server according to the identification information of the first channel; the user identification list includes: user identification information of users in the first channel; the user identification list is used by the first server to send broadcast messages.

[0118] In a possible implementation, the method further includes:

[0119] A processing module, configured to obtain identification information of a second channel to which the user belongs, sent by the first server; the user moves from the first channel to the second channel;

[0120] The identification information of the user is moved from the user identification list corresponding to the first channel to the user identification list corresponding to the second channel.

[0121] In a possible implementation manner, the user identification list is stored in a hash table, the key of the hash table is the identification information of the first channel, and the value of the hash table is the user identification information of users in the first channel.

[0122] The device of this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0123] Figure 7 The structural diagram of the first server embodiment provided in this application is as follows: Figure 7 As shown, the first server includes:

[0124] A processor 210 , and a memory 211 for storing executable instructions of the processor 210 .

[0125] Optionally, it may also include: a communication interface 212 for communicating with other devices.

[0126] The above components may communicate via one or more buses.

[0127] Among them, the processor 210 is configured to execute the corresponding method in the aforementioned method embodiment by executing the executable instructions. The specific implementation process can be found in the aforementioned method embodiment and will not be repeated here.

[0128] Figure 8 The structural diagram of the second server embodiment provided in this application is as follows: Figure 8 As shown, the server includes:

[0129] A processor 220 , and a memory 221 for storing executable instructions of the processor 220 .

[0130] Optionally, it may also include: a communication interface 222 for communicating with other devices.

[0131] The above components may communicate via one or more buses.

[0132] Among them, the processor 220 is configured to execute the corresponding method in the aforementioned method embodiment by executing the executable instructions. The specific implementation process can be found in the aforementioned method embodiment and will not be repeated here.

[0133] Fig. 9 The structure diagram of the terminal device embodiment provided in this application is as follows: Fig. 9 As shown, the terminal device includes:

[0134] A processor 230 , and a memory 231 for storing executable instructions of the processor 230 .

[0135] Optionally, the system may further include: a display 232 for displaying a graphical user interface, wherein the graphical user interface at least includes a game scene, and the game scene includes one or more users.

[0136] The above components may communicate via one or more buses.

[0137] Among them, the processor 230 is configured to execute the corresponding method in the aforementioned method embodiment by executing the executable instructions. The specific implementation process can be found in the aforementioned method embodiment and will not be repeated here.

[0138] A computer-readable storage medium is also provided in an embodiment of the present application, on which a computer program is stored. When the computer program is executed by a processor, the corresponding method in the aforementioned method embodiment is implemented. The specific implementation process can be found in the aforementioned method embodiment. The implementation principle and technical effects are similar and will not be repeated here.

[0139] An embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements a method as described in any one of the aforementioned method embodiments. The specific implementation process can be found in the aforementioned method embodiments. The implementation principles and technical effects are similar and will not be repeated here.

[0140] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0141] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A game broadcast notification method, characterized in that: include: The first server obtains identification information of the first channel to be broadcasted, and when a user moves to another area, it only needs to broadcast to the terminal devices of players in a certain area in the game scene, and divide the users into different broadcast channels; The first server acquires a user identification list corresponding to the first channel according to the identification information of the first channel; The user identification list includes: user identification information of users in the first channel; The first server sends a broadcast message according to the user identification information in the user identification list; If a user in the first channel moves from the first channel to a second channel, the first server sends the identification information of the second channel to which the user belongs to the second server, so that the second server moves the identification information of the user from the user identification list corresponding to the first channel to the user identification list corresponding to the second channel; After obtaining the user identification list corresponding to the first channel, the method further includes: The first server stores a user identification list corresponding to the first channel locally, wherein the user identification list is stored in a hash table, wherein a key of the hash table is identification information of the first channel, and a value of the hash table is user identification information of users in the first channel; The first server acquires a user identification list corresponding to the first channel according to the identification information of the first channel, including: The first server determines whether a cache duration of the user identification list corresponding to the first channel stored locally exceeds a duration threshold; If not, the first server obtains a user identification list corresponding to the first channel from a local computer according to the identification information of the first channel; If so, the first server obtains a user identification list corresponding to the first channel from the second server.

2. A game broadcast notification method, characterized in that: include: The second server receives the identification information of the first channel sent by the first server. When a user moves to another area, it only needs to broadcast to the terminal devices of players in a certain area in the game scene to divide the users into different broadcast channels. The second server sends a user identification list corresponding to the first channel to the first server according to the identification information of the first channel; The user identification list includes: user identification information of users in the first channel; the user identification list is used by the first server to send a broadcast message; The second server acquires identification information of a second channel to which the user belongs, which is sent by the first server; the user moves from the first channel to the second channel; The second server moves the identification information of the user from the user identification list corresponding to the first channel to the user identification list corresponding to the second channel; The user identification list is stored in a hash table, the key of the hash table is the identification information of the first channel, and the value of the hash table is the user identification information of the users in the first channel.

3. A game broadcast notification device, characterized in that: include: An acquisition module, used to acquire identification information of the first channel to be broadcasted. When a user moves to another area, it is only necessary to broadcast to the terminal devices of players in a certain area in the game scene, and the users are divided into different broadcast channels. A processing module, configured to obtain a user identification list corresponding to the first channel according to the identification information of the first channel; The user identification list includes: user identification information of users in the first channel; A sending module, used for sending a broadcast message according to the user identification information in the user identification list; The sending module is further configured to, if a user in the first channel moves from the first channel to a second channel, cause the first server to send identification information of the second channel to which the user belongs to the second server, so that the second server moves the identification information of the user from a user identification list corresponding to the first channel to a user identification list corresponding to the second channel; The processing module is further configured to, after acquiring the user identification list corresponding to the first channel, cause the first server to store the user identification list corresponding to the first channel locally, wherein the user identification list is stored in a hash table, wherein the key of the hash table is the identification information of the first channel, and the value of the hash table is the user identification information of users in the first channel; The sending module is specifically used for the first server to determine whether the cache time of the user identification list corresponding to the first channel stored locally exceeds a time threshold; If not, the first server obtains a user identification list corresponding to the first channel from a local computer according to the identification information of the first channel; If so, the first server obtains a user identification list corresponding to the first channel from the second server.

4. A game broadcast notification device, characterized in that: include: A receiving module, used for receiving identification information of the first channel sent by the first server, and when a user moves to another area, it only needs to broadcast to the terminal devices of players in a certain area in the game scene, and divide the users into different broadcast channels; A sending module, configured to send a user identification list corresponding to the first channel to the first server according to the identification information of the first channel; The user identification list includes: user identification information of users in the first channel; the user identification list is used by the first server to send a broadcast message; A processing module, configured to obtain identification information of a second channel to which the user belongs, sent by the first server; the user moves from the first channel to the second channel; Moving the identification information of the user from the user identification list corresponding to the first channel to the user identification list corresponding to the second channel; The user identification list is stored in a hash table, the key of the hash table is the identification information of the first channel, and the value of the hash table is the user identification information of the users in the first channel.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 and 2 is implemented.

6. A first server, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to perform the method of claim 1 by executing the executable instructions.

7. A second server, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to perform the method of claim 2 by executing the executable instructions.