CN107436908A - A kind of method and terminal for retrieving image - Google Patents
A kind of method and terminal for retrieving image Download PDFInfo
- Publication number
- CN107436908A CN107436908A CN201610371278.9A CN201610371278A CN107436908A CN 107436908 A CN107436908 A CN 107436908A CN 201610371278 A CN201610371278 A CN 201610371278A CN 107436908 A CN107436908 A CN 107436908A
- Authority
- CN
- China
- Prior art keywords
- target location
- terminal
- position coordinates
- title
- coordinate set
- 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
Links
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/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
Abstract
A kind of method and terminal for retrieving image, for providing a kind of reliably image retrieval mode based on image capture position.In the method, image file includes image attributes information, and the image attributes information includes the position coordinates of the collection opening position of the image, and this method includes:Terminal receives the target location title of user's input;Terminal determines target location coordinate set corresponding with the target location title;Terminal retrieves image file of the position coordinates in the target location coordinate range of convergence.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and terminal for retrieving image.
Background technology
The image capture devices such as digital camera, smart mobile phone after an image is captured, can add in the image file of generation
The metadata of image, metadata include the information such as the collection location parameter of image, shooting date, acquisition parameters, thumbnail.
Wherein, the collection location parameter of image is usually global positioning system (English:global positioning
System, GPS) data, the street name at image capture position can also be included.Join due to including the position in image file
Number, user can carry out image retrieval according to the location parameter, target image retrieved from great amount of images file.
Generally, user can not remember the gps data at image capture position, and therefore, user is used at image capture position
Street name carry out image retrieval.For example, write in the picture A that smart mobile phone is shot at Chengfu Road, Haidian District, Beijing City
" Chengfu Road, Haidian District, Beijing City " this location parameter, user input " Cheng Fulu " in mobile phone and are used as position keyword, mobile phone
Location parameter in search metadata includes the image of " Cheng Fulu ", you can searches out the picture A.
But in actual conditions, the street name at image capture position that image acquisition units write in image file
Claim with variant to the appellation in the place in people's daily life, and user carries out image usually using the daily appellation in the place
Retrieval, the photo that above-mentioned title difference will cause equipment to retrieve user's request.The example of above picture A is continued to use, it is real
In the situation of border, generally by " Chengfu Road, Haidian District, Beijing City ", this band is referred to as " five road junctions " to people, therefore, when user is according to daily
Custom, during using " five road junctions " as keyword search picture A, mobile phone can not retrieve picture A.
The content of the invention
The application provides a kind of method and terminal for retrieving image, and reliably image capture position is based on for providing one kind
Image retrieval mode.
In a first aspect, the embodiment of the present application provides a kind of method for retrieving image.Specifically, multiple figures are preserved in terminal
As file, the position coordinates at image capture position is included in image file, it is as follows to the retrieving of image:Terminal, which receives, to be used
The target location title of family input, then, terminal determines target location coordinate set corresponding with target location title;Then,
Terminal retrieves image file of the position coordinates in the target location coordinate range of convergence.
In the method for above-mentioned retrieving image, user can directly input the key that target location name is referred to as retrieving image
Word, terminal can determine the position coordinates set of geographic area corresponding to the target location title of user's input, then retrieve
Image file of the position coordinates in the set, realize and image retrieval flexibly and is effectively carried out based on location name.
In a kind of optional realize, target location coordinate set corresponding with target location title that terminal determines can be with
For the set of discrete location coordinate, in this case, terminal not only retrieves position coordinates and belongs to the target location coordinate set
Image file;The distance for also retrieving position coordinates either objective position coordinates in the target location coordinate set is less than threshold
The image file of value, and then position coordinates is retrieved in the image file that target location title is corresponded in geographic area.
In a kind of optional realization, terminal preserves the mapping relations of location name and position coordinates set, the mapping
Relation can be that terminal oneself generates, and can also be obtained from server.Terminal determines the target position according to the mapping relations
Put the target location coordinate set corresponding to title.
In a kind of optional realization, terminal sends position after the target location title of user's input is obtained, to server
Coordinate set request is put, the position coordinates aggregate requests include the target location title;Server determines and the target location
Target location coordinate set corresponding to title, and the set is sent into terminal, terminal and then obtains the target location coordinate collection
Close.
In a kind of optional realization, terminal preserves the mapping relations of location name and position coordinates set, and terminal exists
After the target location title for obtaining user's input, the searched targets location name first in the mapping relations locally preserved, only
Have after target location title is not retrieved in the mapping relations, ability request server is provided corresponding to the title of target location
Target location coordinate set.
In a kind of optional realization, in the mapping relations, the location name is combined into the position coordinates collection
Many-to-one relation.
Second aspect, the embodiment of the present application provide a kind of terminal, and the terminal is used to perform above-mentioned first aspect or first party
Method in any possible realization in face.Specifically, the terminal includes being used to perform above-mentioned first aspect or first aspect
The module of method in any possible realization.
Second aspect, the embodiment of the present application provide a kind of terminal, and the terminal is used to perform above-mentioned first aspect or first party
Method in any possible realization in face.Specifically, the terminal includes processor, input block and memory, the processing
Device couples with input block and memory.The memory is used for storage image file, and the input block is defeated for receiving user
The target location title entered, the processor are used to perform above-mentioned first aspect or first aspect by memory and input block
Any possible realization in method.
Fourth aspect, this application provides a kind of computer-readable medium, for storing computer program, the computer journey
Sequence includes being used to perform the instruction of the method in any possible realization of first aspect or first aspect.
The application can also be further combined more real to provide on the basis of the realization that above-mentioned each side provides
It is existing.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present application, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 is the schematic flow sheet that image method is retrieved in the embodiment of the present application;
Fig. 2 a- Fig. 2 b are the schematic diagram of the characteristic manner of target geographical area in the embodiment of the present application;
Fig. 3 is the structural schematic block diagram of terminal in the embodiment of the present application;
Fig. 4 is the structural schematic block diagram of server in the embodiment of the present application;
Fig. 5 is the structural schematic block diagram of another terminal in the embodiment of the present application.
Embodiment
Technical scheme is described in detail below by accompanying drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the case where not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be mutually combined.
Image capture device (such as digital camera, smart mobile phone, tablet personal computer) is in collection image, generation image file
When, image attributes information can be write in image file, and the image attributes information includes the position at image capture position
Put coordinate, such as gps data.
For example, in exchangeable image file (English:Exchangeable image file, EXIF) in, include the figure
As the attribute information of the metadata of file, the as image file, the camera site of image can be included in EXIF metadata
Gps data, the street name (gps data and pre-stored map can be combined to determine) of camera site, acquisition parameters, shooting
Time etc..Table 1 is the signal of image attributes information.
Shooting date |
Shoot equipment (fuselage, camera lens, flash lamp etc.) |
Acquisition parameters (shutter speed, aperture F values, ISO speed, focal length, metering mode etc.) |
Image Processing parameter (sharpening, contrast, saturation degree, white balance etc.) |
Iamge description and copyright information |
GPS location data |
The street name of camera site |
Thumbnail |
Table 1
Therefore, user can retrieve the image file according to GPS location data or the street name of camera site.But
It is that in actual conditions, user is inconvenient to remember GPS location data, and the shooting that image capture device preserves in image file
It is variant to the address in the region in the street name and people's daily life of position, and user is usually using to the daily of this area
Address carries out image retrieval.So lack the side that the effective positional information using at image taking carries out image retrieval at present
Method.
Fig. 1 is a kind of schematic flow sheet of the retrieval image method provided in the embodiment of the present application, and this method includes as follows
Step:
Step 101:Terminal receives the target location title of user's input.
Specifically, in the embodiment of the present application, the image preserved in terminal can be gathered by terminal oneself, can also first by
Other equipment is gathered, then is stored among terminal, and therefore, terminal can be image capture device, may not be image and adopt
Collect equipment.
Wherein, terminal receive the target location title of user's input mode can with but unlimited realize in the following way:
First, user carries out input operation by the input block of terminal, target location title is inputted, terminal detects this
Input operation, obtain the target location title.For example, user inputs target position by the physical keyboard in terminal or dummy keyboard
Title is put, terminal is using the content of text that user inputs as target location title.In another example user passes through the microphone in terminal
(microphone) phonetic entry is carried out, the voice that terminal-pair receives is parsed, and will parse the content obtained as target position
Put title.
Second, user sends image retrieval request by a second terminal to the terminal, target location is included in the request
Title.For example, user sends the request of retrieval " five road junctions " position photo, mobile phone by intelligent watch to the smart mobile phone of association
" five road junctions " included during this is asked is as target location title.
Step 102:Terminal determines target location coordinate set corresponding with target location title.
Specifically, target location coordinate set refers to:Position in target geographical area corresponding with target location title
The set of coordinate is put, its form of expression can be the set of the coordinate points of discrete point, or one or more continuous areas
Between, the embodiment of the present application not limits
And so-called target geographical area, can be based on the division in the map such as political maps or traffic map to region and
It is determined that or based on geography fence (English:Geo-fencing virtual geographic boundary that) technology is formed and the area that surrounds
Domain.For example, current location is labeled as " five road junctions " by a user by mobile terminal, this position is carried out there is substantial amounts of user
After putting mark, server can obtain a large amount of position coordinateses corresponding to " five road junctions " this location name, and server is according to these
Position coordinates is capable of determining that a geographic area, is region corresponding to " five road junctions ", and the region is drawn by certain mechanism
Fixed, but formed according to the daily address of people, more it is bonded the use demand of user.Certainly, it is above-mentioned to be based on user annotation
A kind of possible implementation that geography fence is geography fence is formed, remaining implementation of geography fence refer to existing skill
Art means, not it is described in detail herein.
In the embodiment of the present application, step 102 includes but is not limited to implementations below:
Mode 1, terminal preserve the mapping relations of location name and position coordinates set, and the mapping relations can be by terminal
Oneself generate and safeguard;The mapping relations can also be generated by server, and then terminal obtains the mapping relations from server.Can
Choosing, it can be become between terminal and server with the uniformity of the periodic detection mapping relations in the mapping relations that server preserves
When more, the terminal-pair mapping relations synchronize renewal.
Terminal is sat after the target location title of user's input is obtained according to the location name that terminal local preserves and position
The mapping relations of set are marked, determine target location coordinate set corresponding with the target location title.
Mode 2, terminal local do not have the mapping relations in preserving type 1, and terminal carries out real-time operation, it is determined that defeated with user
Target location coordinate set corresponding to the target location title entered.
First, it is determined that target geographical area corresponding with target location title.A kind of implementation is:Terminal preserves one
Heating power map, the mark in the map comprising user to geographical position, terminal can determine to be noted as target according to the map
The coordinate points of location name, then, the target geographical area is determined according to these coordinate points.Another implementation is:Terminal
A map, and location name and the mapping relations of the geographic area on the map are preserved, terminal can according to the mapping relations
Directly to determine and the target geographical area corresponding to the title of target location.
Then, terminal determines to characterize the target location coordinate set of the target geographical area.
Mode 3, terminal to server send position coordinates aggregate requests, and the position coordinates aggregate requests include target location
Title;Server determines target location coordinate set corresponding to the target location title, and sends target location coordinate to terminal
Set, the target location coordinate set that terminal the reception server returns.
Specifically, the target location title is sent to clothes by terminal after the target location title of user's input is received
Business device, request server determine target location coordinate set corresponding to the target location title.
Wherein, server determines that the mode of the target location coordinate set is referred to aforesaid way 1 and mode 2 (will
Executive agent in aforesaid way 1 or mode 2 replaces with server).
Then, the target location coordinate set determined is returned to terminal, terminal and then acquisition and target position by server
Put target location coordinate set corresponding to title.
Optionally, in aforesaid way 3, server can preserve location name and the mapping of position coordinates set is closed
System, server first attempt to determine target according to the mapping relations after the position coordinates aggregate requests of terminal transmission are connected to
Position coordinates set, if not comprising target location title in the mapping relations, in other words, server can not be according to the mapping
Relation determines target location coordinate set, then server calculates the target location coordinate in real time further according to the mode of aforesaid way 2
Set.
Mode 4, with reference to aforesaid way 1 and mode 3, terminal preserves the mapping of the location name and position coordinates set
Relation, terminal first attempt to determine target location according to the mapping relations after the target location title of user's input is obtained
Coordinate set, if not comprising target location title in the mapping relations, in other words, terminal can not be true according to the mapping relations
Set the goal position coordinates set, then terminal uses aforesaid way 3 again, and request server determines the target location coordinate set.
Optionally, in the embodiment of the present application, a geographic area can have multiple titles, in other words, location name and ground
Reason region is many-to-one mapping relations, naturally, location name and position coordinates set can also be many-to-one relations.This
Sample, when different user has different daily appellations to same position or region, it can be determined by the appellation oneself commonly used
Go out the position coordinates set of the geographic area.
In the embodiment of the present application, step 102 can be realized by any of the above mode.
Step 103:Terminal retrieves image file of the position coordinates in target location coordinate range of convergence.
Specifically, whether the position coordinates that each image file to be retrieved of terminal judgement includes is in target location coordinate set
In the range of, determine that the image file to be retrieved that position coordinates belongs to target location coordinate set is retrieval result.
So-called image file to be retrieved refers to:The image file in range of search specified by user, in actual conditions,
User can carry out it is default specify, i.e., user not specify range of search, terminal determine default set of image files for retrieval model
Enclose, the pre-set image file set can be all photo files that terminal preserves, or all images that terminal preserves
File, or all photos of terminal oneself collection, etc..
In the embodiment of the present application above-mentioned technical proposal, user input a target location title when, terminal can determine with
Target location coordinate set corresponding to the target location title, then retrieve position coordinates and belong to the target location coordinate set
Image file.Therefore, in aforesaid way, target location title that terminal inputs according to user, retrieve with can determine with
A kind of image file corresponding to the target location title, there is provided flexible, mode effectively based on location retrieval image.
Optionally, in the embodiment of the present application, terminal is shown after image file is retrieved by the display unit of terminal
The image file retrieved, allow users to intuitively check retrieval result.
Optionally, in the embodiment of the present application, target location coordinate set can be the set of discrete location coordinate, step
103:Terminal retrieves image file of the position coordinates in target location coordinate range of convergence, including mode is implemented as described below:
Terminal retrieval position coordinates belongs to the image file of target location coordinate set;And
The distance for retrieving either objective position coordinates in position coordinates distance objective position coordinates set is less than the figure of threshold value
As file.
Specifically, in the case where the form of expression of target location coordinate set is the set of discrete coordinate, so-called figure
As the position coordinates of file belongs to target location coordinate set, not only refer to that target location coordinate set includes image text
Any position is sat in this situation of the position coordinates of part, in addition to the position coordinates distance objective position coordinates set of image file
Target distance is less than the situation of preset value.
Because target is being characterized with the set of discrete coordinate points comprising infinite more coordinate points in geographic area
During geographic area, it can only be characterized with the position coordinates of a portion point, though and other coordinate points in the geographic area
So it is not comprised in target location coordinate set, but undoubtedly belongs to target geographical area.In actual conditions, as long as from the target
Than relatively evenly extracting coordinate points as the element in target location coordinate set, then target location coordinate set in geographic area
A coordinate points are constantly present, is less than or equal to a certain threshold value with the distance of any coordinate points in target geographical area, can be expressed as:
Min | P1-Pi |≤T, Pi are any point in target location coordinate set, and T is threshold value.
In above-mentioned technical proposal, in the situation for the set that the form of expression of target location coordinate set is discrete coordinate
Under, the image file that the distance of either objective position coordinates in position coordinates distance objective position coordinates set is less than to threshold value is
Retrieval result so that retrieval result is more accurate.
The embodiment of the present application also schematically provides possible two kinds of characteristic manners of the position coordinates set of geographic area.
Reference picture 2a, solid line is actual target geographical area in figure, because target geographical area is irregular shape area
Domain, the target geographical area can be characterized using the external contact zone shown in dotted line, the external contact zone can be characterized as F
{ (nn1, ee1), (nn2, ee2) ..., (nn7, ee7), (nn8, ee8) }, F { } are represented using the coordinate points in bracket as end points
Polygon, wherein, adjacent coordinate points are connected in bracket.
In alternatively possible implementation, reference picture 2b, after the external contact zone of target geographical area is obtained, enter
One step obtains the boundary rectangle of the external contact zone, then with the boundary rectangle in the range of, by one of the external contact zone
It is approximately rectangle to divide, for example, by (nn1, the ee1) of external contact zone, the triangle of (nn2, ee2) and (nn9, ee9) formation
It is approximately rectangle block 1, is approximately multiple rectangles by external contact zone, with the union of multiple rectangles come with characterizing target so
Region is managed, greatly simplifies the characteristic manner of target geographical area.
The embodiment of the present application also provides a kind of terminal, reference picture 3, and the terminal includes:
Receiving module 201, for receiving the target location title of user's input;
Determining module 202, for determining target location coordinate set corresponding with target location title;
Module 203 is retrieved, for retrieving image file of the position coordinates in target location coordinate range of convergence.
In some possible implementations, target location coordinate collection is combined into the set of discrete location coordinate, retrieves module
203 are used for:Retrieval position coordinates belongs to the image file of target location coordinate set;And retrieval position coordinates distance objective position
The distance for putting either objective position coordinates in coordinate set is less than the image file of threshold value.
In some possible implementations, terminal preserves the mapping relations of location name and position coordinates set, really
Cover half block 202 is used for:The target location coordinate set according to corresponding to mapping relations determine target location title.
In some possible implementations, determining module 202 is used for:Position coordinates aggregate requests are sent to server,
Position coordinates aggregate requests include target location title;The target location coordinate set that the reception server returns.
In some possible implementations, determining module 202 is additionally operable to:Please sending position coordinates set to server
Before asking, it is determined that the location name locally preserved in the mapping relations of position coordinates set with not including target location title.
In some possible implementations, receiving module 201 is additionally operable to:Mapping relations are received from server, and are preserved
Mapping relations.
In some possible implementations, in mapping relations, location name is combined into many-to-one with position coordinates collection
Relation.
The specific implementation for each module that above terminal includes can be to be performed in previously described retrieval image by terminal
Corresponding step, the embodiment of the present application repeats no more.
The embodiment of the present application also provides a kind of server, reference picture 4, and the server includes:
Receiving module 301, the target location title sent for receiving terminal;
Determining module 302, for determining target location coordinate set corresponding to the title of target location;
Sending module 303, for sending target location coordinate set to terminal, to enable the terminals to retrieve position coordinates category
In the image file of target location coordinate set.
In some possible implementations, server preserves the mapping relations of location name and position coordinates set,
Determining module 302 is used for:The target location coordinate set according to corresponding to mapping relations determine target location title.
In some possible implementations, determining module 302 is used for:Determine target geographic corresponding to the title of target location
Region;Determine target location coordinate set corresponding to target geographical area.
In some possible implementations, determining module 302 is additionally operable to:It is determined that target corresponding to the title of target location
Before geographic area, it is determined that the location name locally preserved in the mapping relations of position coordinates set with not including target location name
Claim.
In some possible implementations, in mapping relations, location name is combined into many-to-one with position coordinates collection
Relation.
The specific implementation for each module that above server includes can with previously described retrieval image by server
The corresponding step of execution, the embodiment of the present application repeat no more.
The embodiment of the present application also provides a kind of terminal, reference picture 5, and the terminal includes:
Memory 401, for storage image file;And
Input block 402, for receiving the target location title of user's input;
Processor 403, coupled respectively with the memory 401 and input block 402, for determining and target location title
Corresponding target location coordinate set, and figure of the position coordinates in target location coordinate range of convergence is retrieved in the memory unit
As file.
In some possible implementations, target location coordinate collection is combined into the set of discrete location coordinate, processor 403
Image file of the position coordinates in target location coordinate range of convergence is retrieved, including:
Processor 403 retrieves the image file that position coordinates belongs to target location coordinate set;And
The distance that processor 403 retrieves either objective position coordinates in position coordinates distance objective position coordinates set is less than
The image file of threshold value.
In some possible implementations, memory 401 preserves location name and the mapping of position coordinates set is closed
System, processor 403 determine target location coordinate set corresponding with target location title, including:Processor 403 is according to the mapping
Relation determines target location coordinate set corresponding to the title of target location.
In some possible implementations, terminal also includes:
Transceiver 404, is used for:Position coordinates aggregate requests are sent to server, position coordinates aggregate requests include target
Location name;And the target location coordinate set that the reception server returns;
Processor 403 is using the target location coordinate set that transceiver 404 receives as the target position for picture retrieval
Put coordinate set.
In Figure 5, transceiver 404, which is adopted, is indicated by the dashed box, for illustrating that transceiver 404 is not that terminal realizes the application reality
Apply hardware module necessary to function in example.
In some possible implementations, processor 403 is additionally operable to:Position is sent in transceiver 404 to server to sit
Before marking aggregate requests, it is determined that the location name locally preserved in the mapping relations of position coordinates set with not including target location
Title.
In some possible implementations, transceiver 404 is additionally operable to:The mapping relations are received from server;
Processor 403 is additionally operable to:The mapping relations are preserved to memory.
In some possible implementations, in mapping relations, location name is combined into many-to-one with position coordinates collection
Relation.
The specific implementation for each hardware module that above terminal includes can with previously described retrieval image by terminal
The corresponding step of execution, the embodiment of the present application repeat no more.
The embodiment of the present application also provides a kind of server, including:
Transceiver, the target location title sent for receiving terminal;
Processor, and the transceiver couples, for determining target location coordinate set corresponding to the title of target location;
The transceiver is additionally operable to:Target location coordinate set is sent to terminal, to enable the terminals to retrieve position coordinates category
In the image file of target location coordinate set.
In some possible implementations, server also includes:
Memory, coupled with the processor, preserve the mapping relations of location name and position coordinates set;
Processor determines target location coordinate set corresponding to the title of target location, including:Processor closes according to the mapping
System determines target location coordinate set corresponding to the title of target location.
In some possible implementations, processor determines target location coordinate set corresponding to the title of target location,
Including:Processor determines target geographical area corresponding to the title of target location;Determine target location corresponding to target geographical area
Coordinate set.
In some possible implementations, processor for:Determine target geographic area corresponding to the title of target location
Before domain, it is additionally operable to:It is determined that the location name locally preserved in the mapping relations of position coordinates set with not including target location
Title.
In some possible implementations, in mapping relations, location name is combined into many-to-one with position coordinates collection
Relation.
The specific implementation for each hardware module that above server includes can with previously described retrieval image by taking
The corresponding step that business device performs, the embodiment of the present application repeat no more.
Above processor can be the general designation of a treatment element or multiple treatment elements.For example, processor can
Be central processing unit (English:Central processing unit, CPU or specific integrated circuit (English:
Application specific intergrated circuit, ASIC), or be arranged to implement the embodiment of the present application
One or more integrated circuits, such as:One or more microprocessors (digital singnal processor, DSP),
Or, one or more field programmable gate array (English:Field programmable gate array, FPGA).
Device stored above can be the general designation of a memory element or multiple memory elements, can be held for storing
Parameter, data etc. required for line program code or equipment operation.And memory can include random access memory (English:random-
Access memory, RAM), nonvolatile memory (English can also be included:Non-volatile memory, NVM), example
Such as magnetic disk storage, flash memory (English:Flash disk) etc..
Above transceiver can be wireless transceiver, for example, the transceiver realized based on radio-frequency module and antenna;More than
Transceiver can also be wireline transceiver, for example, the transceiver can be ethernet optical fiber transceiver.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the application to the application
God and scope.So, if these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies
Within, then the application is also intended to comprising including these changes and modification.
Claims (12)
- A kind of 1. method for retrieving image, it is characterised in that the position coordinates at image capture position, institute are included in image file The method of stating includes:Terminal receives the target location title of user's input;The terminal determines target location coordinate set corresponding with the target location title;Image file of the terminal retrieval position coordinates in the target location coordinate range of convergence.
- 2. the method as described in claim 1, it is characterised in that the target location coordinate collection is combined into the collection of discrete location coordinate Close, image file of the terminal retrieval position coordinates in the target location coordinate range of convergence, including:The terminal retrieval position coordinates belongs to the image file of the target location coordinate set;AndThe distance for retrieving position coordinates either objective position coordinates in the target location coordinate set is less than the figure of threshold value As file.
- 3. method as claimed in claim 1 or 2, it is characterised in that the terminal preserves location name and position coordinates collection The mapping relations of conjunction, the terminal determine target location coordinate set corresponding with the target location title, including:Terminal target location coordinate set according to corresponding to the mapping relations determine the target location title.
- 4. method as claimed in claim 1 or 2, it is characterised in that the terminal determines corresponding with the target location title Target location coordinate set, including:The terminal to server sends position coordinates aggregate requests, and the position coordinates aggregate requests include the target location Title;The terminal receives the target location coordinate set that the server returns.
- 5. method as claimed in claim 4, it is characterised in that send position coordinates aggregate requests in the terminal to server Before, methods described also includes:The terminal determines not include the target position in the mapping relations of the location name and position coordinates set locally preserved Put title.
- 6. the method as described in claim 3 or 5, it is characterised in that in the mapping relations, the location name with it is described Position coordinates collection is combined into many-to-one relation.
- 7. a kind of terminal, it is characterised in that the terminal preserves image file, and collection opening position is included in described image file Position coordinates, the terminal includes:Receiving module, for receiving the target location title of user's input;Determining module, for determining target location coordinate set corresponding with the target location title;Module is retrieved, for retrieving image file of the position coordinates in the target location coordinate range of convergence.
- 8. terminal as claimed in claim 7, it is characterised in that the target location coordinate collection is combined into the collection of discrete location coordinate Close, the retrieval module is used for:Retrieval position coordinates belongs to the image file of the target location coordinate set;And retrieval position The distance for putting either objective position coordinates in target location coordinate set described in coordinate distance is less than the image file of threshold value.
- 9. terminal as claimed in claim 7 or 8, it is characterised in that the terminal preserves location name and position coordinates collection The mapping relations of conjunction, the determining module are used for:Described according to corresponding to the mapping relations determine the target location title Target location coordinate set.
- 10. terminal as claimed in claim 7 or 8, it is characterised in that the determining module is used for:Position is sent to server Coordinate set is asked, and the position coordinates aggregate requests include the target location title;Receive the institute that the server returns State target location coordinate set.
- 11. terminal as claimed in claim 10, it is characterised in that the determining module is additionally operable to:Position is being sent to server Before putting coordinate set request, it is determined that not including in the location name locally preserved and the mapping relations of position coordinates set described Target location title.
- 12. the terminal as described in claim 9 or 11, it is characterised in that in the mapping relations, the location name and institute It is many-to-one relation that rheme, which puts coordinate set,.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610371278.9A CN107436908A (en) | 2016-05-27 | 2016-05-27 | A kind of method and terminal for retrieving image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610371278.9A CN107436908A (en) | 2016-05-27 | 2016-05-27 | A kind of method and terminal for retrieving image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107436908A true CN107436908A (en) | 2017-12-05 |
Family
ID=60458172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610371278.9A Pending CN107436908A (en) | 2016-05-27 | 2016-05-27 | A kind of method and terminal for retrieving image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436908A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093489A (en) * | 2006-06-23 | 2007-12-26 | 明基电通股份有限公司 | Method and device for image search |
US20130226917A1 (en) * | 2007-07-12 | 2013-08-29 | Oki Data Corporation | Document search apparatus |
CN103455480A (en) * | 2012-05-28 | 2013-12-18 | 深圳市腾讯计算机系统有限公司 | Position search method and device based on electronic map |
CN105389398A (en) * | 2015-12-21 | 2016-03-09 | 广东欧珀移动通信有限公司 | Picture photographing and searching method and device |
CN105653676A (en) * | 2015-12-28 | 2016-06-08 | Tcl集团股份有限公司 | Scenic spot recommendation method and system |
-
2016
- 2016-05-27 CN CN201610371278.9A patent/CN107436908A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093489A (en) * | 2006-06-23 | 2007-12-26 | 明基电通股份有限公司 | Method and device for image search |
US20130226917A1 (en) * | 2007-07-12 | 2013-08-29 | Oki Data Corporation | Document search apparatus |
CN103455480A (en) * | 2012-05-28 | 2013-12-18 | 深圳市腾讯计算机系统有限公司 | Position search method and device based on electronic map |
CN105389398A (en) * | 2015-12-21 | 2016-03-09 | 广东欧珀移动通信有限公司 | Picture photographing and searching method and device |
CN105653676A (en) * | 2015-12-28 | 2016-06-08 | Tcl集团股份有限公司 | Scenic spot recommendation method and system |
Non-Patent Citations (1)
Title |
---|
江西省民政志编纂委员会: "《江西省民政志》", 31 August 1999 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11895068B2 (en) | Automated content curation and communication | |
CN111010882B (en) | Location privacy association on map-based social media platform | |
CN105975570B (en) | Video searching method and system based on geographical location | |
CN102958114B (en) | The method for accessing augmented reality user's context | |
US9307353B2 (en) | System and method for differentially processing a location input for content providers that use different location input formats | |
US20120086792A1 (en) | Image identification and sharing on mobile devices | |
US20060007315A1 (en) | System and method for automatically annotating images in an image-capture device | |
CN107426620B (en) | Program content recommendation method | |
CN105743771B (en) | A kind of method, apparatus and electronic equipment of share photos | |
CN105243084A (en) | Photographed image file storage method and system and photographed image file search method and system | |
JP2008027336A (en) | Location information delivery apparatus, camera, location information delivery method and program | |
JP5223034B2 (en) | Information providing apparatus, information providing method, information providing processing program, and recording medium on which information providing processing program is recorded | |
CN106713734A (en) | Auto focusing method and apparatus | |
US20110225151A1 (en) | Methods, devices, and computer program products for classifying digital media files based on associated geographical identification metadata | |
CN109844734B (en) | Picture file management method, terminal and computer storage medium | |
CN106446211A (en) | Method for recommending photographing locations in specific area | |
AU2012360732B2 (en) | Method and apparatus for providing metadata search codes to multimedia | |
US8918087B1 (en) | Methods and systems for accessing crowd sourced landscape images | |
CN109168127A (en) | Resource recommendation method, device, electronic equipment and computer-readable medium | |
TW201005563A (en) | Method of storing location metadata | |
CN112052355A (en) | Video display method, device, terminal, server, system and storage medium | |
CN107436908A (en) | A kind of method and terminal for retrieving image | |
WO2021081832A1 (en) | Pushing method, electronic device, movable platform, pushing system and computer-readable storage medium | |
KR20190028354A (en) | An online site with an associated virtual geographic location | |
CN106961511B (en) | A kind of image processing 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 | ||
CB02 | Change of applicant information |
Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant after: Huawei Device Co., Ltd. Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant before: HUAWEI terminal (Dongguan) Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171205 |
|
RJ01 | Rejection of invention patent application after publication |