CN104801045A - Method and device for handling disconnection of mobile phone game - Google Patents
Method and device for handling disconnection of mobile phone game Download PDFInfo
- Publication number
- CN104801045A CN104801045A CN201510134827.6A CN201510134827A CN104801045A CN 104801045 A CN104801045 A CN 104801045A CN 201510134827 A CN201510134827 A CN 201510134827A CN 104801045 A CN104801045 A CN 104801045A
- Authority
- CN
- China
- Prior art keywords
- client
- role
- game server
- broken string
- game
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method for handling disconnection of a mobile phone game. The method comprises the steps of 1, sending a role login key to a client through a game server during normally logging in; 2, requesting the game server for login by the client using the role login key in case of disconnection of the client, and verifying the role login key through the game server; in case of passing the verification, returning the latest role data to the client. The invention further relates to a device applied to the method for handling the disconnection of the mobile phone game.
Description
Technical field
The present invention relates to a kind of game break line treatment method, particularly a kind of hand trip break line treatment method; The invention still further relates to the device for realizing said method.
Background technology
In present online game, particularly in hand trip, due to Signal reception problem, and there is the situation of network interruption.When there is network interruption, the role in game then cannot carry out normal activity, causes game to carry out smoothly.
Now, user is needed to re-start the login of game.Refer to Fig. 1, it is the treatment step flow chart of the game login of prior art.The flow and method of the login used in prior art, comprises the following steps:
Step a: user uses account number cipher to initiate to log in connection in client;
Step b: game server forwards from client account number cipher to data center;
Step c: verify account number cipher by data center, gets the Role Information of account and correspondence thereof after good authentication;
Steps d: receive account and Role Information by game server, return to client;
Step e: client-requested uses certain role's logging in game;
Step f: server creates character object, loads and sends character data to client;
Step g: the Role Information successfully loaded by client reception server, Successful login.
After user reconnects upper network, need the login carrying out account and password, just can return to original scene of game.And when logging in, needing to repeat a whole set of above-mentioned steps flow chart, the login time that produces is long, during this period of time, because user cannot the role of direct control game, likely can cause the loss in game, affect the experience of user.
Summary of the invention
The invention reside in the shortcoming and deficiency that overcome prior art, provide a kind of hand to swim the processing method of broken string.
The present invention is realized by following technical scheme: a kind of processing method of hand trip broken string, comprises the following steps:
Step 1: when normally logging in, logs in key to client by game server one role;
Step 2: when client breaks, client uses role to log in key and logs in game server requests, verifies that role logs in key by game server; If be proved to be successful, then return up-to-date character data to client.
Compared to prior art, the present invention when normally logging in, logs in key to client by game server role by client.When client is in the state reconnected after broken string, directly can log in key by game server to this role to verify, need again the heart in the data to carry out the checking of account and password when avoiding conventional login, decrease the time of login, facilitate user player to enter game fast.
As a further improvement on the present invention, in described step one, specifically comprise the following steps:
Step 11: user uses account number cipher to initiate to log in connection in client;
Step 12: game server forwards from client account number cipher to data center;
Step 13: verify account number cipher by data center, gets the Role Information of account and correspondence thereof after good authentication;
Step 14: receive account and Role Information by game server, return to client;
Step 15: client-requested uses certain role's logging in game;
Step 16: game server creates character object, loads and transmission character data, role log in key to client;
Step 17: receive the Role Information that successfully loads of game server by client, and receive role and log in key.
Further, carry out after checking logs in carrying out account and password, then send the secret key of role to client by server, be equivalent to, by secret key and account number cipher binding, directly be logged in by the secret key of checking when facilitating next off-line to reconnect.
As a further improvement on the present invention, in described step 2, during client broken string, by game server end, operation is carried out to role and control; After client reconnects, receive up-to-date character data by client and refresh display, and by client, role being operated.Further, when client breaks, game server can operate role.When reconnect upper after, can upgrade character data.
As a further improvement on the present invention, in described step 2, during client broken string, the time of game server end to broken string judges, if when being greater than the time threshold of setting, be then labeled as off-line state; If when being less than or equal to the time threshold of setting, then continuing, by game server, operation is carried out to role and control.Further, Offtime is judged, prevent because Offtime is long and occupy the internal memory of server.
As preferably, the time threshold of described setting is 20 minutes.
The present invention also provides a kind of device of the processing method for realizing above-mentioned hand trip broken string, and it comprises game client, game server and data center;
When described game client normally logs in, client uses account number cipher to initiate login and is connected to game server; Described game server forwards from client account number cipher to data center; Described data center checking account number cipher, gets the Role Information of account and correspondence thereof after good authentication; Described game server receives account and Role Information, returns to client; Described client-requested uses certain role's logging in game; Described game server creates character object, and loading and transmission character data, role log in key to client; Described client receives the Role Information that game server successfully loads, and receives role and log in key;
During described client broken string, by game server end, operation is carried out to role and control; After client reconnects, receive up-to-date character data by client and refresh display, and by client, role being operated.
Compared to prior art, the present invention when normally logging in, logs in key to client by game server role by client.When client is in the state reconnected after broken string, directly can log in key by game server to this role to verify, need again the heart in the data to carry out the checking of account and password when avoiding conventional login, decrease the time of login, facilitate user player to enter game fast.
As a further improvement on the present invention, during described client broken string, the time of game server end to broken string judges, if when being greater than the time threshold of setting, be then labeled as off-line state; If when being less than or equal to the time threshold of setting, then continuing, by game server, operation is carried out to role and control.Further, Offtime is judged, prevent because Offtime is long and occupy the internal memory of server.
As preferably, the time threshold of described setting is 20 minutes.
In order to understand better and implement, describe the present invention in detail below in conjunction with accompanying drawing.
Accompanying drawing explanation
Fig. 1 is the treatment step flow chart that the game client of prior art logs in.
Fig. 2 is the treatment step flow chart of game client of the present invention when normally logging in.
Fig. 3 is the flow chart of steps of game client off-line of the present invention when reconnecting.
The process chart of game server when Fig. 4 is game client of the present invention broken string.
Detailed description of the invention
The present invention relates to the processing method of a kind of hand trip broken string, it comprises the following steps:
Step S1: when normally logging in, logs in key to client by game server one role.Refer to Fig. 2, it is the treatment step flow chart of game client of the present invention when normally logging in.Concrete, in the present embodiment, described step one specifically comprises the following steps:
Step S11: user uses account number cipher to initiate to log in connection in client;
Step S12: game server forwards from client account number cipher to data center;
Step S13: verify account number cipher by data center, gets the Role Information of account and correspondence thereof after good authentication;
Step S14: receive account and Role Information by game server, return to client;
Step S15: client-requested uses certain role's logging in game;
Step S16: game server creates character object, loads and transmission character data, role log in key to client;
Step S17: receive the Role Information that successfully loads of game server by client, and receive role and log in key.
Step S2: when client breaks, client uses role to log in key and logs in game server requests, and is verified by game server.Specifically comprise the following steps:
Step S21: when client network is interrupted, then use role to log in key and log in game server requests;
Step S22: game server checking role logs in key, if be proved to be successful, returns up-to-date character data to client;
Step S23: client receives up-to-date character data and refreshes display, unlocks, player can continue operation.
Refer to Fig. 4 further, the process chart of game server when it is game client of the present invention broken string.When client breaks, in order to prevent due to player online and cannot direct control game object time, in step 21, when client network is interrupted, also perform following steps:
Step S211: when client network breaks, carries out broken string mark to current time;
Step S212: the time of game server end to broken string judges, if when being greater than the time threshold of setting, be then labeled as off-line state; If when being less than or equal to the time threshold of setting, then continuing, by game server, operation is carried out to role and control.As preferably, the time threshold of described setting is 20 minutes.
Introduce game server below by way of a simple case how to realize controlling the automatic operation of game role.Such as: when the role in playing is in patrol state, can be controlled it by game server and keep patrol state.If be in other states, its state being in idle status or following other figure actions can be controlled by game server.
The present invention also provides a kind of device of the processing method for realizing above-mentioned hand trip broken string, and it comprises game client, game server and data center.
When described game client normally logs in, client uses account number cipher to initiate login and is connected to game server; Described game server forwards from client account number cipher to data center; Described data center checking account number cipher, gets the Role Information of account and correspondence thereof after good authentication; Described game server receives account and Role Information, returns to client; Described client-requested uses certain role's logging in game; Described game server creates character object, and loading and transmission character data, role log in key to client; Described client receives the Role Information that game server successfully loads, and receives role and log in key.
During described client broken string, by game server end, operation is carried out to role and control; After client reconnects, receive up-to-date character data by client and refresh display, and by client, role being operated.
Further, during described client broken string, the time of game server end to broken string judges, if when being greater than the time threshold of setting, be then labeled as off-line state; If when being less than or equal to the time threshold of setting, then continuing, by game server, operation is carried out to role and control.Wherein, as preferably, the time threshold of described setting is 20 minutes.
Compared to prior art, the present invention when normally logging in, logs in key to client by game server role by client.When client is in broken string state, directly can log in key by game server to this role to verify, need again the heart in the data to carry out the checking of account and password when avoiding conventional login, decrease the time of login, facilitate user player to enter game fast.Further, when client breaks, game server can operate role.When reconnect upper after, can upgrade character data.
The present invention is not limited to above-mentioned embodiment, if do not depart from the spirit and scope of the present invention to various change of the present invention or distortion, if these are changed and distortion belongs within claim of the present invention and equivalent technologies scope, then the present invention is also intended to comprise these changes and distortion.
Claims (8)
1. a processing method for hand trip broken string, is characterized in that: comprise the following steps:
Step 1: when normally logging in, logs in key to client by game server one role;
Step 2: when client breaks, client uses role to log in key and logs in game server requests, verifies that role logs in key by game server; If be proved to be successful, then return up-to-date character data to client.
2. hand swims the processing method of broken string according to claim 1, it is characterized in that: in described step one, specifically comprise the following steps:
Step 11: user uses account number cipher to initiate to log in connection in client;
Step 12: game server forwards from client account number cipher to data center;
Step 13: verify account number cipher by data center, gets the Role Information of account and correspondence thereof after good authentication;
Step 14: receive account and Role Information by game server, return to client;
Step 15: client-requested uses certain role's logging in game;
Step 16: game server creates character object, loads and transmission character data, role log in key to client;
Step 17: receive the Role Information that successfully loads of game server by client, and receive role and log in key.
3. hand swims the processing method of broken string according to claim 1, it is characterized in that: in described step 2, during client broken string, carries out operation control by game server end to role; After client reconnects, receive up-to-date character data by client and refresh display, and by client, role being operated.
4. hand swims the processing method of broken string according to claim 3, it is characterized in that: in described step 2, and during client broken string, the time of game server end to broken string judges, if when being greater than the time threshold of setting, be then labeled as off-line state; If when being less than or equal to the time threshold of setting, then continuing, by game server, operation is carried out to role and control.
5. hand swims the processing method of broken string according to claim 4, it is characterized in that: the time threshold of described setting is 20 minutes.
6. a treating apparatus for hand trip broken string, is characterized in that: comprise game client, game server and data center;
When described game client normally logs in, client uses account number cipher to initiate login and is connected to game server; Described game server forwards from client account number cipher to data center; Described data center checking account number cipher, gets the Role Information of account and correspondence thereof after good authentication; Described game server receives account and Role Information, returns to client; Described client-requested uses certain role's logging in game; Described game server creates character object, and loading and transmission character data, role log in key to client; Described client receives the Role Information that game server successfully loads, and receives role and log in key;
During described client broken string, by game server end, operation is carried out to role and control; After client reconnects, receive up-to-date character data by client and refresh display, and by client, role being operated.
7. hand swims the processing method of broken string according to claim 6, it is characterized in that: during described client broken string, and the time of game server end to broken string judges, if when being greater than the time threshold of setting, be then labeled as off-line state; If when being less than or equal to the time threshold of setting, then continuing, by game server, operation is carried out to role and control.
8. hand swims the processing method of broken string according to claim 7, it is characterized in that: the time threshold of described setting is 20 minutes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510134827.6A CN104801045B (en) | 2015-03-25 | 2015-03-25 | A kind of processing method and processing device of hand trip broken string |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510134827.6A CN104801045B (en) | 2015-03-25 | 2015-03-25 | A kind of processing method and processing device of hand trip broken string |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104801045A true CN104801045A (en) | 2015-07-29 |
CN104801045B CN104801045B (en) | 2018-12-28 |
Family
ID=53686504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510134827.6A Active CN104801045B (en) | 2015-03-25 | 2015-03-25 | A kind of processing method and processing device of hand trip broken string |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104801045B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936930A (en) * | 2017-04-25 | 2017-07-07 | 杭州禹乐网络科技有限公司 | A kind of breaking line preventive method and device of web game |
CN107362537A (en) * | 2017-07-03 | 2017-11-21 | 珠海金山网络游戏科技有限公司 | A kind of method and device of qualified role account login service device |
CN108717372A (en) * | 2018-05-24 | 2018-10-30 | 网易(杭州)网络有限公司 | Virtual object control method and device in a kind of scene of game |
CN110507988A (en) * | 2019-08-12 | 2019-11-29 | 广州小丑鱼信息科技有限公司 | A kind of game broken string Auto-reconnect method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103117989A (en) * | 2011-11-17 | 2013-05-22 | 华为软件技术有限公司 | Controlling method, device and terminal of safety of online games |
CN103281346A (en) * | 2013-03-06 | 2013-09-04 | 起于凡信息技术(上海)有限公司 | Disconnection reconnection method, network system and proxy server |
US20140137206A1 (en) * | 2012-11-14 | 2014-05-15 | International Business Machines Corporation | Password-free, token-based wireless access |
US20140213349A1 (en) * | 2013-01-31 | 2014-07-31 | Google Inc. | Smart Gamepad |
CN104009969A (en) * | 2013-09-17 | 2014-08-27 | 宁波公众信息产业有限公司 | Communication method for network game systems |
-
2015
- 2015-03-25 CN CN201510134827.6A patent/CN104801045B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103117989A (en) * | 2011-11-17 | 2013-05-22 | 华为软件技术有限公司 | Controlling method, device and terminal of safety of online games |
US20140137206A1 (en) * | 2012-11-14 | 2014-05-15 | International Business Machines Corporation | Password-free, token-based wireless access |
US20140213349A1 (en) * | 2013-01-31 | 2014-07-31 | Google Inc. | Smart Gamepad |
CN103281346A (en) * | 2013-03-06 | 2013-09-04 | 起于凡信息技术(上海)有限公司 | Disconnection reconnection method, network system and proxy server |
CN104009969A (en) * | 2013-09-17 | 2014-08-27 | 宁波公众信息产业有限公司 | Communication method for network game systems |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936930A (en) * | 2017-04-25 | 2017-07-07 | 杭州禹乐网络科技有限公司 | A kind of breaking line preventive method and device of web game |
CN106936930B (en) * | 2017-04-25 | 2019-12-24 | 杭州禹乐网络科技有限公司 | Method and device for preventing disconnection of webpage game |
CN107362537A (en) * | 2017-07-03 | 2017-11-21 | 珠海金山网络游戏科技有限公司 | A kind of method and device of qualified role account login service device |
CN108717372A (en) * | 2018-05-24 | 2018-10-30 | 网易(杭州)网络有限公司 | Virtual object control method and device in a kind of scene of game |
CN108717372B (en) * | 2018-05-24 | 2022-08-09 | 网易(杭州)网络有限公司 | Method and device for controlling virtual object in game scene |
CN110507988A (en) * | 2019-08-12 | 2019-11-29 | 广州小丑鱼信息科技有限公司 | A kind of game broken string Auto-reconnect method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104801045B (en) | 2018-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2683330C1 (en) | Secure method of launching machine type communication device | |
US9027112B2 (en) | Mobile device management | |
AU2013217048B2 (en) | Mobile human challenge-response test | |
CN108833122A (en) | Awakening method, device and the storage medium of vehicle-carrying communication controller | |
US20130067081A1 (en) | Mobile Device Authentication and Access to a Social Network | |
US10841106B1 (en) | Combined authentication and encryption | |
CN104168269B (en) | Safety connects method for building up, Apparatus and system | |
EP3641261A1 (en) | Entrusted login method, related device and computer readable storage medium | |
WO2014163938A1 (en) | Identification delegation for devices | |
CN108683679A (en) | More account login methods, device, equipment and the storage medium of Web APP | |
CN105391744A (en) | Method and system for managing monitoring equipment | |
CN104801045A (en) | Method and device for handling disconnection of mobile phone game | |
CN107484152B (en) | Management method and device for terminal application | |
CN104243458A (en) | Secure online game logging-in method and system | |
CN107820702B (en) | Management and control method, device and electronic equipment | |
CN104753944A (en) | Account security verifying method and system | |
US10250590B2 (en) | Multi-factor device registration for establishing secure communication | |
CN106899642A (en) | A kind of Internet of Things link management method and equipment | |
CN102780787A (en) | Method and system for remotely controlling login | |
CN107182042B (en) | Short message channel quality evaluation method, device, medium and system | |
WO2010145337A1 (en) | Encryption device and method for controlling download and access of mobile terminal | |
JP2009151568A (en) | Security management system, security management method, information processing terminal device and authentication device | |
CN111404918A (en) | Cloud mobile phone distributed service emergency authentication method, device and system | |
CN105722072A (en) | Business authorization method, device, system and router | |
CN107819766A (en) | Safety certifying method, system and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510535 3, 1 building, 90 ho he road, Luogang District, Guangzhou, Guangdong. Applicant after: Guangzhou Duoyi Network Co., Ltd. Address before: 510535 3, 1 building, 90 ho he road, Luogang District, Guangzhou, Guangdong. Applicant before: Guangzhou Baiyun Bio-Tech Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |