[go: up one dir, main page]

CN106557503A - A kind of method and system of image retrieval - Google Patents

A kind of method and system of image retrieval Download PDF

Info

Publication number
CN106557503A
CN106557503A CN201510627913.0A CN201510627913A CN106557503A CN 106557503 A CN106557503 A CN 106557503A CN 201510627913 A CN201510627913 A CN 201510627913A CN 106557503 A CN106557503 A CN 106557503A
Authority
CN
China
Prior art keywords
retrieval
image
record
checked
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510627913.0A
Other languages
Chinese (zh)
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201510627913.0A priority Critical patent/CN106557503A/en
Publication of CN106557503A publication Critical patent/CN106557503A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method and system of image retrieval.The method of the image retrieval, is applied to retrieval server, and retrieval server includes central server and historical record server, and method includes:Historical record server receives benchmark image to be checked, judges that history is retrieved in record sheet with the presence or absence of the record entry matched with benchmark image to be checked;When there is the record entry matched with benchmark image to be checked, the retrieval result recorded in obtaining record entry;When there is no the record entry matched with benchmark image to be checked, send benchmark image to be checked and image retrieval is instructed to central server, wherein image retrieval is instructed from image comparison database carries out image retrieval by preserve the history retrieval record of image based on benchmark image to be checked for control centre's server.The efficiency of picture retrieval is improve, the load of the server for preserving image comparison database is reduced.

Description

A kind of method and system of image retrieval
Technical field
The present invention relates to image processing field, more particularly to a kind of method and system of image retrieval.
Background technology
Image retrieval and querying method are mainly based upon the image retrieval technologies of text and the image based on content Retrieval technique.Text based image retrieval technologies by being manually labeled to the pictograph in video, Again with keyword entering line retrieval, this technology not only takes time and effort, and word also is difficult to reflect image In complete content.CBIR technology overcomes the time-consuming and deficiency of subjectivity, its basis The characteristic information of image is searched, similar image is found out in image library.
The CBIR mode of current main flow on the market, is in general both for image and builds Its model value is stored after mould, the overall situationization compares all of model value when initiating to scheme to search figure request, looks for Go out similarity highest 1 or N pictures, it is so time-consuming longer, and comparing every time does not have algorithm to be situated between Enter, rely on merely violence alignments, recall precision is low, the load of server is high.
The content of the invention
It is an object of the invention to provide a kind of method and system of image retrieval, which passes through to preserve going through for image History retrieval record, when picture retrieval task is received, judges that picture retrieval is appointed from history retrieval record Record of the benchmark image to be checked in business with the presence or absence of matching, if it does, directly recording from history retrieval Middle acquisition retrieval result, carries out image retrieval otherwise in image comparison database;Improve the retrieval of picture Efficiency, reduces the load of the server for preserving image comparison database.
For achieving the above object, specifically employ the following technical solutions:
On the one hand a kind of method of image retrieval is adopted, retrieval server is applied to, the retrieval server includes Central server and historical record server, methods described include:
Historical record server receives benchmark image to be checked, judge history retrieve in record sheet with the presence or absence of with The record entry of the benchmark image matching to be checked;
When there is the record entry matched with the benchmark image to be checked, remember in obtaining the record entry The retrieval result of record;
When there is no the record entry matched with the benchmark image to be checked, send the benchmark image to be checked and Image retrieval is instructed to central server, and wherein described image search instruction is used to control the center service Device carries out image retrieval from image comparison database based on the benchmark image to be checked.
On the other hand a kind of system of image retrieval is adopted, retrieval server, the retrieval server bag is applied to Central server and historical record server are included, the system includes:
Matching unit is received, benchmark image to be checked is received for historical record server, judge that history is retrieved With the presence or absence of the record entry matched with the benchmark image to be checked in record sheet;
First retrieval unit, for when there is the record entry matched with the benchmark image to be checked, obtaining The retrieval result recorded in taking the record entry;
Second retrieval unit, for when there is no the record entry matched with the benchmark image to be checked, sending The benchmark image to be checked and image retrieval are instructed to central server, and wherein described image search instruction is used Image inspection is carried out from image comparison database based on the benchmark image to be checked in the central server is controlled Rope.
The beneficial effects of the present invention is:By the history retrieval record for preserving image, when receiving picture During retrieval tasks, judge whether the benchmark image to be checked in picture retrieval task is deposited from history retrieval record In the record of matching, if it does, directly retrieval result is obtained from history retrieval record, otherwise in figure As image retrieval is carried out in comparison database;The effectiveness of retrieval of picture is improve, preservation image comparison is reduced The load of the server in storehouse.
Description of the drawings
Fig. 1 is a kind of first embodiment of the method for the image retrieval provided in the specific embodiment of the invention Method flow diagram.
Fig. 2 is a kind of second embodiment of the method for the image retrieval provided in the specific embodiment of the invention Method flow diagram.
Fig. 3 is a kind of second embodiment of the method for the image retrieval provided in the specific embodiment of the invention Application scenarios schematic diagram.
Fig. 4 is a kind of 3rd embodiment of the method for the image retrieval provided in the specific embodiment of the invention Method flow diagram.
Fig. 5 is a kind of 3rd embodiment of the method for the image retrieval provided in the specific embodiment of the invention Application scenarios schematic diagram.
Fig. 6 is a kind of first embodiment of the system of the image retrieval provided in the specific embodiment of the invention Block diagram.
Fig. 7 is a kind of second embodiment of the system of the image retrieval provided in the specific embodiment of the invention Block diagram.
Fig. 8 is a kind of 3rd embodiment of the system of the image retrieval provided in the specific embodiment of the invention Block diagram.
Specific embodiment
To make the object, technical solutions and advantages of the present invention of greater clarity, with reference to being embodied as Mode referring to the drawings, the present invention is described in more detail.It should be understood that these descriptions are example Property, and it is not intended to limit the scope of the present invention.Additionally, in the following description, eliminate to known knot The description of structure and technology, to avoid unnecessarily obscuring idea of the invention.
Fig. 1 is refer to, which is a kind of method of the image retrieval provided in the specific embodiment of the invention The method flow diagram of first embodiment.Method in the present embodiment, is mainly used in based on internet to scheme The retrieval server of figure is searched, the retrieval server includes central server and historical record server.Such as Shown in figure, the method, including:
Step S101:Historical record server receives benchmark image to be checked, in judging history retrieval record sheet With the presence or absence of the record entry matched with the benchmark image to be checked.
History is retrieved record sheet and records all retrievals for occurring for storage, when new retrieval is initiated, Benchmark image to be checked is compared with other all pictures, but carries out with the retrieval once initiated Compare, compared with other all pictures, the correlation of the history retrieving image recorded in history retrieval record sheet The quantity of information is many less, if it is possible to finds similar to search in history retrieval record sheet, directly reads The retrieval result of similar to search is taken, efficiency is greatly improved;If history can not find in retrieving record sheet again Similar to search, because the sample very little of retrieval, will not also spend the too many time.Generally speaking, with it is direct For entering line retrieval to whole pictures, it is possible to increase recall precision.
Step S102:When there is the record entry matched with the benchmark image to be checked, the note is obtained The retrieval result recorded in record entry.
Step S103:When there is no the record entry matched with the benchmark image to be checked, send described Benchmark image to be checked and image retrieval are instructed to central server, and wherein described image search instruction is used to control Making the central server carries out image retrieval from image comparison database based on the benchmark image to be checked.
It is with regard to omnibearing image retrieval is directly carried out in picture comparison database, in the prior art to have old more State, here is not described further.
In the present embodiment, history retrieval record sheet and image comparison database can be stored in different services respectively In device, can also be stored in same server.When same server is stored in, when there is user When initiating picture retrieval, directly benchmark image to be checked is sent to server, server can judge that history is retrieved With the presence or absence of the history retrieval record matched with the benchmark image to be checked for newly receiving in record sheet.If not yet Have, and complete search is carried out in the server, equivalent to all of retrieval all in same server Complete.
In sum, recorded by preserving the history retrieval of image, when picture retrieval task is received, The benchmark image to be checked judged in record in picture retrieval task is retrieved from history with the presence or absence of the note for matching Record, if it does, directly retrieval result is obtained from history retrieval record, otherwise in image comparison database Carry out image retrieval;The effectiveness of retrieval of picture is improve, the server for preserving image comparison database is reduced Load.
Fig. 2 is refer to, which is a kind of method of the image retrieval provided in the specific embodiment of the invention The method flow diagram of second embodiment, as illustrated, the method includes:
Step S201:Historical record server 20 receives benchmark image to be checked, generates the benchmark to be checked The iconic model value of image.
In the present embodiment, history retrieval record sheet is stored in special historical record server 20, is going through The coordinate indexing of historical record is carried out in Records of the Historian record server 20 only.
For historical record server 20, which needs to preserve history retrieval record, but such as Fruit will initiate the corresponding benchmark image to be checked of retrieval itself every time and preserve, time passage at any time, retrieval note Record is continuously increased, and the benchmark image to be checked of the storage of historical record server 20 can take substantial amounts of storage money Source, and for computer, its with regard to image similarity judgment mode with human eye with regard to image Similarity judgment mode is two kinds of diverse modes.Computer be by characteristic value comparing, So historical record server 20 can generate the image of benchmark image to be checked after benchmark image to be checked is received Model value is to extract characteristic value, so historical record server 20 directly preserves iconic model value, it is convenient to compare It is right, it is also convenient for storage.
Step S202:In judging history retrieval record sheet, if exist the iconic model value of record with Record entry of the similarity of the iconic model value of the benchmark image to be checked more than or equal to predetermined threshold value.
It is just the same with the benchmark image to be checked benchmark image to be checked that is not intended to sue for peace, but have certain Similarity, such as more than 90% similarity, you can be considered as the history retrieval record of matching.
Step S203:When there is the record entry matched with the benchmark image to be checked, the note is obtained The retrieval result recorded in record entry.
Step S204:When the iconic model value that there is no record and the iconic model of the benchmark image to be checked When the similarity of value reaches the record entry of threshold value, the benchmark image to be checked and image retrieval instruction are sent To central server, wherein described image search instruction is treated based on described for controlling the central server Inspection benchmark image carries out image retrieval from image comparison database.
All pictures for being compared with benchmark image to be checked are stored in central server 30 in addition, When the history retrieval record for not finding to match in historical record server 20, historical record server 20 send image retrieval request to central server 30, retrieve in the image of the storage of central server 30 The image similar to benchmark image to be checked.
Step S205:Receive the retrieval result based on described image search instruction.
Be primarily referred to as historical record server central server is received according to the generation of described image search instruction Retrieval result.
Step S206:The newly-built record entry in history retrieval record sheet, by the retrieval result pair Newly-built record entry should be added to.
After image retrieval new each time is initiated, the iconic model value of the benchmark image to be checked of this retrieval Preserve with corresponding retrieval result, when the retrieval of similar image is encountered next time, directly derive current preservation Record result.
Step S207:The central server cycle retrieves record sheet to the history in described image comparison database The iconic model value of middle record carries out image retrieval and updates corresponding retrieval result.
In image comparison database, the image of storage can be constantly updated, that is, retrieve the retrieval for obtaining before As a result the correct result not necessarily retrieved again, in order to ensure history retrieval record sheet in record in Hold correctly, the result in history retrieval record sheet in historical record server 20, can be constantly updated, that is, Image retrieval is voluntarily initiated with regard to existing iconic model value in history retrieval record sheet constantly, by new image The result of retrieval replaces the result of original image retrieval, updates record entry.
Fig. 3 is refer to, which is a kind of method of the image retrieval provided in the specific embodiment of the invention The schematic diagram of the application scenarios of second embodiment.In the present embodiment, complete retrieving can be with It is considered as and is made up of transmission terminal 10, historical record server 20 and central server 30.Image retrieval by Send terminal 10 initiate, send 10 input picture A of terminal, historical record server 20 receive with regard to After the retrieval request of image A, can retrieve in the history retrieval record sheet that itself preserves first and whether there is The history retrieval record matched with image A, if it does, recording in directly reading corresponding record entry Retrieval result;Otherwise inconocenter server 30 forwards the retrieval request with regard to image A;Historical record Server 20 can preserve retrieval result of the central server 30 with regard to image A.And can constantly update The retrieval result of the retrieval object of preservation.Retrieval result is returned to transmission terminal 10 is retrieving Basic steps, here are not described further.
In sum, recorded by preserving the history retrieval of image, when picture retrieval task is received, The benchmark image to be checked judged in record in picture retrieval task is retrieved from history with the presence or absence of the note for matching Record, if it does, directly retrieval result is obtained from history retrieval record, otherwise in image comparison database Carry out image retrieval;The effectiveness of retrieval of picture is improve, the server for preserving image comparison database is reduced Load.Meanwhile, by historical record server 20 and central server 30 are respectively provided with, will not With the data storage of purposes in different servers, the efficiency of data processing is improve.
Fig. 4 is refer to, which is a kind of method of the image retrieval provided in the specific embodiment of the invention The method flow diagram of 3rd embodiment, the present embodiment are realized based on the application scenarios shown in Fig. 5.Such as Fig. 4 Shown, the method includes:
Step S301:Apart from the nearest history note of the IP address of the transmission terminal of the benchmark image to be checked Record server receives benchmark image to be checked, generates the iconic model value of the benchmark image to be checked.
The historical record server 20 includes at least 2, such as the first historical record shown in Fig. 5 Server 21 and the second historical record server 22, can also further include the 3rd historical record service Device 23.Multiple stage historical record server 20 is set and can further improve retrieval rate, especially for big The user of scope distribution, can realize identical or relatively transmission delay, improve recall precision.
Terminal 10 is sent when image retrieval is initiated, the interface meeting judging distance for initiating image retrieval sends eventually The nearest historical record server 20 of IP address at end 10, by closest historical record server 20 correlated results that image retrieval is provided.
Step S302:In judging history retrieval record sheet, if exist the iconic model value of record with Record entry of the similarity of the iconic model value of the benchmark image to be checked more than or equal to predetermined threshold value.
Step S303:When there is the record entry matched with the benchmark image to be checked, the note is obtained The retrieval result recorded in record entry.
Step S304:When there is no the record entry matched with the benchmark image to be checked, send described Benchmark image to be checked and image retrieval are instructed to central server, and wherein described image search instruction is used to control Making the central server carries out image retrieval from image comparison database based on the benchmark image to be checked.
Step S305:Receive the retrieval result based on described image search instruction.
Step S306:In the first history retrieval record sheet that the first historical record server is preserved Newly-built first record entry;And the second history retrieval note preserved in the second historical record server Newly-built second record entry in record table.
Step S307:Retrieval result correspondence is added to into the first record entry and second note Record entry.
In order to ensure to preserve in every historical record server 20 history retrieval record sheet it is newest and synchronous, After new retrieval occurs every time, all can carry out more to retrieving record in all of historical record server 20 Newly, add new record entry.
The content recorded in the record entry includes:The iconic model value of the benchmark image to be checked, extremely The address of a few retrieval result image, the iconic model value of each retrieval result image are treated with described The similarity of the iconic model value of inspection benchmark image.
Due to the information data very little such as iconic model value, similarity, picture address, it is possible at 1 More than one hundred million such information are stored on machine.
For each new retrieval, at least need to obtain a similarity highest picture, if Multiple similarities are all higher, reach the picture of a certain threshold value, then can obtain multiple pictures as retrieval As a result.For historical record server 20, it is not directly to preserve the picture that retrieval is obtained, but protects The corresponding address of picture is deposited, relative to picture file is directly preserved, storage resource can be saved in a large number, be subtracted It is few to repeat to store, send terminal 10 and directly pass through address acquisition picture.When stored, while preserving retrieval As a result the similarity for obtaining is compared in per pictures.When retrieval result is returned, directly similarity is returned most High some pictures.
Step S308:Central server periodically retrieves record sheet to the history in described image comparison database The iconic model value of middle record carries out image retrieval and updates corresponding retrieval result.
When the renewal of history retrieval record sheet is carried out, can be each single with every historical record server 20 Solely update.But it is because that every historical record server 20 is retrieved the iconic model value in record sheet by history Again retrieve one time and can expend substantial amounts of computing resource, and it is time-consuming longer.A certain historical record can be adopted After server 20 updates, synchronously shared mode realizes whole updating.
Step S309:30 cycle of the central server is sent to the historical record server 20 to be used for The comparison photographic model of image retrieval and alignment similarity.
Central server 30 includes server cluster, realizes the storage and process of big data.Because image Updating for strategy is processed, image procossing scheme is used in image retrieval procedure and is also continually changing, center 30 cycle of server distributes the comparison diagram that can be used in image retrieval procedure to historical record server 20 Piece model and contrast similarity;Continue to optimize the efficiency and precision of image retrieval.
In sum, recorded by preserving the history retrieval of image, when picture retrieval task is received, The benchmark image to be checked judged in record in picture retrieval task is retrieved from history with the presence or absence of the note for matching Record, if it does, directly retrieval result is obtained from history retrieval record, otherwise in image comparison database Carry out image retrieval;The efficiency of picture retrieval is improve, the server of preservation image comparison database is reduced Load.By multiple stage historical record server 20 and the central server 30 of clustering, retrieval is improve As a result feedback speed, increases the storage capacity of image comparison database.
A kind of embodiment of the system of the image retrieval provided in the following is the specific embodiment of the invention, figure Embodiment of the embodiment of the system of picture retrieval based on the method for above-mentioned image retrieval is realized, in several images Not most elaboration in the embodiment of the system of retrieval, refer to the embodiment of the method for above-mentioned image retrieval.
Fig. 6 is refer to, which is a kind of system of the image retrieval provided in the specific embodiment of the invention The block diagram of first embodiment, as illustrated, the system is applied to retrieval server, the retrieval Server includes central server and historical record server, and the system includes:
Matching unit 410 is received, and benchmark image to be checked is received for historical record server, is judged history With the presence or absence of the record entry matched with the benchmark image to be checked in retrieval record sheet;
First retrieval unit 420, for when exist match with the benchmark image to be checked record entry when, The retrieval result recorded in obtaining the record entry;
Second retrieval unit 430, for not there is the record entry matched with the benchmark image to be checked When, send the benchmark image to be checked and image retrieval is instructed to central server, wherein described image inspection Suo Zhiling is carried out based on the benchmark image to be checked from image comparison database for controlling the central server Image retrieval.
In sum, the collaborative work of above-mentioned each unit, is recorded by preserving the history retrieval of image, when When receiving picture retrieval task, the benchmark to be checked judged in record in picture retrieval task is retrieved from history Record of the image with the presence or absence of matching, if it does, directly retrieval result is obtained from history retrieval record, Image retrieval is carried out otherwise in image comparison database;The effectiveness of retrieval of picture is improve, preservation is reduced The load of the server of image comparison database.
Fig. 7 is refer to, which is a kind of system of the image retrieval provided in the specific embodiment of the invention The block diagram of second embodiment, as illustrated, the system, including:
Matching unit 410 is received, and benchmark image to be checked is received for historical record server, is judged history With the presence or absence of the record entry matched with the benchmark image to be checked in retrieval record sheet;
First retrieval unit 420, for when exist match with the benchmark image to be checked record entry when, The retrieval result recorded in obtaining the record entry;
Second retrieval unit 430, for not there is the record entry matched with the benchmark image to be checked When, send the benchmark image to be checked and image retrieval is instructed to central server, wherein described image inspection Suo Zhiling is carried out based on the benchmark image to be checked from image comparison database for controlling the central server Image retrieval.
Wherein, also include:
Retrieval result receiving unit 440, for receiving the retrieval result based on described image search instruction;
Record entry adding device 450, for retrieving the newly-built record entry of record sheet in the history, will The iconic model value of the benchmark image to be checked is corresponding with the retrieval result that described image is retrieved be added to it is newly-built Record entry.
Wherein, also include:
Retrieval record updating block 460, for the central server cycle in described image comparison database to institute The iconic model value recorded in stating history retrieval record sheet carries out image retrieval and updates corresponding retrieval knot Really.
Wherein, the reception matching unit 410 is applied to historical record server 20, including:
Analysis module 411 is received, for receiving benchmark image to be checked, the benchmark image to be checked is generated Iconic model value;
Judge matching module 412, for judging in the history retrieval record sheet, if there is record Iconic model value is more than or equal to predetermined threshold value with the similarity of the iconic model value of the benchmark image to be checked Record entry.
In sum, the cooperative cooperating of above-mentioned functions module, by the history retrieval record for preserving image, When picture retrieval task is received, the base to be checked judged in record in picture retrieval task is retrieved from history Record of the quasi- image with the presence or absence of matching, if it does, directly obtaining retrieval knot from history retrieval record Really, image retrieval is carried out otherwise in image comparison database;The effectiveness of retrieval of picture is improve, is reduced Preserve the load of the server of image comparison database.Meanwhile, by historical record server 20 is genuinely convinced with Business device 30 is respectively provided with, and by the data storage of different purposes in different servers, improves at data The efficiency of reason.
Fig. 8 is refer to, which is a kind of system of the image retrieval provided in the specific embodiment of the invention The block diagram of 3rd embodiment, as illustrated, the system, including:
Matching unit 410 is received, and benchmark image to be checked is received for historical record server, is judged history With the presence or absence of the record entry matched with the benchmark image to be checked in retrieval record sheet;
History retrieval record sheet is stored in historical record server 20, and historical record server 20 includes At least 2.
First retrieval unit 420, for when exist match with the benchmark image to be checked record entry when, The retrieval result recorded in obtaining the record entry;
The content recorded in record entry includes:The iconic model value of the benchmark image to be checked, at least one The address of individual retrieval result image, the iconic model value of each retrieval result image and the base to be checked The similarity of the iconic model value of quasi- image.
Second retrieval unit 430, for not there is the record entry matched with the benchmark image to be checked When, send the benchmark image to be checked and image retrieval is instructed to central server, wherein described image inspection Suo Zhiling is carried out based on the benchmark image to be checked from image comparison database for controlling the central server Image retrieval.
The system, also includes:
Retrieval result receiving unit 440, for receiving the retrieval result based on described image search instruction;
Record entry adding device 450, for retrieving the newly-built record entry of record sheet in the history, will The iconic model value of the benchmark image to be checked is corresponding with the retrieval result that described image is retrieved be added to it is newly-built Record entry.
Wherein, also include:
Retrieval record updating block 460, for the central server cycle in described image comparison database to institute The iconic model value recorded in stating history retrieval record sheet carries out image retrieval and updates corresponding retrieval knot Really.
Wherein, the reception matching unit 410 is applied to the transmission terminal apart from the benchmark image to be checked 10 nearest historical record servers 20, which includes:
Analysis module 411 is received, for receiving benchmark image to be checked, the benchmark image to be checked is generated Iconic model value;
Judge matching module 412, for judging in the history retrieval record sheet, if there is record Iconic model value is more than or equal to predetermined threshold value with the similarity of the iconic model value of the benchmark image to be checked Record entry.
The system also includes:
Newly-built unit 470, for the first history retrieval preserved in the first historical record server Newly-built first record entry in record sheet;
And newly-built second in the second history retrieval record sheet that the second historical record server is preserved Record entry;
Memory cell 480, for retrieval result correspondence is added to the first record entry and institute State the second record entry.
In sum, the cooperative cooperating of above-mentioned functions module, by the history retrieval record for preserving image, When picture retrieval task is received, the base to be checked judged in record in picture retrieval task is retrieved from history Record of the quasi- image with the presence or absence of matching, if it does, directly obtaining retrieval knot from history retrieval record Really, image retrieval is carried out otherwise in image comparison database;The effectiveness of retrieval of picture is improve, is reduced Preserve the load of the server of image comparison database.By in multiple stage historical record server 20 and clustering Central server 30, improves the feedback speed of retrieval result, increases the storage capacity of image comparison database.
It should be appreciated that the above-mentioned specific embodiment of the present invention is used only for exemplary illustration or explanation The principle of the present invention, and be not construed as limiting the invention.Therefore, without departing from the present invention spirit and Any modification, equivalent substitution and improvements done in the case of scope etc., should be included in the guarantor of the present invention Within the scope of shield.Additionally, claims of the present invention be intended to fall into scope and Whole in the equivalents on border or this scope and border changes and modifications example.
Although embodiments of the present invention are described in detail, it should be understood that, without departing from In the case of the spirit and scope of the present invention, embodiments of the present invention can be made with various changes, replaced Change and change.

Claims (14)

1. a kind of method of image retrieval, it is characterised in that be applied to retrieval server, the retrieval Server includes central server and historical record server, and methods described includes:
Historical record server receives benchmark image to be checked, whether there is in judging history retrieval record sheet The record entry matched with the benchmark image to be checked;
When there is the record entry matched with the benchmark image to be checked, obtain in the record entry The retrieval result of record;
When there is no the record entry matched with the benchmark image to be checked, the benchmark to be checked is sent Image and image retrieval are instructed to central server, and wherein described image search instruction is described for controlling Central server carries out image retrieval from image comparison database based on the benchmark image to be checked.
2. method according to claim 1, it is characterised in that it is described ought not exist treat with described During the record entry of inspection benchmark image matching, the benchmark image to be checked and image retrieval instruction are being sent To central server, methods described also includes:
Receive the retrieval result based on described image search instruction;
The newly-built record entry in history retrieval record sheet, retrieval result correspondence is added to Newly-built record entry.
3. method according to claim 2, it is characterised in that also include:
Central server is periodically to recording in history retrieval record sheet in described image comparison database Iconic model value carry out image retrieval and update corresponding retrieval result.
4. method according to claim 1, it is characterised in that the historical record server connects Receive benchmark image to be checked, judge history retrieval record sheet in the presence or absence of with the benchmark image to be checked The record entry matched somebody with somebody, including:
Historical record server receives benchmark image to be checked, generates the image mould of the benchmark image to be checked Offset;
In judging the history retrieval record sheet, if the iconic model value that there is record is to be checked with described Record entry of the similarity of the iconic model value of benchmark image more than or equal to predetermined threshold value.
5. method according to claim 2, it is characterised in that the historical record server bag Include the first historical record server and the second historical record server;
It is described when there is no the record entry matched with the benchmark image to be checked, send described in treating Inspection benchmark image and image retrieval are instructed to central server, and methods described also includes:
Newly-built the in the first history that the first historical record server is preserved retrieval record sheet One record entry;
And it is newly-built in the second history retrieval record sheet that the second historical record server is preserved Second record entry;
Retrieval result correspondence is added to into the first record entry and the second record entry.
6. method according to claim 5, it is characterised in that the historical record server connects Benchmark image to be checked is received, the iconic model value of the benchmark image to be checked is generated, including:
Apart from the nearest historical record server of the IP address of the transmission terminal of the benchmark image to be checked Benchmark image to be checked is received, the iconic model value of the benchmark image to be checked is generated.
7. method according to claim 1, it is characterised in that record in the record entry Content includes:The ground of the iconic model value of the benchmark image to be checked, at least one retrieval result image Location, the iconic model of the iconic model value of each retrieval result image and the benchmark image to be checked The similarity of value.
8. a kind of system of image retrieval, it is characterised in that be applied to retrieval server, the retrieval service Device includes central server and historical record server, and the system includes:
Matching unit is received, benchmark image to be checked is received for historical record server, judge that history is examined With the presence or absence of the record entry matched with the benchmark image to be checked in rope record sheet;
First retrieval unit, for when exist match with the benchmark image to be checked record entry when, The retrieval result recorded in obtaining the record entry;
Second retrieval unit, for not there is the record entry matched with the benchmark image to be checked When, send the benchmark image to be checked and image retrieval is instructed to central server, wherein described image Search instruction is used to control the central server based on the benchmark image to be checked from image comparison database In carry out image retrieval.
9. system according to claim 8, it is characterised in that also include:
Retrieval result receiving unit, for receiving the retrieval result based on described image search instruction;
Record entry adding device, for the newly-built record entry in history retrieval record sheet, will The retrieval result correspondence is added to newly-built record entry.
10. system according to claim 9, it is characterised in that also include:
Retrieval record updating block, for the central server cycle in described image comparison database to described The iconic model value recorded in history retrieval record sheet carries out image retrieval and updates corresponding retrieval knot Really.
11. systems according to claim 8, it is characterised in that the reception matching unit application In historical record server, including:
Analysis module is received, for receiving benchmark image to be checked, the figure of the benchmark image to be checked is generated As model value;
Judge matching module, for judging in the history retrieval record sheet, if there is the figure of record As similarity of the model value with the iconic model value of the benchmark image to be checked is more than or equal to predetermined threshold value Record entry.
12. systems according to claim 9, it is characterised in that the historical record server bag Include the first historical record server and the second historical record server;
The system also includes:
Newly-built unit, for the first history retrieval note preserved in the first historical record server Newly-built first record entry in record table;
And it is newly-built in the second history retrieval record sheet that the second historical record server is preserved Second record entry;
Memory cell, for retrieval result correspondence is added to the first record entry and described Second record entry.
13. systems according to claim 12, it is characterised in that the reception matching unit should For the nearest historical record server of the IP address of the transmission terminal apart from the benchmark image to be checked.
14. systems according to claim 8, it is characterised in that record in the record entry Content includes:The ground of the iconic model value of the benchmark image to be checked, at least one retrieval result image Location, the iconic model of the iconic model value of each retrieval result image and the benchmark image to be checked The similarity of value.
CN201510627913.0A 2015-09-28 2015-09-28 A kind of method and system of image retrieval Pending CN106557503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510627913.0A CN106557503A (en) 2015-09-28 2015-09-28 A kind of method and system of image retrieval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510627913.0A CN106557503A (en) 2015-09-28 2015-09-28 A kind of method and system of image retrieval

Publications (1)

Publication Number Publication Date
CN106557503A true CN106557503A (en) 2017-04-05

Family

ID=58416607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510627913.0A Pending CN106557503A (en) 2015-09-28 2015-09-28 A kind of method and system of image retrieval

Country Status (1)

Country Link
CN (1) CN106557503A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622090A (en) * 2017-08-22 2018-01-23 上海艾融软件股份有限公司 Acquisition methods, the apparatus and system of object
CN110209852A (en) * 2019-06-12 2019-09-06 北京我的天科技有限公司 Brand recognition method and apparatus based on AR technology
CN110246023A (en) * 2018-03-09 2019-09-17 上海秦苍信息科技有限公司 User information appraisal procedure, system and equipment based on internet finance
CN111177450A (en) * 2019-12-31 2020-05-19 视辰信息科技(上海)有限公司 Image retrieval cloud identification method and system and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604334A (en) * 2008-11-18 2009-12-16 北京美智医疗科技有限公司 A kind of medical image database search method and searching system based on caching technology
CN102012934A (en) * 2010-11-30 2011-04-13 百度在线网络技术(北京)有限公司 Method and system for searching picture
CN102117309A (en) * 2010-01-06 2011-07-06 卓望数码技术(深圳)有限公司 Data caching system and data query method
US8280881B1 (en) * 2009-10-29 2012-10-02 Google Inc. Similar search queries and images
CN103678357A (en) * 2012-09-13 2014-03-26 腾讯科技(深圳)有限公司 Method and device for obtaining picture thumbnail through mobile terminal
CN104424257A (en) * 2013-08-28 2015-03-18 北大方正集团有限公司 Information indexing unit and information indexing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604334A (en) * 2008-11-18 2009-12-16 北京美智医疗科技有限公司 A kind of medical image database search method and searching system based on caching technology
US8280881B1 (en) * 2009-10-29 2012-10-02 Google Inc. Similar search queries and images
CN102117309A (en) * 2010-01-06 2011-07-06 卓望数码技术(深圳)有限公司 Data caching system and data query method
CN102012934A (en) * 2010-11-30 2011-04-13 百度在线网络技术(北京)有限公司 Method and system for searching picture
CN103678357A (en) * 2012-09-13 2014-03-26 腾讯科技(深圳)有限公司 Method and device for obtaining picture thumbnail through mobile terminal
CN104424257A (en) * 2013-08-28 2015-03-18 北大方正集团有限公司 Information indexing unit and information indexing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐雅斌等: "《计算机网络》", 31 December 2011, 西安交通大学出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622090A (en) * 2017-08-22 2018-01-23 上海艾融软件股份有限公司 Acquisition methods, the apparatus and system of object
CN107622090B (en) * 2017-08-22 2020-10-16 上海艾融软件股份有限公司 Object acquisition method, device and system
CN110246023A (en) * 2018-03-09 2019-09-17 上海秦苍信息科技有限公司 User information appraisal procedure, system and equipment based on internet finance
CN110209852A (en) * 2019-06-12 2019-09-06 北京我的天科技有限公司 Brand recognition method and apparatus based on AR technology
CN111177450A (en) * 2019-12-31 2020-05-19 视辰信息科技(上海)有限公司 Image retrieval cloud identification method and system and computer readable storage medium
CN111177450B (en) * 2019-12-31 2021-03-23 视辰信息科技(上海)有限公司 Image retrieval cloud identification method and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
AU2016382908B2 (en) Short link processing method, device and server
US20230185857A1 (en) Method and system for providing context based query suggestions
CN108961052B (en) Verification method, storage method, device, equipment and medium of block chain data
CN104679778B (en) A kind of generation method and device of search result
US7797298B2 (en) Serving cached query results based on a query portion
US8832105B2 (en) System for incrementally clustering news stories
CN105550222B (en) A kind of images serve system and method based on distributed storage
CN103548003B (en) Method and system for improving the client-side fingerprint cache of deduplication system backup performance
US20190373082A1 (en) Content delivery acceleration system
WO2017143930A1 (en) Method of sorting search results, and device for same
WO2015016821A1 (en) Determining topic relevance of an email thread
US11100073B2 (en) Method and system for data assignment in a distributed system
KR20120018226A (en) Media Identification System with Fingerprint Database Balanced by Search Loads
CN108322521A (en) Message content method for pushing, device, system, computer equipment and storage medium
US10984059B2 (en) Data retrieval method and system
CN106557503A (en) A kind of method and system of image retrieval
CN102104617A (en) Method for storing massive picture data by website operating system
CN104008199B (en) A kind of data query method
CN107153643A (en) Tables of data connection method and device
US10394838B2 (en) App store searching
US10810269B2 (en) Method and system for second-degree friend query
US20160253391A1 (en) Data communication in a distributed data grid
CN106469166B (en) A kind of information processing method and device
CN103891244B (en) A kind of method and device carrying out data storage and search
CN117828067A (en) Method, device and system for retrieving encrypted document

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405