CN105031922B - Game data processing method, game server and game client - Google Patents

Game data processing method, game server and game client Download PDF

Info

Publication number
CN105031922B
CN105031922B CN201510401200.2A CN201510401200A CN105031922B CN 105031922 B CN105031922 B CN 105031922B CN 201510401200 A CN201510401200 A CN 201510401200A CN 105031922 B CN105031922 B CN 105031922B
Authority
CN
China
Prior art keywords
role
list
game
character
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510401200.2A
Other languages
Chinese (zh)
Other versions
CN105031922A (en
Inventor
戴俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510401200.2A priority Critical patent/CN105031922B/en
Publication of CN105031922A publication Critical patent/CN105031922A/en
Priority to PCT/CN2016/088526 priority patent/WO2017005162A1/en
Application granted granted Critical
Publication of CN105031922B publication Critical patent/CN105031922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a game data processing method, a game server and a game client. The method includes the steps that a trigger command for adding a first character to a game scene is received; identification information of the first character is recorded in a first character list; the first character list is used for recording identification information of characters who are visible to one another in the game scene; the state information of the first character is sent to player clients corresponding to other characters except the first character in the first character list so that the player clients can be presented as the state of the first character in the local game scene. By the adoption of the game data processing method, the game server and the game client, calculation consumption of the game server can be saved, and the load capacity of the single game server for people is improved.

Description

The processing method of game data, game services end and game client
Technical field
The present invention relates to field of network game technology, more particularly to a kind of processing method of game data, game services end And game client.
Background technology
MMOPRG (Massive Multiplayer Online Role-Playing Game, abbreviation MMORPG) be online game one kind, player needs to play the part of a fictional character, and controls the role and carry out phase The game action answered.MMORPG has a lasting virtual world, the host-type service that the virtual world is provided by operator Device runs, and constantly evolution.MMORPG point is client and server two parts, and player is connected from client by the Internet, Just can be played behind Sign-On services end.The process of game is the role of player's role and other players control in network Realize in virtual world interactive.Therefore, in same scene of game, the role image of player needs to be perceived by other players. When game role is moved in map scene, does action, role state can change, the visitor of other players on network Family end dispaly state is updated by server broadcast message package.The size of message of state synchronized depends on virtual scene middle reaches Game role quantity present on play role viewing area of interest.The interacting message of a large amount of player roles, can cause a large amount of Internet message bag send, and game client formed greatly render pressure, affect game experiencing.
When the player role in the viewing area of player role is excessive, a scene is cut into rectangle net by prior art Lattice region, player only with the nine grids of scene present position in the range of player carry out message synchronization, reduce interactive object number, To ensure the smooth operation of game.But because the role in scene is freely controlled by player, substantial amounts of role is likely to accumulate in same In the range of individual nine grids, the upper limit that role shows is uncontrollable, in this case it is still possible to more than the network bandwidth and client operational capability.
Prior art realizes internet message packet filtering by paying close attention to list, and server safeguards individually visible to each player Property list.Observability list such as player A is visible other player roles in the player A visuals field.When the game role of player A When generating state changes, whether server need to travel through the observability list of all roles in the scene, judge player A to be received In the observability list of player, if, receive player to band and send internet message bag, otherwise do not send internet message bag.But It is that when the role of scene of game is more, the calculation consumption that server travels through each observability list is higher, and all objects for appreciation Family safeguards that an observability list needs to take more additional storage space.And the role of client shows number with scene The increase of number and increase, to easily cause and cause low memory because role shows that number is excessive, so as to be closed by force by operating system Close program.
The content of the invention
The embodiment of the present invention proposes a kind of processing method of game data, game services end and game client, Neng Goujie The calculation consumption at game services end is saved, the number load at separate unit game services end is improved.
In a first aspect, the embodiment of the present invention provides a kind of processing method of game data, including:
It is pre-configured with N number of character list;Wherein, N >=2;Each character list is used to record the identification information of role, is remembered It is downloaded to the role in same character list visible mutually in the scene of game;
Receive the triggering command that first role is added scene of game;
Obtain role's quantity that N number of character list is currently recorded;
Judge whether role's quantity that each described character list is currently recorded is equal to default higher limit;
If so, a new character list is then created, as first role list;
If it is not, then a character list is selected in the character list from the current role's quantity recorded less than A/B, as institute State first role list;Wherein, A be the higher limit, B >=1;
The identification information of the first role is recorded in the first role list;
The status information of the first role is sent in the first role list in addition to the first role Player's client corresponding to other roles, so that player's client shows the first role in local game scene State.
Further, the processing method of the game data also includes:
After N number of character list is pre-configured with, one is worked out for each character list according to number order from small to large List number.
Further, a character list is selected in the character list from the current role's quantity recorded less than A/B, As the first role list, specially:
From character list of the current role's quantity recorded less than A/B, the role row of role's minimum number are selected Table, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a minimum role of alternative column table number List, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a maximum role of alternative column table number List, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a character list is randomly choosed, make For the first role list.
Further, after the identification information by the first role is recorded in first role list, also include:
The identification information of the first role is saved in into angle with the mapping relations of the list number of the first role list In color data base.
Further, after the identification information by the first role is recorded in first role list, also include:
By the status information of other roles, the corresponding first player client of the first role is sent to, so that The first player client shows the state of other roles in local game scene.
Further, the status information by the first role, is sent in the first role list except described The player's client corresponding to other roles outside first role, so that player's client shows in local game scene Show the state of the first role, specifically include:
The status information that the corresponding first player client of the first role sends is received, the status information includes institute State the identification information and state content of first role;
According to the identification information of the first role, the mapping relations inquired about in the character data storehouse determine described the The identification information of one role is logged in the first role list;
According to the identification information of role described in the first role list, it is determined that in addition to the first role Player's client corresponding to other roles;
By the status information of the first role, the player's client being sent to corresponding to described other roles, so that institute State the state that player's client shows the first role in local game scene.
Further, when the state content leaves the scene of game for the first role, by described first The status information of role, after being sent to the player's client corresponding to described other roles, also includes:
In the first role list, the identification information of the first role is deleted, and in the character data storehouse, Delete the identification information of the first role and the mapping relations of the list number of the first role list.
Second aspect, embodiments provides a kind of processing method of game data, including:
The triggering command that first role is added scene of game is sent to game services end, so that the game services end will The identification information of the first role is recorded in first role list;Wherein, it is configured with N number of role at the game services end List, N >=2;Each character list is used to record the identification information of role, is logged into the role in same character list in institute State visible mutually in scene of game;The first role list is the character list from the current role's quantity recorded less than A/B One character list of middle selection, wherein, A be default higher limit, B >=1;
The status information of first role is sent to the game services end, so that the game services end is by described first jiao The status information of color is transmitted to the player corresponding to other roles in the first role list in addition to the first role Client, so that player's client shows the state of the first role in local game scene.
Further, the game services end has worked out one according to number order from small to large for each character list List number.
Further, in the triggering command for sending to game services end and first role being added scene of game, so that After the game services end is recorded the identification information of the first role in first role list, also include:
Receive the status information of other roles that the game services end sends;
The state of other roles is shown in local game scene.
Further, identification information of the status information of the first role comprising the first role and state content;
When the state content leaves the scene of game for the first role, the game services termination receives institute After stating the status information of first role, the identification information of the first role is deleted from the first role list.
The third aspect, embodiments provides a kind of game services end, including:
Dispensing unit, for configuring N number of character list;Wherein, N >=2;Each character list is used to record the mark of role Information, is logged into the role in same character list visible mutually in the scene of game;
Triggering receiving unit, for receiving the triggering command that first role is added scene of game;
Acquiring unit, for obtaining role's quantity that N number of character list is currently recorded;
Judging unit, for judging it is default whether role's quantity of each described character list currently record is equal to Limit value;
List select unit, for when the judged result of the judging unit is to be, creating a new character list, As first role list;And when the judged result of the judging unit is no, be less than from the current role's quantity recorded A character list is selected in the character list of A/B, as the first role list;Wherein, A be the higher limit, B >=1;
Unit is recorded, for the identification information of the first role to be recorded in the first role list;
With, the first transmitting element, for by the status information of the first role, being sent to the first role list in The player's client corresponding to other roles in addition to the first role, so that player's client is in local game field The state of the first role is shown in scape.
Further, the dispensing unit is additionally operable to after N number of character list is configured, according to number order from small to large A list number is worked out for each character list.
Further, the list select unit the judging unit judged result for it is no when, record from current Role's quantity selects a character list in the character list less than A/B, as the first role list, specially:
From character list of the current role's quantity recorded less than A/B, the role row of role's minimum number are selected Table, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a minimum role of alternative column table number List, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a maximum role of alternative column table number List, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a character list is randomly choosed, make For the first role list.
Further, the game services end also includes:Memory element;
The memory element is used for the identification information of the first role and the list number of the first role list Mapping relations are saved in character data storehouse.
Further, the game services end also includes the second transmitting element;
Second transmitting element is used to that the identification information of the first role to be recorded into first in the record unit After in character list, by the status information of other roles, the corresponding first player client of the first role is sent to End, so that the first player client shows the state of other roles in local game scene.
Further, first transmitting element includes:
Information receiving subelement, for receiving the state letter that the corresponding first player client of the first role sends Breath, identification information of the status information comprising the first role and state content;
Inquiry subelement, for according to the identification information of the first role, the mapping inquired about in the character data storehouse to be closed System, the identification information for determining the first role is logged in the first role list;
With information sends subelement, right for by the status information of the first role, being sent to described other role institutes The player's client answered, so that player's client shows the state of the first role in local game scene.
Further, the game services end also includes:Delete unit;
The deletion unit is used for when the state content leaves the scene of game for the first role, described First transmitting element by the status information of the first role, be sent to player's client corresponding to described other roles it Afterwards, in the first role list, the identification information of the first role is deleted, and in the character data storehouse, is deleted The mapping relations of the identification information of the first role and the list number of the first role list.
Fourth aspect, the present invention provides embodiment a kind of game client, including:
Triggering transmitting element, for sending the triggering command that first role is added scene of game to game services end, with Make the game services end that the identification information of the first role is recorded in first role list;Wherein, in the game Service end is configured with N number of character list, N >=2;Each character list is used to record the identification information of role, is logged into same Role in character list is visible mutually in the scene of game;The first role list is from the current role's number recorded Amount less than A/B character list in choose a character list, wherein, A be default higher limit, B >=1;
With status information transmitting element, for sending the status information of first role to the game services end, so that institute State game services end by the status information of the first role be transmitted in the first role list except the first role it Player's client corresponding to other outer roles, so that player's client shows described first in local game scene The state of role.
Further, one has been worked out for each character list according to number order from small to large at the game services end Individual list number.
Further, the game client also includes:
Status information receiving unit, adds first role for sending to game services end in the triggering transmitting element The triggering command of scene of game, so that the identification information of the first role is recorded first role row by the game services end After in table, the status information that the game services end sends other roles is received;
With display unit, for showing the state of other roles in local game.
Further, identification information of the status information of the first role comprising the first role and state content;
When the state content leaves the scene of game for the first role, the game services termination receives institute After stating the status information of first role, the identification information of the first role is deleted from the first role list.
Implement the embodiment of the present invention, have the advantages that:
A kind of processing method of game data provided in an embodiment of the present invention, it is adaptable to game services end.Game services end The triggering command that first role is added scene of game is received, the identification information of first role is recorded into first role list In, the current described role's quantity of first role list is less than default higher limit.Then game services end is by first role Status information, the player's client being sent in first role list corresponding to other roles in addition to first role, with Make player's client that the status information of first role is shown in local game scene.Need to travel through each compared to prior art The list that character list inquiry first role is located, by carrying out multi-zone supervision to scene of game, per layer arranges one to the present invention Character list, the number of plies can be greatly promoted with dynamic increase, the role's number accommodated with scene, and whether character location is excessively concentrated will not Affect the load of server.And after scene of game layering, the identification information of first role is recorded in first role list, the The status information of one role need to only be sent to other roles in same character list, and need not travel through whole players in scene Character list, saves the computing of game services end and consumes, and improves the number load at separate unit game services end.
Further, before the identification information of first role is recorded in first role list, can be according to actual need Formulate different lists and select rule, such as select the character list of role's minimum number as first role list, improve this The application and practicality of processing method.
On the other hand, the invention provides a kind of processing method of game data, it is adaptable to game client.Game client Hold to game services end and send the triggering command that first role adds scene of game, so that game services end is by the mark of first role Knowledge information is recorded in first role list.Then game client sends the status information of first role to game services end, So that the status information of first role to be transmitted in first role list other angles in addition to first role at game services end Player's client corresponding to color.Compared to status information or game that prior art game client need to receive all players There is ghost phenomena in local game scene in client, and technical scheme makes the state letter that game client is received Higher limit of the breath number less than first role list.Information exchange quantity between game client and game services end is fixed on Within the scope of one, can't increase and linear increment with scene of game number, make game client in local game scene Role shows that number is in a stable scope.Further, since role's quantity for rendering of game client is controlled fixed upper In limit, game client will not because excessive role show number cause low memory and by operating system bolt down procedure by force.
Another aspect, the invention provides a kind of game services end, employs the place of game data provided by the present invention Reason method, compared to the game services end of prior art, the game services end of the present invention to scene of game by carrying out layered cylinderses Reason, one character list of per layer of setting, the number of plies can be greatly promoted with dynamic increase, the role's number accommodated with scene, character location Whether the load for not interfering with server is excessively concentrated.And after scene of game layering, the identification information of first role is recorded In first role list, the status information of first role need to only be sent to other roles in same character list, and without the need for time The character list of whole players in scene is gone through, the computing of game services end is saved and is consumed, improve the number at separate unit game services end Load.
Another further aspect, the invention provides a kind of game client, employs the place of game data provided by the present invention Reason method, compared to the game client of prior art, the status information number that the game client that the present invention is provided is received is not More than the higher limit of first role list.Information exchange quantity between game client and game services end is fixed on a model In enclosing, can't increase and linear increment with scene of game number, show role of the game client in local game scene Registration is in a stable scope.Further, since role's quantity that game client is rendered is controlled in the fixed upper limit, trip Play client will not because excessive role show number cause low memory and by operating system bolt down procedure by force.
Description of the drawings
Fig. 1 is a kind of schematic flow sheet of embodiment of the processing method of the game data that the present invention is provided;
Fig. 2 is the schematic flow sheet of another kind of embodiment of the processing method of the game data that the present invention is provided;
Fig. 3 is a kind of structural representation of embodiment at the game services end that the present invention is provided;
Fig. 4 is the structural representation of another kind of embodiment at the game services end that the present invention is provided;
Fig. 5 is the structural representation of another embodiment at the game services end that the present invention is provided;
Fig. 6 is a kind of structural representation of embodiment of the game client that the present invention is provided
Fig. 7 is the structural representation of another kind of embodiment of the game client that the present invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiment 1
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of embodiment of the processing method of the game data that the present invention is provided, Suitable for game services end, the method is comprised the following steps:
Step 101:Receive the triggering command that first role is added scene of game.
In the present embodiment, game services end receives the triggering command that first role is added scene of game, and the triggering refers to Order can be the triggering command, or game services that the first client corresponding to first role sends to game services end Hold the role's operational order sent according to game logic and the first client and trigger the finger that first role is added scene of game Order.
Step 102:The identification information of first role is recorded in first role list;Wherein, first role list is used In the identification information for recording mutual visible role in scene of game.
In the present embodiment, game services end carries out multi-zone supervision to same scene of game, is pre-configured with N number of role's row Table, and work out a list number for each character list according to number order from small to large;Wherein, N >=2;Each role's row Table is used to record the identification information of role, and it is visible mutually in the scene of game to be logged into the role in same character list, The role being logged in different role row is mutually invisible in the scene of game.Role's number described in each character list Amount is less than default higher limit.Before the identification information of first role is recorded first role list, first role list Current described role's quantity is less than default higher limit.
In the present embodiment, the numeral of N and the selection of higher limit, will consider game and be distributed with scene number, and The average processing power of network and client.Default higher limit should not exceed game client maximum processing capability and The traffic load of player's network environment.But, the higher limit of setting can set according to the threshold treatment ability of game client Fixed, because in MMORPG, player it is generally desirable to as far as possible with more with scene player interaction, and higher limit crosses that I haven't seen you for ages weakens trip The social experience of play.
As the present embodiment one kind citing, in the identification information of first role to be recorded first role list it Before, also include:Obtain role's quantity that N number of character list is currently recorded;Judge role's number that each character list is currently recorded Whether amount is equal to the higher limit;If so, a new character list is then created, as first role list;If it is not, then from work as Role's quantity of front record selects a character list in the character list less than A/B, used as first role list;Wherein, A is The higher limit, B >=1.In this citing, when the role's quantity described in each character list reaches higher limit, one is newly created Individual character list, it is to avoid role cannot be introduced into scene of game.In addition, game services end can arrange different rule according to practical situation Then selecting first role list, so as to each role in reasonable management game services end.For example, from the current role's number recorded In character list of the amount less than A/B, a character list of role's minimum number is selected, as the first role list;Or Person, from character list of the current role's quantity recorded less than A/B, a minimum character list of alternative column table number, as The first role list;Or, from character list of the current role's quantity recorded less than A/B, alternative column table number is maximum A character list, as the first role list;Or, from the current role's quantity recorded, the role less than A/B arranges In table, a character list is randomly choosed, as the first role list.Prioritizing selection character list fewer in number be for The number of players allowed between different role list is uniformly distributed as far as possible, so to the experience of the player in different role list Can be relatively uniform.In one preferred embodiment, B=2.
Step 103:By the status information of first role, be sent in first role list in addition to first role other Player's client corresponding to role, so that player's client shows the state of first role in local game scene.
As one kind citing of the present embodiment, after the identification information of first role is recorded in first role list, Also include:The mapping relations of the identification information of first role and the list number of first role list are saved in into character data storehouse In.In this citing, character data storehouse is used to store the corresponding character data of each role in game services end.Game services end Character data storehouse can be inquired about, the character data of a certain role is obtained.In this citing, character data storehouse also preserves the mark of first role The mapping relations of knowledge information and the list number of first role list.
Game services end by the status information of first role, be sent in first role list in addition to first role its Player's client corresponding to his role, so that player's client shows the state of first role in local game scene, tool Body includes:The status information that the corresponding first player client of first role sends is received, the status information includes first role Identification information and state content;According to the identification information of first role, the mapping relations inquired about in character data storehouse determine the The identification information of one role is logged in first role list;Believed according to the mark of role described in first role list Breath, it is determined that the player's client corresponding to other roles in addition to first role;By the status information of first role, it is sent to Player's client corresponding to other roles, so that player's client shows the state of first role in local game scene.
State content in status information includes:First role enters the scene of game, first role in the scene of game Middle transmission state updates or first role leaves the scene of game.When state content leaves scene of game for first role, By the status information of first role, after being sent to the player's client corresponding to other roles, also include:In first role row In table, the identification information of first role is deleted, and in character data storehouse, delete the identification information and first role of first role The mapping relations of the list number of list.So as to ensure that the status information that other roles send will not be transmitted to corresponding to first role The first client, reduce the traffic volume of status information, and avoid the identification information of first role from being logged into multiple angles In color row.
As the present embodiment one kind citing, in the identification information of first role to be recorded first role list it Afterwards, also include:By the status information of other roles, the corresponding first player client of first role is sent to, so that first plays Family's client shows the state of other roles in local game scene.
It can be seen that, a kind of processing method of game data that the present invention is provided, it is adaptable to game services end.Game services are terminated The triggering command that first role is added scene of game is received, the identification information of first role is recorded in first role list, The current described role's quantity of first role list is less than default higher limit.Then game services end is by the shape of first role State information, the player's client being sent in first role list corresponding to other roles in addition to first role, so as to play Family's client shows the status information of first role in local game scene.Need to travel through each role compared to prior art The list that list query first role is located, the present invention is by carrying out multi-zone supervision, one role of per layer of setting to scene of game List, the number of plies can be greatly promoted with dynamic increase, the role's number accommodated with scene, and whether character location is excessively concentrated does not interfere with The load of server.And after scene of game layering, the identification information of first role is recorded in first role list, first jiao The status information of color need to only be sent to other roles in same character list, and need not travel through the role of whole players in scene List, saves the computing of game services end and consumes, and improves the number load at separate unit game services end.
Further, before the identification information of first role is recorded in first role list, can be according to actual need Formulate different lists and select rule, such as select the character list of role's minimum number as first role list, improve this The application and practicality of processing method.
Embodiment 2
Referring to Fig. 2, the invention provides the schematic flow sheet of another kind of embodiment of the processing method of game data, is suitable for In game client, the method includes:
Step 201:The triggering command that first role is added scene of game is sent to game services end, so that game services End is recorded the identification information of first role in first role list;Wherein, first role list is used to record scene of game In mutual visible role identification information.
In the present embodiment, game client sends to game services end and adds the triggering of scene of game to refer to first role Order, can be that game client sends, or in user operation first role from trend game services end, game visitor Family end to game services end sends role's operational order, and game services end sends role according to game client to game services end Operational order and game logic and trigger the instruction that first role is added scene of game.
In the present embodiment, N number of character list is configured with game services end, and is according to number order from small to large Each character list has worked out a list number;Wherein, N >=2.Each character list is used to record the identification information of role, quilt It is recorded the role in same character list visible mutually in scene of game.First role list is from the current role for recording Quantity less than A/B character list in choose a character list, wherein, A be default higher limit, B >=1.At first jiao The identification information of color is recorded before first role list, and the current described role's quantity of first role list is less than the upper limit Value.The more detailed flow process of this step can be, but not limited to be recorded referring to the correlation of embodiment 1.
As one kind citing of the present embodiment, sending the triggering of first role addition scene of game to game services end Instruction, so that after game services end is recorded the identification information of first role in first role list, the game data Processing method also includes:Receive the status information of other roles that game services end sends;It is shown in local game scene The state of his role.After the identification information of first role is recorded in first role list, the first client need to locally swim The state of other roles is shown in play scene, at this moment game services end is by other in first role list in addition to first role Current state information corresponding to role is sent to the first client, so that the first client shows in local game scene The state of other roles.
Step 202:The status information of first role is sent to institute's game services end, so that game services end is by first role Status information be transmitted in first role list player's client corresponding to other roles in addition to first role so that Player's client shows the state of first role in local game scene.
In the present embodiment, standard information of the status information of first role comprising first role and state content.Wherein, State content includes:First role sends state renewal or first into the scene of game, first role in the scene of game Role leaves the scene of game.When state content leaves the scene of game for first role, game services termination receives first After the status information of role, the identification information of first role is deleted at game services end from first role list.
It can be seen that, the invention provides a kind of processing method of game data, it is adaptable to game client.Game client to Game services end sends the triggering command that first role adds scene of game, so that the mark of first role is believed at game services end Breath is recorded in first role list.Then game client sends the status information of first role to game services end, so that The status information of first role is transmitted in first role list other role institutes in addition to first role at game services end Corresponding player's client.Compared to status information or game client that prior art game client need to receive all players There is ghost phenomena in local game scene in end, and technical scheme makes the status information number that game client is received Less than the higher limit of first role list.Information exchange quantity between game client and game services end is fixed on one In the range of, can't increase and linear increment with scene of game number, make role of the game client in local game scene Show that number is in a stable scope.Further, since role's quantity that game client is rendered is controlled in the fixed upper limit, Game client will not because excessive role show number cause low memory and by operating system bolt down procedure by force.
Embodiment 3
Referring to Fig. 3, a kind of structural representation of embodiment at the game services end that Fig. 3 is provided for the present invention.The game garment Business end includes:Triggering receiving unit 301, the record transmitting element 303 of unit 302 and first.Triggering receiving unit 301 is used to receive First role is added into the triggering command of scene of game.
Recording unit 302 is used to that the identification information of first role to be recorded in first role list.Wherein, first role List is used to record the identification information of mutual visible role in scene of game.
First transmitting element 303 is used for the status information of first role, is sent in first role list and removes first jiao The player's client corresponding to other roles outside color, so that player's client shows first role in local game scene State.
Used as one kind citing of the present embodiment, referring to Fig. 4, the another kind at the game services end that Fig. 4 is provided for the present invention is real Apply the structural representation of example.The difference of Fig. 4 and Fig. 3 is that game services end also includes:Dispensing unit 404, acquiring unit 405, Judging unit 406 and list select unit 407.
Dispensing unit 404 is used to configure N number of character list, and is each character list according to number order from small to large One list number of establishment;Wherein, N >=2;Each character list is used to record the identification information of role, is logged into same role Role in list is visible mutually in scene of game.Acquiring unit 405 is used to obtain the role that N number of character list is currently recorded Quantity.Judging unit 406 is used to judge whether role's quantity that each character list is currently recorded is equal to default higher limit. List select unit 407 is used for when the judged result of judging unit is to be, a new character list is created, as first jiao The swatch color list;And when the judged result of judging unit 406 is no, from the current role's quantity recorded, the role less than A/B arranges A character list is selected in table, as first role list;Wherein, A be the higher limit, B >=1.In the mark of first role Information is recorded before first role list, and the current described role's quantity of first role list is less than the higher limit.
In the citing of Fig. 4, list select unit 407 is recorded when the judged result of judging unit 406 is no from current Character list of role's quantity less than A/B in select a character list, as first role list, specially:From current In character list of the role's quantity of record less than A/B, a character list of role's minimum number is selected, as first role List;Or, from character list of the current role's quantity recorded less than A/B, the minimum role row of alternative column table number Table, as first role list;Or, from character list of the current role's quantity recorded less than A/B, alternative column table number is most A big character list, as first role list;Or, from character list of the current role's quantity recorded less than A/B In, a character list is randomly choosed, as first role list.
As one kind citing of the present embodiment, referring to Fig. 5, another reality at the game services end that Fig. 5 is provided for the present invention Apply the structural representation of example.The difference of Fig. 5 and Fig. 4 is that the game services end also includes:Memory element 508, second sends single Unit 509 and deletion unit 510.Memory element 508 is used for the list number by the identification information of first role and first role list Mapping relations be saved in character data storehouse.Second transmitting element 509 is used to record unit 302 by the mark of first role After information is recorded in first role list, by the status information of other roles, it is sent to first role corresponding first and plays Family's client, so that first player's client shows the state of other roles in local game scene.Deleting unit 510 is used for When state content leaves scene of game for first role, in the first transmitting element 303 by the status information of first role, send After to the player's client corresponding to other roles, in first role list, the identification information of deletion first role, and In character data storehouse, the mapping relations of the identification information of first role and the list number of first role list are deleted.
In the citing of Fig. 5, the first transmitting element 303 includes:Information receiving subelement, inquiry subelement and information send Subelement.Information receiving subelement is used to receive the status information that the corresponding first player client of first role sends, the shape Identification information of the state packet containing the first role and state content.Inquiry subelement is used to be believed according to the mark of first role Breath, the mapping relations inquired about in character data storehouse, the identification information for determining first role is logged in first role list.Letter Breath sends subelement to be used for the status information of first role, the player's client being sent to corresponding to other roles, so as to play Family's client shows the state of first role in local game scene.
More detailed process step of the invention can be, but not limited to refer to the related record of embodiment 1.
It can be seen that, the invention provides a kind of game services end, employs the process side of game data provided by the present invention Method, compared to the game services end of prior art, the game services end of the present invention by carrying out multi-zone supervision to scene of game, often Layer arranges a character list, and the number of plies can be greatly promoted with dynamic increase, the role's number accommodated with scene, character location whether mistake The load of server is not interfered with concentration.And after scene of game layering, the identification information of first role is recorded first jiao In the swatch color list, the status information of first role need to only be sent to other roles in same character list, and need not travel through scene The character list of interior whole players, saves the computing of game services end and consumes, and improves the number load at separate unit game services end.
Embodiment 4
Referring to Fig. 6, a kind of structural representation of embodiment of the game client that Fig. 6 is provided for the present invention.Game visitor Family end includes:Triggering transmitting element 601 and status information transmitting element 602.Triggering transmitting element 601 is used for game services end The triggering command that first role is added scene of game is sent, so that game services end is recorded the identification information of first role In first role list.Wherein, first role list is used to record the mark letter of mutual visible role in the scene of game Breath.Status information transmitting element 602 is used to send the status information of first role to game services end, so that game services end will The status information of first role is transmitted in first role list the visitor of the player corresponding to other roles in addition to first role Family end, so that player's client shows the state of first role in local game scene.
In the present embodiment, N number of character list is configured with game services end, and is according to number order from small to large Each character list has worked out a list number.Wherein, N >=2;Each character list is used to record the identification information of role, quilt It is recorded the role in same character list visible mutually in scene of game.First role list is from the current role for recording Quantity less than A/B character list in choose a character list, wherein, A be the higher limit, B >=1.In first role Identification information is recorded before first role list, and the current described role's quantity of first role list is less than the higher limit.
Used as one kind citing of the present embodiment, referring to Fig. 7, the another kind of the game client that Fig. 7 is provided for the present invention is real Apply the structural representation of example.The difference of Fig. 7 and Fig. 6 is that game client also includes:Status information receiving unit 703 and aobvious Show unit 704.Status information receiving unit 703 is used to be sent first role to game services end in triggering transmitting element 601 The triggering command of scene of game is added, so that game services end is recorded the identification information of first role in first role list Afterwards, the status information that game services end sends other roles is received.Display unit 704 is used to show other in local game The state of role.
More detailed steps flow chart of the invention can be, but not limited to be recorded referring to the correlation of embodiment 2.
It can be seen that, the invention provides a kind of game client, employs the process side of game data provided by the present invention Method, compared to the game client of prior art, the status information number that the game client that the present invention is provided is received is less than The higher limit of first role list.Information exchange quantity between game client and game services end is fixed on a scope It is interior, can't increase and linear increment with scene of game number, show role of the game client in local game scene Number is in a stable scope.Further, since role's quantity that game client is rendered is controlled in the fixed upper limit, game Client will not because excessive role show number cause low memory and by operating system bolt down procedure by force.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, can be Related hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (22)

1. a kind of processing method of game data, it is characterised in that include:
It is pre-configured with N number of character list;Wherein, N >=2;Each character list is used to record the identification information of role, is logged into Role in same character list is visible mutually in the scene of game;
Receive the triggering command that first role is added scene of game;
Obtain role's quantity that N number of character list is currently recorded;
Judge whether role's quantity that each described character list is currently recorded is equal to default higher limit;
If so, a new character list is then created, as first role list;
If it is not, then select a character list in the character list from the current role's quantity recorded less than A/B, as described the One character list;Wherein, A be the higher limit, B >=1;
The identification information of the first role is recorded in the first role list;
By the status information of the first role, be sent in the first role list in addition to the first role other Player's client corresponding to role, so that player's client shows the shape of the first role in local game scene State.
2. the processing method of game data according to claim 1, it is characterised in that the processing method of the game data Also include:
After N number of character list is pre-configured with, a list is worked out for each character list according to number order from small to large Number.
3. the processing method of game data according to claim 2, it is characterised in that described from the current role's number recorded Amount selects a character list in the character list less than A/B, as the first role list, specially:
From character list of the current role's quantity recorded less than A/B, a character list of role's minimum number is selected, made For the first role list;
Or, from character list of the current role's quantity recorded less than A/B, the minimum role row of alternative column table number Table, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, the maximum role row of alternative column table number Table, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a character list is randomly choosed, as institute State first role list.
4. the processing method of the game data according to Claims 2 or 3, it is characterised in that described by the first role Identification information be recorded in first role list after, also include:
The identification information of the first role is saved in into role's number with the mapping relations of the list number of the first role list According in storehouse.
5. the processing method of game data according to claim 1, it is characterised in that the mark by the first role After knowledge information is recorded in first role list, also include:
By the status information of other roles, the corresponding first player client of the first role is sent to, so that described First player's client shows the state of other roles in local game scene.
6. the processing method of game data according to claim 4, it is characterised in that the shape by the first role State information, the player client being sent to corresponding to other roles in the first role list in addition to the first role End, so that player's client shows the state of the first role in local game scene, specifically includes:
Receive the status information that the corresponding first player client of the first role sends, the status information includes described the The identification information and state content of one role;
According to the identification information of the first role, the mapping relations inquired about in the character data storehouse, described first jiao is determined The identification information of color is logged in the first role list;
According to the identification information of role described in the first role list, it is determined that other in addition to the first role Player's client corresponding to role;
By the status information of the first role, the player's client being sent to corresponding to described other roles, so that the object for appreciation Family's client shows the state of the first role in local game scene.
7. the processing method of game data according to claim 6, it is characterised in that when the state content is described the When one role leaves the scene of game, the status information of the first role is being sent to corresponding to described other roles Player's client after, also include:
In the first role list, the identification information of the first role is deleted, and in the character data storehouse, deleted The mapping relations of the identification information of the first role and the list number of the first role list.
8. a kind of processing method of game data, it is characterised in that include:
The triggering command that first role is added scene of game is sent to game services end, so that the game services end will be described The identification information of first role is recorded in first role list;Wherein, N number of role's row are configured with the game services end Table, N >=2;Each character list is used to record the identification information of role, is logged into the role in same character list described It is visible mutually in scene of game;The first role list is in the character list from the current role's quantity recorded less than A/B Choose a character list, wherein, A be default higher limit, B >=1;
The status information of first role is sent to the game services end, so that the game services end is by the first role Status information is transmitted to the player client corresponding to other roles in the first role list in addition to the first role End, so that player's client shows the state of the first role in local game scene.
9. the processing method of game data according to claim 8, it is characterised in that the game services end is according to from little A list number has been worked out to big number order for each character list.
10. the processing method of game data according to claim 8 or claim 9, it is characterised in that described to game services end The triggering command that first role is added scene of game is sent, so that the mark of the first role is believed at the game services end After breath is recorded in first role list, also include:
Receive the status information of other roles that the game services end sends;
The state of other roles is shown in local game scene.
The processing method of 11. game datas according to claim 8, it is characterised in that the state letter of the first role Identification information of the breath comprising the first role and state content;
When the state content leaves the scene of game for the first role, game services termination receives described the After the status information of one role, the identification information of the first role is deleted from the first role list.
12. a kind of game services ends, it is characterised in that include:
Dispensing unit, for configuring N number of character list;Wherein, N >=2;Each character list is used to record the mark letter of role Breath, is logged into the role in same character list visible mutually in the scene of game;
Triggering receiving unit, for receiving the triggering command that first role is added scene of game;
Acquiring unit, for obtaining role's quantity that N number of character list is currently recorded;
Judging unit, for judging whether role's quantity that each described character list is currently recorded is equal to the default upper limit Value;
List select unit, for when the judged result of the judging unit is to be, creating a new character list, as First role list;And when the judged result of the judging unit is no, it is less than A/B's from the current role's quantity recorded A character list is selected in character list, as the first role list;Wherein, A be the higher limit, B >=1;
Unit is recorded, for the identification information of the first role to be recorded in the first role list;
With, the first transmitting element, for by the status information of the first role, being sent to the first role list in remove institute The player's client corresponding to other roles outside first role is stated, so that player's client is in local game scene Show the state of the first role.
13. game services ends according to claim 12, it is characterised in that the dispensing unit is additionally operable to configuring N number of After character list, a list number is worked out for each character list according to number order from small to large.
14. game services ends according to claim 13, it is characterised in that the list select unit judges single described When the judged result of unit is no, from character list of the current role's quantity recorded less than A/B a character list, work are selected For the first role list, specially:
From character list of the current role's quantity recorded less than A/B, a character list of role's minimum number is selected, made For the first role list;
Or, from character list of the current role's quantity recorded less than A/B, the minimum role row of alternative column table number Table, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, the maximum role row of alternative column table number Table, as the first role list;
Or, from character list of the current role's quantity recorded less than A/B, a character list is randomly choosed, as institute State first role list.
The 15. game services ends according to claim 13 or 14, it is characterised in that the game services end also includes:Deposit Storage unit;
The memory element is used for the mapping of the identification information of the first role and the list number of the first role list Relation is saved in character data storehouse.
16. game services ends according to claim 12, it is characterised in that the game services end also sends including second Unit;
Second transmitting element is used to that the identification information of the first role to be recorded into first role in the record unit After in list, by the status information of other roles, the corresponding first player client of the first role is sent to, with Make the first player client that the state of other roles is shown in local game scene.
17. game services ends according to claim 15, it is characterised in that first transmitting element includes:
Information receiving subelement, for receiving the status information that the corresponding first player client of the first role sends, institute State identification information of the status information comprising the first role and state content;
Inquiry subelement, for according to the identification information of the first role, the mapping relations inquired about in the character data storehouse, really The identification information of the fixed first role is logged in the first role list;
With information sends subelement, for by the status information of the first role, being sent to corresponding to described other roles Player's client, so that player's client shows the state of the first role in local game scene.
18. game services ends according to claim 17, it is characterised in that the game services end also includes:Delete single Unit;
The deletion unit is used for when the state content leaves the scene of game for the first role, described first Transmitting element by the status information of the first role, after being sent to the player's client corresponding to described other roles, In the first role list, the identification information of the first role is deleted, and in the character data storehouse, delete described the The mapping relations of the identification information of one role and the list number of the first role list.
19. a kind of game clients, it is characterised in that include:
Triggering transmitting element, for sending the triggering command that first role is added scene of game to game services end, so that institute State game services end the identification information of the first role is recorded in first role list;Wherein, in the game services End is configured with N number of character list, N >=2;Each character list is used to record the identification information of role, is logged into same role Role in list is visible mutually in the scene of game;The first role list is little from the current role's quantity recorded In the character list of A/B choose a character list, wherein, A be default higher limit, B >=1;
With status information transmitting element, for sending the status information of first role to the game services end, so that the trip Play service end is transmitted to the status information of the first role in the first role list in addition to the first role Player's client corresponding to other roles, so that player's client shows the first role in local game scene State.
20. game clients according to claim 19, it is characterised in that the game services end is according to from small to large Number order has worked out a list number for each character list.
21. game clients according to claim 19 or 20, it is characterised in that the game client also includes:
Status information receiving unit, plays for sending to add first role to game services end in the triggering transmitting element The triggering command of scene, so that the game services end is recorded the identification information of the first role in first role list Afterwards, the status information that the game services end sends other roles is received;
With display unit, for showing the state of other roles in local game.
22. game clients according to claim 20, it is characterised in that the status information of the first role includes institute State the identification information and state content of first role;
When the state content leaves the scene of game for the first role, game services termination receives described the After the status information of one role, the identification information of the first role is deleted from the first role list.
CN201510401200.2A 2015-07-07 2015-07-07 Game data processing method, game server and game client Active CN105031922B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510401200.2A CN105031922B (en) 2015-07-07 2015-07-07 Game data processing method, game server and game client
PCT/CN2016/088526 WO2017005162A1 (en) 2015-07-07 2016-07-05 Game data processing method, game serving end and game client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510401200.2A CN105031922B (en) 2015-07-07 2015-07-07 Game data processing method, game server and game client

Publications (2)

Publication Number Publication Date
CN105031922A CN105031922A (en) 2015-11-11
CN105031922B true CN105031922B (en) 2017-04-12

Family

ID=54439259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510401200.2A Active CN105031922B (en) 2015-07-07 2015-07-07 Game data processing method, game server and game client

Country Status (2)

Country Link
CN (1) CN105031922B (en)
WO (1) WO2017005162A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105031922B (en) * 2015-07-07 2017-04-12 网易(杭州)网络有限公司 Game data processing method, game server and game client
CN106131038B (en) * 2016-07-21 2019-03-19 网易(杭州)网络有限公司 The creation method and device of object
CN106385408B (en) * 2016-09-01 2019-08-16 网易(杭州)网络有限公司 The instruction of motion state variation, processing method and processing device
CN106454438B (en) * 2016-11-16 2019-12-10 腾讯科技(深圳)有限公司 data processing method, related equipment and system
CN106453638B (en) 2016-11-24 2018-07-06 腾讯科技(深圳)有限公司 Information interacting method and system in a kind of applied business
CN107096226B (en) * 2017-03-30 2019-02-26 腾讯科技(深圳)有限公司 The method and apparatus of account are shown in the client
CN107596690B (en) * 2017-10-10 2020-12-08 网易(杭州)网络有限公司 Interface display method and terminal equipment
CN107911374B (en) * 2017-11-27 2020-09-29 腾讯科技(上海)有限公司 Data synchronization method and device, storage medium and electronic device
CN108295474A (en) * 2017-12-28 2018-07-20 天脉聚源(北京)科技有限公司 A kind of game parameter processing method and processing device
CN109873876B (en) * 2019-03-25 2020-10-27 中国科学技术大学 Method for interaction and calculation load balanced distribution of distributed virtual environment
CN112619136B (en) * 2020-12-29 2023-08-15 珠海金山数字网络科技有限公司 Game role control system, method and device
CN114344900A (en) * 2021-12-31 2022-04-15 北京字跳网络技术有限公司 Role control method, terminal device and system
CN115185412B (en) * 2022-07-15 2023-08-11 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556491A (en) * 2003-12-30 2004-12-22 北京金山数字娱乐科技有限公司 Servicer system
WO2006124922A2 (en) * 2005-05-17 2006-11-23 Super Computer International Collaborative online gaming system and method
CN1877590A (en) * 2006-07-11 2006-12-13 北京金山软件有限公司 Method for displaying non-master players in mobile phone network game
US9555334B2 (en) * 2006-12-13 2017-01-31 Qualcomm Incorporated System and method for managing virtual worlds mapped to real locations in a mobile-enabled massively multiplayer online role playing game (MMORPG)
CN100589423C (en) * 2007-10-15 2010-02-10 成都市华为赛门铁克科技有限公司 The method and the device of identification data streams in multi-person online role playing game
US8182320B2 (en) * 2009-05-29 2012-05-22 Kingsisle Entertainment Incorporated Collectable card-based game in a massively multiplayer role-playing game
CN103391276B (en) * 2012-05-10 2016-01-20 腾讯科技(深圳)有限公司 The method of display and control and device
CN104238870A (en) * 2013-06-20 2014-12-24 恩希软件株式会社 Method and device for supplying online service for multiple accessed clients simultaneously
CN103678892A (en) * 2013-12-03 2014-03-26 腾讯科技(成都)有限公司 Role object management method and role object management device
CN105031922B (en) * 2015-07-07 2017-04-12 网易(杭州)网络有限公司 Game data processing method, game server and game client

Also Published As

Publication number Publication date
WO2017005162A1 (en) 2017-01-12
CN105031922A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105031922B (en) Game data processing method, game server and game client
US20090227368A1 (en) Display of notational object in an interactive online environment
CN105848743B (en) Information processing unit, information processing system, program, recording medium
TWI327081B (en)
CN106110659B (en) The processing method and processing device of game account
US20150052458A1 (en) Cross platform sharing of user-generated content
JP2002233668A (en) Character lend/rent realizing game program, recording medium recording character lend/rent realizing game program, character lend/rent realizing method, and character lend/rent realizing system
CN108310771A (en) The execution method and apparatus of task, storage medium, electronic device
TWI804208B (en) Method of displaying interface of game settlement, device, equipment, storage medium, and computer program product
US20140295973A1 (en) Server device, and non-transitory computer-readable storage medium storing game program
US9550122B2 (en) System and method for dynamically determining paths between destinations in a virtual space
KR20230087602A (en) Virtual character control method and device, terminal, storage medium, and program product
US9731201B1 (en) Method and system for facilitating chance-based in-game virtual item distribution
JP5960339B1 (en) GAME PROGRAM, GAME CONTROL METHOD, AND COMPUTER
KR101404635B1 (en) Method for processing a drag input in online game
US20100099495A1 (en) Interactive network game and methods thereof
JP5856326B1 (en) GAME PROGRAM, GAME CONTROL METHOD, AND COMPUTER
CN111973983A (en) Game data transmission method and device, electronic equipment and storage medium
US10668384B2 (en) System using rule based techniques for handling gameplay restrictions
JP6982256B2 (en) Computer programs and computer equipment
JP2014188372A (en) Server device and game program
WO2024045806A1 (en) Virtual scene-based skill acquisition method and apparatus, device, medium, and product
US11642592B2 (en) Server device, method for controlling the same, computer-readable recording medium and game system
JP7093586B1 (en) Computer programs for games, game systems and their control methods
WO2024055811A1 (en) Message display method and apparatus, device, medium, and program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant