Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for restoring archives of web games based on data replay mechanism

A web game and game technology, applied in the field of web game archive restoration based on the data replay mechanism, can solve the problems of high server energy consumption, low accuracy, and poor real-time performance

Active Publication Date: 2019-07-05
ZHEJIANG UNIV OF TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to overcome the disadvantages of poor real-time performance, low accuracy and high energy consumption of the server in the existing game archiving methods, the present invention proposes a method for restoring webpage game archives based on a data replay mechanism that takes both real-time and low server energy consumption into account. , the data replay mechanism is a data evolution technology, including two parts: continuous event protection and snapshot technology; with this mechanism, players do not need to save the game, and if there is an abnormal situation such as power failure, the game data can be accurately restored by logging in again. The invention is mainly applicable to web games based on HTML5 and JavaScript technology

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
  • A method for restoring archives of web games based on data replay mechanism
  • A method for restoring archives of web games based on data replay mechanism
  • A method for restoring archives of web games based on data replay mechanism

Examples

Experimental program
Comparison scheme
Effect test

example 2

[0085] Example 2: The player registers and enters the game at 8 o'clock in the morning. The server detects that the game player is a new user and there is no historical snapshot, so the initialization snapshot is sent to the client. The client loads the initialization snapshot and initializes the game. During the whole process of the player's playing, the player's mouse event, keyboard event or touch event is sent to the server in real time, and the server saves the received event to the event log file. At 50, the game progress was saved manually, and the historical snapshot of the server was updated. When the player played until 11 o'clock, the game crashed due to the system crash.

[0086]At 11:10, the player restarts the computer and logs in to the game. The server detects that the latest game snapshot time is 10:50, and the last event time in the event log file is 10:59:34. Since the snapshot time is less than The time of the last event in the log file, the server starts t...

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 provides a webgame archiving and restoring method based on a data repeating mechanism. The webgame archiving and restoring method comprises the following steps: 1, establishing a webgame archiving and restoring structure framework which comprises a client side and a server side, wherein the client side comprises an administration unit, a mouse event colleting unit, a keyboard event collecting unit, a touch event collecting unit and a server communication unit; 2, starting the client side, entering a main interface of the game, judging that whether a game player is a new game player, if so, enabling a server to send SSbegin to the client side, otherwise, comparing that whether the timestamp of SSlast is smaller than the timestamp of Elast in an event log file or not, if so, executing data repeating, generating SSnew, updating SSlast to SSnew, and sending SSlast to the client side, otherwise, directly sending SSlast to the client side, and carrying out continuous event protection in the game process of the game player. According to the method, the real-time property and the low consumption of the server are considered.

Description

technical field [0001] The invention relates to the technical field of webpage game archives, in particular to a method for restoring webpage game archives based on a data replay mechanism. Background technique [0002] Web games are also called Web games, or page games for short. Usually, there is no need to download a client, and games can be played directly through a browser. With the introduction of the HTML5 standard, Web technology has been strengthened in many ways, and web games have also made great progress. The archiving of web games is generally realized by communicating with the server to save relevant game data. Since the host environment of the web game runs in the browser, there are unexpected situations such as user misoperation, browser crash, and operating system shutdown that cause the webpage to close, and these unexpected situations will cause the game progress to be lost. At present, the game industry mainly has the following solutions to realize game...

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): A63F13/49A63F13/493A63F13/79
CPCA63F13/49A63F13/493A63F13/79
Inventor 陆佳炜马俊赵泓茗黄翔芦楠卢成炳
Owner ZHEJIANG UNIV OF TECH