CN105635264A - File system based on network game application - Google Patents

File system based on network game application Download PDF

Info

Publication number
CN105635264A
CN105635264A CN201510995137.XA CN201510995137A CN105635264A CN 105635264 A CN105635264 A CN 105635264A CN 201510995137 A CN201510995137 A CN 201510995137A CN 105635264 A CN105635264 A CN 105635264A
Authority
CN
China
Prior art keywords
file
download
information
module
file system
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.)
Granted
Application number
CN201510995137.XA
Other languages
Chinese (zh)
Other versions
CN105635264B (en
Inventor
庄铭宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201510995137.XA priority Critical patent/CN105635264B/en
Publication of CN105635264A publication Critical patent/CN105635264A/en
Application granted granted Critical
Publication of CN105635264B publication Critical patent/CN105635264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Abstract

The invention discloses a file system based on a network game application. The file system comprises a storage module, a search module, a unified download platform module and a download sharing module. The storage module is used for storing file information of the file system. The search module is used for retrieving the corresponding file information from the storage module. The unified download platform module is used for receiving a download request for a corresponding file transmitted by a game client side in the one or multi-client process environment and controlling the search module to retrieve the corresponding file information according to the download request. The download sharing module is used for analyzing whether a download address is the same download address when the unified download platform module receives the download request and returning sharing information of the downloaded file when the download address is the same download address. Game resource loading is enabled to be more rapid, and the resource file is enabled to be more secure so that difficulty of illegal resource accessing is increased, and influence of game file version upgrading on players is enabled to be lower and more transparent.

Description

A kind of file system based on online game application
Technical field
The present invention relates to internet game Application Areas, particularly a kind of file system based on online game application.
Background technology
Online game in recent years develops rapidly, and wherein the client terminal game quantity of complete installation version is reducing on the contrary gradually, it is possible to entering rapidly game becomes the stepping-stone to success played and reach the standard grade. For this reason game client need can dynamically resource needed for download games process, thus bring a series of associated problem.
Online game program operation process to be read a large amount of file, in windows system, if these files are placed directly in windows file directory, not only access speed slower, can not efficient application system cache, can not compress and save space, also be unfavorable for the safety of resource, it is easy to make resource file by stealing, revise.
So the game of large-scale client terminal has a demand, it is exactly that file packing compress-encrypt reads. First ensureing safety and stability, then bias toward speed, the change finally taking compression and file into account upgrades.
Its resource file has all been carried out packing process by the game that at present both at home and abroad major part improves grade, but can dynamically update online actually rare, the network game domestic seem there is imperial rifle, seizing by force cutter etc. and recently occurring have employed similar techniques. In external game, application is less, it may be that because the reason that the external network bandwidth is big, download the cause that whole game also can not be very consuming time. Whether domestic and international, code of temporarily all not increasing income at present can for downloading.
Therefore, current technology producer is all in the file system that active development is new, and this file system needs the integration management of applicable a large amount of client resource file, and has not too strict safety requirements, there is download online demand, when file data does not run, revise the occasion of demand. Based on this system, client terminal is easier to install and move, reducing resource file exposure chance makes data be difficult to steal more safely and distort, data size and hard disk read consuming time to reduce to utilize compression, resource needed for network enabled dynamic download, and the download client data that buffer memory is good are not needed again when part resource updates. In future also by continuing to optimize internal system implementation, layer transparent is optimized performance.
Summary of the invention
For solving the problem, it is an object of the invention to provide a kind of file system based on online game application, improve the speed that game loads resource, allow multiple process to be read and downloaded resources by same bag simultaneously, allow the resource on online background synchronization server, and ensure the security of resource to a certain extent.
The present invention solves the technical scheme that its problem adopts:
The preferred embodiments of the present invention provide a kind of file system based on online game application, at least comprise memory module, search module, unified download platform module, download sharing module, wherein:
Described memory module is for storing the file information of described file system;
Described search module for retrieving corresponding file information from memory module;
Described unified download platform module is for receiving the download request of the respective file that game client sends, and the file information corresponding according to download request command deployment module retrieves;
Described download sharing module is used for analyzing whether download address is identical download address, when for identical download address, returning the shared information of file in download while unified download platform module receives download request.
Further, described file system also comprises:
Compression and encryption module, for the file information stored in memory module is compressed or/and encrypt, when corresponding document information is compressed by described compression and encryption module, only the file information of the rate of compression that the file after compression can reach setting is compressed.
Further, described memory module stores corresponding file information in the way of multistage tree, simultaneously spanning tree indexed file, and described tree indexed file stores separately or stores together with corresponding file information.
Further, described file system also comprises:
Compression and encryption module, for the file information stored in memory module being compressed or/and encrypt, when corresponding document information is compressed by described compression and encryption module, the compression handbag of generation is drawn together:
Main body of a court verdict shelves, described main body of a court verdict shelves comprise packet header, file data district and tree block of information; Or
Main body of a court verdict shelves and tree indexed file, described main body of a court verdict shelves comprise packet header and file data district, and described tree indexed file comprises packet header and tree indexed file;
Described packet header at least comprises length and the version information of file head, and stores the positional information of corresponding tree block of information in packet header, and described file data district stores corresponding file information, and described tree block of information stores corresponding tree indexed file.
Further, described unified download platform module comprises:
Multiprocessing unit, for the process receiving game client transmission, sorting to process, and according to series processing process;
Information identificating unit, for when certain thread of Multiprocessing cell processing, reading the configuration file under this process catalogue, according to the quantity of configuration information acquisition respective file information, path and download address, and is back to Multiprocessing unit.
Further, described unified download platform module also comprises download online recognition unit, for identifying whether the process that Multiprocessing unit receives is download online process, when being identified as download online process, for corresponding process arranges high priority weighting.
Further, described unified download platform module also comprises:
Management of process unit, for when multiple process is downloaded simultaneously, unified management download in shared information and downloading flow, the described multiple game client of shared information downloads identical file information and same user's end repeated downloads identical file information.
Further, described file system also comprises online release module, and described Online release module comprises:
Upgrade bag and generate unit, for being generated the complete data packet needing to upgrade by the mode re-created or upgrade;
Separation tree unit, for complete data packet carries out separation tree indexed file operation, obtains corresponding tree indexed file;
Uploading unit, for being uploaded to download server after changing name tree indexed file by it together with data packet.
The invention has the beneficial effects as follows:
The present invention adopts a kind of file system based on online game application, underlying basis in game realizes, allow multiple process to be read and downloaded resources by same bag simultaneously, allow the resource on online background synchronization server, game can be made to load resource faster, make resource file safer, increase the difficulty of illegal Gains resources, and the impact that player is caused by game file edition upgrading is less, more transparent.
Accompanying drawing explanation
Below in conjunction with accompanying drawing and example, the invention will be further described.
Fig. 1 is the structural representation of preferred embodiment of the present invention file system;
Fig. 2 is the structure composition schematic diagram that the present invention unifies download platform module;
Fig. 3 is the process schematic diagram that the present invention unifies download platform module and process;
Fig. 4 is the concrete internal structure of file system of the present invention and workflow schematic diagram;
Fig. 5 is thread relationship and the treatment scheme schematic diagram of file system of the present invention.
Embodiment
Following examples of the present invention only represent the explanation that the present invention is concrete, and the present invention is not limited to the application of certain system or game. The present invention sayed and game, not for certain a special game, belonging to the present invention, be applied as the concrete explanation to the technical scheme in the present invention.
File system of the present invention provides FPC storehouse and online version FPCO (online compressing file bag FilePackwithCompressionOnline) storehouse thereof and DownloadClient storehouse (ClientofDownloadService unifies download service client terminal) storehouse to upper strata programmer, and attached DownloadServer program (ServerofDownloadService unifies download service platform) and management of file packet instrument, and a supervisory control desk example procedure, a Visualization Demo program based on .Net platform C++/CLI language. The specific implementation of file system of the present invention is with reference to described in concrete in following examples.
Embodiment 1:
As the preferred embodiments of the present invention, with reference to, shown in Fig. 1, the file system of the present invention at least comprises memory module 100, search module 101, unified download platform module 102, downloads sharing module 103, wherein:
Described memory module 100 is for storing the file information of described file system;
Described search module 101 for retrieving corresponding file information from memory module 100;
Described unified download platform module 102 is for receiving the download request of the respective file that game client sends, and retrieves corresponding file information according to download request command deployment module 101;
Described download sharing module 103 is for while receiving download request in unified download platform module 102, analyzing whether download address is identical download address, when for identical download address, return the shared information of file in download.
Above system architecture constitutes the most basic component units of the present invention, the download request of all processes that game client sends all is processed by unified download platform module 102, to the flow of the download of process and carry out resource distribution can the control of rational and orderly, avoid blocking and other abnormal conditions.
The preferred embodiments of the present invention add compression and encryption module 104 in file system, for the file information stored in memory module 100 is compressed or/and encrypt, when corresponding document information is compressed by described compression and encryption module 104, only the file information of the rate of compression that the file after compression can reach setting is compressed. Herein, set rate of compression can be arranged according to practical application, and the present invention is not limited to a certain single fixed value, and its value can also be arranged along with the Different Dynamic of compressed file. Compression of the present invention and encipherment scheme, it is possible to the conventional scheme adopted at present, it is also possible to be advanced compression and encryption mode, in the file system of the present invention, the realization of the present invention is not had substantive impact by the mode that compression and encryption adopt.
The good scale-of-two file of general extendability, has a file head (packet header), is used in reference to the length and file version etc. of prescribed paper head, it may also be useful to packet header can strengthen fault-tolerance and edition compatibility ability. In order to compatible FPC and FPCO is to the different demands of file tree structure information (being called for short tree information), file tree structure information can be stored in main body of a court verdict shelves together with file data, it is also possible to separates separately and preserves into a file (being called tree indexed file). Can indicate which file is tree information be stored in the header. Owing to the length of main body of a court verdict shelves may increase dynamically, so when using FPCO, it is necessary to make tree indexed file.
For this reason, in a preferred embodiment of the invention, described memory module 100 stores corresponding file information in the way of multistage tree, simultaneously spanning tree indexed file, and described tree indexed file stores separately or stores together with corresponding file information. No matter tree indexed file stores separately or stores with corresponding file information always, when corresponding document information is compressed by described compression and encryption module, the compression bag of generation includes two kinds:
Compression bag only includes main body of a court verdict shelves, and described main body of a court verdict shelves comprise packet header, file data district and tree block of information; Or
Compression handbag draws together main body of a court verdict shelves and tree indexed file, and described main body of a court verdict shelves comprise packet header and file data district, and described tree indexed file comprises packet header and tree indexed file;
Described packet header at least comprises length and the version information of file head, and stores the positional information of corresponding tree block of information in packet header, and described file data district stores corresponding file information, and described tree block of information stores corresponding tree indexed file.
From above to the describing of memory module 100 it will be seen that present invention employs the structure in Windows file system, i.e. multistage file tree system, accordingly, positive backslash thick stick is supported in the path in memory module 100, and does not distinguish capital and small letter. Corresponding, the attribute of file information wherein comprises filename, file size, amendment time, compressed information, father's directory index, storage information etc., the information of each catalogue then comprises path, file/directory quantity, father's directory index, it is also possible to comprise the Hash etc. in catalogue path. Corresponding, search module 101 is supported the file directory carrying out traveling through sub-directory and subfile under assigned catalogue, the judging specified path whether operation such as existence, it is also possible to obtain the information such as the name of specified file, size and amendment date.
In the preferred embodiments of the present invention, with reference to, shown in Fig. 2, described unified download platform module 102 comprises:
Multiprocessing unit 200, for the process receiving game client transmission, sorting to process, and according to series processing process;
Information identificating unit 201, for when Multiprocessing unit 200 processes certain thread, reading the configuration file under this process catalogue, according to the quantity of configuration information acquisition respective file information, path and download address, and is back to Multiprocessing unit;
Download online unit 202, for identifying whether the process that Multiprocessing unit receives is download online process, when being identified as download online process, for corresponding process arranges high priority weighting;
Management of process unit 203, for when multiple process is downloaded simultaneously, unified management download in shared information and downloading flow, the described multiple game client of shared information downloads identical file information and same user's end repeated downloads identical file information.
Described Multiprocessing unit 200, information identificating unit 201, download online unit 202 and management of process unit 203 are the specific implementation process of unified download platform module 102 of the present invention, and the present invention realizes the unified planning to file system and management by unified download platform module 102. one is the planning to multi-thread journey and management, its multi-thread journey unification received is processed by Multiprocessing unit 200, during sequence, can according to the mode of time priority, or the stack row mode of first outer, or alternate manner, the realization of the present invention is not possessed significant meaning by strict limitary permutation mode, therefore, take other approach to realize the management to process, also it is concrete mode or the method that can realize the present invention. two is the planning when processing certain thread and management, the present invention is when processing certain thread, namely information identificating unit 201 can read the configuration file under this process catalogue, to obtain the information such as the address of file that this process needs to download, quantity, afterwards, searched in the middle of memory module 100 by search module 101. three is the planning to download online process and management, owing to the process of download online is directly relevant to the experience of game to user, therefore, its application must carry out priority processing, the mode that present invention is the most conventional, after identifying online process, higher priority is given to it, it may be noted that time, the present invention is that concrete elaboration a kind of realizes the quick-downloading a kind of mode of online process, for other processing mode, the exclusivity process etc. of such as download online process, is within the scope that the present invention can realize. four is the planning and management multiple process downloaded simultaneously, the present invention downloads for multiple process simultaneously, take into account the speed that different process is downloaded, reasonably control the flow downloaded, such as download a software (sudden peal of thunder accordingly, BT etc.) corresponding speed of download all can be set, to avoid affecting other normal online of user, management of process unit 203 can according to the specific requirement of user, multiple process is managed simultaneously, sometimes the file content that multiple process is downloaded is identical, in the middle of such as Internet bar, same user may download repeated file, and (large-scale trip mostly is group's game, many people are needed to form a team combination, single user is in the middle of game, often can trigger same process and download identical file, or trigger different process download identical file), the present invention can identify and download the identical process of content, avoid repeated downloads, equally, different processes likely downloads identical file simultaneously, management of process unit 203 also can allow multiple process to download identical file simultaneously.
With reference to, shown in Fig. 3, by connecting, unified download platform module carries out resource downloading to multiple processes of multiple game or a game. Multiple processes of same game, it is possible to the content of sharing download, the resource file that namely process A is requested, process B is without the need to repeated downloads. When the present invention realizes, multiple game can use same download platform process, controls to reach overall load. Different game is due to catalogue difference, and bag document is independent mutually, it is possible to configure URL respectively, even if bearing the same name there will not be conflict. In extendability, through expanding, the download that the file system of the present invention can realize local area network level completely is shared, and can effectively improve the experience of network bar users, and P2P transmission can also be utilized to improve speed of download. Above specific implementation, according to the above to the explanation of accompanying drawing 2 particular content.
The renewal of online game, normally in linear renewal, in order to promote the experience of user further, file system of the present invention also comprises online release module, and described Online release module comprises:
Upgrade bag and generate unit, for being generated the complete data packet xxx.fpc needing to upgrade by the mode re-created or upgrade;
Separation tree unit, for complete data packet xxx.fpc carries out separation tree indexed file operation, obtains corresponding tree indexed file xxx.fpci;
Uploading unit, is uploaded to HTTP download server for (being xxx.server.fpci after changing name) after changing name tree indexed file by it together with data packet.
In time generating data packet in the way of upgrading, file size and amendment time are identical, it is believed that be unaltered file, it is not necessary to upgrade.
If when version updating is not critical update, it is not necessary to kick out of client terminal by entirely taking player, then now can not directly replace existing server file, otherwise there will be the unmatched situation of version. The present invention is by catalogues different for different editions client's side link, and deletes the resource file of legacy version when suitable. By Reconfigurations file simultaneously during version updating, it does not have the client terminal restarted connects old data source by continuing.
During game client use online resource, when starting game or version updating in first time, download up-to-date tree indexed file x.server.fpci, afterwards, carry out create bag or tree construction upgrade obtain x.fpc and x.fpci, afterwards, FPCO storehouse is loaded into bag document, and in use downloads in data to x.fpc gradually and amendment xxx.fpci.
In order to invention is described and fully realizes the embody rule of the present invention further, file in memory module 100 is compressed and is encrypted after module 104 compresses, to be less than, 1G's space size of its whole bag is advisable, it is contemplated that wraps to pass to file and is conveniently advisable to be less than 500M; In bag the size of Single document to be no more than 16 bit digital (scale-of-two) namely 65535 be advisable, when Single document is greater than 16 bit digital, then carry out tearing bag open. (the file resource quantity that common middle and small scale MMORPG plays is less than 3000, and the MMORPG of large-scale is less than 30000. )
With reference to, shown in Fig. 4, the layer of FPCO shown in figure is the derived class of FPC, and it can provide more multiplex roles. Game process and unified download platform process, by the same part configuration file under this game process catalogue of reading, determine the quantity of bag document and the download address of path and correspondence according to configuration. Multiple processes of same game can be the sharing of resources; The bag document of different game is independent mutually, can not conflict.
Same bag document is used Memory Mapping File and its to share by the FPC storehouse of bottom, and the data downloaded to are write in bag document by unified download platform process, and game process directly can read what be new and not need to notify between IO or process.
Game logic uses " download client storehouse " connect download platform and obtain resource fetch interface.
The process of download client storehouse, to the connection of download platform, manages multiple bag document and provides the interface obtaining bag object.
The read operation to bag document data is responsible in FPC storehouse.
Building work and release, resource data updating, the notice game process trigger request of the connection of download service end storehouse pack processing document initial work (when bag document does not exist), game process and disconnection, request object complete event.
FPCO layer is called in download service end storehouse, and FPCO layer calls cURL by readjustment mode and downloads storehouse.
After resource arrives, the write operation to bag document data is responsible in FPC storehouse.
Below, file system of the present invention is further described by the present invention from the angle of thread, relation and the treatment scheme with reference to each thread shown in Fig. 5:
1), first for a resource requirement thread (needing the thread of file reading data), after judging that resource needs download, a request object (can explicitly create or be packaged in obstruction reading calls interior) is applied for;
2) request processing thread creates an empty request object and returns to resource requirement thread;
3) after resource requirement thread sets request information (request can comprise multiple file request), the request processing thread process being sent in unified download platform process, and obtaining an event object Mutex, detection at any time or synchronous obstruction mode wait Mutex;
After the checked request information of request processing thread while needing to download (and think), 4) manage the storage space of device application resource file to document space, and use download thread pond to download data.
5), after download thread processes download, notice request processing threads resource file completes to download, if game process has log-in window file request completion notice message, then sends this message;
6) request processing thread enumerates all requests about this resource file, upgrades their progress, if all resource files all complete to download in request, then arranges the event object Mutex of request; If game process has log-in window request completion notice message, then send this message;
7) after resource requirement thread realizes that event handling is complete, it is possible to releasing request object, and file resource can be used;
8), after request processing thread realizes that request object is released, request object is destroyed.
Embodiment 2:
Following code is by how demonstration starts download service, and finds MapFile/1.wbf.ter and ask download.
#include"DownloadClient.h"
#include"FilePackOnline.h"
usingnamespaceFilePack;
usingnamespaceDownloadService;
usingnamespaceDownloadService::DownloadClient;
#include<stdio.h>
#include<conio.h>
//ErrExit points out mistake, exits program after waiting button
#defineErrExit(text)do{printf(text);returngetch();}while(0)
intmain(intargc,wchar_t*argv[]){
// 1. Connection Service
CDownloadClientclient (123/* game number * /); // game number
If (! Client.Connect ()) ErrExit (" Connection Service failure n ");
// 2. load bag document
Std::vector<CFilePackOnline*>packols=client.LoadPacks (654321/* bag document cipher * /);
If (packols.empty () | |! Packols [0] | |! Packols [0]-> IsOpened ()) ErrExit (" bag document load mistake n ");
// 3. find MapFile/1.wbf.ter file object, and judge whether to need to download
SFile*file=packols [0]-> GetFile (L " MapFile/1.wbf.ter "/* file address * /); // obtain file object
If (! File) ErrExit (" can not find resource file n ");
If (CFilePack::IsFileStored (file)) ErrExit (" file downloaded n ");
// 4. according to single file object, create send request
Query*query=client.CreateAndSendFileQuery (file, 100/* Request Priority */, 0/* file priority * /);
// 5. the request of waiting for downloads complete
while(true){
// often wait 0.5s also at process file download, just export a line daily record:
Boolprocessing=client.IsProcessingQuery (query, 0/* wait 0ms* /); Whether // test is in process
while(processing){
Printf (" download do not complete, continue wait maximum 0.5s n ");
Processing=client.IsProcessingQuery (query, 500); // whether process, wait maximum 0.5s
}
// 6. download request complete, judge successfully or failure, and process further
If (query-> Files [0] .Downloaded) // also can directly judge whether to read: CFilePack::IsFileStored (file)
Printf (" file download success n ");
Client.ReleaseQuery (query); // releasing request object of finishing using
Break; // no matter whether initiatively release, disconnects or process terminates all can be released
}
elseif(query->Files[0].Failed){
Printf (" file download failure, heavily examination n ");
Client.SendQuery (query); // send again and once ask, again download
}
}
// 7. disconnect pass closure, and all requests not discharged all can be released
Client.CloseConnection (); As long as // in fact this process exit, system can properly releasing resource, it is not necessary to deliberately disconnect
returngetch();
}
Therefore, file system according to the present invention can provide following functions for host software (namely calling the software of this file system):
1. for host software reads (when host software runs read-only do not change) resource file provider method approach;
2. make host software can run as early as possible when resource file (the downloading to local hard drive) not yet in place of non-urgent need, start, and in operational process, constantly download the resource file (data namely postponing non-urgent need are downloaded, and the game showing as original 500MB that could download for 20 minutes in field of network game can start at 30 seconds now in advance) of necessary urgent need as required;
3. for there being the file of host software that edition upgrading needs and respective version thereof, it is provided that support the method and approach being easy to operation management of its edition upgrading carrying out file-level precision (any one resource file needs more new capital only to need to download it and do not need to be forced to download alternative document);
4. when have multiple host software process with operate time, downloaded resources file time, do not lose download data, non-repeated downloads waste the network bandwidth;
Even if ensure download data time process in download mistake or program make mistakes collapse or have a power failure time, the resource file being successfully completed still can be used;
6. provide the transparent compression of host software author, encryption function, improve the security of resource file and the speed of download to a certain extent, and to a certain degree save hard-disc storage space (particularly that the text compression effects such as xml is remarkable);
7. for (downloading to local hard drive) in place file, it is provided that speed may be read faster than the form of commonly (unoptimizable is crossed) reading Windows file.
The above, the just better embodiment of the present invention, the present invention is not limited to above-mentioned enforcement mode, as long as it reaches the technique effect of the present invention with identical means, all should belong to protection scope of the present invention.

Claims (9)

1. a file system, it is characterised in that, described file system comprises memory module, search module, unified download platform module, wherein:
Described memory module is for storing file information and the data of described file system;
Described search module for retrieving corresponding file information and storage location for reading from memory module;
Described unified download platform module is for receiving the download request of the respective file that game client sends, and downloads corresponding file according to download request.
2. file system according to claim 1, it is characterized in that, described file system also comprises: download sharing module, described download sharing module is used for while unified download platform module receives download request, analyze whether download address is identical download address, when for identical download address, return the shared information of file in download.
3. file system according to claim 1, it is characterised in that, described file system also comprises:
Compression and encryption module, for the file information stored in memory module is compressed or/and encrypt, when corresponding document information is compressed by described compression and encryption module, only the file information of the rate of compression that the file after compression can reach setting is compressed.
4. file system according to claim 1, it is characterised in that, described memory module stores corresponding file information in the way of multistage tree, simultaneously spanning tree indexed file, and described tree indexed file stores separately or stores together with corresponding file information.
5. file system according to claim 4, it is characterised in that, described file system also comprises:
Compression and encryption module, for the file information stored in memory module being compressed or/and encrypt, when corresponding document information is compressed by described compression and encryption module, the compression handbag of generation is drawn together:
Main body of a court verdict shelves, described main body of a court verdict shelves comprise packet header, file data district and tree block of information; Or
Main body of a court verdict shelves and tree indexed file, described main body of a court verdict shelves comprise packet header and file data district, and described tree indexed file comprises packet header and tree indexed file;
Described packet header at least comprises length and the version information of file head, and stores the positional information of corresponding tree block of information in packet header, and described file data district stores corresponding file information, and described tree block of information stores corresponding tree indexed file.
6. file system according to claim 1, it is characterised in that, described unified download platform module comprises:
Multiprocessing unit, for the process receiving game client transmission, sorting to process, and according to series processing process;
Information identificating unit, for when certain thread of Multiprocessing cell processing, reading the configuration file under this process catalogue, according to the quantity of configuration information acquisition respective file bag, path and download address, and is back to Multiprocessing unit.
7. file system according to claim 6, it is characterized in that, described unified download platform module also comprises download online recognition unit, for identifying whether the process that Multiprocessing unit receives is download online process, when being identified as download online process, it it is corresponding management of process download relevant information.
8. file system according to claim 6 or 7, it is characterised in that, described unified download platform module also comprises:
Management of process unit, for when multiple process is downloaded simultaneously, unified management download in shared information and downloading flow, the described multiple game client of shared information downloads identical file information and same user's end repeated downloads identical file information.
9. file system according to claim 1, it is characterised in that, described file system also comprises online release module, and described Online release module comprises:
Upgrade bag and generate unit, for being generated the complete data packet needing to upgrade by the mode re-created or upgrade;
Separation tree unit, for complete data packet carries out separation tree indexed file operation, obtains corresponding tree indexed file;
Uploading unit, for being uploaded to download server after changing name tree indexed file by it together with data packet.
CN201510995137.XA 2016-03-28 2016-03-28 A kind of file system based on online game application Active CN105635264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510995137.XA CN105635264B (en) 2016-03-28 2016-03-28 A kind of file system based on online game application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510995137.XA CN105635264B (en) 2016-03-28 2016-03-28 A kind of file system based on online game application

Publications (2)

Publication Number Publication Date
CN105635264A true CN105635264A (en) 2016-06-01
CN105635264B CN105635264B (en) 2019-08-20

Family

ID=56049736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510995137.XA Active CN105635264B (en) 2016-03-28 2016-03-28 A kind of file system based on online game application

Country Status (1)

Country Link
CN (1) CN105635264B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109687A (en) * 2019-04-26 2019-08-09 腾讯科技(成都)有限公司 Application installation package generation method and device
CN111447979A (en) * 2018-02-27 2020-07-24 多玩国株式会社 Game running device and game program
CN113384872A (en) * 2021-05-12 2021-09-14 网易(杭州)网络有限公司 Method and device for processing information resource in micro-terminal, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604358A (en) * 2009-07-13 2009-12-16 优万科技(北京)有限公司 A kind of resource updates methods, devices and systems
CN103259802A (en) * 2013-06-03 2013-08-21 贝壳网际(北京)安全技术有限公司 Media file downloading method and device and client device
CN103259819A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for file sharing
CN104104645A (en) * 2013-04-01 2014-10-15 北京畅游天下网络技术有限公司 Cross-platform resource management method and system
US20140366041A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Dynamic Adjustment of Mobile Device Based on User Activity
CN105327508A (en) * 2015-11-17 2016-02-17 盛趣信息技术(上海)有限公司 Network game running system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604358A (en) * 2009-07-13 2009-12-16 优万科技(北京)有限公司 A kind of resource updates methods, devices and systems
CN103259819A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for file sharing
CN104104645A (en) * 2013-04-01 2014-10-15 北京畅游天下网络技术有限公司 Cross-platform resource management method and system
CN103259802A (en) * 2013-06-03 2013-08-21 贝壳网际(北京)安全技术有限公司 Media file downloading method and device and client device
US20140366041A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Dynamic Adjustment of Mobile Device Based on User Activity
CN105327508A (en) * 2015-11-17 2016-02-17 盛趣信息技术(上海)有限公司 Network game running system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447979A (en) * 2018-02-27 2020-07-24 多玩国株式会社 Game running device and game program
CN111447979B (en) * 2018-02-27 2023-04-04 多玩国株式会社 Game running device and terminal server
CN110109687A (en) * 2019-04-26 2019-08-09 腾讯科技(成都)有限公司 Application installation package generation method and device
CN110109687B (en) * 2019-04-26 2023-06-30 腾讯科技(成都)有限公司 Application installation package generation method and device
CN113384872A (en) * 2021-05-12 2021-09-14 网易(杭州)网络有限公司 Method and device for processing information resource in micro-terminal, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105635264B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN104243425B (en) A kind of method, apparatus and system carrying out Content Management in content distributing network
WO2021025769A1 (en) Dynamic image composition for container deployment
US8429256B2 (en) Systems and methods for generating cached representations of host package inventories in remote package repositories
US8290994B2 (en) Obtaining file system view in block-level data storage systems
RU2406123C2 (en) System and method of determining switching back during non-optimality of target object and target object priority for distributed file system
JP2019517043A (en) Automatic update of hybrid application
TW202101199A (en) System and method for executing different types of blockchain contracts
CN106506587A (en) A kind of Docker image download methods based on distributed storage
JP5638608B2 (en) Method for accessing file system files according to metadata and apparatus for implementing the method
CN104699537A (en) Program control method, activity module scheduling method and corresponding devices thereof
Bauerdick et al. XRootd, disk-based, caching proxy for optimization of data access, data placement and data replication
CN111045715B (en) Cloud game hot updating method, system and readable storage medium
CN103533058A (en) HDFS (Hadoop distributed file system)/Hadoop storage cluster-oriented resource monitoring system and HDFS/Hadoop storage cluster-oriented resource monitoring method
CN108037937A (en) A kind of method of dynamic more new resources
CN105635264A (en) File system based on network game application
CN105975311A (en) Application startup method and device
EP1012757A1 (en) System and method for performing defined actions when grafting the namespace of one storage medium into the namespace of another storage medium
CN108092936A (en) A kind of Host Supervision System based on plug-in architecture
JPH11506552A (en) Method for accessing files in a multiprocessor computer system using pipes and fifos
WO2023226314A1 (en) Application cache-scalable processing method and apparatus, device and medium
CN104615629A (en) Information processing device, data structure of game data, and recording medium
CN104699536A (en) Active assembly progress space distributing method and corresponding device thereof
CN104104645A (en) Cross-platform resource management method and system
CN109756573A (en) A kind of file system based on block chain
CN106919470A (en) A kind of data reconstruction method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant