CN105740272A - Resource file search method and system - Google Patents

Resource file search method and system Download PDF

Info

Publication number
CN105740272A
CN105740272A CN201410757966.XA CN201410757966A CN105740272A CN 105740272 A CN105740272 A CN 105740272A CN 201410757966 A CN201410757966 A CN 201410757966A CN 105740272 A CN105740272 A CN 105740272A
Authority
CN
China
Prior art keywords
file
resource file
class
mapped
resource
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
CN201410757966.XA
Other languages
Chinese (zh)
Other versions
CN105740272B (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.)
Burson Marsteller Network Game Development (shenzhen) Co Ltd
Original Assignee
Burson Marsteller Network Game Development (shenzhen) 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 Burson Marsteller Network Game Development (shenzhen) Co Ltd filed Critical Burson Marsteller Network Game Development (shenzhen) Co Ltd
Priority to CN201410757966.XA priority Critical patent/CN105740272B/en
Publication of CN105740272A publication Critical patent/CN105740272A/en
Application granted granted Critical
Publication of CN105740272B publication Critical patent/CN105740272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a resource file search method and system. The method comprises the following steps: traversing a mapping file generated in advance; reading the mapping file; dividing the mapping relationship in the read mapping file to obtain a derived class and a corresponding resource file path; storing the obtained derived class and corresponding resource file path employing the derived class as an index; and obtaining the derived class as a search item and searching the corresponding resource file path according to the derived class. According to the resource file search method and system, the resource file is quickly found out by the following steps of traversing the generated mapping file; dividing the mapping relationship in the read mapping file to obtain a derived class and a resource file path; storing the derived class and the resource file path employing the derived class as the index; and obtaining the derived class as the search item and then quickly searching the corresponding resource file path, so that the time for searching the resource file is shortened; and the work efficiency of an operator is improved.

Description

Resource file searching method and system
Technical field
The present invention relates to field of data search, particularly relate to a kind of resource file searching method and system.
Background technology
For some computer software/application, for instance Flash game project, code and UI (UserInterface, user interface) resource can separately design.When constantly adding the situations such as new function when business item, the scale of business item increases day by day, resource file and UI number of resources also can increase therewith, on stream, when if desired searching for certain resource file, needing to expend the substantial amounts of time makes a look up, and greatly reduces the work efficiency of operator.
Summary of the invention
Based on this, it is necessary to for the problem that the search of resource file increased number expends plenty of time reduction work efficiency, it is provided that one can save search time, improve resource file searching method and the system of operator's work efficiency.
A kind of resource file searching method, comprises the following steps:
The mapped file that traversal previously generates;
Read described mapped file;
Split the mapping relations in the described mapped file read to obtain deriving class and corresponding resource file path;
With derive class for index by the derivations class obtained and correspondence resource file path store;
Obtain and derive class as search word, search the resource file path of correspondence according to described derivation class.
Wherein in an embodiment, described method also included before the mapped file that traversal previously generates:
Traversal resource file catalogue;
If searching resource file, then generate the mapped file corresponding with described resource file;
Travel through described resource file;
If finding derivation class from described resource file, then setting up the mapping relations of described derivation class and described resource file path, described mapping relations being write described mapped file, and continues to travel through described resource file until having searched derivation class.
Wherein in an embodiment, described mapped file is text, the name of described text be called to described resource file path process obtain;
The step of the described mapping relations setting up described derivation class and described resource file path includes:
Described derivation class and corresponding resource file path are attached by preset characters;
The step splitting to obtain deriving class and corresponding resource file path to the mapping relations in the described mapped file read includes:
Split to obtain deriving class and corresponding resource file path for separator with described preset characters to the described mapping relations in the described mapped file read.
Wherein in an embodiment, described method also includes: if not finding derivation class from described resource file, then continue the next resource file catalogue of traversal;Each resource file generates a corresponding mapped file;
The step of described traversal resource file catalogue includes: travel through resource file catalogue by script;
The step of the described resource file of described traversal includes: travel through resource file by script.
Wherein in an embodiment, after the step of the described mapped file of described reading, described method also includes:
Judge whether to read the end-of-file of described mapped file, if, the then next mapped file of traversal, if not, then perform the mapping relations in the described mapped file read to be split to obtain derivation class and corresponding resource file path and to derive the step that the resource file path of the derivation class obtained and correspondence is stored for index by class, then judge whether to read the end-of-file of described mapped file again.
A kind of resource file search system, including:
Spider module, for traveling through the mapped file previously generated;
Read module, is used for reading described mapped file;
Segmentation module, for splitting the mapping relations in the described mapped file read to obtain deriving class and corresponding resource file path;
Memory module, for derives class for index by the derivations class obtained with correspondence resource file path store;
Search module, is used for obtaining derivation class as search word, searches the resource file path of correspondence according to described derivation class.
Wherein in an embodiment, described system also includes:
Generation module, is used for generating mapped file, and described generation module includes:
Traversal Unit, is used for traveling through resource file catalogue;
Generate unit, if for searching resource file, then generate the mapped file corresponding with described resource file;
Described Traversal Unit is additionally operable to travel through described resource file;
Relation sets up unit, if for finding derivation class from described resource file, then setting up the mapping relations of described derivation class and described resource file path;
Writing unit, for described mapping relations are write described mapped file, continues to be traveled through described resource file by Traversal Unit until having searched derivation class.
Wherein in an embodiment, described mapped file is text, the name of described text be called to described resource file path process obtain;
Described relation is set up unit and is additionally operable to be attached described derivation class and corresponding resource file path by preset characters;
Described segmentation module is additionally operable to split to obtain deriving class and corresponding resource file path for separator with described preset characters to the described mapping relations in the described mapped file read.
Wherein in an embodiment, described system also includes: if described Traversal Unit is additionally operable to not find derivation class from described resource file, then continue the next resource file catalogue of traversal, and by script traversal resource file catalogue and resource file;Described generation unit is additionally operable to each resource file and generates a corresponding mapped file.
Wherein in an embodiment, described system also includes:
Judge module, for judging whether to read the end-of-file of described mapped file after the described mapped file of described reading;
Described spider module is additionally operable to when described judge module judges the end-of-file reading described mapped file, the next mapped file of traversal;
When described judge module judges the end-of-file not reading described mapped file, mapping relations in the described segmentation module described mapped file to reading are split the resource file path to obtain deriving class and correspondence and described memory module and the derivation class obtained and corresponding resource file path are stored for index to derive class, are then judged whether to read the end-of-file of described mapped file by judge module again.
Above-mentioned resource file searching method and system, by traveling through the mapped file generated, mapping relations in mapped file carry out segmentation obtain deriving class and resource file path, and derivation class and resource file path are stored to derive class for index, get derivation class as after search word, can fast search to the resource file path of correspondence, thus quickly finding resource file, save the time of searching resource file, improve the work efficiency of operator.
Accompanying drawing explanation
Fig. 1 is the flow chart of resource file searching method in an embodiment;
Fig. 2 is the particular flow sheet generating mapped file in an embodiment;
Fig. 3 is the flow chart of resource file searching method in another embodiment;
Fig. 4 is the structured flowchart of resource file search system in an embodiment;
Fig. 5 is the structured flowchart of resource file search system in another embodiment;
Fig. 6 is the structured flowchart of resource file search system in another embodiment.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of resource file searching method in an embodiment.As it is shown in figure 1, this resource file searching method, comprise the following steps:
Step 102, the mapped file that traversal previously generates.
Concrete, can first generate mapped file catalogue, by Ergodic Maps file directory Ergodic Maps file.Mapped file catalogue is the index of resource file, can find corresponding mapped file according to mapped file catalogue.
In one embodiment, above-mentioned resource file searching method, also included before step 102: generate mapped file.Fig. 2 is the particular flow sheet generating mapped file in an embodiment.As in figure 2 it is shown, this generation mapped file, including:
Step 202, travels through resource file catalogue.
Concrete, travel through resource file catalogue by script.For Flash game, resource file can be fla file or xfl file etc..Wherein, fla file is the resource file of compression, and xfl file is unpressed resource file.Use jsfl script (FlashJavaScript) to travel through resource file catalogue, search resource file.Resource file catalogue is the index of resource file, can find corresponding resource file according to resource file catalogue.
Step 204, if searching resource file, then generates the mapped file corresponding with this resource file.
Concrete, this mapped file can be text.The title of text file can be specify title, for instance for what the process of resource file path was obtained.In the present embodiment, the name of text is called removes drive by resource file absolute path, and partition is accorded with (“ " or "/") adopt default connector to replace obtaining.Such as, searching resource file for " D: A B C D.fla ", the name now generating the text corresponding with this resource file is called A_B_C_D.txt.Adopt the name of resource file path searchable and identify.Each resource file generates a corresponding mapped file.
If additionally, do not search resource file, then the next resource file catalogue of traversal.
Step 206, travels through this resource file.
Concrete, travel through each element in resource file by script, it is judged that whether the element of traversal is derive class, if so, then sets up the mapping relations deriving class with resource file path.
Step 208, if finding derivation class from this resource file, then sets up the mapping relations of this derivation class and this resource file path.
Concrete, from resource file, find derivation class by script.When another class of Similar integral, then such is for deriving class.Resource file can exist one or more derivation class.After searching each derivation class from resource file, set up the mapping relations of each derivation class and this resource file path.One resource file comprises multiple derivation class, then sets up the derivation class of respective numbers and the mapping relations in this resource file path.
Set up this derivation class to include with the step of the mapping relations in this resource file path: this derivation class and corresponding resource file path are attached by preset characters.Preset characters can be "=" etc..For "=", then the record format of mapping relations is " deriving class=resource file path ".
These mapping relations are write this mapped file, return again to step 206 by step 210.
If additionally, do not find derivation class from resource file, then continue the next resource file catalogue of traversal.
Step 104, reads this mapped file.
Concrete, use file stream to be read in internal memory by mapped file.File stream defines the basic operation processing data, as read data, write data etc..
Mapping relations in this mapped file read are split to obtain deriving class and corresponding resource file path by step 106.
In one embodiment, after this derivation class and corresponding resource file path being attached by preset characters, step 106 includes: split to obtain deriving class and corresponding resource file path for separator with this preset characters to these mapping relations in this mapped file read.
Concrete, reading the every data line (i.e. mapping relations) in mapped file, be that separator is split by preset characters, mapping relations may be partitioned into derivation class and resource file path two parts.
Step 108, with derive class for index by the derivations class obtained and correspondence resource file path store.
In one embodiment, step 108 includes: with derive class for index by the derivations class obtained and correspondence resource file path be stored in the Map previously generated.Wherein, Map is a kind of file memory format, and in Map, to derive class for key, array is Value, is then stored in array in the resource file path of corresponding identical derivation class.
Step 110, obtains and derives class as search word, search the resource file path of correspondence according to this derivation class.
Above-mentioned resource file searching method, by traveling through the mapped file generated, undertaken the mapping relations in mapped file splitting to obtain deriving class and resource file path, and derivation class and resource file path are stored to derive class for index, get derivation class as after search word, can fast search to the resource file path of correspondence, thus quickly finding resource file, save the time of searching resource file, improve the work efficiency of operator;Traveled through resource file catalogue and resource file by script, generate the mapped file corresponding with resource file, and find the derivation class in resource file, set up the mapping relations deriving class and resource file path, easy and simple to handle.
Fig. 3 is the flow chart of resource file searching method in another embodiment.As it is shown on figure 3, this resource file searching method, comprise the following steps:
Step 302, the mapped file that traversal previously generates.
Concrete, can first generate mapped file catalogue, by Ergodic Maps file directory Ergodic Maps file.Mapped file catalogue is the index of resource file, can find corresponding mapped file according to mapped file catalogue.
Step 304, reads this mapped file.
Concrete, use file stream to be read in internal memory by mapped file.File stream defines the basic operation processing data, as read data, write data etc..
Step 306, it may be judged whether read the end-of-file of this mapped file, if so, then performs step 302, if it is not, then perform step 308.
Concrete, end-of-file can be termination character, it is judged that the data read are termination character, then it represents that read the end-of-file of mapped file.
Mapping relations in this mapped file read are split to obtain deriving class and corresponding resource file path by step 308.
In one embodiment, after this derivation class and corresponding resource file path being attached by preset characters, step 308 includes: split to obtain deriving class and corresponding resource file path for separator with this preset characters to these mapping relations in this mapped file read.
Concrete, reading the every data line (i.e. mapping relations) in mapped file, be that separator is split by preset characters, mapping relations may be partitioned into derivation class and resource file path two parts.
Step 310, stores the derivations class obtained and corresponding resource file path for index deriving class, return step 306.
In one embodiment, step 310 includes: with derive class for index by the derivations class obtained and correspondence resource file path be stored in the Map previously generated.Wherein, Map is a kind of file memory format, and in Map, to derive class for key, array is Value, is then stored in array in the resource file path of corresponding identical derivation class.
Step 312, after having traveled through all mapped files, obtains and derives class as search word, search the resource file path of correspondence according to this derivation class.
Above-mentioned resource file searching method, by traveling through the mapped file generated, undertaken the mapping relations in mapped file splitting to obtain deriving class and resource file path, and derivation class and resource file path are stored to derive class for index, get derivation class as after search word, can fast search to the resource file path of correspondence, thus quickly finding resource file, save the time of searching resource file, improve the work efficiency of operator;By judging whether to read the end-of-file of mapped file, conveniently terminate the read operation of this mapped file, enter the traversal of next mapped file.
Fig. 4 is the structured flowchart of resource file search system in an embodiment.As shown in Figure 4, this resource file search system, including spider module 410, read module 420, segmentation module 430, memory module 440 and search module 450.Wherein:
Spider module 410 is for traveling through the mapped file previously generated.Concrete, can first generate mapped file catalogue, spider module 410 is by Ergodic Maps file directory Ergodic Maps file.Mapped file catalogue is the index of resource file, can find corresponding mapped file according to mapped file catalogue.
Read module 420 is used for reading this mapped file.Concrete, use file stream to be read in internal memory by mapped file.File stream defines the basic operation processing data, as read data, write data etc..
Segmentation module 430 is for splitting the mapping relations in this mapped file read to obtain deriving class and corresponding resource file path.
In one embodiment, segmentation module 430 is additionally operable to split to obtain deriving class and corresponding resource file path for separator with this preset characters to these mapping relations in this mapped file read.
Concrete, reading the every data line (i.e. mapping relations) in mapped file, be that separator is split by preset characters, mapping relations may be partitioned into derivation class and resource file path two parts.
Memory module 440 is for storing the resource file path of the derivations class obtained with correspondence for index deriving class.
In one embodiment, memory module 440 be additionally operable to derive class for index by the derivations class obtained and correspondence resource file path be stored in the Map previously generated.Wherein, Map is a kind of file memory format, and in Map, to derive class for key, array is Value, is then stored in array in the resource file path of corresponding identical derivation class.
Search module 450 is used for obtaining derivation class as search word, searches the resource file path of correspondence according to this derivation class.
Above-mentioned resource file searching method, by traveling through the mapped file generated, undertaken the mapping relations in mapped file splitting to obtain deriving class and resource file path, and derivation class and resource file path are stored to derive class for index, get derivation class as after search word, can fast search to the resource file path of correspondence, thus quickly finding resource file, save the time of searching resource file, improve the work efficiency of operator.
Fig. 5 is the structured flowchart of resource file search system in another embodiment.As it is shown in figure 5, this resource file search system, including spider module 410, read module 420, segmentation module 430, memory module 440 and search module 450, also include generation module 460.Generation module 460, is used for generating mapped file.Generation module 460 includes Traversal Unit 462, generate unit 464, relation sets up unit 466 and writing unit 468.Wherein:
Traversal Unit 462 is used for traveling through resource file catalogue.Concrete, Traversal Unit 462 is additionally operable to travel through resource file catalogue by script.For Flash game, resource file can be fla file or xfl file etc..Wherein, fla file is the resource file of compression, and xfl file is unpressed resource file.Use jsfl script (FlashJavaScript) to travel through resource file catalogue, search resource file.Resource file catalogue is the index of resource file, can find corresponding resource file according to resource file catalogue.
If generating unit 464 for searching resource file, then generate the mapped file corresponding with this resource file.Concrete, this mapped file can be text.The title of text file can be specify title, for instance for what the process of resource file path was obtained.In the present embodiment, the name of text is called removes drive by resource file absolute path, and partition is accorded with (“ " or "/") adopt default connector to replace obtaining.Such as, searching resource file for " D: A B C D.fla ", the name now generating the text corresponding with this resource file is called A_B_C_D.txt.Adopt the name of resource file path searchable and identify.Additionally, generate unit 464 to be additionally operable to each resource file one corresponding mapped file of generation.
If additionally, do not search resource file, then Traversal Unit 462 carries out traveling through next resource file catalogue.
This Traversal Unit 462 is additionally operable to travel through this resource file.In the present embodiment, Traversal Unit 462 travels through resource file by script.Concrete, this Traversal Unit 462 is additionally operable to travel through each element in resource file by script, it is judged that whether the element of traversal is derive class, if so, then sets up the mapping relations deriving class with resource file path.If additionally, this Traversal Unit 462 is additionally operable to not find derivation class from resource file, then continue the next resource file catalogue of traversal.
If relation sets up unit 466 for finding derivation class from this resource file, then set up the mapping relations of this derivation class and this resource file path.Concrete, from resource file, find derivation class by script.When another class of Similar integral, then such is for deriving class.Resource file can exist one or more derivation class.After searching each derivation class from resource file, set up the mapping relations of each derivation class and this resource file path.One resource file comprises multiple derivation class, then sets up the derivation class of respective numbers and the mapping relations in this resource file path.
In one embodiment, relation is set up unit 466 and is additionally operable to be attached this derivation class and corresponding resource file path by preset characters.Preset characters can be "=" etc..For "=", then the record format of mapping relations is " deriving class=resource file path ".Segmentation module 430 is additionally operable to split to obtain deriving class and corresponding resource file path for separator with this preset characters to these mapping relations in this mapped file read.
Writing unit 468, for these mapping relations write this mapped file, continues to be traveled through this resource file by Traversal Unit 462 until having searched derivation class.
Above-mentioned resource file searching method, is traveled through resource file catalogue and resource file, generates the mapped file corresponding with resource file, and find the derivation class in resource file by script, sets up the mapping relations deriving class and resource file path, easy and simple to handle.
Fig. 6 is the structured flowchart of resource file search system in another embodiment.As shown in Figure 6, this resource file search system, including spider module 410, read module 420, segmentation module 430, memory module 440 and search module 450, also include judge module 470.Wherein:
Judge module 470 for judging whether to read the end-of-file of this mapped file after read module reads this mapped file.Concrete, end-of-file can be termination character, it is judged that the data read are termination character, then it represents that read the end-of-file of mapped file.
This spider module 410 is additionally operable to when this judge module 470 judges the end-of-file reading this mapped file, the next mapped file of traversal.
When this judge module 470 judges the end-of-file not reading this mapped file, mapping relations in this segmentation module 30 this mapped file to reading are split the resource file path to obtain deriving class and correspondence and this memory module 440 and the derivation class obtained and corresponding resource file path are stored for index to derive class, are then judged whether to read the end-of-file of this mapped file by judge module 470 again.
In other embodiments, above-mentioned resource file search system, it may include spider module 410, read module 420, segmentation module 430, memory module 440, search module 450, generation module 460 and judge module 470.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Embodiment described above only have expressed the several embodiments of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a resource file searching method, it is characterised in that comprise the following steps:
The mapped file that traversal previously generates;
Read described mapped file;
Split the mapping relations in the described mapped file read to obtain deriving class and corresponding resource file path;
With derive class for index by the derivations class obtained and correspondence resource file path store;
Obtain and derive class as search word, search the resource file path of correspondence according to described derivation class.
2. resource file searching method according to claim 1, it is characterised in that described method also included before the mapped file that traversal previously generates:
Traversal resource file catalogue;
If searching resource file, then generate the mapped file corresponding with described resource file;
Travel through described resource file;
If finding derivation class from described resource file, then setting up the mapping relations of described derivation class and described resource file path, described mapping relations being write described mapped file, and continues to travel through described resource file until having searched derivation class.
3. resource file searching method according to claim 2, it is characterised in that described mapped file is text, the name of described text be called to described resource file path process obtain;
The step of the described mapping relations setting up described derivation class and described resource file path includes:
Described derivation class and corresponding resource file path are attached by preset characters;
The step splitting to obtain deriving class and corresponding resource file path to the mapping relations in the described mapped file read includes:
Split to obtain deriving class and corresponding resource file path for separator with described preset characters to the described mapping relations in the described mapped file read.
4. resource file searching method according to claim 2, it is characterised in that described method also includes: if not finding derivation class from described resource file, then continue the next resource file catalogue of traversal;Each resource file generates a corresponding mapped file;
The step of described traversal resource file catalogue includes: travel through resource file catalogue by script;
The step of the described resource file of described traversal includes: travel through resource file by script.
5. resource file searching method according to any one of claim 1 to 4, it is characterised in that after the step of the described mapped file of described reading, described method also includes:
Judge whether to read the end-of-file of described mapped file, if, the then next mapped file of traversal, if not, then perform the mapping relations in the described mapped file read to be split to obtain derivation class and corresponding resource file path and to derive the step that the resource file path of the derivation class obtained and correspondence is stored for index by class, then judge whether to read the end-of-file of described mapped file again.
6. a resource file search system, it is characterised in that including:
Spider module, for traveling through the mapped file previously generated;
Read module, is used for reading described mapped file;
Segmentation module, for splitting the mapping relations in the described mapped file read to obtain deriving class and corresponding resource file path;
Memory module, for derives class for index by the derivations class obtained with correspondence resource file path store;
Search module, is used for obtaining derivation class as search word, searches the resource file path of correspondence according to described derivation class.
7. resource file according to claim 6 search system, it is characterised in that described system also includes:
Generation module, is used for generating mapped file, and described generation module includes:
Traversal Unit, is used for traveling through resource file catalogue;
Generate unit, if for searching resource file, then generate the mapped file corresponding with described resource file;
Described Traversal Unit is additionally operable to travel through described resource file;
Relation sets up unit, if for finding derivation class from described resource file, then setting up the mapping relations of described derivation class and described resource file path;
Writing unit, for described mapping relations are write described mapped file, continues to be traveled through described resource file by Traversal Unit until having searched derivation class.
8. resource file according to claim 7 search system, it is characterised in that described mapped file is text, the name of described text be called to described resource file path process obtain;
Described relation is set up unit and is additionally operable to be attached described derivation class and corresponding resource file path by preset characters;
Described segmentation module is additionally operable to split to obtain deriving class and corresponding resource file path for separator with described preset characters to the described mapping relations in the described mapped file read.
9. resource file according to claim 7 search system, it is characterized in that, described system also includes: if described Traversal Unit is additionally operable to not find derivation class from described resource file, then continue the next resource file catalogue of traversal, and by script traversal resource file catalogue and resource file;Described generation unit is additionally operable to each resource file and generates a corresponding mapped file.
10. the resource file search system according to any one of claim 6 to 9, it is characterised in that described system also includes:
Judge module, for judging whether to read the end-of-file of described mapped file after reading described mapped file at read module;
Described spider module is additionally operable to when described judge module judges the end-of-file reading described mapped file, the next mapped file of traversal;
When described judge module judges the end-of-file not reading described mapped file, mapping relations in the described segmentation module described mapped file to reading are split the resource file path to obtain deriving class and correspondence and described memory module and the derivation class obtained and corresponding resource file path are stored for index to derive class, are then judged whether to read the end-of-file of described mapped file by judge module again.
CN201410757966.XA 2014-12-10 2014-12-10 Resource file searching method and system Active CN105740272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410757966.XA CN105740272B (en) 2014-12-10 2014-12-10 Resource file searching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410757966.XA CN105740272B (en) 2014-12-10 2014-12-10 Resource file searching method and system

Publications (2)

Publication Number Publication Date
CN105740272A true CN105740272A (en) 2016-07-06
CN105740272B CN105740272B (en) 2019-05-31

Family

ID=56239025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410757966.XA Active CN105740272B (en) 2014-12-10 2014-12-10 Resource file searching method and system

Country Status (1)

Country Link
CN (1) CN105740272B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613256A (en) * 2020-12-17 2021-04-06 海光信息技术股份有限公司 Method and device for generating circuit reference file of verification platform and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604082A (en) * 2003-08-29 2005-04-06 微软公司 Mapping architecture for arbitrary data models
US7233409B2 (en) * 1999-11-12 2007-06-19 Electronics For Imaging, Inc. Apparatus and methods for distributing print jobs
CN101071444A (en) * 2007-06-20 2007-11-14 中国科学院计算技术研究所 Resource space model storage and access method
CN101093499A (en) * 2006-06-22 2007-12-26 富士施乐株式会社 Document management server, method, storage medium and computer data signal, and system for managing document use
CN103473171A (en) * 2013-08-28 2013-12-25 北京信息科技大学 Coverage rate dynamic tracking method and device based on function call paths

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7233409B2 (en) * 1999-11-12 2007-06-19 Electronics For Imaging, Inc. Apparatus and methods for distributing print jobs
CN1604082A (en) * 2003-08-29 2005-04-06 微软公司 Mapping architecture for arbitrary data models
CN101093499A (en) * 2006-06-22 2007-12-26 富士施乐株式会社 Document management server, method, storage medium and computer data signal, and system for managing document use
CN101071444A (en) * 2007-06-20 2007-11-14 中国科学院计算技术研究所 Resource space model storage and access method
CN103473171A (en) * 2013-08-28 2013-12-25 北京信息科技大学 Coverage rate dynamic tracking method and device based on function call paths

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613256A (en) * 2020-12-17 2021-04-06 海光信息技术股份有限公司 Method and device for generating circuit reference file of verification platform and computer equipment
CN112613256B (en) * 2020-12-17 2022-06-24 海光信息技术股份有限公司 Method and device for generating circuit reference file of verification platform and computer equipment

Also Published As

Publication number Publication date
CN105740272B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US11068441B2 (en) Caseless file lookup in a distributed file system
CN107025218B (en) Text duplicate removal method and device
US9367605B2 (en) Abstract generating search method and system
CN103136228A (en) Image search method and image search device
KR100930455B1 (en) Method and system for generating search collection by query
WO2007071343A3 (en) Systems and methods for finding log files generated by a distributed computer
CN103699585A (en) Methods, devices and systems for file metadata storage and file recovery
CN104516950A (en) Inquiring method and device of interest points
WO2017080320A1 (en) Method of mining and cleaning up similar books in book database, and device utilizing same
CN104142990A (en) Search method and device
CN103354576B (en) The storage of mobile phone and cell-phone number attaching information thereof and lookup method
CN105989013A (en) Method and device for removing character watermarks
US8914377B2 (en) Methods for prefix indexing
CN106202450A (en) A kind of source code relied on based on makefile file analyzes method
US9524354B2 (en) Device, method, and program for processing data with tree structure
CN105488471A (en) Character pattern recognition method and device
US9110973B2 (en) Method and apparatus for processing a query
CN106326236A (en) Webpage content identification method and system
CN102999495A (en) Method and device for determining synonym semantics mapping relations
US20160210372A1 (en) Method and system for obtaining knowledge point implicit relationship
CN103020075B (en) The method of the dependence of evaluating objects object
CN104462349A (en) File processing method and file processing device
CN104572904A (en) Method and device for determining relevance level between tags
CN105740272A (en) Resource file search method and system
CN104750846A (en) Method and device for finding substring

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