CN108629049A - A kind of image real-time storage and lookup device and method based on hash algorithm - Google Patents

A kind of image real-time storage and lookup device and method based on hash algorithm Download PDF

Info

Publication number
CN108629049A
CN108629049A CN201810458925.9A CN201810458925A CN108629049A CN 108629049 A CN108629049 A CN 108629049A CN 201810458925 A CN201810458925 A CN 201810458925A CN 108629049 A CN108629049 A CN 108629049A
Authority
CN
China
Prior art keywords
image
unit
parameter
storage
judging
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.)
Withdrawn
Application number
CN201810458925.9A
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.)
Mdt Infotech Ltd On Wuhu Ridge
Original Assignee
Mdt Infotech Ltd On Wuhu Ridge
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 Mdt Infotech Ltd On Wuhu Ridge filed Critical Mdt Infotech Ltd On Wuhu Ridge
Priority to CN201810458925.9A priority Critical patent/CN108629049A/en
Publication of CN108629049A publication Critical patent/CN108629049A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention relates to a kind of image real-time storage and lookup device and method based on hash algorithm, described device specifically includes image acquisition unit, Parameter analysis of electrochemical unit, cryptographic Hash generation unit, storage unit, judging unit, display unit, feedback unit, searching unit, the real-time storage to shooting image is realized the present invention is based on hash algorithm, it ensure that the safety that image preserves, in search procedure can fast and effeciently lock onto target image, improve search efficiency and user experience;In addition, the present invention based on judging unit and feedback unit by judging current display image and stores the consistency of image, it is ensured that accurately stored to image, avoid storage error image.

Description

A kind of image real-time storage and lookup device and method based on hash algorithm
Technical field
The invention belongs to image field of storage more particularly to a kind of image real-time storages and lookup dress based on hash algorithm It sets and method.
Background technology
With the development of the times, the mobile terminals such as mobile phone, tablet are widely used in during daily life, and people are based on each The picture that kind mobile terminal is shot in daily life is more, concomitantly, when the mass picture that people are stored in mobile terminal In when wanting to obtain a certain particular picture because picture storage is mixed and disorderly, quantity is various, it is difficult to timely find target image, leads It causes to expend user time, can not timely and effectively get the target image oneself wanted to look up.
Several picture store methods based on Image Classfication Technology exist in the prior art, by the figure in memory space Piece is classified, and facilitates the search procedure of user, however active operation of the above method mostly based on user realizes do not have in user In advance be actively based on tool or manually to picture classification when, what user still can not be accurately and timely gets target image.
Invention content
In view of the above defects of the prior art, the present invention proposes a kind of image based on hash algorithm and deposits in real time Storage and search device and method, it is intended to which solution can not get target image this technical problem in time.
Image real-time storage proposed by the present invention based on hash algorithm and search device specifically include image acquisition unit, Parameter analysis of electrochemical unit, cryptographic Hash generation unit, storage unit, judging unit, display unit, feedback unit, searching unit, specifically Ground, described image acquiring unit store described first image to the storage unit for positioning and shooting the first image, The specific storage address of described first image is sent to the cryptographic Hash generation unit, the display unit by the storage unit The image that display described image acquiring unit is positioned and shot;
The Parameter analysis of electrochemical unit is used to obtain and parse the multiple parameters of described first image, and the multiple parameter includes Shooting time, camera site, screening-mode, image pixel number, image acuity, picture size, image texture parameter, image face Color parameter;
The multiple parameter is sent to the cryptographic Hash generation unit by the Parameter analysis of electrochemical unit, and the cryptographic Hash generates Unit is based on the multiple parameter and generates unique hash index value, and the cryptographic Hash generation unit preserves described first image The mapping relations of the specific storage address of the hash index value and described first image;
The judging unit is based on the hash index value and obtains the corresponding specific storage address, and is based on the tool Body storage address obtains the described first image in the storage unit, and the judging unit obtains the display unit institute simultaneously The present image of display;
The judging unit is for judging whether described first image and the present image are same image, if judging knot Fruit is yes, completes image storage, if judging result is no, the feedback unit sends a wrong parameter to the Parameter analysis of electrochemical list Member, the Parameter analysis of electrochemical unit is for reacquiring and parsing multiple corrected parameters of described first image and be sent to the Kazakhstan Uncommon value generation unit, the multiple corrected parameter and the specific storage location of the cryptographic Hash generation unit based on acquisition are simultaneously It generates and corrects mapping relations, the judging unit re-executes deterministic process based on the amendment mapping relations, until judging knot Fruit is yes;
The searching unit is used for based on multiple input parameter and according to the mapping relations in the cryptographic Hash generation unit Target image is searched in the memory unit, and lookup result is shown by display unit.
The present invention also proposes that a kind of image real-time storage and lookup method based on hash algorithm, this method are based on above-mentioned base Image real-time storage in hash algorithm and lookup device specific implementation, include the following steps:
S01:Described image acquiring unit positions and shoots the first image, and described first image is stored to the storage Unit, the specific storage address of described first image is sent to the cryptographic Hash generation unit by the storage unit, described aobvious Show the image that unit shows that described image acquiring unit is positioned and shot;
S02:The Parameter analysis of electrochemical unit is used to obtain and parse the multiple parameters of described first image, the multiple parameter Including shooting time, camera site, screening-mode, image pixel number, image acuity, picture size, image texture parameter, figure As color parameter;
S03:The multiple parameter is sent to the cryptographic Hash generation unit, the cryptographic Hash by the Parameter analysis of electrochemical unit Generation unit is based on the multiple parameter and generates unique hash index value, and the cryptographic Hash generation unit preserves first figure The mapping relations of the hash index value of picture and the specific storage address of described first image;
S04:The judging unit is based on the hash index value and obtains the corresponding specific storage address, and is based on institute It states specific storage address and obtains described first image in the storage unit, it is single that the judging unit obtains the display simultaneously Present image shown by member;
The judging unit judges whether described first image and the present image are same image, if judging result is It is to complete image storage, if judging result is no, feedback unit one wrong parameter of transmission to the Parameter analysis of electrochemical unit, The Parameter analysis of electrochemical unit is for reacquiring and parsing multiple corrected parameters of described first image and be sent to the Hash It is worth generation unit, the multiple corrected parameter and the specific storage location of the cryptographic Hash generation unit based on acquisition and life At mapping relations are corrected, the judging unit re-executes deterministic process based on the amendment mapping relations, until judging result It is yes;
S05:The searching unit is based on multiple input parameter and according to the mapping relations in the cryptographic Hash generation unit Target image is searched in the memory unit, and lookup result is shown by display unit.
Further, in the present invention, the multiple input parameter is multiple characteristic parameters or logical that user is actively entered It crosses and characteristic parameter extraction acquisition is carried out to the thumbnail of searching of input.
Further, in the present invention, described image acquiring unit is realized based on CCD camera.
Further, in the present invention, the cryptographic Hash generation unit is based on MD5 algorithms and generates the hash index value.
The present invention is based on the image real-time storage of the hash algorithm of proposition and device and method is searched, it is real based on hash algorithm The real-time storage to shooting image is showed, ensure that the safety that image preserves, can fast and effeciently be locked in search procedure Set the goal image, improves search efficiency and user experience;In addition, the present invention is sentenced by being based on judging unit and feedback unit Disconnected current display image and the consistency for storing image, it is ensured that accurately image is stored, avoids storage error image.
Description of the drawings
Fig. 1 is the image real-time storage and lookup device architecture figure based on hash algorithm of the present invention
Specific implementation mode
Below in conjunction with the accompanying drawings, it elaborates to embodiment.
The image real-time storage and lookup device based on hash algorithm of the present invention as shown in Figure 1 comprising image obtains Take unit 11, Parameter analysis of electrochemical unit 12, cryptographic Hash generation unit 13, storage unit 16, judging unit 14, display unit 17, anti- Unit 15, searching unit 18 are presented, specifically, described image acquiring unit 11 is used to position and shoot the first image, and will be described First image is stored to the storage unit 16, and the specific storage address of described first image is sent to by the storage unit 16 The cryptographic Hash generation unit 13, the display unit 17 show the image that described image acquiring unit 11 is positioned and shot;
The Parameter analysis of electrochemical unit 12 is used to obtain and parse the multiple parameters of described first image, the multiple parameter packet Include shooting time, camera site, screening-mode, image pixel number, image acuity, picture size, image texture parameter, image Color parameter;
The multiple parameter is sent to the cryptographic Hash generation unit 13, the cryptographic Hash by the Parameter analysis of electrochemical unit 12 Generation unit 13 is based on the multiple parameter and generates unique hash index value, and the cryptographic Hash generation unit 13 preserves described the The mapping relations of the hash index value of one image and the specific storage address of described first image;
The judging unit 14 is based on the hash index value and obtains the corresponding specific storage address, and based on described Specific storage address obtains the described first image in the storage unit 16, and the judging unit 14 obtains the display simultaneously Present image shown by unit 17;
The judging unit 14 is for judging whether described first image and the present image are same image, if judging As a result it is yes, completes image storage, if judging result is no, the feedback unit 15 sends a wrong parameter to the parametric solution Unit 12 is analysed, the Parameter analysis of electrochemical unit 12 is for reacquiring and parsing multiple corrected parameters of described first image and send To the cryptographic Hash generation unit 13, the multiple corrected parameter and the tool of the cryptographic Hash generation unit 13 based on acquisition Body storage location simultaneously generates amendment mapping relations, and the judging unit 14 is re-executed based on the amendment mapping relations to be judged Journey, until judging result is yes;
The searching unit 18 is used for based on multiple input parameter and according to the mapping in the cryptographic Hash generation unit 13 Relationship searches target image in storage unit 16, and shows lookup result by display unit 17.
The present invention also proposes that a kind of image real-time storage and lookup method based on hash algorithm, this method are based on above-mentioned base Image real-time storage in hash algorithm and lookup device specific implementation, include the following steps:
S01:Described image acquiring unit 11 positions and shoots the first image, and described first image is stored to described and is deposited The specific storage address of described first image is sent to the cryptographic Hash generation unit by storage unit 16, the storage unit 16 13;
S02:The Parameter analysis of electrochemical unit 12 is used to obtain and parse the multiple parameters of described first image, the multiple ginseng Number include shooting time, camera site, screening-mode, image pixel number, image acuity, picture size, image texture parameter, Color of image parameter;
S03:The multiple parameter is sent to the cryptographic Hash generation unit 13, the Kazakhstan by the Parameter analysis of electrochemical unit 12 Uncommon value generation unit 13 is based on the multiple parameter and generates unique hash index value, and the cryptographic Hash generation unit 13 preserves institute State the mapping relations of the hash index value of the first image and the specific storage address of described first image;
S04:The judging unit 14 is based on the hash index value and obtains the corresponding specific storage address, and is based on The specific storage address obtains the described first image in the storage unit 16, and the judging unit 14 is simultaneously described in acquisition Present image shown by display unit 17;
The judging unit 14 judges whether described first image and the present image are same image, if judging result It is yes, completes image storage, if judging result is no, the feedback unit 15 sends a wrong parameter to the Parameter analysis of electrochemical list Member 12, the Parameter analysis of electrochemical unit 12 is for reacquiring and parsing multiple corrected parameters of described first image and be sent to institute It states cryptographic Hash generation unit 13, the multiple corrected parameter of the cryptographic Hash generation unit 13 based on acquisition and described specifically deposits Amendment mapping relations are set and generated to storage space, and the judging unit 14 re-executes deterministic process based on the amendment mapping relations, Until judging result is yes;
S05:The searching unit 18 is based on multiple input parameter and according to the mapping in the cryptographic Hash generation unit 13 Relationship searches target image in storage unit 16, and shows lookup result by display unit 17.
Further, in the specific embodiment of the invention, above-mentioned multiple input parameter is multiple spies that user is actively entered It levies parameter or characteristic parameter extraction acquisition is carried out by the thumbnail of searching to input.
Further, in the specific embodiment of the invention, image acquisition unit 11 is realized based on CCD camera.
Further, in the specific embodiment of the invention, cryptographic Hash generation unit 13 generates its Hash rope based on MD5 algorithms Draw value.
It will be understood by those skilled in the art that each unit in device embodiment can be combined into a unit, and In addition multiple subelements can be divided into.In addition to such feature and/or at least some of process or unit are mutual Mutually repel place, may be used any combinations to all features disclosed in this specification and so disclosed any method or All processes or unit of person's equipment are combined.Unless expressly stated otherwise, each feature disclosed in this specification can be with It is replaced by providing the alternative features of identical, equivalent or similar purpose.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) come realize some or all components according to the ... of the embodiment of the present invention some Or repertoire.The present invention is also implemented as some or all equipment for executing method as described herein Or program of device (for example, computer program and computer program product).
Although the embodiments of the invention are described in conjunction with the attached drawings, but those skilled in the art can not depart from this hair Various modifications and variations are made in the case of bright spirit and scope, such modifications and variations are each fallen within by appended claims Within limited range.

Claims (5)

1. a kind of image real-time storage and lookup device based on hash algorithm, which is characterized in that described device includes that image obtains It takes unit, Parameter analysis of electrochemical unit, cryptographic Hash generation unit, storage unit, judging unit, display unit, feedback unit, search list Member, specifically:
Described image acquiring unit is stored for positioning and shooting the first image, and by described first image to storage list The specific storage address of described first image is sent to the cryptographic Hash generation unit, the display by member, the storage unit Unit shows the image that described image acquiring unit is positioned and shot;
The Parameter analysis of electrochemical unit is used to obtain and parse the multiple parameters of described first image, and the multiple parameter includes shooting Time, camera site, screening-mode, image pixel number, image acuity, picture size, image texture parameter, color of image ginseng Number;
The multiple parameter is sent to the cryptographic Hash generation unit, the cryptographic Hash generation unit by the Parameter analysis of electrochemical unit Unique hash index value is generated based on the multiple parameter, the cryptographic Hash generation unit preserves the described of described first image The mapping relations of the specific storage address of hash index value and described first image;
The judging unit is based on the hash index value and obtains the corresponding specific storage address, and is specifically deposited based on described Storage address obtains the described first image in the storage unit, and the judging unit obtains shown by the display unit simultaneously Present image;
The judging unit is for judging whether described first image and the present image are same image, if judging result is It is to complete image storage, if judging result is no, feedback unit one wrong parameter of transmission to the Parameter analysis of electrochemical unit, The Parameter analysis of electrochemical unit is for reacquiring and parsing multiple corrected parameters of described first image and be sent to the Hash It is worth generation unit, the multiple corrected parameter and the specific storage location of the cryptographic Hash generation unit based on acquisition and life At mapping relations are corrected, the judging unit re-executes deterministic process based on the amendment mapping relations, until judging result It is yes;
The searching unit is used to deposit based on multiple input parameter and according to the mapping relations in the cryptographic Hash generation unit Target image is searched in storage unit, and lookup result is shown by display unit.
2. the apparatus according to claim 1, which is characterized in that it is multiple that the multiple input parameter is that user is actively entered Characteristic parameter carries out characteristic parameter extraction acquisition by the thumbnail of searching to input.
3. the apparatus according to claim 1, which is characterized in that described image acquiring unit is realized based on CCD camera.
4. the apparatus according to claim 1, which is characterized in that the cryptographic Hash generation unit is based on MD5 algorithms and generates institute State hash index value.
5. a kind of image real-time storage and lookup method based on hash algorithm realized according to device described in claim 1, It is characterized in that, the described method comprises the following steps:
S01:Described image acquiring unit positions and shoots the first image, and described first image is stored to storage list The specific storage address of described first image is sent to the cryptographic Hash generation unit, the display by member, the storage unit Unit shows the image that described image acquiring unit is positioned and shot;
S02:The Parameter analysis of electrochemical unit is used to obtain and parse the multiple parameters of described first image, and the multiple parameter includes Shooting time, camera site, screening-mode, image pixel number, image acuity, picture size, image texture parameter, image face Color parameter;
S03:The multiple parameter is sent to the cryptographic Hash generation unit by the Parameter analysis of electrochemical unit, and the cryptographic Hash generates Unit is based on the multiple parameter and generates unique hash index value, and the cryptographic Hash generation unit preserves described first image The mapping relations of the specific storage address of the hash index value and described first image;
S04:The judging unit is based on the hash index value and obtains the corresponding specific storage address, and is based on the tool Body storage address obtains the described first image in the storage unit, and the judging unit obtains the display unit institute simultaneously The present image of display;The judging unit judges whether described first image and the present image are same image, if sentencing Disconnected result is yes, completes image storage, if judging result is no, the feedback unit sends a wrong parameter to the parametric solution Unit is analysed, the Parameter analysis of electrochemical unit is for reacquiring and parsing multiple corrected parameters of described first image and be sent to institute State cryptographic Hash generation unit, the multiple corrected parameter and the specific storage position of the cryptographic Hash generation unit based on acquisition Amendment mapping relations are set and generate, the judging unit re-executes deterministic process based on the amendment mapping relations, until sentencing Disconnected result is yes;
S05:The searching unit is being deposited based on multiple input parameter and according to the mapping relations in the cryptographic Hash generation unit Target image is searched in storage unit, and lookup result is shown by display unit.
CN201810458925.9A 2018-05-14 2018-05-14 A kind of image real-time storage and lookup device and method based on hash algorithm Withdrawn CN108629049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810458925.9A CN108629049A (en) 2018-05-14 2018-05-14 A kind of image real-time storage and lookup device and method based on hash algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810458925.9A CN108629049A (en) 2018-05-14 2018-05-14 A kind of image real-time storage and lookup device and method based on hash algorithm

Publications (1)

Publication Number Publication Date
CN108629049A true CN108629049A (en) 2018-10-09

Family

ID=63693297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810458925.9A Withdrawn CN108629049A (en) 2018-05-14 2018-05-14 A kind of image real-time storage and lookup device and method based on hash algorithm

Country Status (1)

Country Link
CN (1) CN108629049A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506706A (en) * 2020-12-03 2021-03-16 北京首钢自动化信息技术有限公司 Image processing method, device, server and storage medium
CN115455218A (en) * 2022-06-09 2022-12-09 中国公路工程咨询集团有限公司 Road image distributed storage method, search method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002037331A1 (en) * 1999-10-19 2002-05-10 Microsoft Corporation System and method for hashing digital images
US20020135801A1 (en) * 2000-12-08 2002-09-26 Gary Tessman Distributed image storage architecture
CN1949221A (en) * 2006-11-27 2007-04-18 北京金山软件有限公司 Method and system of storing element and method and system of searching element
CN102622366A (en) * 2011-01-28 2012-08-01 阿里巴巴集团控股有限公司 Similar picture identification method and similar picture identification device
CN102724387A (en) * 2012-05-26 2012-10-10 安科智慧城市技术(中国)有限公司 Electronic image stabilizing method and device
CN103412960A (en) * 2013-08-31 2013-11-27 西安电子科技大学 Image perceptual hashing method based on two-sided random projection
CN104077590A (en) * 2014-06-30 2014-10-01 安科智慧城市技术(中国)有限公司 Video fingerprint extraction method and system
CN105260412A (en) * 2015-09-24 2016-01-20 东方网力科技股份有限公司 Image storage method and device, and image retrieval method and device
CN106649715A (en) * 2016-12-21 2017-05-10 中国人民解放军国防科学技术大学 Cross-media retrieval method based on local sensitive hash algorithm and neural network
CN107229757A (en) * 2017-06-30 2017-10-03 中国科学院计算技术研究所 The video retrieval method encoded based on deep learning and Hash

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002037331A1 (en) * 1999-10-19 2002-05-10 Microsoft Corporation System and method for hashing digital images
US20040025025A1 (en) * 1999-10-19 2004-02-05 Ramarathnam Venkatesan System and method for hashing digital images
US20020135801A1 (en) * 2000-12-08 2002-09-26 Gary Tessman Distributed image storage architecture
CN1949221A (en) * 2006-11-27 2007-04-18 北京金山软件有限公司 Method and system of storing element and method and system of searching element
CN102622366A (en) * 2011-01-28 2012-08-01 阿里巴巴集团控股有限公司 Similar picture identification method and similar picture identification device
CN102724387A (en) * 2012-05-26 2012-10-10 安科智慧城市技术(中国)有限公司 Electronic image stabilizing method and device
CN103412960A (en) * 2013-08-31 2013-11-27 西安电子科技大学 Image perceptual hashing method based on two-sided random projection
CN104077590A (en) * 2014-06-30 2014-10-01 安科智慧城市技术(中国)有限公司 Video fingerprint extraction method and system
CN105260412A (en) * 2015-09-24 2016-01-20 东方网力科技股份有限公司 Image storage method and device, and image retrieval method and device
CN106649715A (en) * 2016-12-21 2017-05-10 中国人民解放军国防科学技术大学 Cross-media retrieval method based on local sensitive hash algorithm and neural network
CN107229757A (en) * 2017-06-30 2017-10-03 中国科学院计算技术研究所 The video retrieval method encoded based on deep learning and Hash

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506706A (en) * 2020-12-03 2021-03-16 北京首钢自动化信息技术有限公司 Image processing method, device, server and storage medium
CN115455218A (en) * 2022-06-09 2022-12-09 中国公路工程咨询集团有限公司 Road image distributed storage method, search method and device

Similar Documents

Publication Publication Date Title
CN108888956B (en) Display method, equipment and storage medium of virtual backpack display interface
CN105684038B (en) For replacing the image buffer storage of the part of image
CN107590461B (en) Face recognition method and related product
WO2021174905A1 (en) Role conversion method and apparatus, computer device, and storage medium
US9342744B2 (en) Surveillance image retrieval apparatus and surveillance system
CN108629049A (en) A kind of image real-time storage and lookup device and method based on hash algorithm
CN109905590A (en) A kind of method of video image processing and device
CN108230574A (en) Object storage terminal pickup method and device and electronic equipment
CN106055704A (en) Image retrieving and matching method and system
US9235780B2 (en) Robust keypoint feature selection for visual search with self matching score
CN107423306B (en) Image retrieval method and device
JP2010211261A (en) Device and method for retrieving image
US11890539B2 (en) Video game with automated screen shots
CN110838353A (en) Action matching method and related product
CN107018316A (en) Image processing apparatus, image processing method and program
CN107181733A (en) A kind of login validation method and device
CN108037830A (en) A kind of implementation method of augmented reality
CN104200499A (en) Technical method for intelligently removing reduplication of information images
CN112702533B (en) Sight line correction method and sight line correction device
CN113055606A (en) Shooting method and device and electronic equipment
JP5375696B2 (en) Distribution system, terminal device, distribution method, and program
CN112511743A (en) Video shooting method and device
CN108093249A (en) A kind of image processing method and device
CN110223219A (en) The generation method and device of 3D rendering
CN111246113B (en) Image processing method, device, equipment and storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181009