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

Game resource file loading method and system based on access order sorting

A resource file and file loading technology, applied in the field of games, can solve the problems of slow resource loading progress and affect the user experience of players, and achieve the effect of enhancing the game experience

Active Publication Date: 2019-11-26
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The resource loading progress of the game is very slow, which seriously affects the player's user experience

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
  • Game resource file loading method and system based on access order sorting
  • Game resource file loading method and system based on access order sorting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The specific embodiment of the present invention will be further described below in conjunction with accompanying drawing:

[0026] The above-mentioned background technology details the defects of game resource file loading in the prior art. In order to shorten the loading time of game resource files, enhance code maintainability and reusability, and enhance game experience and performance, it is necessary to be able to package more resource files for a certain amount of time. Sequential access to load necessary resource files faster.

[0027] refer to figure 1 , a game resource file loading method based on the order of access, including the following steps:

[0028] A. Use a default packaged resource file to run the game, and record the file access record and file loading time into the log file;

[0029] Due to the complexity of the game process, the rules of using files in the process are not obvious, and these combinations completely depend on the way the game proj...

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 game resource file loading method and system performing sorting based on an access sequence. The method comprises the following steps that (A) a game operates by using a default packaging resource file, and file access records and file loading time are recorded in a log file; (B) packaging resource file information and log file data are read, and optimization of a packaging sequence is performed according to access frequency and time of the resource file; (C) the resource file is packaged according to the optimized sequence. The method performs secondary packaging after secondary sorting of the resource file, so that the resource file loading speed in the game operating process is improved, especially the loading speed index level in a large game with a huge data set is improved, and the game experience of a user is greatly enhanced. The game resource file loading method and the game resource file loading system performing sorting based on the access sequence can be widely applied to the field of games.

Description

technical field [0001] The invention relates to the field of games, in particular to a game resource file loading method and system based on access order sorting. Background technique [0002] When loading resources from storage media in general games, when there are a large number of file handles in the operating system, the running speed of the operating system will become very slow. In order to optimize, many games can only load necessary resources from packaged resource files. These packaged resource files are large file databases, existing in the form of a single file or a group of files. In these databases, a complete directory hierarchy information is kept. Resource files effectively solve the problem of excessive file handle overhead. But it brings up another serious problem. The sequence of these resource files is usually a mirror image of the directory structure on the hard disk. Games rarely access resource files in the order they appear in the directory stru...

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): G06F9/445
CPCG06F9/44505
Inventor 李茂陈汉辉龙旨日卢歆翮陈镇秋吴海权
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD