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

Webpage game loading method and device

A web game and game technology, applied in the field of web games, can solve problems affecting game fluency and reducing user experience effects, and achieve the effects of overcoming bad network environment, increasing speed, and improving user experience

Active Publication Date: 2019-09-06
XIAMEN MEET YOU INFORMATION TECH
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional web games are popular in PC-side browsers. Through the information processing capabilities and large display screens of PC-side, they can provide fast webpage response speed and display effect; however, compared with computers, the young generation who are more accustomed to using mobile smart terminals such as mobile phones It is also increasing. When the existing smart terminal browser loads web games, its resource loading depends on the network environment and hardware devices. When the network environment is bad or the hardware devices cannot support the fast loading of web games, it will affect the running of the game Fluency, reduce user experience effect

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
  • Webpage game loading method and device
  • Webpage game loading method and device
  • Webpage game loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] The purpose of this embodiment is to provide figure 1 A web game loading method shown is suitable for devices using the Android system, including:

[0032] S1. Determine that the URL conforms to a preset character rule;

[0033] S2. Create a WebView;

[0034] S3, load the configuration template, load the cache API according to the configuration template to receive and store the game setting data, and select the loading path of the game setting data according to the specific characters of the URL;

[0035] S4. Generate a game interface according to the game setting data.

[0036] The actual implementation process includes:

[0037] Start the smart terminal (such as mobile phone, tablet, etc., that is, a device using the Android system), open its own browser, the browser initializes the web page, enters the URL, and the web page parses the URL to determine whether the URL matches the preset characters Rules, the purpose of judgment includes two, one is to access the c...

Embodiment 2

[0067] The purpose of this embodiment is to describe the extension process after the loading is completed:

[0068] First, update the game interface. The subsequent data, that is, the data transmitted from the web game server after completing the setting of the game interface, includes:

[0069] The asynchronous request interface obtains data from the server and loads the cached data. If the data obtained by the asynchronous request interface is faster than the cached data, the data of the asynchronous request interface is used to overwrite the cached data. The purpose is to test both At this time, if the data of the asynchronous request interface is used, the webpage is constructed through the function of the web (browser) itself, otherwise the WebView is used to render based on the cached data.

[0070] Secondly, if the subsequent user performs operations such as reload and pull-down refresh through the smart terminal (that is, a web page refresh request), the game client wi...

Embodiment 3

[0072] The present invention provides a browser game loading device suitable for the methods described in Embodiments 1 and 2, including:

[0073] A judging module 1, configured to judge that the URL conforms to a preset character rule;

[0074] WebView component 2, specifically the function provided by the Android system kernel, is used to create WebView;

[0075] The control module 3 is used to load the configuration template, load the cache API according to the configuration template to receive and store the game setting data; select the loading path of the game setting data according to the specific characters of the URL;

[0076] The rendering module 4 is configured to generate a game interface according to the game setting data.

[0077] The present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make a computer execute the...

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 webpage game loading method and device. The method comprises the steps of judging that a URL conforms to a preset character rule, creating WebView, loading a configuration template, loading a cache API according to the configuration template to receive and store game setting data, selecting a data loading path according to specific characters of the URL, and generating agame interface according to the game setting data. The device is used for executing the method. According to the method, the URL is judged to accord with the preset character rule; the corresponding data source can be obtained; the WebView is created to improve the composition speed of the browser webpage; the configuration template is loaded, the game setting data is received and stored through the cache API, the data loading path is selected according to the specific characters of the URL to meet different data acquisition requirements, the game interface is generated according to the game setting data, the webpage game loading speed can be increased, and the use experience of a user is improved.

Description

technical field [0001] The invention relates to the technical field of web games, in particular to a web game loading method and device. Background technique [0002] Web games have the advantages of cross-system, cross-terminal, cross-platform, multi-traffic entry and instant play, and can meet the needs of people who need to take a break. [0003] Traditional web games are popular in PC-side browsers. Through the information processing capabilities and large display screens of PC-side, they can provide fast web page response speed and display effect; however, compared with computers, the young generation who are more accustomed to using mobile smart terminals such as mobile phones It is also increasing. When the existing smart terminal browser loads web games, its resource loading depends on the network environment and hardware devices. When the network environment is bad or the hardware devices cannot support the fast loading of web games, it will affect the running of th...

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 Applications(China)
IPC IPC(8): G06F16/957G06F16/955A63F13/77
CPCA63F2300/5526A63F13/77G06F16/9566G06F16/9574
Inventor 陈方毅李鑫祥李江淮
Owner XIAMEN MEET YOU INFORMATION TECH