CN107291943A - A kind of picture searching method and device - Google Patents
A kind of picture searching method and device Download PDFInfo
- Publication number
- CN107291943A CN107291943A CN201710561037.5A CN201710561037A CN107291943A CN 107291943 A CN107291943 A CN 107291943A CN 201710561037 A CN201710561037 A CN 201710561037A CN 107291943 A CN107291943 A CN 107291943A
- Authority
- CN
- China
- Prior art keywords
- picture
- found
- searching
- path
- searched
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000004048 modification Effects 0.000 abstract description 8
- 238000012986 modification Methods 0.000 abstract description 8
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Television Signal Processing For Recording (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses a kind of picture searching method, including obtain picture name to be found and facility information;According to the picture name to be found and the facility information, generate picture searching path to be found and searched;If the picture searching failure to be found, generates the address file accessed path of the picture to be found and is searched;The address file is stored with the storage address information of the picture to be found;Be stored with identical address file in the multiple equipment for being multiplexed same picture to be found;If the address file is searched successfully, update the picture searching path to be found according to the storage address information and searched.The application is by obtaining the content in address file, it is possible to achieve the multiplexing to the picture in other equipment, therefore the path in program can be avoided to judge branch, and then improves the convenience of legibility and modification operation.Disclosed herein as well is a kind of picture searching device, equally with above-mentioned beneficial effect.
Description
Technical field
The application is related to cloud storage field, more particularly to a kind of picture searching method and device.
Background technology
With the development and application of information technology, cloud storage technology is in many business systems with mass memory demand
Huge effect is played in system.
Cloud storage system uses large-scale distributed parallel file system, using substantial amounts of server and storage device as base
Plinth, builds a large-scale storage cluster, with good expandability and flexibility.Management node system in cloud storage system
One management all clustered node, file, daily record, alarm, gateway etc., while providing log management, performance monitoring, configuration pipe
The abilities such as reason, fault management, facilitate system administration attendant to manage cloud storage system.And each equipment in system is entered
During row management, it is often necessary to call the equipment picture for searching equipment, so as to administrative staff can therefrom it is clear exactly
Understand the specifying information and situation of equipment.
Looked into carrying out equipment picture using computer graphic user interface (Graphical User Interface, GUI)
During looking for, the reusable situation of picture is frequently encountered.So-called reusable, i.e. multiple equipment can share same equipment drawing
Piece is described.Because, the close equipment of many models is basically identical in outward appearance and internal structure, and its is different
Place is only in that the important Field Replaceable Unit such as internal memory or CPU (Field Replace Unit, FRU) configuration not
With, therefore their equipment drawing piece is substantially identical.
But, prior art is in using HTML (HyperText Mark-up Language, HTML)
's<img>When tag statement carries out picture searching, picture multiplexing is not carried out but, but calling the equipment picture of each equipment
When, the equipment picture of oneself is all searched under the storage catalogue of each equipment;Thus, the loading procedure of picture can produce a large amount of points
Branch is used for judging the path of picture searching.The redundancy and non-legibility of program code are so not only caused, is also caused to be added
The modification operation for carrying picture is relatively complicated.
The content of the invention
The purpose of the application is to provide a kind of picture searching method and device, effectively to carry out picture multiplexing, entered
And the legibility and terseness of picture searching program are improved, while being operated to the modification for simplifying picture to be loaded.
In order to solve the above technical problems, the application provides a kind of picture searching method, including:
Obtain picture name to be found and facility information;
According to the picture name to be found and the facility information, generate picture searching path to be found and searched;
If the picture searching failure to be found, generates the address file accessed path of the picture to be found and carries out
Search;The address file is stored with the storage address information of the picture to be found;It is multiplexed the multiple of same picture to be found
The identical that is stored with equipment address file;
If the address file is searched successfully, the picture searching road to be found is updated according to the storage address information
Simultaneously searched in footpath.
Alternatively, it is described according to the picture name to be found and the facility information, generate picture searching path to be found
And carry out lookup and include:
Parse the acquiescence storing directory of picture to be found described in the apparatus information acquiring;
According to the acquiescence storing directory and the picture name to be found, generate the picture searching path to be found and go forward side by side
Row is searched.
Alternatively, if the picture searching failure to be found, the address file for generating the picture to be found is looked into
Looking for path and carrying out lookup includes:
If the picture searching failure to be found, the address file is added by the picture searching path to be found
File extension, generates the address file accessed path and is searched.
Alternatively, it is described to update the picture searching path to be found according to the storage address information and carry out lookup bag
Include:
If the storage address information is the path of the picture to be found, using the path as described in after renewal
Simultaneously searched in picture searching path to be found;
If the storage address information is the actual storing directory of the picture to be found, by the actual storing directory
The picture to be found name is added, as the picture searching path to be found after renewal and is searched.
Alternatively, also wrapped in the address file accessed path for generating the picture to be found and after being searched
Include:
If the address file searches failure, according to the upper level catalogue of the acquiescence storing directory, generation is describedly
Location ff path is simultaneously searched, and is terminated until searching.
Alternatively, update the picture searching path to be found described according to the storage address information and searched
Also include afterwards:
If the picture searching path searching failure to be found after updating, returns to the path of acquiescence picture.
Alternatively, in addition to:
If searching number of times exceedes preset upper limit value, the path of acquiescence picture is returned to.
Present invention also provides a kind of picture searching device, including:
Acquisition module:For obtaining picture name to be found and facility information;
Searching modul:For according to the picture name to be found and the facility information, generating picture searching road to be found
Simultaneously searched in footpath;If the picture searching failure to be found, generates the address file accessed path of the picture to be found
And searched;The address file is stored with the storage address information of the picture to be found;It is multiplexed same picture to be found
Multiple equipment in be stored with identical address file;If the address file is searched successfully, according to storage address letter
Breath updates the picture searching path to be found and searched.
Alternatively, the searching modul is additionally operable to:
If the address file searches failure, update the address file accessed path and searched, until searching
Terminate.
Alternatively, the searching modul is additionally operable to:
If searching number of times exceedes preset upper limit value, the path of acquiescence picture is returned to.
In picture searching method provided herein, by obtaining picture name to be found and facility information;According to described
Picture name to be found and the facility information, generate picture searching path to be found and are searched;If the picture to be found
Failure is searched, then generates the address file accessed path of the picture to be found and is searched;The address file is stored with
The storage address information of the picture to be found;Be stored with identical address text in the multiple equipment for being multiplexed same picture to be found
Part;If the address file is searched successfully, the picture searching path to be found is updated simultaneously according to the storage address information
Searched.
It can be seen that, it is in picture searching method provided herein, reusable equipment picture is actual compared to prior art
The path of storage is stored in its address file, and the identical address that is stored with the multiple equipment of the same picture to be found of multiplexing
File;Therefore, when finding that the equipment has been multiplexed the equipment picture of other equipment when searching equipment picture, you can by obtaining
Content in address file goes to search equipment picture, realizes that picture is multiplexed.Therefore, the application may be such that all devices picture is identical
Equipment all use same equipment picture, then these equipment use same load path in loading equipemtn picture, and need not
As obtaining equipment picture respectively from each equipment in the prior art, cause to sentence the complexity in path in picture searching program
It is disconnected.As can be seen here, picture searching method provided herein can effectively improve legibility and the letter of picture searching program
Clean property, while so that the modification operation of picture is easier.Picture searching device provided herein can realize above-mentioned figure
Piece lookup method, equally with above-mentioned beneficial effect.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, needed in being described below to the embodiment of the present application
The accompanying drawing to be used makees brief introduction.Certainly, about in only the application of the accompanying drawing description of the embodiment of the present application below
A part of embodiment, to those skilled in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to the accompanying drawing of offer, the other accompanying drawings obtained fall within the protection domain of the application.
A kind of flow chart for picture searching method that Fig. 1 is provided by the embodiment of the present application;
The flow chart for another picture searching method that Fig. 2 is provided by the embodiment of the present application;
Fig. 3 is a kind of structured flowchart of picture searching device provided herein.
Embodiment
In order to more clearly and completely be described to the technical scheme in the embodiment of the present application, below in conjunction with this Shen
Accompanying drawing that please be in embodiment, the technical scheme in the embodiment of the present application is introduced.Obviously, described embodiment is only
Some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of the application protection.
Fig. 1 is refer to, a kind of flow chart for picture searching method that Fig. 1 is provided by the embodiment of the present application mainly includes
Following steps:
Step 101:Obtain picture name to be found and facility information.
When the lookup of equipment picture is carried out in cloud storage system, two essential informations of acquisition are typically necessary:One is
Which equipment facility information, be to know such as unit type, authentication code;Another is then picture name to be found, so as to
Know be the equipment any equipment picture.Specifically, in front end using program language such as HTML to obtain these information when, can
To use customized label, facility information and picture to be found name are passed into processor.
Step 102:According to picture to be found name and facility information, generate picture searching path to be found and searched.
When progress monitoring of tools or inspection need to call equipment picture, in order to realize that picture is multiplexed, i.e. to equipment
Picture identical equipment is unified to use same set of equipment picture, unified when searching equipment picture to use same set of accessed path,
Picture searching method provided herein introduces address file, the storage information for storing reusable equipment picture.This
It is due to that in equipment picture identical equipment, only one of which equipment needs storage device picture, therefore, and others are set
Address file can be only set in standby, for storing the actual storage information for the equipment picture that these equipment are multiplexed, including deposited
Put path or storing directory.
After getting picture to be found name through step 101, do not knowing whether the equipment picture to be found is multiplexing figure
In the case of piece, the equipment picture accessed path to be found of acquiescence can be generated according to facility information first, to the equipment picture
Searched;If searching failure, illustrate that the equipment picture of this equipment is possible for reusable picture, and be stored in other a certain to set
In standby, then the address file of the equipment picture can be searched, the path of the equipment picture actual storage is obtained from address file.
Either equipment picture or its address file, can have it when being stored acquiescence storing directory
Under.As a kind of preferred embodiment, the storing directory of the acquiescence can be designed as directly parsing generation by facility information, so
Greatly convenient processor generation accessed path can be calculated by the facility information got and is searched.Particularly, this sets
Standby information can be unit type.If for example, unit type be 1818-123, in resolving can specifically using "-" as
Mark is split, unit type is split, the acquiescence storing directory for obtaining the equipment picture of the equipment is 1818/123.Specifically
, Interface design encapsulation class can be write, when using customized label in front end, picture name to be found is got and believes with equipment
Breath.Certainly, facility information mentioned here can also elect device authentication code as and wait other to have the characteristic information of uniqueness;And
And, when according to facility information parsing acquiescence storing directory, it would however also be possible to employ other analytical algorithms, those skilled in the art can be with
Voluntarily select and set according to particular condition in use and equipment situation, the embodiment of the present application is not defined to this.
After storing directory by analyzing device acquisition of information to picture to be found, just can according to the storing directory and
Picture name to be found, generates picture searching path to be found and is searched.Still by taking above example as an example, if figure to be found
The entitled a.jpg of piece, then the picture searching path as 1818/123/a.jpg to be found generated.
Step 103:If picture searching failure to be found, generates the address file accessed path of picture to be found and carries out
Search.
As it was noted above, being multiplexed the equipment for the equipment picture being stored in other equipment, address file is provided with, is used for
Store the storage address information for the equipment picture that the equipment is multiplexed.If after lookup, discovery is generated in a step 102
Equipment picture accessed path be not present if, that is, search failure, then illustrate that the equipment is likely to be multiplexed other equipment
Equipment picture.Therefore, in order to find its multiplexing equipment picture actual storage path, it is necessary to search in the equipment address text
Part.
The introducing of address file is exactly a kind of alias mechanism in fact, and it can be the alias texts using alias orders generation
Part.In the case of known picture searching failure to be found, the picture searching path to be found generated in step 102 can be repaiied
Address file accessed path is changed to, i.e., the file extension .alias of address file is added at the path end, is then entered again
Row is searched.
Step 104:If address file is searched successfully, figure to be found is updated according to the storage address information in address file
Piece accessed path is simultaneously searched.
After generating address file accessed path by step 103 and being searched, if address file is searched successfully,
The content of the address file is then read, the equipment picture for updating and being generated in step 102 is changed according to storage address information therein
Accessed path, and re-start lookup.
Wherein, the storage address information stored in address file may be the path of reusable equipment picture;And for example
When equipment to be found has been multiplexed multiple picture files in other equipment under same storing directory, the storage address information
It may be the actual storing directory of reusable equipment picture., then can be directly using the path as after renewal if path
Searched in picture searching path to be found;And if the storage address information be picture to be found can multiplexing equipment picture
Actual storing directory, then need that the actual storing directory first is revised as into path, i.e., the picture name to be found in the addition of its end,
Searched as the picture searching path to be found after renewal.
It can be seen that, in the picture searching method that the embodiment of the present application is provided, it has been multiplexed setting for equipment picture in other equipment
Be stored with address file in standby, to store the storage address information of its equipment picture being multiplexed, thus, searching equipment picture
When, the accessed path of reusable equipment picture can be obtained by searching address file, and then avoid big in the prior art
Amount path judges branch, the problem of also solving chaotic, not readable program and modification inconvenient operation.
Fig. 2 is refer to, on the basis of picture searching method shown in the application Fig. 1, Fig. 2 is provided by the embodiment of the present application
Another picture searching method flow chart.Similar content specifically refer to the related content of method shown in Fig. 1, here
Just no longer it is discussed in detail.
Picture searching method shown in Fig. 2 is mainly included the following steps that:
Step 201:Obtain picture name to be found and facility information.
Step 202:According to picture to be found name and facility information, generate picture searching path to be found and searched;
If searching successfully, into step 203, if failure is searched, into step 204.
Similar with foregoing description, after facility information is obtained, such as unit type can be according to the solution set in advance
Analysis arithmetic analysis goes out the acquiescence storing directory of picture to be found, further according to picture to be found name generation picture searching path to be found
Searched.If searching successfully, illustrate that the equipment does not carry out picture multiplexing, or other equipment has been multiplexed the equipment
Equipment picture, thus the equipment picture that is stored with the equipment, then can enter step 203, return to the path.And if searching and losing
Lose, then illustrate that the equipment is likely to be multiplexed the equipment picture of other equipment, therefore, can now enter step 204, to address
File is searched.
Step 203:Return to picture searching path to be found.
When picture searching to be found success, then the picture searching path to be found can be returned to, to carry out picture loading.
Step 204:Generate the address file accessed path of picture to be found and searched;If searching successfully, into step
Rapid 205, if failure is searched, into step 207.
Similarly, the address file of picture to be found, which is also given tacit consent to, is stored in acquiescence storing directory, judges when through step 202
Picture to be found is not when giving tacit consent in storing directory, you can picture searching path to be found is revised as into address file accessed path
Searched again.If searching successfully, step 205 can be entered, according to address file content update picture searching to be found
Path is continued to search for., then can be by step 207 and if lookup fails, illustrating there is no address file in acquiescence storing directory
Judgement is again introduced into step 204 after meeting condition, and more newly-generated address file accessed path is looked into address file again
Look for, terminate until searching.Specifically, address file accessed path can be updated according to the upper level catalogue of acquiescence storing directory;
By that analogy, when searching renewal address file accessed path after failure every time, the upper level of catalogue can be searched according to last time
Catalogue carries out routing update.
Step 205:Picture searching path to be found is updated according to the storage address information in address file and is searched;
If searching successfully, into step 203, if failure is searched, into step 206.
After the success of address ff, the content of address file just can be read, the storage of picture to be found is obtained
Location information, and searched again according to storage address information renewal picture searching path to be found.As it was previously stated, storage
Location information can be the actual storing directory of picture to be found, can also be directly its path, those skilled in the art can root
Factually border service condition is voluntarily selected.
If update after picture searching to be found success, can enter step 203, and if search failure, illustrate that this is treated
Search picture to be damaged, then can enter step 206.
Step 206:Return to the path of acquiescence picture.
When searching picture failure to be found by address file, then illustrate that the picture to be found is likely to be damaged
, therefore, the path of acquiescence picture can be now returned to, acquiescence picture mentioned here can be blank sheet piece, or
Other pictures;Simultaneously, naturally it is also possible to the path of picture is given tacit consent to without returning;Those skilled in the art can be according to specifically making
Voluntarily selected and set with situation, the embodiment of the present application is to this without limiting.
Step 207:Judge to search whether number of times exceedes preset upper limit value;If so, then entering step 206, if it is not, then entering
Step 204.
If as it was previously stated, if address file accessed path searches failure in step 204, step 204 can be repeated
In operation.But in order to ensure the ageing of search procedure, it is to avoid excessively multiple unnecessary lookup, it can also be set to search number of times
A preset upper limit value is put, and is all judged updating every time before address file accessed path is searched, if searching secondary
Number is no more than preset upper limit value, then is back to step 204 and continues to search for;If searching number of times has exceeded preset upper limit value, enter
Step 206.Specifically, the span of the preset upper limit value is recommended but is not limited to 6~8 times, those skilled in the art can
Voluntarily to select and set according to actual use situation, the embodiment of the present application is not defined to this.
It can be seen that, the picture searching method shown in the application Fig. 2, on the basis of picture searching method shown in Fig. 1, when over the ground
Location file search first after failure, adds the step of repetition updates address file accessed path and constantly searched,
To search address file as much as possible;In addition, in order to avoid excessive unnecessary lookup, preset upper limit can also be set
Value, after lookup number of times exceedes preset upper limit value, just terminates to search, and return to acquiescence picture path.
The picture searching device provided below the embodiment of the present application is introduced.Picture searching device described below
Can be mutually to should refer to above-described picture searching method.
Referring to Fig. 3, Fig. 3 is a kind of structured flowchart of picture searching device provided herein;Including acquisition module
301 and searching modul 302.
Acquisition module 301 is mainly used in obtaining picture name to be found and facility information;So that searching modul 302 utilizes to be checked
Picture name and facility information is looked for carry out picture searching.
Searching modul 302 is mainly used in, according to picture to be found name and facility information, generating picture searching path to be found
And searched;If picture searching failure to be found, generates the address file accessed path of picture to be found and is searched;
Be stored with the storage address information of picture to be found in address file;It is stored with the multiple equipment for being multiplexed same picture to be found
Identical address file;If address file is searched successfully, picture searching path to be found is updated simultaneously according to storage address information
Searched.
In addition, searching modul 302 can be also used for returning to picture to be found after successful search to picture to be found
Path, so as to the progress of the operations such as picture loading;And after picture searching path searching to be found failure in the updated, return silent
Recognize the path of picture.In addition, after address file searches failure first, searching modul 302 can be also used for continuing to update ground
Location ff path simultaneously repeats to search, and terminates until searching.Specifically, searching modul 302 can be looked into according to the last time
The upper level catalogue of storing directory in path is looked for carry out the renewal of address file accessed path.Also, it is excessive in order to prevent
Secondary unnecessary lookup, searching modul 302 can be also used for searching number of times more than just terminating to search after preset upper limit value, write from memory
Recognize lookup failure, and return to the path of acquiescence picture.The preferred value of preset upper limit value mentioned here is in the range of 6~8, certainly
Can also be other values, the embodiment of the present application is not defined to this, and those skilled in the art can be according to actual use
Situation is voluntarily selected and set.
It can be seen that, picture searching device provided herein, when searching picture failure to be found, i.e., current device very may be used
During the equipment picture that can be multiplexed in other equipment, searching modul 302 can generate address file accessed path and be searched,
Picture searching path to be found is updated by the storage address information in address file, the lookup to being multiplexed picture is realized.
As can be seen here, the picture searching device that the embodiment of the present application is provided, can avoid a large amount of paths of the prior art from judging to divide
Branch, and then the legibility of program and the convenience of picture modification operation can be improved.
The embodiment of each in the application is described by the way of progressive, and what each embodiment was stressed is and other realities
Apply the difference of example, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration
.
Professional further appreciates that, with reference to the method and step of the embodiments described herein description, energy
It is enough to be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate the interchangeable of hardware and software
Property, the composition and step of each example are generally described according to function in the above description.These functions are actually with hard
Part or software mode are performed, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can be with
Described function is realized using distinct methods to each specific application, but this realization is it is not considered that beyond this Shen
Scope please.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Technical scheme provided herein is described in detail above.Specific case used herein is to this Shen
Principle and embodiment please is set forth, the explanation of above example be only intended to help understand the present processes and its
Core concept.It should be pointed out that for those skilled in the art, not departing from the premise of the application principle
Under, some improvement and modification can also be carried out to the application, these are improved and modification also falls into the protection of the application claim
In the range of.
Claims (10)
1. a kind of picture searching method, it is characterised in that including:
Obtain picture name to be found and facility information;
According to the picture name to be found and the facility information, generate picture searching path to be found and searched;
If the picture searching failure to be found, generates the address file accessed path of the picture to be found and is looked into
Look for;The address file is stored with the storage address information of the picture to be found;Same the multiple of picture to be found are multiplexed to set
Be stored with identical address file in standby;
If the address file is searched successfully, the picture searching path to be found is updated simultaneously according to the storage address information
Searched.
2. picture searching method according to claim 1, it is characterised in that described according to the picture name to be found and described
Facility information, generating picture searching path to be found and carrying out lookup includes:
Parse the acquiescence storing directory of picture to be found described in the apparatus information acquiring;
According to the acquiescence storing directory and the picture name to be found, generate the picture searching path to be found and looked into
Look for.
3. picture searching method according to claim 2, it is characterised in that if the picture searching failure to be found,
Then generating the address file accessed path of the picture to be found and carrying out lookup includes:
If the picture searching failure to be found, the picture searching path to be found is added the file of the address file
Extension name, generates the address file accessed path and is searched.
4. picture searching method according to claim 3, it is characterised in that described to update institute according to the storage address information
Stating picture searching path to be found and carrying out lookup includes:
If the storage address information is the path of the picture to be found, using the path as described to be checked after renewal
Look for picture searching path and searched;
If the storage address information is the actual storing directory of the picture to be found, the actual storing directory is added
The picture to be found name, as the picture searching path to be found after renewal and is searched.
5. picture searching method according to claim 4, it is characterised in that in the address of the generation picture to be found
Ff path simultaneously also includes after being searched:
If the address file searches failure, according to the upper level catalogue of the acquiescence storing directory, the address text is generated
Part accessed path is simultaneously searched, and is terminated until searching.
6. according to any one of claim 1 to the 5 picture searching method, it is characterised in that described according to the storage
Picture searching path to be found described in the information updating of location simultaneously also includes after being searched:
If the picture searching path searching failure to be found after updating, returns to the path of acquiescence picture.
7. picture searching method according to claim 6, it is characterised in that also include:
If searching number of times exceedes preset upper limit value, the path of acquiescence picture is returned to.
8. a kind of picture searching device, it is characterised in that including:
Acquisition module:For obtaining picture name to be found and facility information;
Searching modul:For according to the picture name to be found and the facility information, generating picture searching path to be found simultaneously
Searched;If the picture searching failure to be found, the address file accessed path for generating the picture to be found is gone forward side by side
Row is searched;The address file is stored with the storage address information of the picture to be found;It is multiplexed many of same picture to be found
The identical that is stored with individual equipment address file;If the address file is searched successfully, according to the storage address information more
Simultaneously searched in the new picture searching path to be found.
9. picture searching device according to claim 8, it is characterised in that the searching modul is additionally operable to:
If the address file searches failure, update the address file accessed path and searched, terminate until searching.
10. picture searching device according to claim 9, it is characterised in that the searching modul is additionally operable to:
If searching number of times exceedes preset upper limit value, the path of acquiescence picture is returned to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710561037.5A CN107291943B (en) | 2017-07-11 | 2017-07-11 | Picture searching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710561037.5A CN107291943B (en) | 2017-07-11 | 2017-07-11 | Picture searching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107291943A true CN107291943A (en) | 2017-10-24 |
CN107291943B CN107291943B (en) | 2020-09-22 |
Family
ID=60100528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710561037.5A Active CN107291943B (en) | 2017-07-11 | 2017-07-11 | Picture searching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107291943B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309939A (en) * | 2013-04-23 | 2013-09-18 | 税友软件集团股份有限公司 | Dynamic retrieval method and device based on metadata |
CN103390059A (en) * | 2013-07-29 | 2013-11-13 | 广东欧珀移动通信有限公司 | Picture induction processing method and system |
CN103605758A (en) * | 2013-11-22 | 2014-02-26 | 中国科学院深圳先进技术研究院 | Method and device for searching files of mobile terminal |
CN104239316A (en) * | 2013-06-13 | 2014-12-24 | 深圳市腾讯计算机系统有限公司 | Method and device for finding object |
CN105279278A (en) * | 2015-11-13 | 2016-01-27 | 珠海市君天电子科技有限公司 | File searching method and device |
CN105989007A (en) * | 2015-01-27 | 2016-10-05 | 珠海金山办公软件有限公司 | File path processing method and device |
CN106909668A (en) * | 2017-02-28 | 2017-06-30 | 武汉斗鱼网络科技有限公司 | A kind of file search method and system based on network address analysis |
-
2017
- 2017-07-11 CN CN201710561037.5A patent/CN107291943B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309939A (en) * | 2013-04-23 | 2013-09-18 | 税友软件集团股份有限公司 | Dynamic retrieval method and device based on metadata |
CN104239316A (en) * | 2013-06-13 | 2014-12-24 | 深圳市腾讯计算机系统有限公司 | Method and device for finding object |
CN103390059A (en) * | 2013-07-29 | 2013-11-13 | 广东欧珀移动通信有限公司 | Picture induction processing method and system |
CN103605758A (en) * | 2013-11-22 | 2014-02-26 | 中国科学院深圳先进技术研究院 | Method and device for searching files of mobile terminal |
CN105989007A (en) * | 2015-01-27 | 2016-10-05 | 珠海金山办公软件有限公司 | File path processing method and device |
CN105279278A (en) * | 2015-11-13 | 2016-01-27 | 珠海市君天电子科技有限公司 | File searching method and device |
CN106909668A (en) * | 2017-02-28 | 2017-06-30 | 武汉斗鱼网络科技有限公司 | A kind of file search method and system based on network address analysis |
Also Published As
Publication number | Publication date |
---|---|
CN107291943B (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109145205B (en) | Cross-chain data operation method and device based on block chain | |
KR102537275B1 (en) | Obfuscation of user content in structured user data files | |
US9171182B2 (en) | Dynamic data masking | |
US9305176B2 (en) | Database generation from a spreadsheet | |
CN106982236A (en) | A kind of information processing method, device and system | |
US20170024431A1 (en) | Generating and executing query language statements from natural language | |
KR20190131032A (en) | Configurable annotations for privacy sensitive user content | |
CN104216724B (en) | A kind of method and system of web application interface upgrade | |
US20160253322A1 (en) | Method and apparatus for data storage and retrieval | |
CN107451181A (en) | Page rendering method and apparatus | |
US8176097B2 (en) | Maintaining data coherency within related multi-perspective user interfaces via session-less queries | |
CN110347674A (en) | A kind of index creation method, device and equipment based on service identification | |
CN107480537A (en) | Authority the Resources list automatic generation method and device | |
CN104320312A (en) | Network application safety test tool and fuzz test case generation method and system | |
CN106960020A (en) | A kind of method and apparatus for creating concordance list | |
CN106557300A (en) | A kind of function stack information of wild pointer determines method, device and electronic equipment | |
CN115333966B (en) | Topology-based Nginx log analysis method, system and equipment | |
CN108595313A (en) | Daily record generation method, device, electronic equipment and the storage medium of application program | |
US20210286792A1 (en) | Hashed balanced tree data structure | |
Frommhold et al. | Towards versioning of arbitrary RDF data | |
CN114900430A (en) | Container network optimization method and device, computer equipment and storage medium | |
CN107526627A (en) | A kind of virtual resource life cycle information management method and device | |
CN107070719A (en) | A kind of device management method and device | |
US10782944B2 (en) | Optimizing a cache of compiled expressions by removing variability | |
CN107291943A (en) | A kind of picture searching method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200826 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |