CN106390458B - Webpage game on-hook method, server, mobile terminal and browser client - Google Patents

Webpage game on-hook method, server, mobile terminal and browser client Download PDF

Info

Publication number
CN106390458B
CN106390458B CN201610856564.4A CN201610856564A CN106390458B CN 106390458 B CN106390458 B CN 106390458B CN 201610856564 A CN201610856564 A CN 201610856564A CN 106390458 B CN106390458 B CN 106390458B
Authority
CN
China
Prior art keywords
hook
game
user
mobile terminal
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610856564.4A
Other languages
Chinese (zh)
Other versions
CN106390458A (en
Inventor
葛山
叶暮鸣
闫俊
何孟东
杨涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610856564.4A priority Critical patent/CN106390458B/en
Publication of CN106390458A publication Critical patent/CN106390458A/en
Application granted granted Critical
Publication of CN106390458B publication Critical patent/CN106390458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • 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
    • 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
    • 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/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • 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/57Features 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 game services offered to the player
    • A63F2300/572Communication between players during game play of non game information, e.g. e-mail, chat, file transfer, streaming of audio and streaming of video
    • 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/60Methods for processing data by generating or executing the game program

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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a webpage game on-hook method, a server, a mobile terminal and a browser client, wherein the method comprises the following steps: receiving a game on-hook request sent by a browser, wherein the game on-hook request comprises first user login information; generating a user identification code according to the first user login information, and sending the user identification code to the browser so that the browser can display the user identification code; receiving second user login information sent by the on-hook mobile terminal, wherein the second user login information is generated by scanning the user identification code by the on-hook mobile terminal; and matching the first user login information with the second user login information, and entering a web game on-hook state if the matching is successful. The invention realizes login-free hang-up of the web game by generating the user identification code according to the user login information and performing matching authentication based on the user identification code.

Description

Webpage game on-hook method, server, mobile terminal and browser client
Technical Field
The invention relates to the technical field of computers, in particular to a webpage game on-hook method, a server, a mobile terminal and a browser client.
Background
The Web game (Web game) is also called Web game, and is called Web game for short. Is a network online multi-player interactive game based on a Web browser. The game user can enter the game after registering and logging in through the webpage without downloading a client.
At present, a web game needs to be played after logging in through a PC, and the PC is not easy to carry about in many times, so that for a player who goes out for a long time, the level, experience and the like of a game role are too low because the player does not have time to play the game, the player loses game interest, the stickiness of the player to the game is reduced, the game experience of the player is influenced, and further the popularization of the game is influenced.
The on-hook system is a tool for helping a user to automatically log in and play games when the user does not have time to play games in person. Through the on-hook system, even if a player is not at the computer, the game character role of the player can not quit the client, and the player is simulated to automatically perform part of game operation.
However, the existing on-hook system still needs the user to log in at the PC end to realize on-hook, and the on-hook mode is single.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a web game on-hook method and server, mobile terminal, browser client that overcome or at least partially solve the above problems.
In one aspect of the present invention, a method for hanging up a web game is provided, which includes:
receiving a game on-hook request sent by a browser, wherein the game on-hook request comprises first user login information;
generating a user identification code according to the first user login information, and sending the user identification code to the browser so that the browser can display the user identification code;
receiving second user login information sent by the on-hook mobile terminal, wherein the second user login information is generated by scanning the user identification code by the on-hook mobile terminal;
and matching the first user login information with the second user login information, and entering a web game on-hook state if the matching is successful.
Optionally, after entering the online game on-hook state, the method further includes:
and returning game on-hook success information to the on-hook mobile terminal and/or the browser so that the browser disconnects the connection with the game server according to the game on-hook success information.
Optionally, the method further comprises:
if the on-hook application is not installed in the on-hook mobile terminal, sending a specified path to the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation;
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
Optionally, the method further comprises:
and when a game on-hook request sent by a browser is received, receiving current game state data uploaded by the browser.
Optionally, the method further comprises:
receiving a user operation instruction sent by the on-hook mobile terminal in a game on-hook state;
and calculating the current game data according to the user operation instruction, and returning game response information to the on-hook mobile terminal.
In another aspect of the present invention, a method for hanging up a web game is provided, which includes:
scanning a user identification code to generate second user login information, wherein the user identification code is displayed on a game browser and/or a current on-hook mobile terminal, and the user identification code is associated with first user login information uploaded to an on-hook server by the browser;
sending the second user login information to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser;
and receiving a matching success feedback message, starting an on-hook application according to the matching success feedback message, and entering a web game on-hook state.
Optionally, the method further comprises:
and receiving and displaying the game on-hook success information sent by the on-hook server.
Optionally, before the scanning the user identification code to generate the second user login information, the method further includes:
and receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server.
Optionally, after the scanning the user identification code to generate second user login information, the method further includes:
and judging whether the on-hook application is installed in the current on-hook mobile terminal, and starting the on-hook application if the on-hook application is installed in the current on-hook mobile terminal.
Optionally, after the scanning the user identification code to generate second user login information, the method further includes:
if the on-hook application is not installed in the current on-hook mobile terminal, receiving a designated path sent by the on-hook server;
and downloading the software package of the on-hook application through the specified path, and installing and operating the software package.
Optionally, the method further comprises:
sending a user operation instruction to the on-hook server in a game on-hook state so that the on-hook server performs calculation processing on current game data according to the user operation instruction, wherein the current game data are uploaded when a browser sends a game on-hook request;
and receiving game response information returned by the on-hook server.
In another aspect of the present invention, a method for hanging up a web game is provided, which includes:
sending a game on-hook request to an on-hook server, wherein the game on-hook request comprises first user login information, so that the on-hook server generates a user identification code according to the first user login information;
receiving the user identification code sent by the on-hook server;
and displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal so that the on-hook mobile terminal scans the user identification code to execute the web game on-hook method.
Optionally, the method further comprises:
and generating the user identification code according to the first user login information, displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal.
Optionally, the method further comprises:
and receiving game on-hook success information sent by the on-hook server, displaying the game on-hook success information, and disconnecting the game server according to the game on-hook success information.
In another aspect of the present invention, there is provided a web game on-hook server, including:
the system comprises a receiving module, a first user login module and a second user login module, wherein the receiving module is suitable for receiving a game on-hook request sent by a browser, and the game on-hook request comprises first user login information;
the generating module is suitable for generating a user identification code according to the first user login information and sending the user identification code to the browser so that the browser can display the user identification code;
the receiving module is also suitable for receiving second user login information sent by the on-hook mobile terminal, and the second user login information is generated by scanning the user identification code by the on-hook mobile terminal;
and the matching module is suitable for matching the first user login information with the second user login information, and if the matching is successful, the online state of the webpage game is entered.
Optionally, the server further includes:
and the configuration module is suitable for returning game on-hook success information to the on-hook mobile terminal and/or the browser after entering the webpage game on-hook state, and disconnecting the browser from the game server according to the game on-hook success information.
Optionally, the server further includes:
the sending module is suitable for sending a specified path to the on-hook mobile terminal when the on-hook application is not installed in the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation; and
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
Optionally, the receiving module is further adapted to receive current game state data uploaded by the browser when a game on-hook request sent by the browser is received.
Optionally, the receiving module is further adapted to receive, in a game on-hook state, a user operation instruction sent by the on-hook mobile terminal;
the server, further comprising:
and the processing module is suitable for performing calculation processing on the current game data according to the user operation instruction and returning game response information to the on-hook mobile terminal.
In another aspect of the present invention, there is provided a web game on-hook mobile terminal, including:
the generating module is suitable for scanning a user identification code to generate second user login information, the user identification code is displayed on the game browser and/or the current on-hook mobile terminal, and the user identification code is associated with the first user login information uploaded to the on-hook server by the browser;
the sending module is suitable for sending the second user login information generated by the generating module to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser;
and the execution module is suitable for receiving the matching success feedback message, starting the on-hook application according to the matching success feedback message and entering the on-hook state of the webpage game.
Optionally, the mobile terminal further includes:
and the first receiving module is suitable for receiving the game on-hook success information sent by the on-hook server and displaying the game on-hook success information.
Optionally, the mobile terminal further includes:
and the second receiving module is suitable for receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server before the user identification code is scanned to generate second user login information.
Optionally, the mobile terminal further includes:
the judging module is suitable for judging whether the on-hook application is installed in the current on-hook mobile terminal after the user identification code is scanned to generate second user login information;
the execution module is specifically adapted to start the on-hook application when the judgment result of the judgment module indicates that the on-hook application is installed in the current on-hook mobile terminal.
Optionally, the executing module is specifically further adapted to receive an assigned path sent by the on-hook server when the on-hook application is not installed in the current on-hook mobile terminal after the second user login information is generated by scanning the user identification code; and downloading the software package of the on-hook application through the specified path, and installing and running the software package.
Optionally, the sending module is further adapted to send a user operation instruction to the on-hook server in a game on-hook state, so that the on-hook server performs calculation processing on current game data according to the user operation instruction, where the current game data is uploaded by the browser when the game on-hook request is sent;
the mobile terminal further includes:
and the third receiving module is suitable for receiving the game response information returned by the on-hook server.
In another aspect of the present invention, there is provided a web game browser client, including:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is suitable for sending a game on-hook request to an on-hook server, and the game on-hook request comprises first user login information so that the on-hook server generates a user identification code according to the first user login information;
the receiving module is suitable for receiving the user identification code sent by the on-hook server;
the display module is suitable for displaying the user identification code so that the on-hook mobile terminal can scan the user identification code to execute the on-hook method of the webpage game;
and/or the sending module is further adapted to send the user identifier to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identifier to execute the web game on-hook method.
Optionally, the browser client further includes:
the generating module is suitable for generating the user identification code according to the first user login information;
the display module is further adapted to display the user identification code generated by the generation module, and/or the sending module is further adapted to send the user identification code generated by the generation module to the on-hook mobile terminal.
Optionally, the display module is further adapted to receive game on-hook success information sent by the on-hook server, and display the game on-hook success information;
the browser client further comprises:
and the configuration module is suitable for disconnecting the connection with the game server according to the game on-hook success information.
According to the webpage game on-hook method, the server, the mobile terminal and the browser client, the user identification code is generated according to the user login information, and the matching authentication is carried out based on the user identification code, so that the login-free on-hook of the webpage game is realized, and the on-hook operation of the webpage game is quickly and conveniently carried out.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of a web game hang-up method according to one embodiment of the invention;
FIG. 2 is a flow chart illustrating a method for hanging up a web game according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for hanging up a web game according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a web game on-hook server according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an architecture of a web game on-hook mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a webgame browser client according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Fig. 1 schematically shows a flowchart of a web game on-hook method according to an embodiment of the present invention. The online game hanging-up method provided by the embodiment is configured in the hanging-up server. Referring to fig. 1, the method for hanging up a web game in the embodiment of the present invention specifically includes the following steps:
and step S11, receiving a game on-hook request sent by the browser, wherein the game on-hook request comprises first user login information.
In this embodiment, a user initiates a game on-hook request to the on-hook server by triggering a preset web page element in a browser web page. Specifically, the preset webpage elements can be triggered by clicking, double clicking, right clicking and the like. The present invention is not particularly limited in this regard.
Wherein, the webpage element can be a floating button and/or a toolbar of a webpage game interface.
The first user login information may be information that can identify a user identity, such as a user name and a password of a browser user. Understandably, the user name and the password of the browser user are the user name and the password of the game user.
And step S12, generating a user identification code according to the first user login information, and sending the user identification code to the browser so that the browser can display the user identification code.
In this embodiment, the user identification code may be implemented by a two-dimensional code, a barcode, or other types of identifiers with a linking function, which is not specifically limited in the present invention.
Specifically, the on-hook server generates a user identification code according to the first user login information, and sends the user identification code to the browser, so that the browser can display the user identification code, and/or send the user identification code to the on-hook mobile terminal.
And step S13, receiving second user login information sent by the on-hook mobile terminal, wherein the second user login information is generated by scanning the user identification code by the on-hook mobile terminal.
In this embodiment, the on-hook mobile terminal generates second user login information by scanning a user identification code displayed on the game browser and/or the current on-hook mobile terminal, and sends the generated second user login information to the on-hook server, and the on-hook server receives the second user login information for subsequent matching authentication of the first user login information and the second user login information.
And step S14, matching the first user login information and the second user login information, and entering a web game on-hook state if the matching is successful.
Wherein, the online state of the web game comprises: the method comprises the following steps that a game scene is virtualized in a virtual machine, and an on-hook server executes predefined common users in the virtual game scene according to user operation instructions sent by users, such as: the method comprises the steps of practicing level, making strange games, brushing experience and the like, and sending game response information to the on-hook mobile terminal according to game response events defined by a user so as to inform the on-hook mobile terminal of the state change condition of the current game user. Since the execution of the predefined game operations in the virtual game scene is a technical means well known to those skilled in the art, the detailed description is omitted here.
In this embodiment, the on-hook server receives second user login information sent by the on-hook mobile terminal, matches the second user login information with first user login information uploaded by the browser after receiving the second user login information, and sends a matching success feedback message to the on-hook mobile terminal if matching is successful, so that the on-hook mobile terminal starts an on-hook application according to the matching success feedback message after receiving the matching success feedback message and enters a web game on-hook state.
According to the webpage game on-hook method provided by the embodiment of the invention, the on-hook server generates the user identification code according to the first user login information, matches the first user login information uploaded by the browser with the second user login information generated by scanning the user identification code through the on-hook mobile terminal, realizes the matching authentication based on the user identification code, and enters the webpage game on-hook state if the matching is successful, so that the login-free on-hook of the webpage game is realized, and the on-hook operation of the webpage game is quickly and conveniently carried out.
In an optional embodiment of the present invention, after entering the online game hang-up state, the method further comprises the following steps: and returning game on-hook success information to the on-hook mobile terminal and/or the browser so that the browser disconnects the connection with the game server according to the game on-hook success information.
In a specific example, the step of the browser disconnecting the connection with the game server according to the game on-hook success information is specifically that the browser actively disconnects the connection with the game server.
In a specific example, the step of disconnecting, by the browser, the connection with the game server according to the game on-hook success information is specifically that the browser sends an operation request to the game server, so that the game server kicks off a game user of the browser to disconnect the connection with the browser.
Further, in this embodiment, the method further includes the following steps: and receiving a hang-up termination instruction sent by the browser, and sending a hang-up termination success instruction according to the hang-up termination instruction so that the browser logs in the game server again according to the hang-up termination success instruction.
In this embodiment, when entering the online game online state, the browser detects whether the game user has an operation of performing game login through the browser, and when a detection result is yes, the browser generates an online termination instruction and sends the instruction to the online server, and after receiving an online termination success instruction sent by the online server, logs in the game server again.
In an optional embodiment of the present invention, the online game hanging-up method further comprises the following steps:
if the on-hook application is not installed in the on-hook mobile terminal, sending a specified path to the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation;
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
The specified path is specifically a download path of a software package of the on-hook application.
In order to ensure that an on-hook mobile terminal can quickly realize on-hook of a web game and ensure the on-hook success rate, according to the embodiment of the invention, when an on-hook server knows that no on-hook application is installed in a mobile terminal which is currently pre-used for on-hook of the web game, a preset specified path, namely a downloading path of a software package of the on-hook application, is sent to the mobile terminal, so that the mobile terminal downloads the software package of the on-hook application through the specified path, carries out installation and operation, and starts the on-hook application according to an instruction sent by the on-hook server after the installation of the on-hook application is finished.
According to the embodiment of the invention, the mobile terminal downloads the software package of the on-hook application through the specified path issued by the on-hook server, and performs installation and operation, so that not only can the on-hook of the webpage game be quickly realized, the on-hook success rate is ensured, but also the popularization of the game can be better realized.
In an optional embodiment of the present invention, the online game hanging-up method further comprises the following steps: and when a game on-hook request sent by a browser is received, receiving current game state data uploaded by the browser.
In the embodiment of the invention, the browser automatically stores the game state data corresponding to the current webpage game in the game login information storage tool in the process of playing the webpage game. Specifically, when the browser initiates a game on-hook request to the on-hook server, the browser automatically acquires the stored game state data and uploads the game state data to the on-hook server, and the on-hook server receives the game state data when receiving the game on-hook request sent by the browser.
The game state data comprises a webpage address of the webpage game server, a user name and a password of the player and current game data of the webpage game.
In an optional embodiment of the present invention, the online game hanging-up method further comprises the following steps: receiving a user operation instruction sent by the on-hook mobile terminal in a game on-hook state;
and calculating the current game data according to the user operation instruction, and returning game response information to the on-hook mobile terminal.
In this embodiment, the on-hook server performs, according to a user operation instruction sent by the user through the on-hook mobile terminal, calculation processing on the current game data according to the user operation instruction, so as to virtually execute, for example, one of predefined common users: the method comprises the steps of practicing level, making strange games, brushing experience and the like, and sending game response information to the on-hook mobile terminal according to game response events defined by a user so as to inform the on-hook mobile terminal of the state change condition of the current game user.
Wherein the game response event may be defined according to game play. For example, if the game response event is that the game character reaches a set level, when the game character reaches the set level, returning information that the set level is reached to the on-hook mobile terminal; and after receiving the information, the on-hook mobile terminal returns to the next user operation instruction, such as continuing on-hook practice, or performing other experience-refreshing operations.
Fig. 2 is a flow chart schematically illustrating a method for hanging up a webgame according to an embodiment of the present invention. The online method for the web game provided by the embodiment is configured in a mobile terminal, for example, a portable hardware device with various operating systems, such as a mobile phone, a tablet computer, a personal digital assistant, and the like. Referring to fig. 2, the web game hang-up method of the embodiment of the present invention specifically includes the following steps:
and step S21, scanning a user identification code to generate second user login information, wherein the user identification code is displayed on the game browser and/or the current on-hook mobile terminal, and the user identification code is associated with the first user login information uploaded to the on-hook server by the browser.
The first user login information may be information that can identify a user identity, such as a user name and a password of a browser user. Understandably, the user name and the password of the browser user are the user name and the password of the game user.
In this embodiment, the user identifier is associated with first user login information uploaded to an on-hook server by a browser, specifically, the user identifier is generated by the on-hook server according to the first user login information. Specifically, the on-hook mobile terminal generates second user login information by scanning a user identification code displayed on the game browser and/or the current on-hook mobile terminal.
The user identification code in this embodiment may be implemented by a two-dimensional code, a barcode, or other identifiers with a linking function, which is not specifically limited in the present invention.
And step S22, sending the second user login information to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser.
In this embodiment, after the on-hook mobile terminal generates the second user login information by scanning the user identification code, the generated second user login information is sent to the on-hook server, so that the on-hook server matches the second user login information with the first user login information uploaded by the browser, and the on-hook server sends a matching success feedback message to the on-hook mobile terminal when matching is successful.
And step S23, receiving a matching success feedback message, starting the on-hook application according to the matching success feedback message, and entering the on-hook state of the web game.
In this embodiment, the on-hook mobile terminal receives a matching success feedback message sent by the on-hook server, and after receiving the matching success feedback message, starts the on-hook application according to the matching success feedback message, and enters a web game on-hook state.
According to the webpage game on-hook method provided by the embodiment of the invention, the on-hook mobile terminal generates second user login information by scanning the user identification code displayed on the game browser and/or the current on-hook mobile terminal, and the second user login information is sent to the on-hook server, so that the on-hook server matches the second user login information with the first user login information uploaded by the browser, matching authentication based on the user identification code is realized, if matching is successful, the on-hook application is started, and the webpage game on-hook state is entered, so that login-free on-hook of the webpage game is realized, and the webpage game is quickly and conveniently subjected to on-hook operation.
In an alternative embodiment of the invention, the method further comprises the steps of: and receiving and displaying the game on-hook success information sent by the on-hook server.
In this embodiment, after entering the online game online state, the online server returns the game online success information to the online mobile terminal, and the online mobile terminal receives and displays the game online success information to prompt the user that the game online succeeds.
In an optional embodiment of the invention, before the scanning the user identification code to generate the second user login information, the method further comprises the steps of:
and receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server.
In the embodiment of the invention, when the on-hook mobile terminal belongs to the condition that the second user login information is generated by scanning the user identification code displayed on the display interface of the on-hook mobile terminal, the on-hook mobile terminal needs to acquire the user identification code before executing the scanning operation. The browser and the on-hook server both have user identification codes, so that the user identification codes can be acquired by receiving the user identification codes sent by the browser or receiving the user identification codes sent by the on-hook server.
In an optional embodiment of the invention, after scanning the user identification code to generate the second user login information, the method further comprises the steps of:
and judging whether the on-hook application is installed in the current on-hook mobile terminal, and starting the on-hook application if the on-hook application is installed in the current on-hook mobile terminal.
In order to ensure that the on-hook mobile terminal can quickly realize the on-hook of the web game and ensure the on-hook success rate, in the embodiment of the invention, after the on-hook mobile terminal scans the user identification code to generate second user login information, whether the on-hook application is installed in the current on-hook mobile terminal is judged firstly, and after the on-hook application is determined to be installed in the current on-hook mobile terminal, the on-hook application is started to enter the on-hook state of the web game.
In an optional embodiment of the invention, after scanning the user identification code to generate the second user login information, the method further comprises the steps of:
if the on-hook application is not installed in the current on-hook mobile terminal, receiving a designated path sent by the on-hook server;
and downloading the software package of the on-hook application through the specified path, and installing and operating the software package.
The specified path is specifically a download path of a software package of the on-hook application.
In order to ensure that an on-hook mobile terminal can quickly realize on-hook of a web game and ensure the success rate of on-hook, according to the embodiment of the invention, when the on-hook application is judged not to be installed in the current on-hook mobile terminal, an appointed path sent by an on-hook server is received, a software package of the on-hook application is downloaded through the appointed path, installation and operation are carried out, and the on-hook application is started according to an instruction sent by the on-hook server after the installation of the on-hook application is finished.
According to the embodiment of the invention, the mobile terminal downloads the software package of the on-hook application through the specified path issued by the on-hook server, and performs installation and operation, so that not only can the on-hook of the webpage game be quickly realized, the on-hook success rate be ensured, but also the popularization of the game can be better realized.
In an alternative embodiment of the invention, the method further comprises the steps of:
sending a user operation instruction to the on-hook server in a game on-hook state so that the on-hook server performs calculation processing on current game data according to the user operation instruction, wherein the current game data are uploaded when a browser sends a game on-hook request;
and receiving game response information returned by the on-hook server.
In this embodiment, a user operates an instruction to the on-hook server through the on-hook mobile terminal, so that the on-hook server performs calculation processing on the current game data according to the user operation instruction, so as to virtually execute predefined common users, for example: the method comprises the steps of practicing level, making strange games, brushing experience and the like, and sending game response information to the on-hook mobile terminal according to game response events defined by a user so as to inform the on-hook mobile terminal of the state change condition of the current game user.
Wherein the game response event may be defined according to game play. For example, if the game response event is that the game character reaches a set level, when the game character reaches the set level, returning information that the set level is reached to the on-hook mobile terminal; and after receiving the information, the on-hook mobile terminal returns to the next user operation instruction, such as continuing on-hook practice, or performing other experience-refreshing operations.
Fig. 3 is a flow chart schematically illustrating a method for hanging up a webgame according to an embodiment of the present invention. The online method for the web game provided by the embodiment is configured at a browser client of a terminal device, and the terminal device is a PC. Referring to fig. 3, the method for hanging up the web game in the embodiment of the present invention specifically includes the following steps:
step S31, a game on-hook request is sent to an on-hook server, wherein the game on-hook request comprises first user login information, so that the on-hook server generates a user identification code according to the first user login information.
In this embodiment, a user initiates a game on-hook request to the on-hook server by triggering a preset web page element in a browser web page. Specifically, the preset webpage elements can be triggered by clicking, double clicking, right clicking and the like. The present invention is not particularly limited in this regard.
Wherein, the webpage element can be a floating button and/or a toolbar of a webpage game interface.
The first user login information may be information that can identify a user identity, such as a user name and a password of a browser user. Understandably, the user name and the password of the browser user are the user name and the password of the game user.
And step S32, receiving the user identification code sent by the on-hook server.
In this embodiment, the user identification code may be implemented by a two-dimensional code, a barcode, or other types of identifiers with a linking function, which is not specifically limited in the present invention.
Step S33, displaying the user identifier, and/or sending the user identifier to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identifier to execute the web game on-hook method configured in the mobile terminal as shown in fig. 2.
Specifically, the on-hook server generates and sends a user identification code according to the first user login information, and sends the user identification code to the browser. The browser displays the user identification code and/or sends the user identification code to the on-hook mobile terminal so that the on-hook mobile terminal scans the user identification code to generate second user login information, the second user login information is sent to the on-hook server so that the on-hook server can match the second user login information with the first user login information uploaded by the browser, an on-hook application is started according to a feedback message of successful matching, and the on-hook mobile terminal enters a web game on-hook state.
The web game on-hook method provided by the embodiment of the invention is characterized in that a browser sends a game on-hook request comprising first user login information to an on-hook server so that the on-hook server generates a user identification code according to the first user login information, the user identification code is displayed and/or is sent to an on-hook mobile terminal so that the on-hook mobile terminal generates second user login information by scanning the user identification code displayed on the game browser and/or the current on-hook mobile terminal, the second user login information is sent to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser, matching authentication based on the user identification code is realized, if the matching is successful, an on-hook application is started to enter a web game on-hook state, and further the on-hook free of a web game is realized, the on-hook operation of the web game is quickly and conveniently carried out.
In another optional embodiment of the present invention, the online game hang-up method further comprises the following steps not shown in the figure: and generating the user identification code according to the first user login information, displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal.
In this embodiment, the browser client can generate the user identification code according to the first user login information of the game user, display the user identification code, and/or send the user identification code to the on-hook mobile terminal.
In the implementation process of the invention, the browser can obtain the user identification code of the game user in two modes, wherein the first mode is that the browser obtains first user login information of the game user and sends a game on-hook request comprising the first user login information to an on-hook server so that the on-hook server generates the user identification code according to the first user login information; the second mode is that after the browser acquires the first user login information of the game user, the browser generates the user identification code directly according to the first user login information. The embodiment of the invention realizes the generation of the user identification code in different modes, has flexible realization mode and can further meet the requirements of different on-hook application scenes.
In another optional embodiment of the present invention, the online game hang-up method further comprises the following steps not shown in the figure:
and receiving game on-hook success information sent by the on-hook server, displaying the game on-hook success information, and disconnecting the game server according to the game on-hook success information.
In a specific example, the step of the browser disconnecting the connection with the game server according to the game on-hook success information is specifically that the browser actively disconnects the connection with the game server.
In a specific example, the step of disconnecting, by the browser, the connection with the game server according to the game on-hook success information is specifically that the browser sends an operation request to the game server, so that the game server kicks off a game user of the browser to disconnect the connection with the browser.
Further, the method further comprises the steps of: when entering a webpage game on-hook state, the browser detects whether a game user has the operation of game login through the browser, and when the detection result is yes, the browser generates an on-hook termination instruction and sends the on-hook termination instruction to the on-hook server, and logs in the game server again after receiving the on-hook termination success instruction sent by the on-hook server.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fig. 4 is a schematic structural diagram of a webgame on-hook server according to an embodiment of the present invention.
Referring to fig. 4, the web game on-hook server according to the embodiment of the present invention specifically includes a receiving module 401, a generating module 402, and a matching module 403, where the receiving module 401 is adapted to receive a game on-hook request sent by a browser, where the game on-hook request includes first user login information; a generating module 402, adapted to generate a user identifier according to the first user login information, and send the user identifier to the browser, so that the browser displays the user identifier; the receiving module 401 is further adapted to receive second user login information sent by the on-hook mobile terminal, where the second user login information is generated by scanning the user identification code by the on-hook mobile terminal; the matching module 403 is adapted to match the first user login information with the second user login information, and if the matching is successful, enter a web game on-hook state.
In the web game on-hook server provided by the embodiment of the invention, the generating module 402 generates the user identification code according to the first user login information, the matching module 403 matches the first user login information uploaded by the browser with the second user login information generated by scanning the user identification code by the on-hook mobile terminal, so that matching authentication based on the user identification code is realized, if the matching is successful, the web game on-hook state is entered, further the web game is free from login and on-hook, and the web game is quickly and conveniently hung.
In an optional embodiment of the present invention, the server further includes a configuration module, not shown in the drawings, adapted to return a game hang-up success message to the on-hook mobile terminal and/or the browser after entering the web game hang-up state, and disconnect the browser from the game server according to the game hang-up success message.
In an optional embodiment of the present invention, the server further includes a sending module, not shown in the drawings, adapted to send a specified path to the on-hook mobile terminal when an on-hook application is not installed in the on-hook mobile terminal, so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and performs installation and operation; and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
In an optional embodiment of the present invention, the receiving module 401 is further adapted to receive current game state data uploaded by the browser when a game on-hook request sent by the browser is received.
In an optional embodiment of the present invention, the receiving module 401 is further adapted to receive, in a game on-hook state, a user operation instruction sent by the on-hook mobile terminal;
further, the server further includes a processing module, not shown in the figure, adapted to perform calculation processing on the current game data according to the user operation instruction, and return game response information to the on-hook mobile terminal.
Fig. 5 is a schematic diagram illustrating a structure of a web game on-hook mobile terminal according to an embodiment of the invention. Referring to fig. 5, the web game on-hook mobile terminal of the embodiment of the present invention specifically includes a generating module 501, a sending module 502, and an executing module 503, where the generating module 501 is adapted to scan a user identification code to generate second user login information, the user identification code is displayed on a game browser and/or a current on-hook mobile terminal, and the user identification code is associated with first user login information uploaded to an on-hook server by the browser; a sending module 502, adapted to send the second user login information generated by the generating module to the on-hook server, so that the on-hook server matches the second user login information with the first user login information uploaded by the browser; the execution module 503 is adapted to receive the matching success feedback message, start the on-hook application according to the matching success feedback message, and enter the on-hook state of the web game.
In the web game on-hook mobile terminal provided by the embodiment of the present invention, the generating module 501 generates the second user login information by scanning the user identifier displayed on the game browser and/or the current on-hook mobile terminal, and the sending module 502 sends the second user login information to the on-hook server, so that the on-hook server matches the second user login information with the first user login information uploaded by the browser, thereby implementing matching authentication based on the user identifier, and if the matching is successful, the executing module 503 starts the on-hook application to enter the web game on-hook state, thereby implementing the login-free on-hook of the web game, and quickly and conveniently performing the on-hook operation on the web game.
In an optional embodiment of the present invention, the mobile terminal further includes a first receiving module, not shown in the drawings, and the first receiving module is adapted to receive and display the game on-hook success information sent by the on-hook server.
In an optional embodiment of the present invention, the mobile terminal further includes a second receiving module, not shown in the drawings, and the second receiving module is adapted to receive the user identifier sent by the browser or the user identifier sent by the on-hook server before the user identifier is scanned to generate second user login information.
In an optional embodiment of the present invention, the mobile terminal further includes a determining module, not shown in the drawing, adapted to determine whether the on-hook application is installed in the currently on-hook mobile terminal after the scanning the user identifier to generate the second user login information;
further, the executing module 503 is specifically adapted to start the on-hook application when the judgment result of the judging module is that the on-hook application is installed in the current on-hook mobile terminal.
In an optional embodiment of the present invention, the executing module 503 is specifically further adapted to receive an assigned path sent by the on-hook server when the on-hook application is not installed in the current on-hook mobile terminal after the second user login information is generated by scanning the user identification code; and downloading the software package of the on-hook application through the specified path, and installing and running the software package.
In an optional embodiment of the present invention, the sending module 502 is further adapted to send a user operation instruction to the on-hook server in a game on-hook state, so that the on-hook server performs calculation processing on current game data according to the user operation instruction, where the current game data is uploaded by a browser when sending a game on-hook request;
further, the mobile terminal further comprises a third receiving module, not shown in the drawings, and the third receiving module is adapted to receive the game response information returned by the on-hook server.
Fig. 6 is a schematic structural diagram of a webgame browser client according to an embodiment of the present invention. Referring to fig. 6, the client of the web game browser in the embodiment of the present invention specifically includes a sending module 601, a receiving module 602, and a display module 603, where the sending module 601 is adapted to send a game on-hook request to an on-hook server, where the game on-hook request includes first user login information, so that the on-hook server generates a user identifier according to the first user login information; a receiving module 602, adapted to receive the user identification code sent by the on-hook server; a display module 603 adapted to display the user identifier for the on-hook mobile terminal to scan the user identifier to execute the on-hook method of the webgame configured in the mobile terminal as shown in fig. 2; and/or the sending module 601 is further adapted to send the user identifier to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identifier to execute the web game on-hook method configured in the mobile terminal as shown in fig. 2.
In the web game browser client provided by the embodiment of the invention, the sending module 601 sends a game on-hook request including first user login information to an on-hook server, so that the on-hook server generates a user identification code according to the first user login information, the display module 603 displays the user identification code, and/or sends the user identification code to an on-hook mobile terminal, so that the on-hook mobile terminal generates second user login information by scanning the user identification code displayed on the game browser and/or the current on-hook mobile terminal, the second user login information is sent to the on-hook server, so that the on-hook server matches the second user login information with the first user login information uploaded by the browser, matching authentication based on the user identification code is realized, if the matching is successful, an on-hook application is started, and the web game on-hook state is entered, and further, the login-free on-hook of the web game is realized, and the on-hook operation of the web game is quickly and conveniently carried out.
In an optional embodiment of the present invention, the browser client further includes a generating module, not shown in the drawings, adapted to generate the user identification code according to the first user login information;
further, the display module 603 is further adapted to display the user identification code generated by the generation module, and/or the sending module 601 is further adapted to send the user identification code generated by the generation module to the on-hook mobile terminal.
In an optional embodiment of the present invention, the display module 603 is further adapted to receive the game on-hook success information sent by the on-hook server, and display the game on-hook success information;
further, the browser client further comprises a configuration module, not shown in the figure, and the configuration module is adapted to disconnect the game server according to the game on-hook success information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
According to the webpage game on-hook method, the server, the mobile terminal and the browser client, the user identification code is generated according to the user login information, and the matching authentication is carried out based on the user identification code, so that the login-free on-hook of the webpage game is realized, and the on-hook operation of the webpage game is quickly and conveniently carried out.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a gateway, proxy server, system according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention provides the following technical scheme:
a1, a method for hanging up a web game, comprising:
receiving a game on-hook request sent by a browser, wherein the game on-hook request comprises first user login information;
generating a user identification code according to the first user login information, and sending the user identification code to the browser so that the browser can display the user identification code;
receiving second user login information sent by the on-hook mobile terminal, wherein the second user login information is generated by scanning the user identification code by the on-hook mobile terminal;
and matching the first user login information with the second user login information, and entering a web game on-hook state if the matching is successful.
A2, according to the method in A1, after entering the online game hanging state, the method further comprises:
and returning game on-hook success information to the on-hook mobile terminal and/or the browser so that the browser disconnects the connection with the game server according to the game on-hook success information.
A3, the method of A1 or 2, further comprising:
if the on-hook application is not installed in the on-hook mobile terminal, sending a specified path to the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation;
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
A4, the method of any one of A1-3, further comprising:
and when a game on-hook request sent by a browser is received, receiving current game state data uploaded by the browser.
A5, the method of A4, further comprising:
receiving a user operation instruction sent by the on-hook mobile terminal in a game on-hook state;
and calculating the current game data according to the user operation instruction, and returning game response information to the on-hook mobile terminal.
B6, a web game on-hook method, comprising:
scanning a user identification code to generate second user login information, wherein the user identification code is displayed on a game browser and/or a current on-hook mobile terminal, and the user identification code is associated with first user login information uploaded to an on-hook server by the browser;
sending the second user login information to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser;
and receiving a matching success feedback message, starting an on-hook application according to the matching success feedback message, and entering a web game on-hook state.
B7, the method according to B6, further comprising:
and receiving and displaying the game on-hook success information sent by the on-hook server.
B8, according to the method of B6 or 7, before the scanning the user identification code to generate the second user login information, further comprising:
and receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server.
B9, the method according to any B6-8, further comprising, after the scanning the user identification code to generate the second user login information:
and judging whether the on-hook application is installed in the current on-hook mobile terminal, and starting the on-hook application if the on-hook application is installed in the current on-hook mobile terminal.
B10, the method according to any of B6-9, further comprising, after the scanning the user identification code to generate the second user login information:
if the on-hook application is not installed in the current on-hook mobile terminal, receiving a designated path sent by the on-hook server;
and downloading the software package of the on-hook application through the specified path, and installing and operating the software package.
B11, the method according to any one of B6-10, further comprising:
sending a user operation instruction to the on-hook server in a game on-hook state so that the on-hook server performs calculation processing on current game data according to the user operation instruction, wherein the current game data are uploaded when a browser sends a game on-hook request;
and receiving game response information returned by the on-hook server.
C12, a method for hanging up a web game, comprising:
sending a game on-hook request to an on-hook server, wherein the game on-hook request comprises first user login information, so that the on-hook server generates a user identification code according to the first user login information;
receiving the user identification code sent by the on-hook server;
displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identification code to execute the web game on-hook method according to claim 6.
C13, the method of C12, further comprising:
and generating the user identification code according to the first user login information, displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal.
C14, the method of C12 or 13, further comprising:
and receiving game on-hook success information sent by the on-hook server, displaying the game on-hook success information, and disconnecting the game server according to the game on-hook success information.
D15, a web game on-hook server, comprising:
the system comprises a receiving module, a first user login module and a second user login module, wherein the receiving module is suitable for receiving a game on-hook request sent by a browser, and the game on-hook request comprises first user login information;
the generating module is suitable for generating a user identification code according to the first user login information and sending the user identification code to the browser so that the browser can display the user identification code;
the receiving module is also suitable for receiving second user login information sent by the on-hook mobile terminal, and the second user login information is generated by scanning the user identification code by the on-hook mobile terminal;
and the matching module is suitable for matching the first user login information with the second user login information, and if the matching is successful, the online state of the webpage game is entered.
D16, the on-hook server of D15, further comprising:
and the configuration module is suitable for returning game on-hook success information to the on-hook mobile terminal and/or the browser after entering the webpage game on-hook state, and disconnecting the browser from the game server according to the game on-hook success information.
D17, the on-hook server of D15 or 16, further comprising:
the sending module is suitable for sending a specified path to the on-hook mobile terminal when the on-hook application is not installed in the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation; and
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
D18, the on-hook server according to any one of the items D15-17, wherein the receiving module is further adapted to receive the current game state data uploaded by the browser when receiving a game on-hook request sent by the browser.
D19, the on-hook server according to D18, the receiving module is further adapted to receive a user operation instruction sent by the on-hook mobile terminal in a game on-hook state;
the on-hook server further comprises:
and the processing module is suitable for performing calculation processing on the current game data according to the user operation instruction and returning game response information to the on-hook mobile terminal.
E20, a web game on-hook mobile terminal, comprising:
the generating module is suitable for scanning a user identification code to generate second user login information, the user identification code is displayed on the game browser and/or the current on-hook mobile terminal, and the user identification code is associated with the first user login information uploaded to the on-hook server by the browser;
the sending module is suitable for sending the second user login information generated by the generating module to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser;
and the execution module is suitable for receiving the matching success feedback message, starting the on-hook application according to the matching success feedback message and entering the on-hook state of the webpage game.
E21, the mobile terminal according to E20, further comprising:
and the first receiving module is suitable for receiving the game on-hook success information sent by the on-hook server and displaying the game on-hook success information.
E22, the mobile terminal according to E20 or 21, further comprising:
and the second receiving module is suitable for receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server before the user identification code is scanned to generate second user login information.
E23, the mobile terminal according to any of E20-22, further comprising:
the judging module is suitable for judging whether the on-hook application is installed in the current on-hook mobile terminal after the user identification code is scanned to generate second user login information;
the execution module is specifically adapted to start the on-hook application when the judgment result of the judgment module indicates that the on-hook application is installed in the current on-hook mobile terminal.
E24, the mobile terminal according to any one of E20-23, wherein the execution module is further adapted to receive the designated path sent by the on-hook server when the on-hook application is not installed in the current on-hook mobile terminal after the second user login information is generated by scanning the user identification code; and downloading the software package of the on-hook application through the specified path, and installing and running the software package.
E25, the mobile terminal according to any of E20-24, wherein the sending module is further adapted to send a user operation instruction to the on-hook server in a game on-hook state, so that the on-hook server performs calculation processing on current game data according to the user operation instruction, and the current game data is uploaded by the browser when a game on-hook request is sent;
the mobile terminal further includes:
and the third receiving module is suitable for receiving the game response information returned by the on-hook server.
F26, a web game browser client, comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is suitable for sending a game on-hook request to an on-hook server, and the game on-hook request comprises first user login information so that the on-hook server generates a user identification code according to the first user login information;
the receiving module is suitable for receiving the user identification code sent by the on-hook server;
a display module adapted to display the user identification code for the on-hook mobile terminal to scan the user identification code to perform the on-hook method of the web game according to claim 6;
and/or the sending module is further adapted to send the user identifier to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identifier to execute the web game on-hook method according to claim 6.
F27, the browser client according to F26, further comprising:
the generating module is suitable for generating the user identification code according to the first user login information;
the display module is further adapted to display the user identification code generated by the generation module, and/or the sending module is further adapted to send the user identification code generated by the generation module to the on-hook mobile terminal.
F28, the browser client according to F26 or 27, the display module further adapted to receive the game on-hook success information sent by the on-hook server, and display the game on-hook success information;
the browser client further comprises:
and the configuration module is suitable for disconnecting the connection with the game server according to the game on-hook success information.

Claims (28)

1. A web game on-hook method comprises the following steps:
the method comprises the steps that an on-hook server receives a game on-hook request sent by a browser, wherein the game on-hook request comprises first user login information, and the first user login information is information capable of identifying user identity;
the on-hook server generates a user identification code according to the first user login information, and sends the user identification code to the browser so that the browser can display the user identification code;
the on-hook server receives second user login information sent by the on-hook mobile terminal, wherein the second user login information is generated by scanning the user identification code through the on-hook mobile terminal;
and the on-hook server matches the first user login information with the second user login information, and if the matching is successful, the on-hook state of the webpage game is entered.
2. The method of claim 1, after entering the web game on-hook state, further comprising:
and returning game on-hook success information to the on-hook mobile terminal and/or the browser so that the browser disconnects the connection with the game server according to the game on-hook success information.
3. The method of claim 1 or 2, further comprising:
if the on-hook application is not installed in the on-hook mobile terminal, sending a specified path to the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation;
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
4. The method of claim 1 or 2, further comprising:
and when a game on-hook request sent by a browser is received, receiving current game state data uploaded by the browser.
5. The method of claim 4, further comprising:
receiving a user operation instruction sent by the on-hook mobile terminal in a game on-hook state;
and calculating the current game state data according to the user operation instruction, and returning game response information to the on-hook mobile terminal.
6. A web game on-hook method comprises the following steps:
scanning a user identification code to generate second user login information, wherein the user identification code is displayed on a game browser and/or a current on-hook mobile terminal, the user identification code is associated with first user login information uploaded to an on-hook server by the browser, and the first user login information is information capable of identifying the identity of a user;
sending the second user login information to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser;
and the on-hook mobile terminal receives the matching success feedback message, starts the on-hook application according to the matching success feedback message and enters the on-hook state of the webpage game.
7. The method of claim 6, further comprising:
and receiving and displaying the game on-hook success information sent by the on-hook server.
8. The method of claim 6 or 7, further comprising, prior to the scanning the user identification code to generate second user login information:
and receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server.
9. The method of claim 6 or 7, further comprising, after the scanning the user identification code to generate second user login information:
and judging whether the on-hook application is installed in the current on-hook mobile terminal, and starting the on-hook application if the on-hook application is installed in the current on-hook mobile terminal.
10. The method of claim 6 or 7, further comprising, after the scanning the user identification code to generate second user login information:
if the on-hook application is not installed in the current on-hook mobile terminal, receiving a designated path sent by the on-hook server;
and downloading the software package of the on-hook application through the specified path, and installing and operating the software package.
11. The method of claim 6 or 7, further comprising:
sending a user operation instruction to the on-hook server in a game on-hook state so that the on-hook server performs calculation processing on current game data according to the user operation instruction, wherein the current game data are uploaded when a browser sends a game on-hook request;
and receiving game response information returned by the on-hook server.
12. A web game on-hook method comprises the following steps:
sending a game on-hook request to an on-hook server, wherein the game on-hook request comprises first user login information so that the on-hook server generates a user identification code according to the first user login information, and the first user login information is information capable of identifying the identity of a user;
receiving the user identification code sent by the on-hook server;
displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identification code to execute the web game on-hook method according to claim 6.
13. The method of claim 12, further comprising:
and generating the user identification code according to the first user login information, displaying the user identification code, and/or sending the user identification code to the on-hook mobile terminal.
14. The method of claim 12 or 13, further comprising:
and receiving game on-hook success information sent by the on-hook server, displaying the game on-hook success information, and disconnecting the game server according to the game on-hook success information.
15. A web game on-hook server comprising:
the system comprises a receiving module, a game on-hook server and a display module, wherein the receiving module is suitable for the on-hook server to receive a game on-hook request sent by a browser, the game on-hook request comprises first user login information, and the first user login information is information capable of identifying the identity of a user;
the generating module is suitable for the on-hook server to generate a user identification code according to the first user login information and send the user identification code to the browser so that the browser can display the user identification code;
the receiving module is also suitable for receiving second user login information sent by the on-hook mobile terminal, and the second user login information is generated by scanning the user identification code by the on-hook mobile terminal;
and the matching module is suitable for the on-hook server to match the first user login information with the second user login information, and if the matching is successful, the on-hook state of the webpage game is entered.
16. The on-hook server of claim 15, further comprising:
and the configuration module is suitable for returning game on-hook success information to the on-hook mobile terminal and/or the browser after entering the webpage game on-hook state, and disconnecting the browser from the game server according to the game on-hook success information.
17. The on-hook server of claim 15 or 16, further comprising:
the sending module is suitable for sending a specified path to the on-hook mobile terminal when the on-hook application is not installed in the on-hook mobile terminal so that the on-hook mobile terminal downloads the software package of the on-hook application through the specified path and carries out installation and operation; and
and sending an instruction for starting the on-hook application after the on-hook mobile terminal completes the installation of the on-hook application.
18. The on-hook server according to claim 15 or 16, wherein the receiving module is further adapted to receive the current game state data uploaded by the browser when receiving a game on-hook request issued by the browser.
19. The on-hook server according to claim 18, wherein the receiving module is further adapted to receive a user operation instruction sent by the on-hook mobile terminal in a game on-hook state;
the on-hook server further comprises:
and the processing module is suitable for calculating and processing the current game state data according to the user operation instruction and returning game response information to the on-hook mobile terminal.
20. A web game on-hook mobile terminal comprising:
the system comprises a generating module, a display module and a display module, wherein the generating module is suitable for scanning a user identification code to generate second user login information, the user identification code is displayed on a game browser and/or a current on-hook mobile terminal, the user identification code is associated with first user login information uploaded to an on-hook server by the browser, and the first user login information is information capable of identifying the identity of a user;
the sending module is suitable for sending the second user login information generated by the generating module to the on-hook server so that the on-hook server matches the second user login information with the first user login information uploaded by the browser;
and the execution module is suitable for the on-hook mobile terminal to receive the matching success feedback message, start the on-hook application according to the matching success feedback message and enter the on-hook state of the webpage game.
21. The mobile terminal of claim 20, further comprising:
and the first receiving module is suitable for receiving the game on-hook success information sent by the on-hook server and displaying the game on-hook success information.
22. The mobile terminal of claim 20 or 21, further comprising:
and the second receiving module is suitable for receiving the user identification code sent by the browser or receiving the user identification code sent by the on-hook server before the user identification code is scanned to generate second user login information.
23. The mobile terminal of claim 20 or 21, further comprising:
the judging module is suitable for judging whether the on-hook application is installed in the current on-hook mobile terminal after the user identification code is scanned to generate second user login information;
the execution module is specifically adapted to start the on-hook application when the judgment result of the judgment module indicates that the on-hook application is installed in the current on-hook mobile terminal.
24. The mobile terminal according to claim 20 or 21, wherein the execution module is further adapted to receive, after the scanning of the user identifier to generate the second user login information, the designated path sent by the on-hook server when the on-hook application is not installed in the current on-hook mobile terminal; and downloading the software package of the on-hook application through the specified path, and installing and running the software package.
25. The mobile terminal according to claim 20 or 21, wherein the sending module is further adapted to send a user operation instruction to the on-hook server in a game on-hook state, so that the on-hook server performs calculation processing on current game data according to the user operation instruction, where the current game data is uploaded by a browser when a game on-hook request is sent;
the mobile terminal further includes:
and the third receiving module is suitable for receiving the game response information returned by the on-hook server.
26. A web game browser client, comprising:
the system comprises a sending module, a receiving module and a judging module, wherein the sending module is suitable for sending a game on-hook request to an on-hook server, the game on-hook request comprises first user login information, so that the on-hook server generates a user identification code according to the first user login information, and the first user login information is information capable of identifying the identity of a user;
the receiving module is suitable for receiving the user identification code sent by the on-hook server;
a display module adapted to display the user identification code for the on-hook mobile terminal to scan the user identification code to perform the on-hook method of the web game according to claim 6;
and/or the sending module is further adapted to send the user identifier to the on-hook mobile terminal, so that the on-hook mobile terminal scans the user identifier to execute the web game on-hook method according to claim 6.
27. The browser client of claim 26, further comprising:
the generating module is suitable for generating the user identification code according to the first user login information;
the display module is further adapted to display the user identification code generated by the generation module, and/or the sending module is further adapted to send the user identification code generated by the generation module to the on-hook mobile terminal.
28. The browser client according to claim 26 or 27, wherein the display module is further adapted to receive a game on-hook success message sent by the on-hook server, and display the game on-hook success message;
the browser client further comprises:
and the configuration module is suitable for disconnecting the connection with the game server according to the game on-hook success information.
CN201610856564.4A 2016-09-27 2016-09-27 Webpage game on-hook method, server, mobile terminal and browser client Active CN106390458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610856564.4A CN106390458B (en) 2016-09-27 2016-09-27 Webpage game on-hook method, server, mobile terminal and browser client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610856564.4A CN106390458B (en) 2016-09-27 2016-09-27 Webpage game on-hook method, server, mobile terminal and browser client

Publications (2)

Publication Number Publication Date
CN106390458A CN106390458A (en) 2017-02-15
CN106390458B true CN106390458B (en) 2021-03-26

Family

ID=57997719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610856564.4A Active CN106390458B (en) 2016-09-27 2016-09-27 Webpage game on-hook method, server, mobile terminal and browser client

Country Status (1)

Country Link
CN (1) CN106390458B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200040A (en) * 2017-12-28 2018-06-22 北京奇虎科技有限公司 Mobile client exempts from method, system, browser and the mobile terminal of close login
CN110141866A (en) * 2018-02-13 2019-08-20 网易(杭州)网络有限公司 Game login method and device
CN108744503A (en) * 2018-06-19 2018-11-06 北京翼晰科技有限公司 A kind of cloud based on Steam plateform systems, which hangs tag, implementation method and realizes system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882891A (en) * 2012-10-26 2013-01-16 北京奇虎科技有限公司 Webpage game on-hook server and on-hook method thereof
CN102982071A (en) * 2012-10-26 2013-03-20 北京奇虎科技有限公司 Browser and web game on-hook system and method
CN103226882A (en) * 2013-05-08 2013-07-31 李旭阳 Self-service system based on WIFI and two-dimensional code application technology
CN105100105A (en) * 2015-08-11 2015-11-25 北京金山安全软件有限公司 Web game login method, browser, game server and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003325909A (en) * 2002-05-14 2003-11-18 Sankyo Kk Game machine
CN104820564A (en) * 2015-05-07 2015-08-05 网易(杭州)网络有限公司 User terminal, status switching method thereof, status switching device, game control method and game control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882891A (en) * 2012-10-26 2013-01-16 北京奇虎科技有限公司 Webpage game on-hook server and on-hook method thereof
CN102982071A (en) * 2012-10-26 2013-03-20 北京奇虎科技有限公司 Browser and web game on-hook system and method
CN103226882A (en) * 2013-05-08 2013-07-31 李旭阳 Self-service system based on WIFI and two-dimensional code application technology
CN105100105A (en) * 2015-08-11 2015-11-25 北京金山安全软件有限公司 Web game login method, browser, game server and terminal device

Also Published As

Publication number Publication date
CN106390458A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN108683666B (en) Webpage identification method and device
CN105791324B (en) Account login method and device
CN104092811B (en) Mobile terminal information download method, system, terminal device and server
CN103078830B (en) Website information provides and sharing method, good friend's adding method and relevant device
CN104820643B (en) Method and apparatus for establishing connection between user equipment and smart machine
US9432425B2 (en) Method and system for downloading content
CN110198328B (en) Client identification method and device, computer equipment and storage medium
CN107040518B (en) Private cloud server login method and system
CN106390458B (en) Webpage game on-hook method, server, mobile terminal and browser client
CN105989083B (en) Method and device for switching access environment
CN106649446B (en) Information pushing method and device
US20160184705A1 (en) Method for sending webgame message and browser thereof and webgame service server
JP2018510440A (en) Information processing method, terminal, and computer storage medium
CN105607944B (en) A kind of method and device of sharing application environment
JP6877343B2 (en) Handling unstructured messages
CN110998503A (en) Capture content sharing interface
CN106357684B (en) Game application program login method and device
CN110674023B (en) Interface testing method and device
JP2023504956A (en) Performance detection method, device, electronic device and computer readable medium
CN113312237A (en) Information feedback method and device, electronic equipment and storage medium
CN113117339A (en) Data processing method, device, server and storage medium
CN106161452B (en) The sending method and device of identifying code
CN111680284A (en) Slider verification method and device and readable storage medium
CN107817983B (en) Method and device for updating augmented reality software
CN108848183B (en) Login method and device for simulation user

Legal Events

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

Effective date of registration: 20220712

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co., Ltd

TR01 Transfer of patent right