CN110141866A - Game login method and device - Google Patents

Game login method and device Download PDF

Info

Publication number
CN110141866A
CN110141866A CN201810148651.3A CN201810148651A CN110141866A CN 110141866 A CN110141866 A CN 110141866A CN 201810148651 A CN201810148651 A CN 201810148651A CN 110141866 A CN110141866 A CN 110141866A
Authority
CN
China
Prior art keywords
game
user
client
user login
information
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.)
Pending
Application number
CN201810148651.3A
Other languages
Chinese (zh)
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 CN201810148651.3A priority Critical patent/CN110141866A/en
Publication of CN110141866A publication Critical patent/CN110141866A/en
Pending legal-status Critical Current

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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • 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/45Controlling the progress of the video game
    • A63F13/48Starting a game, e.g. activating a game device or waiting for other players to join a multiplayer session
    • 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/70Game security or game management aspects
    • A63F13/71Game security or game management aspects using secure communication between game devices and game servers, e.g. by encrypting game data or authenticating players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/532Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing using secure communication, e.g. by encryption, authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of game login method and device, and the method includes: to receive the first request from web browser, and first requests the installation kit for requesting the client of download games;First request includes user login information, and user login information includes: the account and password that user logs in game;According to user login information, the downloading identification information of the installation kit of the client of game is generated;Installation kit and downloading identification information are sent to web browser;It include downloading identification information in the second request, the second request is for requesting user login information after receiving the second request from client;According to downloading identification information, user login information is obtained;User login information is sent to client, so that client is according to user login information automated log on game, inputs user login information without user, but user login information is obtained to web page server, to realize automated log on game, the operation of user is simplified, game is improved and logs in efficiency.

Description

Game login method and device
Technical field
The present embodiments relate to game technical field more particularly to a kind of game login methods and device.
Background technique
Currently, user can be connected to game server by browser, to directly play game on webpage.But Since browser is many kinds of on the market, some browsers cannot support the operation of this game completely, cause user using clear After device of looking at logs on to game webpage, browser cannot show the various functions of game completely, and user is caused to play trip on webpage The success rate of play is not high.Therefore, browser in these cases can recommended user's download games client installation kit, under user Game can be carried out after logging in game by client after installing by carrying.But user is under through the above way in the prior art After carrying installation client, game, operating process could successfully be logged in later by needing to re-enter log-on message in the client Complexity, the efficiency for logging in game are lower.
Summary of the invention
The embodiment of the present invention provides a kind of game login method and device, for realizing automated log on, improves game and logs in Efficiency.
In a first aspect, the embodiment of the present invention provides a kind of game login method, comprising:
The first request, the peace of client of first request for requesting to download the game are received from web browser Dress packet;First request includes user login information, and for logging in the game, the user steps on the user login information Record information includes: the account and password that user logs in the game;
According to the user login information, the downloading identification information of the installation kit of the client of the game is generated;
The installation kit and the downloading identification information are sent to the web browser;
It include the downloading identification information, institute in second request after receiving the second request from the client The second request is stated for requesting user login information;According to the downloading identification information, the user login information is obtained;
The user login information is sent to the client.
Second aspect, the embodiment of the present invention provide a kind of game login method, comprising:
When the client of game is successfully installed in the terminal and started, the downloading mark of the installation kit of the client is obtained Know information;
To web page server send second request, it is described second request in include the downloading identification information, described second Request is for requesting user login information, and the user login information is for logging in the game;The user login information packet Include: user logs in the account and password of the game;
The user login information is received from the web page server;
The game is logged according to the user login information.
The third aspect, the embodiment of the present invention provide a kind of server, comprising:
Receiving module, for receiving the first request from web browser, first request downloads the trip for requesting The installation kit of the client of play;First request includes user login information, and the user login information is described for logging in Game, the user login information include: the account and password that user logs in the game;
Processing module, for generating the downloading of the installation kit of the client of the game according to the user login information Identification information;
Sending module, for sending the installation kit and the downloading identification information to the web browser;
The receiving module is also used to receive the second request from the client, includes described in second request Identification information is downloaded, second request is for requesting user login information;
The processing module is also used to obtain the user login information according to the downloading identification information;
The sending module is also used to send the user login information to the client.
Fourth aspect, the embodiment of the present invention provide a kind of client, comprising:
Processing module, for obtaining the client when the client of game is successfully installed in the terminal and started The downloading identification information of installation kit;
Sending module includes that the downloading identifies in second request for sending the second request to web page server Information, second request is for requesting user login information, and the user login information is for logging in the game;The use Family log-on message includes: the account and password that user logs in the game;
Receiving module, for receiving the user login information from the web page server;
The processing module is also used to log in the game according to the user login information.
5th aspect, the embodiment of the present invention provide a kind of server, comprising:
Memory and processor;
The memory, for storing program code;
The processor, the game for calling said program code to execute as described in the first aspect embodiment of the present invention are stepped on Recording method.
6th aspect, the embodiment of the present invention provide a kind of terminal, comprising: memory and processor;
The memory, for storing program code;
The processor, the game for calling said program code to execute as described in the second aspect embodiment of the present invention are stepped on Recording method.
7th aspect, the embodiment of the present invention provide a kind of readable storage medium storing program for executing, meter are stored on the readable storage medium storing program for executing Calculation machine program;The computer program when executed, realizes the game login side as described in the first aspect embodiment of the present invention Method.
Eighth aspect, the embodiment of the present invention provide a kind of readable storage medium storing program for executing, meter are stored on the readable storage medium storing program for executing Calculation machine program;The computer program when executed, realizes the game login side as described in the second aspect embodiment of the present invention Method.
The embodiment of the present invention provides a kind of game login method and device, is received by web page server from web browser After first request, according to the user login information in the first request, the downloading mark of the installation kit of the client of the game is generated Know information, then sends the installation kit and the downloading identification information to web browser.It is successfully mounted in the client In terminal and when starting, client obtains the downloading identification information of the installation kit of the client, and sends to web page server It is concurrent to obtain the user login information according to the downloading identification information in the second request for second request, web page server Client is given, client logs in game according to the user login information.Therefore, it when client terminal start-up, inputs and uses without user Family log-on message, but obtain user login information to web page server and simplify user to realize automated log on game Operation, improve game log in efficiency.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram for the game login system that one embodiment of the invention provides;
Fig. 2 is the flow chart for the game login method that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides game login method flow chart;
Fig. 4 is the structural schematic diagram for the server that one embodiment of the invention provides;
Fig. 5 be another embodiment of the present invention provides server structural schematic diagram;
Fig. 6 is the structural schematic diagram for the client that one embodiment of the invention provides;
Fig. 7 is the structural schematic diagram for the terminal that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram for the game login system that one embodiment of the invention provides, as shown in Figure 1, this reality The system for applying example may include: web browser, web page server, client, game server.It should be noted that, although The quantity of various pieces shown in Fig. 1 is one, but the present embodiment is not limited to this, and can be at least one.Wherein, webpage Browser and client may be mounted in same terminal, wherein user can log in game by web browser, can also be with Game is logged in by client, the following each embodiments of the present invention are to make user log in game by web browser It afterwards, can automated log on game after installation client being downloaded by the web browser.Below various embodiments of the present invention into Row description.
Fig. 2 is the flow chart for the game login method that one embodiment of the invention provides, as shown in Fig. 2, the side of the present embodiment Method may include:
S201, web browser send the first request to web page server.Correspondingly, web page server is from web browser Receive the first request.
In the present embodiment, user is successfully logged onto game by web browser, which can be in online game Any money game.It is successfully logged onto game since the user has passed through web browser, the web browser is available The user login information of the game is logged in user, wherein the user login information includes at least the account that user logs in the game Number and password.Wherein, the installation kit which can provide client is downloaded for user, such as: the web browser It can not exclusively support the operation of game, alternatively, user likes after playing game by web browser and wants to continue playing game, it should Web browser can for example show the mark of downloading client, and user triggers the mark by operation, with to web browser The installation kit of the client of the game is downloaded in request, which can be based on the operation for receiving user's triggering, to net Page browsing device sends the first request, the installation kit of the client of first request for requesting to download the game, first request The user login information of the game is logged in including the user;The user login information can indicate it is that the user wants to download the trip The installation kit of the client of play.
S202, the web page server generate the installation kit of the client of the game according to the user login information Downloading identification information.
In the present embodiment, web page server receives the first request that web browser is sent, and according in first request User login information, generate the downloading identification information of the installation kit of the client of the game, which can use In being uniquely installation kit that the user downloads the client.
S203, the web page server send the installation kit and the downloading identification information to the web browser.
It is clear to webpage after web page server generates the downloading identification information of the installation kit of the client in the present embodiment Device of looking at sends the installation kit of the client and the downloading identification information of the installation kit.The web browser receives web service After the downloading identification information of installation kit and installation kit that device is sent and user is prompted to download.User passes through operation web browser Get the installation kit of client and the downloading identification information of the installation kit, and by the installation kit of the client and the installation kit Downloading identification information storage in the terminal, then user by operate the client installation kit the client is successfully installed In the terminal.
S204, when the client of game is successfully installed in the terminal and is started, client obtains the peace of the client Fill the downloading identification information of packet.
In the present embodiment, when the client of the game is successfully installed and activated, which, which can for example refer to, successfully pacifies Starting for the first time after dress, the downloading identification information of the installation kit of the available client of the client.
S205, the client send the second request to web page server.Correspondingly, web page server is received from client Second request.
In the present embodiment, after client gets the downloading identification information of the installation kit of the client, to web service Device sends the second request, the downloading identification information of the installation kit including the client in second request, and second request For requesting user login information, the user login information is for logging in the corresponding game of the client;The user logs in Information includes: the account and password that user logs in the game.
S206, the web page server obtain the user login information according to the downloading identification information.
In the present embodiment, web page server receives the second request of client transmission, since downloading identification information is net Page server is generated according to user login information, and therefore, web page server can be according to the installation kit in second request Identification information is downloaded, corresponding user login information is obtained.
S207, the web page server send the user login information to client.Correspondingly, client takes from webpage Business device receives the user login information.
In the present embodiment, after web page server obtains user login information according to the downloading identification information, by acquisition User login information is sent to client.
S208, client log in the game according to the user login information.
In this implementation, after client receives the user login information that web page server is sent, is logged in and believed according to the user Breath logs in the game, such as: for client to game server logging request, which includes that the user logs in letter Breath, game server receives logging request from client, and verifies the user login information in the logging request, if verifying is logical It crosses then game server to be used for confirmation to client transmission login response, the login response and successfully logs in game, then user Client can be operated and play game, inputting account and password etc. without user after client terminal start-up can be realized automated log on trip Play.
In the present embodiment, through web page server after the first request of web browser reception, according in the first request User login information generates the downloading identification information of the installation kit of the client of the game, then sends to web browser The installation kit and the downloading identification information.When the client is successfully installed in the terminal and started, client obtains institute The downloading identification information of the installation kit of client is stated, and sends the second request to web page server, web page server is according to second The downloading identification information in request, obtains the user login information and is sent to client, client is according to the user Log-on message logs in game.Therefore, when client terminal start-up, user login information is inputted without user, but to web page server User login information is obtained, to realize automated log on game, simplifies the operation of user, game is improved and logs in efficiency.
Fig. 3 be another embodiment of the present invention provides game login method flow chart, as shown in figure 3, the present embodiment Method may include:
S301, web browser send the first request to web page server.Correspondingly, web page server is from web browser Receive the first request.
In the present embodiment, the specific implementation process of S301 may refer to the associated description of embodiment illustrated in fig. 2, herein no longer It repeats.
S302, the web page server encrypt the user login information according to Message Digest 5, obtain visitor The downloading identification information of the installation kit at family end.
In the present embodiment, web page server generates the installation of the client of the game according to the user login information A kind of possible implementation of the downloading identification information of packet are as follows: web page server logs in user according to Message Digest 5 Information is encrypted, and the downloading identification information of the installation kit of client is obtained.Wherein, it is encrypted using Message Digest 5 Process may refer to associated description in the prior art, no longer describe herein.The Message Digest 5 is, for example, MD5 eap-message digest Algorithm, but the present embodiment is not limited to this.
In some embodiments, web page server can encrypt user login information according to Message Digest 5, Cipher-text information is obtained, is then downloading identification information according to the partial information in cipher-text information.Since the present embodiment is using close Partial information in literary information is as downloading identification information, even if illegal user gets downloading identification information, to be difficult to User login information is obtained, the stolen situation of user login information is avoided, ensure that the safety of user login information.
In some embodiments, user login information is first configured to character string by web page server, is then plucked according to message It wants algorithm to encrypt the character string, obtains above-mentioned cipher-text information.The cipher-text information is also possible to character string, correspondingly, Partial information in cipher-text information can also be with character string, and only the digit of each character string may be different.
S303, the web page server obtain the filename of the installation kit according to the downloading identification information.
In the present embodiment, web page server is after obtaining downloading identification information, and according to the downloading identification information, obtaining should The filename of installation kit, such as: the downloading identification information is determined as to the filename of the installation kit, alternatively, can also will be under this Carry filename of the version number of identification information and installation kit as the installation kit.
S304, the web page server encapsulate the installation kit according to the filename of the installation kit.
In the present embodiment, web page server is after the filename for obtaining the installation kit, according to the filename of the installation kit, Encapsulate the installation kit.Wherein, the process of the installation kit is encapsulated are as follows: the name of the installation kit is revised as the text that above-mentioned S303 is obtained Part name.For different users, user login information can be different, therefore, even if the content of installation kit is identical, but different use The filename of the installation kit at family can be different, so as to by the difference of filename, come distinguish different user client peace Dress packet.
S305, the web page server send the installation kit for encapsulating the filename to the web browser.
In the present embodiment, web page server sends the installation kit of encapsulation file name to web browser again, for difference User, web page server can send respectively the installation kit for encapsulating different filenames to web browser.
In some embodiments, S306 can also be performed after executing S302 in the present embodiment.
S306, the user login information and the corresponding relationship downloaded between identification information are established.
In the present embodiment obtain download identification information after, also set up the user login information and downloading identification information it Between corresponding relationship.The present embodiment can store the user login information, the downloading identification information and the corresponding relationship, such as These information can be stored in the database, such as MongoDB.
S307, when the client of game is successfully installed in the terminal and is started, client obtains the peace of the client Fill the filename of packet.
In the present embodiment, client is the installation kit for needing client during the installation process, therefore, in client terminal start-up When, client is available for installing the filename of the installation kit of the client.
S308, the client obtain the downloading identification information of installation kit according to the filename.
In the present embodiment, client is after getting the filename of the installation kit, according to file name, obtains the installation The downloading identification information of packet.Such as: file name can be determined as to the downloading identification information of the installation kit, alternatively, can solve Analysis filename simultaneously removes the downloading identification information that the installation kit is obtained after the version number in filename.
S309, the client send the second request to the web page server.Correspondingly, web page server is from client Receive the second request.
S310, the web page server are according to the corresponding relationship and the downloading identification information, under obtaining and being described Carry the corresponding user login information of identification information.
In the present embodiment, web page server obtains the user and logs in letter according to the downloading identification information in the second request Breath.In some embodiments, if web page server establishes between downloading identification information and the user login information of installation kit Corresponding relationship, then web page server is according to the corresponding relationship established in downloading identification information and above-mentioned S306, under acquisition and this Carry the corresponding user login information of identification information.
S311, the web page server send the user login information to client.Correspondingly, client takes from webpage Business device receives the user login information.
In the present embodiment, the specific implementation process of S311 may refer to the associated description in embodiment illustrated in fig. 2, herein not It repeats again.
In some embodiments, the user login information further includes that user logs in the game by web browser and makes IP address.IP when above-mentioned client further includes from the client terminal start-up to web page server is sent the second request Location.Web page server in the present embodiment is after receiving the second request, when also determining the client terminal start-up in second request IP address and user login information in user by web browser log in game when IP address it is whether identical, if not phase Together, then web page server does not execute S311, and if they are the same, then web page server executes S311 again.Guarantee that user uses client in this way The IP address that end logs in when using web browser to log in game with user when game is identical, to guarantee the peace of user login information Quan Xing avoids the case where usurping user login information generation.
S312, client log in the game according to the user login information.
In the present embodiment, the specific implementation process of S312 may refer to the associated description in embodiment illustrated in fig. 2, herein not It repeats again.
In some embodiments, after web page server sends the user login information to client, web service Device deletes the corresponding relationship, so that the illegitimate client after preventing other from getting this downloading identification information logs in game.
In some embodiments, web page server needs to be arranged the preset time that a time-out is deleted, therefore, web service Device starts timing after establishing the corresponding relationship, if timing time is greater than or equal to preset time, web page server is deleted The corresponding relationship.If it times out, web page server can not obtain user login information according to downloading identification information, to protect Demonstrate,prove the safety of user login information.
In some embodiments, the user login information further includes at least one of following: the user is in the game In title, the user by the web browser logs in the timestamp of the game, the user passes through the webpage The role that browser logs in the server of the game selection, the user selects in the game.It can guarantee to use in this way Family is transplanted in client by the information that web browser logs in the game, to guarantee that user is logging in trip by client It is identical as the information that user logs in game selection by web browser when play, it is not necessarily to user's reselection role or server, into One step improves login efficiency.
In the present embodiment, through the above scheme, when client terminal start-up, user login information is inputted without user, but to Web page server obtains user login information, to realize automated log on game, simplifies the operation of user, improves game and steps on Record efficiency.
In some embodiments, web browser can realize above-mentioned function by installing the terminal of the web browser Energy.
In some embodiments, client can realize above-mentioned function by installing the terminal of the client.
Fig. 4 is the structural schematic diagram for the server that one embodiment of the invention provides, as shown in figure 4, the service of the present embodiment Device 400 may include: receiving module 401, processing module 402 and sending module 403.
Receiving module 401, for receiving the first request from web browser, first request is for requesting described in downloading The installation kit of the client of game;First request includes user login information, and the user login information is for logging in institute Game is stated, the user login information includes: the account and password that user logs in the game;
Processing module 402 is used for according to the user login information, under the installation kit for generating the client of the game Carry identification information;
Sending module 403, for sending the installation kit and the downloading identification information to the web browser;
The receiving module 401 is also used to receive the second request from the client, includes institute in second request Downloading identification information is stated, second request is for requesting user login information;
The processing module 402 is also used to obtain the user login information according to the downloading identification information;
The sending module 403 is also used to send the user login information to the client.
In some embodiments, the sending module 403, is specifically used for: according to the downloading identification information, described in acquisition The filename of installation kit;According to the filename of the installation kit, the installation kit is encapsulated;It sends and encapsulates to the web browser The installation kit of the filename.
In some embodiments, the processing module 402, is specifically used for:
According to Message Digest 5, the user login information is encrypted, obtains the downloading identification information.
In some embodiments, the processing module 402, is specifically used for:
The user login information is encrypted according to the Message Digest 5, obtains cipher-text information;
Obtaining the partial information in the cipher-text information is the downloading identification information.
In some embodiments, the processing module 402, is specifically used for:
The user login information is configured to character string;
The character string is encrypted according to the Message Digest 5, obtains the cipher-text information.
In some embodiments, the user login information further includes that the user passes through web browser login institute State the IP address that game uses;IP address when second request further includes the client terminal start-up;
The processing module 402 is also used to send the user to the client in the sending module 403 and log in and believe Before breath, determine that the IP address in second request is identical as the IP address in the user login information.
In some embodiments, the processing module 402 is also used to according to the user login information, described in generation After the downloading identification information of the installation kit of the client of game, the user login information and the downloading identification information are established Between corresponding relationship;
The processing module 402 when obtaining the user login information, is specifically used according to the downloading identification information In: according to the corresponding relationship and the downloading identification information, obtain the user corresponding with the downloading identification information Log-on message.
In some embodiments, the processing module 402 is also used to send institute to the client in the sending module After stating user login information, the corresponding relationship is deleted.
In some embodiments, the processing module 402 is also used to start timing after establishing the corresponding relationship, if Timing time is greater than or equal to preset time, then deletes the corresponding relationship.
In some embodiments, the user login information further includes at least one of following: the user is in the game In title, the user by the web browser logs in the timestamp of the game, the user passes through the webpage The role that browser logs in the server of the game selection, the user selects in the game.
The server of the present embodiment can be used for executing the technical solution of server in above-mentioned each method embodiment, in fact Existing principle is similar with technical effect, and details are not described herein again.
Fig. 5 be another embodiment of the present invention provides server structural schematic diagram, as shown in figure 5, the clothes of the present embodiment Business device 500 may include: memory 501 and processor 502.Wherein, memory 501 for example can be by total with processor 502 Line connection.
The memory 501, for storing program code;
The processor 502, for calling said program code to execute:
The first request, the peace of client of first request for requesting to download the game are received from web browser Dress packet;First request includes user login information, and for logging in the game, the user steps on the user login information Record information includes: the account and password that user logs in the game;
According to the user login information, the downloading identification information of the installation kit of the client of the game is generated;
The installation kit and the downloading identification information are sent to the web browser;
It include the downloading identification information, institute in second request after receiving the second request from the client The second request is stated for requesting user login information;According to the downloading identification information, the user login information is obtained;
The user login information is sent to the client.
In some embodiments, the processor 502, is specifically used for:
According to the downloading identification information, the filename of the installation kit is obtained;
According to the filename of the installation kit, the installation kit is encapsulated;
The installation kit for encapsulating the filename is sent to the web browser.
In some embodiments, the processor 502, is specifically used for:
According to Message Digest 5, the user login information is encrypted, obtains the downloading identification information.
In some embodiments, the processor 502, is specifically used for:
The user login information is encrypted according to the Message Digest 5, obtains cipher-text information;
Obtaining the partial information in the cipher-text information is the downloading identification information.
In some embodiments, the processor 502, is specifically used for:
The user login information is configured to character string;
The character string is encrypted according to the Message Digest 5, obtains the cipher-text information.
In some embodiments, the user login information further includes that the user passes through web browser login institute State the IP address that game uses;IP address when second request further includes the client terminal start-up;
The processor 502 is also used to before sending the user login information to the client, determines described the IP address in two requests is identical as the IP address in the user login information.
In some embodiments, the processor 502 is also used to generate the trip according to the user login information After the downloading identification information of the installation kit of the client of play, establish the user login information and the downloading identification information it Between corresponding relationship;
The processor 502 when obtaining the user login information, is specifically used for according to the downloading identification information:
According to the corresponding relationship and the downloading identification information, obtain corresponding with the downloading identification information described User login information.
In some embodiments, the processor 502 is also used to sending the user login information to the client Later, the corresponding relationship is deleted.
In some embodiments, the processor 502 is also used to start timing after establishing the corresponding relationship, if meter When the time be greater than or equal to preset time, then delete the corresponding relationship.
In some embodiments, the user login information further includes at least one of following: the user is in the game In title, the user by the web browser logs in the timestamp of the game, the user passes through the webpage The role that browser logs in the server of the game selection, the user selects in the game.
In some embodiments, server 500 further includes communication interface (not shown), and processor 502 can pass through Communication interface is controlled to realize the above-mentioned function of sending and receiving.
The server of the present embodiment can be used for executing the technical solution of server in above-mentioned each method embodiment, in fact Existing principle is similar with technical effect, and details are not described herein again.
Fig. 6 is the structural schematic diagram for the client that one embodiment of the invention provides, as shown in fig. 6, the client of the present embodiment End 600 may include: processing module 601, sending module 602 and receiving module 603.
Processing module 601, for obtaining the client when the client of game is successfully installed in the terminal and started Installation kit downloading identification information;
Sending module 602 includes that the downloading is marked in second request for sending the second request to web page server Know information, second request is for requesting user login information, and the user login information is for logging in the game;It is described User login information includes: the account and password that user logs in the game;
Receiving module 603, for receiving the user login information from the web page server;
The processing module 601 is also used to log in the game according to the user login information.
In some embodiments, the processing module 601, is specifically used for:
Obtain the filename of the installation kit of the client;
According to the filename, the downloading identification information is obtained.
In some embodiments, internet protocol address when second request further includes the client terminal start-up.
In some embodiments, the user login information further includes at least one of following: the user is in the game In title, the user by the web browser logs in the timestamp of the game, the user passes through the webpage The role that browser logs in the server of the game selection, the user selects in the game.
The client of the present embodiment can be used for executing the technical solution of above-mentioned each method embodiment client, realize Principle is similar with technical effect, and details are not described herein again.
Fig. 7 be another embodiment of the present invention provides terminal structural schematic diagram, as shown in fig. 7, the terminal of the present embodiment 700 may include: memory 701 and processor 702.Wherein, memory 701 can for example be connected with processor 702 by bus It connects.
The memory 701, for storing program code;
The processor 702, for calling said program code to execute:
When the client of game is successfully installed in the terminal and started, the downloading mark of the installation kit of the client is obtained Know information;
To web page server send second request, it is described second request in include the downloading identification information, described second Request is for requesting user login information, and the user login information is for logging in the game;The user login information packet Include: user logs in the account and password of the game;
The user login information is received from the web page server;
The game is logged according to the user login information.
In some embodiments, the processor 702, is specifically used for:
Obtain the filename of the installation kit of the client;
According to the filename, the downloading identification information is obtained.
In some embodiments, internet protocol address when second request further includes the client terminal start-up.
In some embodiments, the user login information further includes at least one of following: the user is in the game In title, the user by the web browser logs in the timestamp of the game, the user passes through the webpage The role that browser logs in the server of the game selection, the user selects in the game.
In some embodiments, terminal 700 further includes communication interface (not shown), and processor 702 can pass through control Communication interface processed realizes the above-mentioned function of sending and receiving.
The terminal of the present embodiment can be used for executing the technical solution of above-mentioned each method embodiment client, realize former Reason is similar with technical effect, and details are not described herein again.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes: read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (31)

1. a kind of game login method characterized by comprising
The first request, the installation of client of first request for requesting to download the game are received from web browser Packet;First request includes user login information, and the user login information is logged in for logging in the game, the user Information includes: the account and password that user logs in the game;
According to the user login information, the downloading identification information of the installation kit of the client of the game is generated;
The installation kit and the downloading identification information are sent to the web browser;
It include the downloading identification information in second request after receiving the second request from the client, described the Two requests are for requesting user login information;According to the downloading identification information, the user login information is obtained;
The user login information is sent to the client.
2. the method according to claim 1, wherein it is described to the web browser send the installation kit and The downloading identification information, comprising:
According to the downloading identification information, the filename of the installation kit is obtained;
According to the filename of the installation kit, the installation kit is encapsulated;
The installation kit for encapsulating the filename is sent to the web browser.
3. method according to claim 1 or 2, which is characterized in that it is described according to the user login information, described in generation The downloading identification information of the installation kit of the client of game, comprising:
According to Message Digest 5, the user login information is encrypted, obtains the downloading identification information.
4. according to the method described in claim 3, being logged in the user it is characterized in that, described according to Message Digest 5 Information is encrypted, and the downloading identification information is obtained, comprising:
The user login information is encrypted according to the Message Digest 5, obtains cipher-text information;
Obtaining the partial information in the cipher-text information is the downloading identification information.
5. according to the method described in claim 4, it is characterized in that, described step on the user according to the Message Digest 5 Record information is encrypted, and cipher-text information is obtained, comprising:
The user login information is configured to character string;
The character string is encrypted according to the Message Digest 5, obtains the cipher-text information.
6. method according to claim 1 or 2, which is characterized in that the user login information further includes that the user is logical It crosses the web browser and logs in the internet protocol address that the game uses;Second request further includes the client The IP address when starting of end;
Before the user login information to client transmission, further includes: with determining the IP in second request Location is identical as the IP address in the user login information.
7. method according to claim 1 or 2, which is characterized in that it is described according to the user login information, described in generation After the downloading identification information of the installation kit of the client of game, further includes:
Establish the corresponding relationship between the user login information and the downloading identification information;
It is described according to the downloading identification information, obtain the user login information, comprising:
According to the corresponding relationship and the downloading identification information, the user corresponding with the downloading identification information is obtained Log-on message.
8. the method according to the description of claim 7 is characterized in that described send the user login information to the client Later, further includes:
Delete the corresponding relationship.
9. the method according to the description of claim 7 is characterized in that further include:
Start timing after establishing the corresponding relationship, if timing time is greater than or equal to preset time, deletes the correspondence Relationship.
10. method according to claim 1 or 2, which is characterized in that the user login information further includes following at least one : title of the user in the game, the user by the web browser log in the game timestamp, The user logs in the server of the game selection by the web browser, the user selects in the game Role.
11. a kind of game login method characterized by comprising
When the client of game is successfully installed in the terminal and started, the downloading mark letter of the installation kit of the client is obtained Breath;
The second request is sent to web page server, includes the downloading identification information in second request, second request For requesting user login information, the user login information is for logging in the game;The user login information includes: use Family logs in the account and password of the game;
The user login information is received from the web page server;
The game is logged according to the user login information.
12. according to the method for claim 11, which is characterized in that the downloading mark of the installation kit for obtaining the client Know information, comprising:
Obtain the filename of the installation kit of the client;
According to the filename, the downloading identification information is obtained.
13. method according to claim 11 or 12, which is characterized in that second request further includes that the client opens Internet protocol address when dynamic.
14. method according to claim 11 or 12, which is characterized in that the user login information further include it is following at least One: title of the user in the game, the user log in the time of the game by the web browser Stamp, the user log in the server of the game selection by the web browser, the user selects in the game The role selected.
15. a kind of server characterized by comprising
Receiving module, for receiving the first request from web browser, described first requests the client for requesting download games The installation kit at end;First request includes user login information, and the user login information is described for logging in the game User login information includes: the account and password that user logs in the game;
Processing module, for generating the downloading mark of the installation kit of the client of the game according to the user login information Information;
Sending module, for sending the installation kit and the downloading identification information to the web browser;
The receiving module is also used to receive the second request from the client, includes the downloading in second request Identification information, second request is for requesting user login information;
The processing module is also used to obtain the user login information according to the downloading identification information;
The sending module is also used to send the user login information to the client.
16. server according to claim 15, which is characterized in that the sending module is specifically used for: under described Identification information is carried, the filename of the installation kit is obtained;According to the filename of the installation kit, the installation kit is encapsulated;To institute It states web browser and sends the installation kit for encapsulating the filename.
17. server according to claim 15 or 16, which is characterized in that the processing module is specifically used for:
According to Message Digest 5, the user login information is encrypted, obtains the downloading identification information.
18. server according to claim 17, which is characterized in that the processing module is specifically used for:
The user login information is encrypted according to the Message Digest 5, obtains cipher-text information;
Obtaining the partial information in the cipher-text information is the downloading identification information.
19. server according to claim 18, which is characterized in that the processing module is specifically used for:
The user login information is configured to character string;
The character string is encrypted according to the Message Digest 5, obtains the cipher-text information.
20. server according to claim 15 or 16, which is characterized in that the user login information further includes the use Family logs in the internet protocol address that the game uses by the web browser;Second request further includes described IP address when client terminal start-up;
The processing module is also used to before the sending module sends the user login information to the client, really IP address in fixed second request is identical as the IP address in the user login information.
21. server according to claim 15 or 16, which is characterized in that the processing module is also used to according to institute User login information is stated, after the downloading identification information for generating the installation kit of the client of the game, the user is established and steps on Record the corresponding relationship between information and the downloading identification information;
The processing module when obtaining the user login information, is specifically used for: according to the downloading identification information according to institute Corresponding relationship and the downloading identification information are stated, the user login information corresponding with the downloading identification information is obtained.
22. server according to claim 21, which is characterized in that the processing module is also used in the transmission mould After block sends the user login information to the client, the corresponding relationship is deleted.
23. server according to claim 21, which is characterized in that the processing module, be also used to establish it is described right Start timing after should being related to, if timing time is greater than or equal to preset time, deletes the corresponding relationship.
24. server according to claim 15 or 16, which is characterized in that the user login information further include with down toward One item missing: title of the user in the game, the user by the web browser log in the game when Between stamp, the user server, the user that the game selects logged in the game by the web browser The role of selection.
25. a kind of client characterized by comprising
Processing module, for obtaining the installation of the client when the client of game is successfully installed in the terminal and started The downloading identification information of packet;
Sending module includes the downloading identification information in second request for sending the second request to web page server, Second request is for requesting user login information, and the user login information is for logging in the game;The user steps on Record information includes: the account and password that user logs in the game;
Receiving module, for receiving the user login information from the web page server;
The processing module is also used to log in the game according to the user login information.
26. client according to claim 25, which is characterized in that the processing module is specifically used for:
Obtain the filename of the installation kit of the client;
According to the filename, the downloading identification information is obtained.
27. the client according to claim 25 or 26, which is characterized in that second request further includes the client Internet protocol address when starting.
28. the client according to claim 25 or 26, which is characterized in that the user login information further include with down toward One item missing: title of the user in the game, the user by the web browser log in the game when Between stamp, the user server, the user that the game selects logged in the game by the web browser The role of selection.
29. a kind of server characterized by comprising memory and processor;
The memory, for storing program code;
The processor, for calling said program code to execute the game login side as described in claim 1-10 any one Method.
30. a kind of terminal characterized by comprising memory and processor;
The memory, for storing program code;
The processor, the game for calling said program code to execute as described in claim 11-14 any one log in Method.
31. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program on the readable storage medium storing program for executing;The meter Calculation machine program when executed, is realized such as claim 1-10 any one or as described in claim 11-14 any one Game login method.
CN201810148651.3A 2018-02-13 2018-02-13 Game login method and device Pending CN110141866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810148651.3A CN110141866A (en) 2018-02-13 2018-02-13 Game login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810148651.3A CN110141866A (en) 2018-02-13 2018-02-13 Game login method and device

Publications (1)

Publication Number Publication Date
CN110141866A true CN110141866A (en) 2019-08-20

Family

ID=67588194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810148651.3A Pending CN110141866A (en) 2018-02-13 2018-02-13 Game login method and device

Country Status (1)

Country Link
CN (1) CN110141866A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935092A (en) * 2020-07-10 2020-11-13 上海淇毓信息科技有限公司 Information interaction method and device based on third-party application and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040034658A (en) * 2004-03-31 2004-04-28 배기관 Mouse curser with avata system
CN105871927A (en) * 2016-06-17 2016-08-17 北京奇虎科技有限公司 Automatic logging-in method and automatic logging-in device of micro-terminal
CN106390458A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Web game hanging-on method, server, mobile terminal and browser client
CN106612264A (en) * 2015-10-26 2017-05-03 广州市动景计算机科技有限公司 Method and device for acquiring file decompression password
CN107040503A (en) * 2016-02-04 2017-08-11 福建天晴数码有限公司 Automatic login of client side method and system
CN107040500A (en) * 2016-02-04 2017-08-11 福建天晴数码有限公司 Service end generates the method and system of automatic login of client side information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040034658A (en) * 2004-03-31 2004-04-28 배기관 Mouse curser with avata system
CN106612264A (en) * 2015-10-26 2017-05-03 广州市动景计算机科技有限公司 Method and device for acquiring file decompression password
CN107040503A (en) * 2016-02-04 2017-08-11 福建天晴数码有限公司 Automatic login of client side method and system
CN107040500A (en) * 2016-02-04 2017-08-11 福建天晴数码有限公司 Service end generates the method and system of automatic login of client side information
CN105871927A (en) * 2016-06-17 2016-08-17 北京奇虎科技有限公司 Automatic logging-in method and automatic logging-in device of micro-terminal
CN106390458A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Web game hanging-on method, server, mobile terminal and browser client

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935092A (en) * 2020-07-10 2020-11-13 上海淇毓信息科技有限公司 Information interaction method and device based on third-party application and electronic equipment
CN111935092B (en) * 2020-07-10 2023-04-04 上海淇毓信息科技有限公司 Information interaction method and device based on third-party application and electronic equipment

Similar Documents

Publication Publication Date Title
CN106682028B (en) Method, device and system for acquiring webpage application
US7707641B2 (en) Method and apparatus for secure content delivery over broadband access networks
US7690039B2 (en) Method and apparatus for content protection in a secure content delivery system
US6374402B1 (en) Method and apparatus for installation abstraction in a secure content delivery system
CN104735066B (en) A kind of single-point logging method of object web page application, device and system
CN106339613B (en) A kind of processing method, terminal and server using data
CN105959335B (en) A kind of attack detection method and relevant apparatus
CN105897668A (en) Third party account authorization method, device, server and system
CN103607385A (en) Method and apparatus for security detection based on browser
CN107743115B (en) Identity authentication method, device and system for terminal application
CN109634619A (en) Credible performing environment implementation method and device, terminal device, readable storage medium storing program for executing
CN112861191B (en) Application program monitoring method and device
CA2351078C (en) Methods and apparatus for secure content delivery over broadband access networks
CN106330816A (en) Method and system for logging in cloud desktop
CN107682361A (en) Website vulnerability scan method, device, computer equipment and storage medium
CN104935558A (en) Network user rapid registration and login method and system
EP2624517A1 (en) Application store system and development method using the application store system
CN107911381A (en) Access method, system, server-side and the client of application programming interface
CN113505354B (en) Data processing method, device and storage medium
CN107315948B (en) Data calling method and device
CN110213247A (en) A kind of method and system improving pushed information safety
CN110141866A (en) Game login method and device
CN109450990A (en) A kind of cloud storage implementation method and electronic equipment based on educational system
CN108848077A (en) The login method and device of application program
CN104301285B (en) Login method for web system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190820

RJ01 Rejection of invention patent application after publication