Asynchronous login method and device

An asynchronous, login request technology, applied in the computer field, can solve problems such as missing game data, and achieve the effect of ensuring that the state remains unchanged.

Active Publication Date: 2019-03-08
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the current technology, when a user plays a flash game as a tourist (not logged in), if he clicks the login button, the entire web page will be refreshed, and the flash game in the web page will also be reloaded, causing the user to play the flash game before logging in. The game data obtained by the game is refreshed, and the relevant data before the user plays the game is still displayed on the web page, while the flash component returns to the initial state of the game, omitting the game data obtained by the user playing the flash game as a tourist before the refresh

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Asynchronous login method and device
  • Asynchronous login method and device
  • Asynchronous login method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] refer to figure 1 , which shows a flow chart of the steps of an asynchronous login method in an embodiment of the present invention, which may specifically include:

[0068] Step 110, receiving a login request; the login request includes user identification information;

[0069] In the embodiment of the present invention, the user can open the flash game webpage in the client, and then the flash game webpage loads the flash component corresponding to the flash game. If the user does not log in, he will play the flash game as a visitor. Wherein, the client may be a browser, or may be a specific first client, in which a browser kernel is set, and the flash game webpage may be loaded.

[0070] After the user clicks the login button, a login window will pop up, allowing the user to input user identification information, such as user name and password, and after the user clicks OK, a login request will be triggered.

[0071] Step 120, log in asynchronously according to the...

Embodiment 2

[0084] refer to figure 2 , which shows a flow chart of steps of an asynchronous login method according to an embodiment of the present invention.

[0085] The embodiment of the present invention takes the client, the flash game webpage, the first server, and the game server as the application environment, and the steps may specifically include:

[0086] Step 210, receiving a login request in the flash component of the web page.

[0087] In the embodiment of the present invention, a login interface is set in the flash component, and when the user clicks the login interface in the flash component, step 120 is entered.

[0088] In addition, in the embodiment of the present invention, a login interface can also be set in addition to the flash in the webpage. When the user clicks on the login interface, the webpage and the first server perform a login operation, and after the login is successful, all webpage data is obtained from the server. Do a full refresh of the page.

[00...

Embodiment 3

[0112] refer to image 3 , which shows a flow chart of steps of an asynchronous login method according to an embodiment of the present invention.

[0113] The embodiment of the present invention takes the flash game web page and the game server as the application environment, and its account system and the game system are in one server, and the steps may specifically include:

[0114] Step 310, receiving a login request in the flash component of the web page.

[0115] Step 312, calling the first asynchronous login interface by the flash component to asynchronously send a first asynchronous login request to the webpage;

[0116] Step 314, the webpage performs a login operation with the game server according to the first asynchronous login request.

[0117] After receiving the first asynchronous login request, the web page in the embodiment of the present invention extracts the user name and password to construct a login request, and then performs a login operation with the ga...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an asynchronous communication method and device, and relates to the technical field of computers. The method includes: receiving a login request; the login request includes user identification information; performing login asynchronously according to the user identification information; The data is asynchronously uploaded to the game server; the game server updates the personalized data corresponding to the user identification information according to the current game data; obtains partial rendering data from the game server, and performs partial rendering of the webpage according to the partial rendering data, To preserve the current state of the flash component; the partial rendering data includes personalized data. The present invention can ensure that the state of the flash component remains unchanged, and for the display area of ​​the non-flash component in the flash game web page, the game data obtained by the user playing the flash game as a visitor can be synchronously rendered to the display area of ​​the non-flash component Effect.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an asynchronous communication method and device. Background technique [0002] With the development of computer technology, various network resources have appeared on the Internet, one of which is web flash games. [0003] The web page flash game loads a flash component in a web page opened by the client, and then runs specific flash game content through the flash component, and the user can play the game in the flash component. [0004] In the current technology, when a user plays a flash game as a tourist (not logged in), if he clicks the login button, the entire web page will be refreshed, and the flash game in the web page will also be reloaded, causing the user to play the flash game before logging in. The game data obtained by the game is refreshed, and the relevant data before the user plays the game is still displayed on the web page, while the flash component ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06G06F21/31G06F21/42
CPCG06F21/31G06F21/42H04L63/08H04L65/40
Inventor 雷明邢岩
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products