CN103019784A - Access sequence-based secondary file sorting - Google Patents
Access sequence-based secondary file sorting Download PDFInfo
- Publication number
- CN103019784A CN103019784A CN2012105290586A CN201210529058A CN103019784A CN 103019784 A CN103019784 A CN 103019784A CN 2012105290586 A CN2012105290586 A CN 2012105290586A CN 201210529058 A CN201210529058 A CN 201210529058A CN 103019784 A CN103019784 A CN 103019784A
- Authority
- CN
- China
- Prior art keywords
- file
- packing
- image data
- loading
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention relates to the field of computers, more in particular to a file sorting-based quick file reading technology. The technology comprises the following steps of: operating a game; acquiring data; operating a program by using a standard packing resource file; and outputting all file names in a program starting process according to a sequence of loading files. The file loading-based pre-sorting method is provided aiming at the problem of slow file loading in a large-sized network game; and the resource loading speed is greatly increased by newly packaging the files.
Description
Technical field
The present invention relates to computer realm, more particularly, is that a kind of rapid file based on file ordering reads technology.
Background technology
A lot of game are faced with the demand that loads ample resources from the file medium.When having a large amount of file handles in the operating system, it is very slow that the travelling speed of operating system will become.In order to be optimized, a lot of game all can only load necessary resource from the resource file of packing.
The resource file of these packings is large-scale document data banks, exists with the form of Single document or one group of file.In these databases, in store complete TOC level information all.Resource file has effectively solved the file load problem, but the order of these resource files is exactly the another one mirror image of the bibliographic structure on the hard disk usually, and program all is the access file of meeting great-jump-forward in the time of most.This has just caused a bottleneck, and particularly when having heap file, this weakness just is completely exposed.Cause the loading resource speed of playing very slow, seriously influence the travelling speed of game.
Summary of the invention
Problem in view of prior art exists the objective of the invention is to propose a kind of file optimization method based on two minor sorts.
To achieve these goals, the technical solution adopted in the present invention is a kind of file optimization method based on two minor sorts, and its step is as follows:
1) running game, image data; Use the packing resource file of a standard, move our program, and according to the order of load document, the All Files name of output in the program start process;
2) analyze image data, optimize the packing order;
3) according to the filename journal file of output, extract public documents;
4) from new packing resource file, according to analysis result, the packing resource file;
5) again running game and image data, the authenticating documents load time, if net result is not fully up to expectations, to attempt so from hard disk itself, the aspects such as file fragmentation are optimized.
Of the present invention for the slow-paced problem of load document in the massively multiplayer game, a kind of method based on the file load presort has been proposed, from new packaging file, promoted greatly the resource loading velocity.
Embodiment
A kind of file optimization method based on two minor sorts, its step is as follows:
1) running game, image data; Use the packing resource file of a standard, move our program, and according to the order of load document, the All Files name of output in the program start process;
2) analyze image data, optimize the packing order;
3) according to the filename journal file of output, extract public documents;
4) from new packing resource file, according to analysis result, the packing resource file;
5) again running game and image data, the authenticating documents load time, if net result is not fully up to expectations, to attempt so from hard disk itself, the aspects such as file fragmentation are optimized.
Claims (1)
1. file optimization method based on two minor sorts, its step is as follows:
1) running game, image data; Use the packing resource file of a standard, move our program, and according to the order of load document, the All Files name of output in the program start process;
2) analyze image data, optimize the packing order;
3) according to the filename journal file of output, extract public documents;
4) from new packing resource file, according to analysis result, the packing resource file;
5) again running game and image data, the authenticating documents load time, if net result is not fully up to expectations, to attempt so from hard disk itself, the aspects such as file fragmentation are optimized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105290586A CN103019784A (en) | 2012-12-11 | 2012-12-11 | Access sequence-based secondary file sorting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105290586A CN103019784A (en) | 2012-12-11 | 2012-12-11 | Access sequence-based secondary file sorting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103019784A true CN103019784A (en) | 2013-04-03 |
Family
ID=47968418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105290586A Pending CN103019784A (en) | 2012-12-11 | 2012-12-11 | Access sequence-based secondary file sorting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103019784A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201623A (en) * | 2016-07-15 | 2016-12-07 | 珠海金山网络游戏科技有限公司 | Game resource file loading method based on access order sequence and system |
CN106648881A (en) * | 2015-11-02 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Game data analysis and processing method and apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5819082A (en) * | 1995-06-07 | 1998-10-06 | Sierra On-Line, Inc. | Data storage optimization using an access order resource list |
CN102447688A (en) * | 2010-10-15 | 2012-05-09 | 盛绩信息技术(上海)有限公司 | Webpage game resource accelerator and acceleration method |
-
2012
- 2012-12-11 CN CN2012105290586A patent/CN103019784A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5819082A (en) * | 1995-06-07 | 1998-10-06 | Sierra On-Line, Inc. | Data storage optimization using an access order resource list |
CN102447688A (en) * | 2010-10-15 | 2012-05-09 | 盛绩信息技术(上海)有限公司 | Webpage game resource accelerator and acceleration method |
Non-Patent Citations (1)
Title |
---|
迪克黑森尔(DICKHEISER,M.): "《游戏编程精粹》", 30 November 2007, 北京:人民邮电出版社 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648881A (en) * | 2015-11-02 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Game data analysis and processing method and apparatus |
CN106201623A (en) * | 2016-07-15 | 2016-12-07 | 珠海金山网络游戏科技有限公司 | Game resource file loading method based on access order sequence and system |
CN106201623B (en) * | 2016-07-15 | 2019-11-26 | 珠海金山网络游戏科技有限公司 | Game resource file loading method and system based on access order sequence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10452691B2 (en) | Method and apparatus for generating search results using inverted index | |
CN102799647B (en) | Method and device for webpage reduplication deletion | |
CN103425672B (en) | A kind of method for building up of database index and device | |
CN103077183B (en) | A kind of data lead-in method and its system of distributed sequence list | |
JP5950285B2 (en) | A method for searching a tree using an instruction that operates on data having a plurality of predetermined bit widths, a computer for searching a tree using the instruction, and a computer thereof program | |
CN101826099B (en) | Method and system for identifying similar documents and determining document diffusance | |
CN103729402A (en) | Method for establishing mapping knowledge domain based on book catalogue | |
CN104331435A (en) | Low-influence high-efficiency mass data extraction method based on Hadoop big data platform | |
Dede et al. | Processing Cassandra datasets with Hadoop-streaming based approaches | |
CN104615736A (en) | Quick analysis and storage method of big data based on database | |
CN105930479A (en) | Data skew processing method and apparatus | |
US20150286676A1 (en) | Multi stage aggregation using digest order after a first stage of aggregation | |
CN104111936A (en) | Method and system for querying data | |
Wu et al. | Efficient near-duplicate detection for q&a forum | |
US8880553B2 (en) | Redistribute native XML index key shipping | |
CN106547644A (en) | Incremental backup method and equipment | |
CN103530316A (en) | Science subject extraction method based on multi-view learning | |
CN102955739A (en) | Method for improving performance test script reuse rate | |
CN103019784A (en) | Access sequence-based secondary file sorting | |
JP2012208774A (en) | Retrieval method, retrieval apparatus and computer program | |
Barbuzzi et al. | Parallel bulk Insertion for large-scale analytics applications | |
CN112506860A (en) | Block chain based collaborative audit method, device and system | |
JP6355514B2 (en) | File division system and method | |
Silva et al. | An experimental survey of MapReduce-based similarity joins | |
CN103164491B (en) | The method and apparatus of a kind of data processing and retrieval |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130403 |