CN100389426C - Method for providing game room information for game client end - Google Patents

Method for providing game room information for game client end Download PDF

Info

Publication number
CN100389426C
CN100389426C CNB2005101029258A CN200510102925A CN100389426C CN 100389426 C CN100389426 C CN 100389426C CN B2005101029258 A CNB2005101029258 A CN B2005101029258A CN 200510102925 A CN200510102925 A CN 200510102925A CN 100389426 C CN100389426 C CN 100389426C
Authority
CN
China
Prior art keywords
game
information
client
room
game room
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
CNB2005101029258A
Other languages
Chinese (zh)
Other versions
CN1851723A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101029258A priority Critical patent/CN100389426C/en
Publication of CN1851723A publication Critical patent/CN1851723A/en
Application granted granted Critical
Publication of CN100389426C publication Critical patent/CN100389426C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for providing game room information for game clients. The method comprises the steps that a game client sends a game room information request aiming at a certain game room to a game server; the game server sends game room information to the game client according to the received game room information request; when receiving state change information sent by a game client in the game room, the game server completely searches saved identification information of last game room request information of all other game clients in the game room, tests whether the identification of the game client with a changed state belongs to the identification information range of last game room request information of the currently completely searched game clients, and if true, then sends corresponding state change information to the currently completely searched game client. Consequently, the game room information is provided for the game clients, and the problems of heavy burdens of game client data processing and the accumulation of much redundant information in game clients in the prior art are solved.

Description

A kind of method that game room information is provided for game client
Technical field
The present invention relates to field of network game technology, specifically be meant a kind of method that game room information is provided for game client.
Background technology
Along with enriching constantly of online game kind and becoming stronger day by day of metwork game functions, the game user group also increases at a terrific speed.Present network game system mainly comprises: game services end and game client.Wherein, the game services end is used for providing the platform of playing to game user; Game client then is the underlying carrier that game user is played, and game user carries out online game by game client logging in game service end and other network gaming users.
When game user signs in to the game services end and enter a game room, in order to realize the synchronous of user data information that play in the game room, the game services end can all send to each action of each game user in the game room the every other user in the game room in real time, and the action of each game user in this game room, promptly state variation all constitutes the variation of game room's state.
For instance, when a game user entered the game room, the game services end can all send to this user with the current state information of all game users in this game room.Wherein, so-called status information mainly comprises: the user basic information of each game user (UserBaseInfo) and user's table information (UserTabInfo) etc. in this game room.Wherein, user basic information specifically comprises: user ID (UserID), desk sign, seat identification, operation mark and password etc.; And as long as the state of any game user in this game room changes, the game services end will be with the every other game user in this game room of state change information real-time informing of corresponding game user, for example: if there is game user to add the game room, the UserBaseInfo that the game services end just will add the game user of game room sends to the every other game user in this game room; If there is game user to add recreation, the UserTabInfo that the game services end just will add the game user of playing sends to the every other game user in this game room; If there is game user to leave recreation, the UserTabInfo that the game services end just will leave the game user of recreation sends to the every other game user in this game room; If there is game user to leave the game room, the UserLeaveRoomInfo that the game services end just leaves this game user of game room sends to the every other game user in this this game room.
This shows, when game client logging in game platform and after entering the game room, the game services end is in order to keep the synchronous of game room's data message, the status information of all game users in this game room is sent to the game client that each has just entered this game room, and the game services end also sends the state change information of every other game client in this game room in real time, cause game client to have to handle game room's synchrodata of magnanimity, especially when game room's volume ratio was big, the real time data processing burden of game client was just more for serious.For example: when game client enters the game room that holds 500 users, just have to handle the in real time synchrodata of other 499 game client in this game room, the game client less for memory headroom, that processing power is relatively poor and network transfer speeds is lower, as the moving game terminal not less than being a white elephant.
In addition, it is in order to make game user understand the current state of game room in real time that the game services end sends game room information, yet because present game client can only carry out the single task window treatments, and can't carry out the multitask window treatments, therefore when game client is in game state, just can't handle game room's state change information that the game services end sends, therefore the game services end information that sends to this game client all is unnecessary during this period, causes wasting of system resource.And, being limited to the display capabilities of game terminal sometimes, game client may can't once show all game room informations that receive at all, causes bulk redundancy information hoarding at game client.
Summary of the invention
In view of this, the object of the present invention is to provide a kind ofly for game client provides the method for game room information, over-burden and the problem of redundant information to solve in the prior art game client real time data processing.
The inventive method mainly comprises the steps:
A, game client are to the game room information request of game services end transmission at a certain game room;
B, game services end should send game room information to this game client at the game room information request of a certain game room according to what receive;
C, when the game services termination is received the state change information that game client in this game room sends, to being arranged in the state change information that every other game client that this game room and the game room information of asking comprise the game client client information of this generation state variation sends the game client of this generation state variation.
In the step a of said method, carry in the described game room information request: the identification information of game room information that game client is asked, described identification information comprises game room information content and quantity of information;
Described step b comprises:
B1, game services end send game room's status information according to the identification information of the described game room information that receives to described game client;
B2, game services end are preserved the identification information of game room information that described game client is asked.
In said method, described step b2 by: game services end preserve game client the last the identification information of request game room information;
Described step c comprises: the identification information of the last game room information of asking of every other game client in this game room that game services end traversal self is preserved, judge whether the identification information of the game client of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send the state change information of the game client of this generation state variation to the corresponding game client of current traversal.
In said method, further comprise: at the game services end screen display manager is set in advance, and in this screen display manager, is provided for writing down user's screen scope chained list of the identification information of the last game room information of asking of each game client in this game room;
Described step c comprises:
The screen display manager of game services end receives the game room information request at a certain game room that game client sends; And return the game room information of request to game client; And behind the state change information that game client sends in receiving this game room, travel through the identification information of the last game room information of asking of every other game client in this game room that writes down in described user's screen scope chained list, judge whether the identification information of the game client of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send the state change information of the game client of this generation state variation to the corresponding game client of current traversal.
In said method, described step b2 is: the game services end is preserved the identification information of all game room informations of game client request;
Described step c comprises: the identification information of game room information that every other game client is asked in this game room that game services end traversal self is preserved, therefrom obtain the identification information of the last game room information of asking of each game client, judge then whether the identification information of the game client of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send the state change information of the game client of this generation state variation to the corresponding game client of current traversal.
In said method, the identification information of described game room information is: the initial table for game sign of game room information that game client is asked and termination table for game sign;
Among the step b1, described game services end to the game room information that game client sends is: the game client client information of all table for games between described initial table for game sign and termination table for game sign.
In said method, described step a is: game client is according to being received from outside idsplay order to the game room information request of game services end transmission at a certain game room.
In said method, described step a is: game client is according to being provided with from the game room information request of trend game services end transmission at a certain game room, and make the scope of each game room information of asking continue mutually with the scope of the last game room information of asking, wherein, carry the identification information of the game room information of asking in the described game room information request, this identification information comprises game room information content and quantity of information.
In sum, the present invention takes: game client is to the game room information request of game services end transmission at a certain game room; The game services end sends game room information according to the game room information request that receives to game client; And when the game services termination is received the state change information that game client sends in this game room, the identification information of the last game room information of asking of every other game client in this game room that traversal is preserved, judge whether the game client sign of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send corresponding state change information to this game client.Thereby be embodied as the purpose that game client provides game room information flexibly, solved the problem that the game client data processing load is heavy and bulk redundancy information is hoarded at game client that exists in the prior art.
Description of drawings
Fig. 1 is a games system structural representation of the present invention.
Fig. 2 provides the method flow diagram of game room information for game client for the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Core concept of the present invention is: game client is to the game room information request of game services end transmission at a certain game room; The game services end sends game room information according to the game room information request that receives to game client.Realize that the game services end provides the purpose of game room information flexibly to game client.
The present invention is based on the games system structure of game client and game services end, system architecture as shown in Figure 1, wherein game client can comprise any terminal, as portable terminal or PC terminal etc.
Describe the inventive method in detail below by specific embodiment, this method flow specifically comprises the steps: as shown in Figure 2
Step 201: game client sends game room information request (requestRoomInfo) at a certain game room to the game services end, and carries the identification information of the game room information of asking in this request.
Wherein, the identification information of the game room information of asking can be: the initial table for game sign (startTableID) of the game room information of asking and termination table for game sign (endTableID).Game client means two aspect contents to the identification information that the game services end sends the game room information of asking, that is: game room information content and quantity of information; Wherein, quantity of information determines and can be configured according to processing power or other demand of game client.For example, the demonstration span of certain moving game terminal display interface is: the information of 10 table for games, then this game client can be asked the game room information of 10 table for games at every turn, as: ask initial table for game to be designated 1 to stopping the game room information that table for game is designated table for game between 10.And,, then can be provided with the quantity of information of each game room information of asking more greatly as PC etc. for the stronger game client of processing power, and as: ask initial table for game to be designated 1 and be designated the game room information of table for game between 150 to the termination table for game.The adjustment of above-mentioned quantity of information size can realize by the table for game identification information of adjusting the game room information of asking.
In addition, game client can send the required game room information of browsing of game room information acquisition request active user to the game services end according to the browse operation instruction from external user.Also can take in the function of game client setting according to continuation method request game room information: promptly game client can be by sending the game room information request continuously, and make the table for game sign scope of each game room information of ask continue mutually with the table for game scope that identifies of the last time game room information of asking, thereby the purpose of all game room informations of game room, place is obtained in realization.For example: after game user enters the game room, for the first time ask the table for game scope of game room information to be: the 1st to the 20th, ask for the second time automatic slip of table for game scope of game room information to be: the 21st to the 40th, ask the table for game scope of game room information then to be for the third time: the 41st to the 60th, and the like, finally be implemented in the purpose that game client smoothly shows all game room informations.
Step 202: after the game services termination is received this request, write down and preserve the identification information of game room information that this game client is asked.
Wherein, the game services end can and send the corresponding preservation of game client sign of this request with: the identification information of game room information that game client is asked.As: the game client sign is identified corresponding preservation etc. with the initial table for game sign and the termination table for game of game room information that this client is asked.
Step 203: the game services end returns the game room information of this game client request to game client.
Step 204: when the game client generation state variation in the game room, send corresponding state change information to the game services end by the game client of this generation state variation.
Step 205: after the game services termination is received this state change information, the identification information of game room information that every other game client is asked in this game room that traversal is preserved, judge whether the game client of this generation state variation belongs to the identification information scope of the game room information that game client is asked of current traversal, if then execution in step 206; Otherwise, do not send notice, process ends.
Step 206: this game client to current traversal sends corresponding state change information, process ends.
And in said method, can take following dual mode to send game room's state change information to game client, first kind of mode: in step 202, write down and preserve the identification information of all game room informations of game client request by the game services end.Then in step 205, the identification information of game room information that every other game client is asked in this game room that game services end traversal self is preserved, therefrom obtain the identification information of the last game room information of asking of each game client, judge then whether the identification information of the game client of this transmit status change information belongs to the identification information scope of the last game room information of asking of game client of current traversal, if, then to the corresponding game client transmit status change information of current traversal.
The second way: in step 202, by the game room information that the game services end writes down and preservation game client the last time is asked; In above-mentioned steps 205, the identification information of the last game room information of asking of every other game client is carried out follow-up determining step then in this game room that game services end traversal self is preserved then.
Said method is when specific implementation, can take at the game services end screen display manager (ScreenShowManager) to be set in advance, and in this screen display manager, be provided for user's screen scope chained list (UserScreenScopeList) of the identification information of the last game room information of asking of game client in the recording game chamber; Receive the game room information request that game client sends by the screen display manager then; Return the game room information of request then to game client; And receive the state change information that game client sends, travel through the identification information of the last game room information of asking of every other game client in the game room that writes down in user's screen scope chained list then, judge whether the game client sign of this transmit status change information belongs to the identification information scope of the last game room information of asking of game client of current traversal, if, then to the corresponding game client transmit status change information of current traversal.
Describe said method in detail below by an object lesson.
Suppose a game room, the ID of this game room is 10, has 150 desks in this game room, and every desk can allow 4 game users to play, as: play card.Current have in this game room: game user B and game user C, game user B is current to play at the 23rd, just plays at the 52nd and game user C is current.
Step 301: when game user A enters this game room, game user A sends the game room information request to the game services end, and in this request, comprise: sign (GameRoomID)=10, game room, user ID (userID)=10001, initial table for game sign=21 stops table for game sign=40.
Step 302: after the game services termination is received this request, write down and preserve the identification information that comprises in this request.
Step 303: the game services end returns the game room information of request to game user A, that is: belong to initial table for game sign 21 and identify game room information within 40 scopes to stopping table for game.
Step 304: when state variation took place the game user B that is positioned at the 23rd in the game room, this game user B sent corresponding state change information to the game services end.
Step 305: after the game services termination is received the state change information that game user B sends, travel through the identification information of the game room information of every other game user in this game room that self preserves, when the game services end travels through identification information to game user game room information that A asks, judge that according to the identification information of the last current game room information of asking of game user A and the user ID of game user B game user B belongs within the scope of game user game room information that A asks--23 between 21 to 40, therefore, the corresponding state change information of game user B is sent to game user A, process ends.
Step 306: when state variation took place the game user C that is positioned at the 52nd in the game room, same game user C sent corresponding state change information to the game services end.
Step 307: after the game services termination is received the state change information that game user C sends, the identification information of game room information that every other game user is asked in this game room that same traversal self is preserved, when the game services end travels through identification information to game user game room information that A asks, equally according to the user ID judgement game user C of the identification information of the last current game room information of asking of game user A and game user C do not belong to game user game room information that A asks scope--52 do not belong to 21 to 40 scope, therefore, the corresponding state change information with game user C does not send to game user A, process ends.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (8)

1. one kind for game client provides the method for game room information, it is characterized in that this method comprises:
A, game client are to the game room information request of game services end transmission at a certain game room;
B, game services end should send game room information to this game client at the game room information request of a certain game room according to what receive;
C, when the game services termination is received the state change information that game client in this game room sends, to being arranged in the state change information that every other game client that this game room and the game room information of asking comprise the game client client information of this generation state variation sends the game client of this generation state variation.
2. method according to claim 1 is characterized in that, among the step a, carries in the described game room information request: the identification information of game room information that game client is asked, and described identification information comprises game room information content and quantity of information;
Described step b comprises:
B1, game services end send game room's status information according to the identification information of the described game room information that receives to described game client;
B2, game services end are preserved the identification information of game room information that described game client is asked.
3. method according to claim 2 is characterized in that, described step b2 by: game services end preserve game client the last the identification information of request game room information;
Described step c comprises: the identification information of the last game room information of asking of every other game client in this game room that game services end traversal self is preserved, judge whether the identification information of the game client of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send the state change information of the game client of this generation state variation to the corresponding game client of current traversal.
4. method according to claim 3, it is characterized in that, this method comprises: at the game services end screen display manager is set in advance, and is provided for writing down user's screen scope chained list of the identification information of the last game room information of asking of each game client in this game room in this screen display manager;
Described step c comprises:
The screen display manager of game services end receives the game room information request at a certain game room that game client sends; And return the game room information of request to game client; And behind the state change information that game client sends in receiving this game room, travel through the identification information of the last game room information of asking of every other game client in this game room that writes down in described user's screen scope chained list, judge whether the identification information of the game client of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send the state change information of the game client of this generation state variation to the corresponding game client of current traversal.
5. method according to claim 2 is characterized in that, described step b2 is: the game services end is preserved the identification information of all game room informations of game client request;
Described step c comprises: the identification information of game room information that every other game client is asked in this game room that game services end traversal self is preserved, therefrom obtain the identification information of the last game room information of asking of each game client, judge then whether the identification information of the game client of this generation state variation belongs to the identification information scope of the last game room information of asking of game client of current traversal, if then send the state change information of the game client of this generation state variation to the corresponding game client of current traversal.
6. method according to claim 2 is characterized in that, the identification information of described game room information is: the initial table for game sign of game room information that game client is asked and termination table for game sign;
Among the step b1, described game services end to the game room information that game client sends is: the game client client information of all table for games between described initial table for game sign and termination table for game sign.
7. according to any described method in the claim 1 to 6, it is characterized in that described step a is: game client is according to being received from outside idsplay order to the game room information request of game services end transmission at a certain game room.
8. according to any described method in the claim 1 to 6, it is characterized in that, described step a is: game client is according to being provided with from the game room information request of trend game services end transmission at a certain game room, and make the scope of each game room information of asking continue mutually with the scope of the last game room information of asking, wherein, carry the identification information of the game room information of asking in the described game room information request, this identification information comprises game room information content and quantity of information.
CNB2005101029258A 2005-09-14 2005-09-14 Method for providing game room information for game client end Active CN100389426C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101029258A CN100389426C (en) 2005-09-14 2005-09-14 Method for providing game room information for game client end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101029258A CN100389426C (en) 2005-09-14 2005-09-14 Method for providing game room information for game client end

Publications (2)

Publication Number Publication Date
CN1851723A CN1851723A (en) 2006-10-25
CN100389426C true CN100389426C (en) 2008-05-21

Family

ID=37133202

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101029258A Active CN100389426C (en) 2005-09-14 2005-09-14 Method for providing game room information for game client end

Country Status (1)

Country Link
CN (1) CN100389426C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811209A (en) * 2011-06-03 2012-12-05 南京中兴新软件有限责任公司 Online game processing method, apparatus and system
TW201435791A (en) * 2013-03-08 2014-09-16 Ren-Fang Cai Fortunetelling information processing system, method and computer program product thereof, and cloud server
CN109743335A (en) * 2014-08-01 2019-05-10 广州华多网络科技有限公司 Interactive system, server, client and exchange method
CN105721239A (en) * 2016-01-18 2016-06-29 网易(杭州)网络有限公司 Game test method, device and game system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127261A (en) * 1997-07-08 1999-01-29 Hitachi Ltd Information transmission system and information processor for the same
CN1517847A (en) * 2003-01-21 2004-08-04 Electronic program guidance system and method
CN1589010A (en) * 2004-08-17 2005-03-02 大唐微电子技术有限公司 Multimedia search processing method based on TV

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127261A (en) * 1997-07-08 1999-01-29 Hitachi Ltd Information transmission system and information processor for the same
CN1517847A (en) * 2003-01-21 2004-08-04 Electronic program guidance system and method
CN1589010A (en) * 2004-08-17 2005-03-02 大唐微电子技术有限公司 Multimedia search processing method based on TV

Also Published As

Publication number Publication date
CN1851723A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
CN100442280C (en) Collaboration server, collaboration system, and method and program for collaboration server and system
US9479580B2 (en) Card-based processing and updates
US7730144B2 (en) High level network layer system and method
US6094675A (en) Electronic discussion system for exchanging information among users
US8407290B2 (en) Dynamic data sharing using a collaboration-enabled web browser
US7653737B2 (en) System and method for communication of streaming data
US6792448B1 (en) Threaded text discussion system
US20090228944A1 (en) System and method for chat load management in a network chat environment
CN101188577B (en) Multi-page instant communication method and system
US20020161837A1 (en) Status setting system and method
CN100389426C (en) Method for providing game room information for game client end
US8949344B2 (en) Asynchronous queued messaging for web applications
US20050138121A1 (en) Managing external data sources in a discussion forum resource
CN100438420C (en) Network media playing control system and its method
CN114679758A (en) Network switching method and device, electronic equipment and readable storage medium
CN116939029A (en) Method, server, client and system for obtaining intranet resources through client
JPH07288800A (en) Multimedia system
Anderson et al. Performance Issues in Digital Audio Networks
KR20030053827A (en) Instant messenger for language study and acting method the instant messenger
KR20020048505A (en) Method Of Providing Music Postcard Service In Web Chatting Environment
CN102868625A (en) Method and device for controlling outer traffic of local area network and computer-readable recording medium recording program embodying the method
CN103220332A (en) Browser-based point-to-point distribution system
KR20050073209A (en) The method and system of client terminal's storing, receiving and transmitting data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant