Method and device for loading webpage game

A web game and loading device technology, applied to electrical components, transmission systems, etc., can solve problems such as browser cache expiration, poor download performance, file deletion, etc., to avoid the impact of cache invalidation strategies, break through performance limitations, and Controlling the effect of cache management

Active Publication Date: 2014-08-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, although using the browser cache can improve the loading speed of web games after the first loading to a certain extent, due to the expiration and invalidation strategies of the browser cache, it is completely dependent on the browser cache to save the RIA file of the game. , easily affected by the browser's cache invalidation policy, causing previously downloaded RIA file cache invalidation
However, the current browser caching strategy is only controlled by the browser, and the game itself cannot control the cache. If the user actively clears the cache, or the browser automatically clears the cache due to insufficient space, the downloaded files will be deleted, making When the user visits the game page next time, it needs to be downloaded again to reduce the loading speed
[0008] In addition, because the RIA program files of web games are downloaded by entrusting the browser, and the download performance of the browser is limited, and it does not have the ability to optimize the download. Generally, it can only download files from two to three different domain names at the same time at most. Even if the web game server can provide more download sources and distribute different RIA program files to more domain names, the browser cannot make full use of them, resulting in poor download performance of the RIA program files of the existing web game, affecting the game The speed of loading the first time, and the speed of downloading the file again after the cache invalidation

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
  • Method and device for loading webpage game
  • Method and device for loading webpage game
  • Method and device for loading webpage game

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0092] or, as in Image 6 As shown, another embodiment of the download module 301 includes:

[0093] An event interception unit 601, configured to intercept the browser download event using a hook hook;

[0094] The event modifying unit 602 is configured to change the downloading behavior of the browser by modifying the download event intercepted by the event intercepting unit, and download the required files of the game from the web game server.

[0095] In addition, the webpage game loading device can be realized through a specific application program embedded with a browser window and provided with HTTP proxy service; or a browser bound with HTTP proxy service, or a browser with proxy server options set.

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 a method for loading a webpage game. The method comprises the following steps that a request, for files required by the webpage game, of a browser is received through a hypertext transfer protocol agency service; if a local preset cache independent from the browser contains the files required by the webpage game, response to the request is conducted, the files required by the webpage game are obtained from the cache, return to the browser is conducted, and the game is loaded; otherwise, response to the request is conducted, the files required by the game are loaded from a webpage game server instead of the browser; the loaded files required by the game are stored in the cache independent from the browser, return to the browser is conducted, and the game is loaded. The invention further discloses a device for loading the webpage game. The method and the device for loading the webpage game can avoid the situation that the files required by the game are loaded again because the cache of the browser is invalid, and improve the downloading performance of the files required by the game.

Description

technical field [0001] The invention relates to the technical field of webpage games, in particular to a webpage game loading method and device. Background technique [0002] Web games refer to games that run in a browser. Different from ordinary client games, they can be opened and run directly in a browser without special download and installation. [0003] At present, the vast majority of web games are based on Rich Internet Application (RIA) technology (such as providing richer graphics, images, sounds and other content performance through third-party plug-ins such as flash and javascript, so that they can provide content that is superior to ordinary HTML in web pages. Page experience) rich client is embedded in the webpage, when a user opens the webpage, the browser will download the relevant RIA program file to the local, and start running in the browser. [0004] When the web game starts running, the browser and the game server begin to exchange specific game content...

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/08H04L29/06
Inventor 徐高骞
Owner TENCENT TECH (SHENZHEN) 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