CN102902687A - Accessing method and device of resource file - Google Patents

Accessing method and device of resource file Download PDF

Info

Publication number
CN102902687A
CN102902687A CN2011102119914A CN201110211991A CN102902687A CN 102902687 A CN102902687 A CN 102902687A CN 2011102119914 A CN2011102119914 A CN 2011102119914A CN 201110211991 A CN201110211991 A CN 201110211991A CN 102902687 A CN102902687 A CN 102902687A
Authority
CN
China
Prior art keywords
file
resource
apmb package
visited
content
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
CN2011102119914A
Other languages
Chinese (zh)
Other versions
CN102902687B (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.)
Huawei Technologies Co Ltd
Huawei Software Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110211991.4A priority Critical patent/CN102902687B/en
Priority to PCT/CN2012/076648 priority patent/WO2012167742A1/en
Publication of CN102902687A publication Critical patent/CN102902687A/en
Application granted granted Critical
Publication of CN102902687B publication Critical patent/CN102902687B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The invention provides an accessing method and device of a resource file. The method comprises the following steps of: obtaining a file name of a resource file to be accessed and reading an index region and a file name region of a resource packet file according to the file name of the resource file to be accessed, wherein the resource packet file comprises the index region, the file name region and a file content region; obtaining a storage path of the resource file to be accessed in the file content region from the file name region and obtaining deviation amount information of the resource file to be accessed from the index region; and obtaining the content of the resource file to be accessed from the file content region according to the storage path and the deviation amount information. The device comprises a reading module and a processor.

Description

The access method of resource file and device
Technical field
The embodiment of the invention relates to technical field of mobile terminals, relates in particular to a kind of access method and device of resource file.
Background technology
Along with 3G (3 RdGeneration) the gradually popularization of network, portable terminal (such as mobile phone) function is more and more abundanter, such as multimedia message, multimedia, web page browsing, visual telephone, electronic chart etc.These functions can be by realizing in the portable terminal corresponding functional module of operation (being application program).Wherein, application program can be installed on the portable terminal in the following way: portable terminal obtains the installation kit of this application program by wired or wireless mode, at the installation kit of this application program of portable terminal operation, each file in the installation kit (such as picture/audio files etc.) is created on the storer of portable terminal.
In order to use new program at mobile phone, generally need to install the installation bag that is applicable to this mobile phone.The user is at present generally by copying from computer/installing after directly the mode such as cell phone network download is obtained the installation bag.Such as application program application.exe being installed on the mobile phone, at first obtain installation kit as shown in Figure 1a, this installation kit is an independent file, this independent file is after being installed on the mobile phone, composition schematic diagram behind the installation kit decompress(ion) shown in Fig. 1 b, these several files comprise the operating file of an application.exe, also comprise a plurality of resource files.Mobile phone is when operation application this application program so, can access one or more in above-mentioned a plurality of resource file.In corresponding application program operational process, need to access respectively above-mentioned each resource file that is created to portable terminal, carry out the operation of a large amount of File Open/close, affect the travelling speed of application program, expend the electric energy of portable terminal.
Summary of the invention
The embodiment of the invention provides a kind of access method and device of resource file, in order to solve the technical matters that exists in the prior art.
The embodiment of the invention provides a kind of access method of resource file, comprising:
Obtain the filename of resource file to be visited, and read index area and the file name area of resource APMB package according to the filename of described resource file to be visited, described resource APMB package comprises index area, file name area and file content district;
Obtain described resource file to be visited at the store path in described file content district from described file name area, obtain the offset information of described resource file to be visited from described index area;
According to described store path and described offset information, obtain the content of described resource file to be visited in described file content district.
The embodiment of the invention also provides a kind of access means of resource file, comprising:
Read module is used for obtaining the filename of resource file to be visited, and reads index area and the file name area of resource APMB package according to the filename of described resource file to be visited, and described resource APMB package comprises index area, file name area and file content district;
Processor is used for obtaining described resource file to be visited at the store path in described file content district from described file name area, obtains the offset information of described resource file to be visited from described index area; According to described store path and described offset information, obtain the content of described resource file to be visited in described file content district.
The access method of the resource file of the embodiment of the invention and device, by whole resource files being made into a resource APMB package, the resource APMB package is divided into the index area, file name area and file content district, when reading the resource APMB package, obtain resource file to be visited at the store path in file content district according to resource file name to be visited from file name area, obtain the offset information of resource file to be visited from the index area, obtain the content of resource file to be visited in the file content district according to store path and offset information, avoided the operation of a large amount of File Open/close, promote the travelling speed of portable terminal, saved the electric energy loss of portable terminal.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do one to the accompanying drawing of required use in embodiment or the description of the Prior Art and introduce simply, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic diagram of the installation kit that provides in the prior art is provided Fig. 1 a;
Fig. 1 b is the composition schematic diagram behind the installation kit decompress(ion) among Fig. 1 a;
The access method process flow diagram of the resource file that Fig. 2 provides for one embodiment of the invention;
The present invention's access method process flow diagram of the resource file that provides of embodiment also is provided Fig. 3;
The access method process flow diagram of the resource file that Fig. 4 provides for another embodiment of the present invention;
The access means structural representation of the resource file that Fig. 5 provides for one embodiment of the invention;
The access means structural representation of the resource file that Fig. 6 provides for another embodiment of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The access method process flow diagram of the resource file that Fig. 2 provides for one embodiment of the invention, as shown in Figure 2, the method comprises:
Step 201: obtain the filename of resource file to be visited, read index area and the file name area of resource APMB package according to the filename of the resource file to be visited that obtains, this resource APMB package comprises: index area, file name area and file content district.
Wherein, the resource file that program need to have access to when operation can be referred to as resource file to be visited, and program is according to the filename access resources file of resource file to be visited.
The resource file that comprises in the installation bag of the prior art is scattered one by one resource file, the resource APMB package that the embodiment of the invention provides is a binary file, comprised the index area in this binary file, be used for the file content of length, resource file of side-play amount, resource file name of filename of type, resource file of record resource file in the side-play amount of resource APMB package, and the length of the file content of resource file.The index area is used for preserving the offset information of these all resource files of resource APMB package, wherein can comprise a plurality of index structures.Also comprise file name area in this binary file, be used for the filename of record resource file and resource file at the store path of resource APMB package, can comprise a plurality of filename structures in the file name area.This binary file has also comprised the file content district, is used for the file content of record resource file, and the file content of each resource file is with binary representation, comprising a plurality of DCA document content architectures.
Need to prove for the store path of above-mentioned resource file in the resource APMB package, this store path is actually a relative path, this relative path can be understood as a path that obtains resource file from resource file place root directory, what this path referred to is not that resource file is stored in which disk or which sector on the mobile phone, and how the root directory that refers to this resource file place from the resource APMB package finds the path of resource file, is a relative path therefore.
Step 202: obtain this resource file to be visited at the store path in file content district from file name area, obtain the offset information of this resource file to be visited from the index area, obtain the content of resource file to be visited according to store path and offset information in the file content district.
Offset information wherein refers to: when having obtained the store path of some resource files in the resource APMB package, this resource file might not be since the first bit data, but there is a side-play amount, only have the side-play amount of having obtained, could begin from the reference position of resource file the access resources file.
On the basis of above-mentioned embodiment, this resource APMB package can also comprise: the top of file district, be used for recording the size in above-mentioned index area, file name area and file content district, and in the resource APMB package separately side-play amount.Accordingly, can also comprise before the step 201: the top of file district of access resources APMB package, size and the side-play amount in acquisition index area, file name area and file content district.Further, this document header area can also be used for recording at least one: the sum of the version of the length of the top of file of resource APMB package, resource APMB package, the size of resource APMB package and resource APMB package resource file.
The present invention as shown in Figure 3 is the access method process flow diagram of the resource file that provides of embodiment also, on the basis of above-mentioned embodiment, in order to accelerate to obtain store path and the offset information of resource file, the method that the embodiment of the invention provides can comprise:
Step 300: read the content that records in the index area and file name area in the resource APMB package, according to the content that records in the index area that reads and the file name area, set up the concordance list of resource file, comprise title, size, side-play amount and the store path of resource file in this resource APMB package in this concordance list.Wherein, the side-play amount of the file content of length, resource file that content can comprise side-play amount, the resource file name of the resource file name of index area record at least in the resource APMB package and the length of the file content of resource file, resource file name and the store path of file name area record.
Step 301: obtain the filename of resource file to be visited, the filename according to this acquisition reads concordance list.
Wherein, this concordance list can exist with the form of Hashmap (Hash table).
Step 302: the content that obtains resource file to be visited according to the store path that reads in the concordance list and offset information in the file content district.
In the access method embodiment of another resource file of the present invention, the method can also comprise: keep the open mode of resource APMB package, so that this resource APMB package such as the routine access of portable terminal etc.This step preferably occur in the resource APMB package accessed once after.
The access method process flow diagram of the resource file that Fig. 4 provides for another embodiment of the present invention, as shown in Figure 4, the method describes as an example of its resource file of mobile video routine access example, how the method conducts interviews to its needed resource when not only having introduced the work of mobile video program client on mobile phone, but also the method for further having handed over resource APMB package how to make the mobile video program, installation bag how to make the mobile video program, how the mobile video program being installed and how the mobile video program being unloaded at mobile phone.The below is introduced according to order of occurrence optimum between the each part mentioned above, but not in order to limit the scope of protection of present invention.Comprise:
Step 401: the resource APMB package of making the mobile video program.
Wherein, the manufacturing process of the resource APMB package of concrete mobile video program can comprise: the information that travels through and obtain the required whole resource file of mobile video program, wherein, the information of resource file comprises: the title of resource file, size, content etc., above-mentioned information are kept in the local tabulation; Top of file plot structure, index area structure, file name area structure and file content plot structure according to the information architecture resource APMB package of the resource file that obtains; The file that makes up is packaged into single binary file.The binary file of described structure can comprise the structural informations such as top of file plot structure, index area structure, file name area structure and file content plot structure.
Concrete, make up the resource APMB package and can include but not limited to structural information as follows:
1.1) file layout:
| the top of file district, preserve the general information of this resource APMB package, internal resource number of files etc.
| the index area, the offset information of preserving all resource files is comprising a plurality of index structures
| file name area, preserve filename and the store path of all resource files, comprising a plurality of filename structures
| the file content district, preserve the binary content of all resource files, comprising a plurality of DCA document content architectures
1.2) the top of file plot structure:
Figure BDA0000078963350000061
Figure BDA0000078963350000071
1.3) the index area structure:
Figure BDA0000078963350000072
1.4) the file name area structure:
Figure BDA0000078963350000073
1.5) the file content plot structure:
Figure BDA0000078963350000074
Figure BDA0000078963350000081
Step 402: make mobile video installation bag.
The single scale-of-two resource APMB package of making in the step 401 is included in the installation bag, the single scale-of-two resource APMB package of be about to making and program execute file (be the file of .exe such as suffix) are made into an installation bag, reduced the difficulty of fabrication and installation bags, and reduced the disk space that installation takies later on mobile phone.
Step 403: the mobile video program is installed at mobile phone.
Installation process can comprise: the assigned address that the single scale-of-two resource APMB package in the installation bag and program execute file are loaded into mobile phone, owing to only having a resource APMB package, rather than a plurality of resource files, avoid the operation of multiple fetch program installation kit, greatly improved installation speed.Generally speaking, adopt this single scale-of-two resource APMB package after, the installation rate of client can improve 10~20 times.
Step 404: mobile video program start, index resource APMB package.
Specifically comprise: during the operation of mobile video program implementation file start, read the top of file district of resource APMB package, from the top of file district of resource APMB package, obtain size and the side-play amount in the resource APMB package in index area, file name area and file content district.According to index area and file name area size and side-play amount separately, read the information content in the index area, the type of each resource file that comprises in the acquisition resource APMB package, the side-play amount of resource file name, the length of resource file name, the side-play amount of the file content of resource file in the resource APMB package, and the length of the file content of resource file, the information content in the file reading name district, resource file name and the store path of each resource file in the resource APMB package of each resource file that comprises in the acquisition resource APMB package, thereby set up the concordance list of resource file, at least the title that comprises resource file in this concordance list, size, side-play amount and store path, and this concordance list preserved in the mode of Hash table, so that follow-up quick indexing.The open mode that keeps this resource APMB package is opened, closes the number of times of resource APMB package with effective minimizing.
Step 405: the operation of mobile video program, retrieve resources file.
Specifically comprise: the concordance list of the resource file that the resource file name retrieval that the mobile video program can be is as required set up in step 404, and finding corresponding store path and the deviation post of resource file in the resource APMB package, required resource file is read in the respective offsets position in respective paths.By said method, effectively avoided opening and closing scrappy small documents, promoted the travelling speed of program, reduced the consumption of handset capability.
Step 406: unloading mobile video program.
When unloading mobile video program, with the whole physics deletions of the resource APMB package that is installed to mobile phone, because the resource APMB package that provides in the embodiment of the invention exists with single binary file form, avoided multiple deletion action, greatly promoted the discharge rate of program.
The access method of the resource file that the embodiment of the invention provides, by whole resource files being made into a resource APMB package, the resource APMB package is divided into the index area, file name area and file content district, when reading the resource APMB package, obtain resource file to be visited at the store path in file content district according to resource file name to be visited from file name area, obtain the offset information of resource file to be visited from the index area, obtain the content of resource file to be visited in the file content district according to store path and offset information, avoided the operation of a large amount of File Open/close, promote the travelling speed of portable terminal, saved the electric energy loss of portable terminal.
The access means structural representation of the resource file that Fig. 5 provides for one embodiment of the invention, as shown in Figure 5, the access means of described resource file is used for realization said method embodiment's, and the access means of described resource file comprises: read module 501 and processor 502.Wherein, read module 501 is used for: the filename that obtains resource file to be visited, and reading index area and the file name area of resource APMB package according to the filename of resource file to be visited, this resource APMB package comprises index area, file name area and file content district.Processor 502 is used for: obtain resource file to be visited at the store path in file content district from file name area, obtain the offset information of resource file to be visited from the index area, according to store path and offset information, obtain the content of resource file to be visited in the file content district.
Wherein, the resource APMB package that the embodiment of the invention provides is a binary file, comprised the index area in this binary file, be used for the file content of length, resource file of side-play amount, resource file name of filename of type, resource file of record resource file in the side-play amount of resource APMB package, and the length of the file content of resource file.The index area is used for preserving the offset information of these all resource files of resource APMB package, wherein can comprise a plurality of index structures.Also comprise file name area in this binary file, be used for the filename of record resource file and resource file at the store path of resource APMB package, can comprise a plurality of filename structures in the file name area.This binary file has also comprised the file content district, is used for the file content of record resource file, and the file content of each resource file is with binary representation, comprising a plurality of DCA document content architectures.Need to prove for the store path of above-mentioned resource file in the resource APMB package, this store path is actually a relative path, this relative path can be understood as a path that obtains resource file from resource file place root directory, what this path referred to is not that resource file is stored in which disk or which sector on the mobile phone, and how the root directory that refers to this resource file place from the resource APMB package obtains to find the path of resource file, is a relative path therefore.
In another embodiment of the present invention, the resource APMB package can also comprise: the top of file district, and for the size in recording indexes district, file name area and file content district, and the side-play amount in the resource APMB package.Accordingly, read module 501 also is used for: read at the filename according to resource file to be visited before the index area and file name area of resource APMB package, the top of file district of access resources APMB package, size and the side-play amount in the resource APMB package in acquisition index area, file name area and file content district.
The access means structural representation of the resource file that Fig. 6 provides for another embodiment of the present invention, as shown in Figure 6, be compared to access means shown in Figure 5, the access means of this resource file not only comprises read module 601 and processor 602, also comprise: set up module 600, be used for before read module 601 obtains the filename of resource file to be visited, read index area in the resource APMB package and the content of file name area record; According to the content of the index area that reads and file name area record, set up the concordance list of resource file, comprise title, size, side-play amount and the store path of resource file in this concordance list.Wherein, the side-play amount of the file content of length, resource file that content can comprise side-play amount, the resource file name of the resource file name of index area record at least in the resource APMB package and the length of the file content of resource file, resource file name and the store path of file name area record.Accordingly, read module 601 is used for: obtain the filename of resource file to be visited, according to the filename that obtains, read and set up the concordance list that module 600 is set up.Processor 602 obtains the content of resource file to be visited in the file content district for the store path that reads according to concordance list and offset information.
The access means of the resource file that the embodiment of the invention provides, by whole resource files being made into a resource APMB package, the resource APMB package is divided into the index area, file name area and file content district, when reading the resource APMB package, obtain resource file to be visited at the store path in file content district according to resource file name to be visited from file name area, obtain the offset information of resource file to be visited from the index area, obtain the content of resource file to be visited in the file content district according to store path and offset information, avoided the operation of a large amount of File Open/close, promote the travelling speed of portable terminal, saved the electric energy loss of portable terminal.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the access method of a resource file is characterized in that, comprising:
Obtain the filename of resource file to be visited, and read index area and the file name area of resource APMB package according to the filename of described resource file to be visited, described resource APMB package comprises index area, file name area and file content district;
Obtain described resource file to be visited at the store path in described file content district from described file name area, obtain the offset information of described resource file to be visited from described index area;
According to described store path and described offset information, obtain the content of described resource file to be visited in described file content district.
2. method according to claim 1 is characterized in that, described resource APMB package also comprises: the top of file district, and for the size that records described index area, file name area and file content district, and the side-play amount in described resource APMB package;
Before the described index area and file name area that reads the resource APMB package, described method also comprises:
Access the top of file district of described resource APMB package, obtain size and the side-play amount in described resource APMB package in index area, file name area and file content district.
3. method according to claim 2, it is characterized in that, described top of file district also is used for recording at least one: the resource file sum of the size of the version of the length of top of file, described resource APMB package, described resource APMB package and described resource APMB package.
4. each described method in 3 according to claim 1 is characterized in that:
Described index area is used for the file content of length, resource file of side-play amount, the resource file name of type, the resource file name of each resource file of record in the length of the file content of the side-play amount of described resource APMB package and resource file;
Described file name area is used for record each resource file name and store path;
Described file content district is used for the file content of each resource file of record.
5. method according to claim 4 is characterized in that, before the filename of the resource file that described acquisition is to be visited, described method also comprises:
Read the content of index area and the described file name area record of described resource APMB package;
According to the content of the index area that reads described resource APMB package and described file name area record, set up the concordance list of resource file, comprise title, size, side-play amount and the store path of resource file in the described concordance list;
Described filename according to described resource file to be visited reads index area and the file name area of resource APMB package, comprising:
Filename according to the resource file to be visited of described acquisition reads described concordance list.
6. method according to claim 5 is characterized in that, described concordance list exists with the form of Hash table.
7. method according to claim 1 and 2 is characterized in that, described method also comprises:
The open mode that keeps described resource APMB package.
8. the access means of a resource file is characterized in that, comprising:
Read module is used for obtaining the filename of resource file to be visited, and reads index area and the file name area of resource APMB package according to the filename of described resource file to be visited, and described resource APMB package comprises index area, file name area and file content district;
Processor obtains described resource file to be visited at the store path in described file content district from described file name area, obtains the offset information of described resource file to be visited from described index area; According to described store path and described offset information, obtain the content of described resource file to be visited in described file content district.
9. device according to claim 8 is characterized in that, described resource APMB package also comprises: the top of file district, and for the size that records described index area, file name area and file content district, and the side-play amount in described resource APMB package;
Described read module also is used for: before the filename according to described resource file to be visited reads the index area and file name area of resource APMB package, access the top of file district of described resource APMB package, obtain size and the side-play amount in described resource APMB package in index area, file name area and file content district.
10. according to claim 8 or 9 described devices, it is characterized in that, described device also comprises:
Set up module, be used for before described read module obtains the filename of resource file to be visited, read index area in the described resource APMB package and the content of described file name area record; According to the content that reads index area in the described resource APMB package and described file name area record, set up the concordance list of resource file, comprise title, size, side-play amount and the store path of resource file in the described concordance list;
Described read module is used for: obtain the filename of resource file to be visited, and according to the filename of the resource file to be visited of described acquisition, read described concordance list.
CN201110211991.4A 2011-07-27 2011-07-27 The access method of resource file and device Expired - Fee Related CN102902687B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110211991.4A CN102902687B (en) 2011-07-27 2011-07-27 The access method of resource file and device
PCT/CN2012/076648 WO2012167742A1 (en) 2011-07-27 2012-06-08 Method and apparatus for accessing resource files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110211991.4A CN102902687B (en) 2011-07-27 2011-07-27 The access method of resource file and device

Publications (2)

Publication Number Publication Date
CN102902687A true CN102902687A (en) 2013-01-30
CN102902687B CN102902687B (en) 2015-09-09

Family

ID=47295490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110211991.4A Expired - Fee Related CN102902687B (en) 2011-07-27 2011-07-27 The access method of resource file and device

Country Status (2)

Country Link
CN (1) CN102902687B (en)
WO (1) WO2012167742A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055363A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Method for identifying file and mobile terminal
CN107633088A (en) * 2017-09-29 2018-01-26 深圳市金证科技股份有限公司 A kind of file management method and device
CN107844483A (en) * 2016-09-18 2018-03-27 腾讯科技(深圳)有限公司 File management method and device
CN110968549A (en) * 2019-11-18 2020-04-07 Oppo(重庆)智能科技有限公司 File storage method and device, electronic equipment and medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814913B (en) * 2018-12-25 2020-09-18 华为终端有限公司 Method and device for splitting, recombining and operating application package
CN114201703A (en) * 2020-09-18 2022-03-18 华为技术有限公司 File generation method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060287990A1 (en) * 2005-06-20 2006-12-21 Lg Electronics Inc. Method of file accessing and database management in multimedia device
CN102054038A (en) * 2010-12-30 2011-05-11 东莞宇龙通信科技有限公司 File decompression method and device as well as mobile terminal
CN102073633A (en) * 2009-11-23 2011-05-25 腾讯科技(深圳)有限公司 Method and device for storing and accessing resource file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060287990A1 (en) * 2005-06-20 2006-12-21 Lg Electronics Inc. Method of file accessing and database management in multimedia device
CN102073633A (en) * 2009-11-23 2011-05-25 腾讯科技(深圳)有限公司 Method and device for storing and accessing resource file
CN102054038A (en) * 2010-12-30 2011-05-11 东莞宇龙通信科技有限公司 File decompression method and device as well as mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055363A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Method for identifying file and mobile terminal
US10452376B2 (en) 2016-05-31 2019-10-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for identifying file and mobile terminal
US10599413B2 (en) 2016-05-31 2020-03-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for identifying file
CN107844483A (en) * 2016-09-18 2018-03-27 腾讯科技(深圳)有限公司 File management method and device
CN107633088A (en) * 2017-09-29 2018-01-26 深圳市金证科技股份有限公司 A kind of file management method and device
CN107633088B (en) * 2017-09-29 2020-04-24 深圳市金证科技股份有限公司 File management method and device
CN110968549A (en) * 2019-11-18 2020-04-07 Oppo(重庆)智能科技有限公司 File storage method and device, electronic equipment and medium

Also Published As

Publication number Publication date
WO2012167742A1 (en) 2012-12-13
CN102902687B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN102902687B (en) The access method of resource file and device
CN102750174B (en) file loading method and device
US7903476B2 (en) Systems and techniques for non-volatile memory buffering
US8566514B2 (en) Techniques to truncate data files in nonvolatile memory
US20070233752A1 (en) Method and apparatus to reclaim nonvolatile memory space
JP4832521B2 (en) Data management method in flash memory media
CN101571850B (en) Display packing and device of text document in support of page turn function
CN102662713B (en) Method, device and terminal for increasing running speed of application programs
US8375161B2 (en) Flash memory hash table
CN102349055A (en) Optimizing access time of files stored on storages
CN107817946B (en) Method and device for reading and writing data of hybrid storage device
US20150074340A1 (en) Electronic device data distribution
JP2009003934A (en) Data management system, data management method, and computer-readable recording medium in which program for performing data management method is recorded
CN107168651A (en) A kind of small documents polymerize storage processing method
US20130262375A1 (en) Method for managing electronic phone book used in communication devices
CN1963810A (en) Method for realizing cache memory relates to file allocation table on Flash storage medium
CN112241396B (en) Spark-based method and system for merging small files of Delta
CN103377060B (en) A kind of computer program accelerated method and system
TW200821906A (en) Reclaim algorithm for fast edits in a nonvolatile file system
CN101206660A (en) File organization method
US9646014B1 (en) Systems and methods for selective defragmentation
CN109521957A (en) A kind of data processing method and device
JP2006018834A (en) Method and apparatus for loading relocatable in-place executable file in virtual machine
CN101515274A (en) Method for reading and playing mobile phone audio-frequency data
US20100077147A1 (en) Methods for caching directory structure of a file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

Termination date: 20200727

CF01 Termination of patent right due to non-payment of annual fee