Summary of the invention
The embodiment of the invention provides plants the logical implementation method of game one account and system, so that the user only just can login the game of different web games and client, the expense of minimizing system and safety management simultaneously with an account.
On the one hand, the embodiment of the invention provides a kind of game one account to lead to implementation method, and the method comprises: the user sends the logging request of web game or client game by gaming platform; Described gaming platform carries out alternately to realize the logical login of an account according to described logging request and web game server or client game server.
Preferably, the user sends after the logging request of web game or client game in the embodiment of the invention by gaming platform, also comprise: described gaming platform judges whether described user has logined described gaming platform, if do not have login, then requires described user to login.
Preferably, gaming platform carries out alternately to realize that the logical login of an account comprises according to described logging request and web game server in the embodiment of the invention: the gaming platform client starts browser according to described logging request, and sends the web game linking request to the gaming platform server; Described gaming platform server sends game checking request to the web game server according to described web game linking request; Described web game server is verified according to described game checking request, and the result is returned to described gaming platform server; Described gaming platform server jumps to described web game link to open described web game in browser with described browser.
Preferably, gaming platform carries out alternately to realize that the logical login of an account comprises according to described logging request and client game server in the embodiment of the invention: the gaming platform client is obtained described user according to described logging request from the gaming platform server and is logined the required parameter of described client game; Described gaming platform client terminal start-up game client, and send described parameter to described game client; Game client sends described parameter to game server to verify; Described game server obtains user profile by rear from described gaming platform server to described Verification; Described game server returns to game client to enter described client game with described user profile.
Preferably, after game server gets access to user profile from game server in the embodiment of the invention, also comprise: from game server, search corresponding Role Information or Role Information corresponding to initialization according to described user profile.
On the other hand, the embodiment of the invention also provides a kind of game one account to lead to the realization system, and this system comprises: the gaming platform client be used for to receive web game that the user sends or the logging request of client game; The gaming platform server is used for cooperating described gaming platform client and web game server or client game server to carry out alternately to realize the logical login of an account.
Preferably, the gaming platform client in the embodiment of the invention comprises: judging unit is used for judging whether described user has logined described gaming platform after getting access to logging request.
Preferably, the gaming platform client in the embodiment of the invention also comprises: link requesting unit is used for starting browser according to described logging request, and sends the web game linking request to the gaming platform server; Described gaming platform server comprises: the checking request unit is used for sending game checking request to the web game server according to described web game linking request; Jump-transfer unit is used for according to the result of described web game server described browser being jumped to described web game link to open described web game at browser.
Preferably, the gaming platform client in the embodiment of the invention also comprises: the parameter request unit is used for sending the parameter acquiring request according to described logging request to the gaming platform server and logins the required parameter of described client game to obtain the user; Parameter acquiring unit is used for obtaining the described parameter of returning from described gaming platform server; The game client start unit is used for starting game client and sends described parameter to game client, and described game client and game server are carried out alternately; Described gaming platform server comprises: the parameter request receiving element is used for receiving the parameter acquiring request that institute's gaming platform client is sent; The parameter transmitting element is used for returning described parameter to described gaming platform client feedback; The user information request receiving element is used for receiving the request of obtaining user profile that game server sends; The user profile transmitting element is used for sending described user profile to described game server, makes described game server according to described user profile handles user login.
On the other hand, the embodiment of the invention also provides a kind of game one account to lead to implementation method, and the method comprises: the account information of user's input that the logical server reception client game server of an account or web game server send; The logical server of one account carries out logining to realize that an account is logical alternately according to described account information and described client game server or web game server.
Preferably, the logical server of an account carries out alternately to realize that the logical login of an account comprises according to described account information and described client game server in the embodiment of the invention: the logical server of an account is verified described account information, verifies by rear acquisition user and logins the required parameter of client game; The logical server of a described account sends to game client with described parameter; The described parameter that described game client will receive sends to the client game server; Described client game server verifies described parameter, checking by after enter described client game.
Preferably, the logical server of an account carries out alternately to realize that the logical login of an account comprises according to described account information and described web game server in the embodiment of the invention: the logical server of an account is verified described account information, verifies by the required parameter of rear acquisition user's web game; The logical server of a described account sends to the web game server with described parameter; Described web game server verifies described parameter, checking by after enter described web game.
On the other hand, the embodiment of the invention is the logical realization system of a kind of game one account also, comprise: client game server, web game server and an account are led to server, described client game server and web game server are used for sending to the logical server of a described account account information of user's input, and the logical server of a described account is used for carrying out logining to realize that an account is logical alternately according to described account information and described client game server or web game server.
Preferably, the client game server comprises in the embodiment of the invention: the account transmitting element is used for sending the account information that the user inputs to the logical server of an account; The parameter receiving element, the user who sends for the reception game client logins the required parameter of client game; The Verification unit is used for the described parameter that described parameter receiving element receives is verified; The logical server of one account comprises: the first account receiving element is used for receiving the account information that the client game server sends; The first account authentication unit is used for described account information is verified; The first parameter acquiring unit is used for after described account authentication unit is by the account checking, obtains the user and logins the required parameter of client game; The first parameter transmitting element is used for described parameter is sent to game client.
Preferably, the web game server comprises in the embodiment of the invention: the account transmitting element is used for sending the account information that the user inputs to the logical server of an account; The parameter receiving element is used for receiving the required parameter of user's log-on webpage game that the logical server of an account sends; The Verification unit is used for the described parameter that described parameter receiving element receives is verified; The logical server of one account comprises: the second account receiving element is used for receiving the account information that the web game server sends; The second account authentication unit is used for described account information is verified; The second parameter acquiring unit is used for after described account authentication unit is by the account checking, obtains the required parameter of user's log-on webpage game; The second parameter transmitting element is used for described parameter is sent to the web game server.
The embodiment of the invention is by being unified to be responsible for to carry out alternately with various web game servers or client game server by gaming platform or the logical server of an account, thereby so that the user only needs an account just can login different web game servers and client game server, and then reduced the expense of system and safety management.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
A kind of game one account that being illustrated in figure 1 as the embodiment of the invention provides is led to the schematic flow sheet of implementation method, and the method comprises the steps:
S101: the user sends the logging request of web game or client game by gaming platform.In the present embodiment, gaming platform is a kind of platform client, it is installed in user side, have web game and client game resource through authorizing on this gaming platform, the user can utilize first the account of this gaming platform to login this gaming platform, then selects wherein web game or client to play to send logging request.Such as, above-mentioned web game and client game through mandate can be presented in the mode of shortcut icon on the gaming platform, and the user clicks the login that this shortcut icon can carry out corresponding game.
S102: gaming platform carries out alternately to realize the logical login of an account according to described logging request and web game server or client game server.
In the present embodiment, carried out alternately with web game server or client game server by unified being responsible for of gaming platform, the user no longer needs to input individually the account number cipher of web game or client game, and only utilize the gaming platform account namely can realize the logical login of an account of web game and client game, and then reduced the expense of system and safety management.
The play schematic flow sheet of the logical implementation method of an account of the another kind that being illustrated in figure 2 as the embodiment of the invention provides, the present embodiment is the description that game is done to user's log-on webpage, the method comprises the steps:
S201: the user sends the logging request of web game by the gaming platform client, such as shortcut icon or the start button of clicking web game in gaming platform.
S202: the gaming platform client station judges whether described user has logined described gaming platform, if do not have login, then ejects login interface and requires described user to login, if login, then enters step S203.
S203: the gaming platform client starts browser according to user's logging request, and sends the web game linking request to the gaming platform server, can comprise game ID, user ID, session id etc. in this web game linking request.
S204: the gaming platform server sends game checking request to the web game server according to the web game linking request, in this game checking request such as the parameter that can comprise request, such as information such as logon server information, user ID, user name, timestamp, encoded tags.
Whether S205: the web game server verifies according to described game checking request, legal with the parameter of checking request request, and the result is returned to described gaming platform server.
S206: the gaming platform server jumps to described web game link with described browser.
S207: browser is opened the web game page and login.
The play schematic flow sheet of the logical implementation method of an account of the another kind that being illustrated in figure 3 as the embodiment of the invention provides, the present embodiment is that the user is logined the description that the client game is done, the method comprises the steps:
S301: the user sends the logging request of client game by the gaming platform client, such as shortcut icon or the start button of clicking the client game in gaming platform.
S302: the gaming platform client station judges whether described user has logined described gaming platform, if do not have login, then ejects login interface and requires described user to login, if login, then enters step S303.
S303: the gaming platform client is sent to the gaming platform server according to logging request and is obtained request, this required parameter that the user logins client game desired parameters such as comprising: the information such as user ID, session id, ciphering signature, and the parameter in this request can comprise: user ID and session id, and with the dialogue between realization and the gaming platform server.
S304: the parameter request of gaming platform server authentication gaming platform client, checking by after return the required parameter of this client game to the gaming platform client.
S305: gaming platform client terminal start-up game client, and send above-mentioned parameter to game client.
S306: game client sends above-mentioned parameter to game server to verify.
S307: game server sends the request of obtaining user profile to described Verification by backward gaming platform server, and this user profile is gaming platform user's information, such as gaming platform user's user name, user ID, anti-settling superstitious breath etc.
S308: the gaming platform server verifies the request of obtaining user profile, by after user profile is returned to game server.
S309: game server is searched corresponding Role Information or Role Information corresponding to initialization according to described user profile, and then the corresponding account information of this Role Information sends to game client.
S310: game client enters game.
A kind of account that being illustrated in figure 4 as the embodiment of the invention provides leads to the structural representation of realization system, the logical realization system of this account comprises: gaming platform client 411, gaming platform server 412, web game server 420 and client game server 430, wherein gaming platform client 411, gaming platform server 412 belong to gaming platform 410.
Gaming platform client 411 is used for receiving web game that the user sends or the logging request of client game.
Gaming platform server 412 is used for cooperating institute's gaming platform client 411 and web game server 420 or client game server 430 to carry out alternately to realize the logical login of an account.
As one embodiment of the present of invention, as shown in Figure 5, gaming platform client 411 can comprise: judging unit 4111, link requesting unit 4112, parameter request unit 4113, parameter acquiring unit 4114 and game client start unit 4115, wherein:
Judging unit 4111 is used for after getting access to logging request, judge whether logging in game platform 410 of user, if the login of login interface prompting user is then ejected in not login, if login, then notify link requesting unit 4112 or parameter request unit 4113 to carry out corresponding operation.
The web game logging request that link requesting unit 4112 is used for sending according to the user starts browser, and sends the web game linking request to the gaming platform server.
The client game logging request that parameter request unit 4113 is used for sending according to the user sends the parameter acquiring request to the gaming platform server and logins the required parameter of this client game to obtain the user.
Parameter acquiring unit 4114 is used for obtaining the required parameter of this client game of login of returning from the gaming platform server.
Game client start unit 4115 sends game client to for the parameter that starts game client and parameter acquiring unit 4114 is got access to, and game client and game server are carried out alternately with logging in game.Similar in the mutual and prior art between game client and the game server, repeat no more.
As one embodiment of the present of invention, as shown in Figure 6, gaming platform server 412 comprises: checking request unit 4121, jump-transfer unit 4122, parameter request receiving element 4123, parameter transmitting element 4124, user information request receiving element 4125 and user profile transmitting element 4126, wherein:
Checking request unit 4121 is used for sending game checking request to the web game server according to the web game linking request.
Jump-transfer unit 4122 is used for according to the result of web game server described browser being jumped to the web game link to open this web game at browser.
Parameter request receiving element 4123 is used for receiving the parameter acquiring request that institute's gaming platform client is sent.
Parameter transmitting element 4124 is used for returning above-mentioned parameter to the gaming platform client feedback.
User information request receiving element 4125 is used for receiving the request of obtaining user profile that game server sends.
User profile transmitting element 4126 is used for sending above-mentioned user profile to game server, makes game server according to above-mentioned user profile handles user login.
In the present embodiment, carried out alternately with web game server or client game server by unified being responsible for of gaming platform, the user no longer needs to input individually the account number cipher of web game or client game, and only utilize the gaming platform account namely can realize the logical login of an account of web game and client game, and then reduced the expense of system and safety management.
The play schematic flow sheet of the logical implementation method of an account of the another kind that being illustrated in figure 7 as the embodiment of the invention provides, the method comprises:
S701: the account information of user's input that the logical server reception client game server of an account or web game server send.
In the present embodiment, the user can bring in the input account information by the game client of client game, in addition can also be by the login page input account information of web game, above-mentioned account information can be sent to respectively client game server and web game server.Client game server and web game server are after receiving above-mentioned account information, and the register of process user immediately not, but this account information is sent to the logical server of an account is verified by the logical server of an account.
S702: the logical server of an account carries out alternately to realize the logical login of an account according to described account information and described client game server.
In the present embodiment, received the account information of user's input by the logical server of an account, carried out alternately with web game server or client game server by unified being responsible for of the logical server of an account again, because the logical server of an account can corresponding a plurality of different web game servers or client game server, so the user only needs an account just can login simultaneously multiple different web game and client to play.
The play schematic flow sheet of the logical implementation method of an account of the another kind that being illustrated in figure 8 as the embodiment of the invention provides, the present embodiment is the description that the user is done by the logical server log web game of an account, the method comprises:
S801: the user opens the web game login page, and the input account information is logined.
S802: the web game server sends to the logical server of an account with the account information of user's input.
S803: the logical server of an account is verified this account information, if checking is passed through, then enters step S804, otherwise finishes this time login.
S804: the logical server of an account obtains the needed parameter of web game, this parameter of user's login such as comprising: game server ID, user ID, session_id, user name, timestamp, ciphering signature etc.
S805: the logical server of an account sends to the web game server with above-mentioned parameter.
S806: the web game server verifies this parameter, checking by after enter this web game.
The play schematic flow sheet of the logical implementation method of an account of the another kind that being illustrated in figure 9 as the embodiment of the invention provides, the present embodiment is the description that the user is done by the logical server log client game of an account, the method comprises:
S901: the user opens game client, logins in login page input account information.
S902: the client game server sends to the logical server of an account with the account information of user's input.
S903: the logical server of an account is verified this account information, if checking is passed through, then enters step S804, otherwise finishes this time login.
S904: the client that the logical server of an account the obtains user's login needed parameter of playing, this parameter is such as comprising: user ID, session_id, user name, timestamp, ciphering signature etc.
S905: the logical server of an account sends to game client with above-mentioned parameter.
S906: the described parameter that game client will receive sends to the client game server.
S907: the client game server verifies above-mentioned parameter, checking by after enter this client game.
The play structural representation of the logical realization system of an account of the another kind that provides for the embodiment of the invention as shown in figure 10, this system comprises: client game server 110, web game server 120 and an account lead to server 130.
Client game server 110 and web game server 120 is used for sending to the logical server 130 of an account account information of users' input, and the logical server 130 of an account is used for carrying out logining to realize that an account is logical alternately according to described account information and client game server 110 or web game server 120.
As one embodiment of the present of invention, as shown in figure 11, client game server 110 comprises: account transmitting element 111, parameter receiving element 112 and Verification unit 113, wherein:
Account transmitting element 111 is used for sending to the logical server 130 of an account account information of user's input.
The user that parameter receiving element 112 sends for the reception game client logins the required parameter of client game.
Verification unit 113 is used for the parameter that parameter receiving element 112 receives is verified.
As one embodiment of the present of invention, as shown in figure 12, web game server 120 comprises: account transmitting element 121, parameter receiving element 122 and Verification unit 123, wherein:
Account transmitting element 121 is used for sending to the logical server of an account account information of user's input.
Parameter receiving element 122 is used for receiving the required parameter of user's log-on webpage game that the logical server 130 of an account sends.
Verification unit 123 is used for the parameter that parameter receiving element 122 receives is verified.
As one embodiment of the present of invention, as shown in figure 13, the logical server 130 of an account comprises: the first account receiving element 131, the first account authentication unit 132, the first parameter acquiring unit 133, the first parameter transmitting element 134, the second account receiving element 135, the second account authentication unit 136, the second parameter acquiring unit 137 and the second parameter transmitting element 138.
The first account receiving element 131 is used for receiving the account information that the client game server sends.
The first account authentication unit 132 is used for the account information that the first account receiving element 131 receives is verified.
The first parameter acquiring unit 133 is used for after the first account authentication unit 132 is by the account checking, obtains the user and logins the required parameter of client game.
The first parameter transmitting element 134 is used for the parameter that the first parameter acquiring unit 133 obtains is sent to game client.
The second account receiving element 135 is used for receiving the account information that the web game server sends.
The second account authentication unit 136 is used for the account information that the second account receiving element 135 receives is verified.
The second parameter acquiring unit 137 is used for after the second account authentication unit 136 is by the account checking, obtains the required parameter of user's log-on webpage game.
The second parameter transmitting element 138 is used for the parameter that the second parameter acquiring unit 137 obtains is sent to web game server 120.
In the present embodiment, received the account information of user's input by the logical server of an account, carried out alternately with web game server or client game server by unified being responsible for of the logical server of an account again, because the logical server of an account can corresponding a plurality of different web game servers or client game server, so the user only needs an account just can login simultaneously multiple different web game and client to play.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, can come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; the protection range that is not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.