WO2015117416A1 - 一种照片信息处理方法、装置及终端 - Google Patents

一种照片信息处理方法、装置及终端 Download PDF

Info

Publication number
WO2015117416A1
WO2015117416A1 PCT/CN2014/089503 CN2014089503W WO2015117416A1 WO 2015117416 A1 WO2015117416 A1 WO 2015117416A1 CN 2014089503 W CN2014089503 W CN 2014089503W WO 2015117416 A1 WO2015117416 A1 WO 2015117416A1
Authority
WO
WIPO (PCT)
Prior art keywords
photo
photos
information
map
information processing
Prior art date
Application number
PCT/CN2014/089503
Other languages
English (en)
French (fr)
Inventor
袁晓丽
席晓东
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117416A1 publication Critical patent/WO2015117416A1/zh

Links

Images

Classifications

    • 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
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a photo information processing method, apparatus, and terminal.
  • the configuration of intelligent terminals is becoming more and more high-end.
  • smart terminals are far superior to ordinary card-type digital cameras in the configuration of cameras.
  • the pixels are generally 800M and above, which greatly replaces the card machine. trend.
  • the GPS positioning function leaf is the standard of the intelligent terminal. Whether it is an independent GPS chip or integrated into the main chip, the GPS positioning function is already the most basic function, and can accurately locate the latitude and longitude information.
  • most of the smart terminals have geographical location options on the camera function. When the user selects this option, the photo additional information taken has the latitude and longitude information when the photo is taken.
  • the embodiment of the invention provides a method, a device and a terminal for processing photo information, which change the mode of manually sorting and sorting photos in the past, and increase the application practicability of the smart terminal.
  • an embodiment of the present invention provides a photo information processing method, including:
  • the geographic location corresponding to each photo is A series is performed on the preset map to obtain a route map corresponding to the plurality of photos.
  • the basic information of the plurality of photos is an exchangeable image exif file including a shooting time of a photo and a latitude and longitude when the photo is taken.
  • the step of obtaining the geographic location points corresponding to each photo according to the basic information of the multiple photos includes:
  • the preset map is a map including geographic location points corresponding to all photos.
  • the method further includes:
  • the embodiment of the invention further includes a photo information processing apparatus, including:
  • a first acquiring module configured to: acquire a plurality of photos in a preset directory and basic information of the plurality of photos;
  • a second acquiring module configured to: acquire a shooting time of each photo and a corresponding geographical location point according to the basic information of the multiple photos;
  • the serial module is configured to: in accordance with the shooting time sequence of each photo, point the geographic points corresponding to each photo on a preset map to form a circuit map corresponding to the multiple photos.
  • the basic information of the plurality of photos is an exchangeable image exif file including a shooting time of a photo and a latitude and longitude when the photo is taken.
  • the second obtaining module includes:
  • a parsing module configured to: parse the exif file of each photo in turn, and obtain latitude and longitude information of each photo;
  • a determining module configured to: acquire geographic location information of each photo corresponding to the latitude and longitude information, and determine a geographic location point.
  • the device further includes:
  • An annotation module configured to: mark each place name and geographic location corresponding to the point on each of the series points on the circuit diagram;
  • a display module is configured to display all photos taken at the place name or geographic location in response to an operation of clicking on the place name or geographic location.
  • An embodiment of the present invention further provides a terminal, including the photo information processing apparatus as described above.
  • the embodiment of the invention further provides a computer program, comprising program instructions, when the program instruction is executed by the terminal, so that the terminal can execute the above method.
  • Embodiments of the present invention also provide a computer readable storage medium carrying the computer program.
  • the geographic location points corresponding to each photo are serially connected in time series on the map by using the map service, and the user's circuit diagram is obtained for a period of time;
  • the user can intuitively present the entire itinerary, as well as the photos of each trip point, at a glance, changing the mode that needs to manually sort and organize the photos in the past, increasing the practicality of the smart terminal and improving the user experience.
  • FIG. 1 is a schematic diagram showing the basic steps of a photo processing method according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing specific steps of a photo processing method according to an embodiment of the present invention.
  • Fig. 3 is a view showing the configuration of a photo processing apparatus according to an embodiment of the present invention.
  • the embodiment of the present invention provides a photo processing method, device, and terminal for the photo in the basic information of the photo in view of the fact that the viewing of the photo in the related art cannot visually display the entire itinerary and the specific location of each set of photos.
  • Location information with the help of the map service, the geographic location points corresponding to each photo are connected in series on the map in chronological order to obtain the user's line within a certain period of time.
  • Figure giving the user an intuitive representation of the entire itinerary, as well as a photo of each trip point, at a glance, changing the mode that required manual sorting and sorting of photos in the past, increasing the practicality of the smart terminal and improving the user experience.
  • an embodiment of the present invention provides a photo information processing method, including:
  • Step 1 acquiring a plurality of photos in a preset directory and basic information of the plurality of photos;
  • Step 2 acquiring, according to the basic information of the multiple photos, a shooting time of each photo and a corresponding geographical location point;
  • Step 3 According to the shooting time sequence of each photo, the geographical points corresponding to each photo are connected in series on a preset map to obtain a circuit map corresponding to the multiple photos.
  • At least one photo is saved in the preset directory in step 1.
  • the preset directory may be set according to the user's will, for example, the user wants to know the travel route of the most recent month and the corresponding photo on the route. , you can put all the photos of the last month into the preset directory; or the user has not recently gone out to play, want to organize a photo of a long trip before 3 months, then you can take all the photos taken during the long trip
  • the photos are placed in the preset directory; in other words, the number of photos, the type, the shooting time of the photos, and the like in the preset directory are not limited to a fixed form, and can be randomly changed according to the user's wishes.
  • the basic information of the photo generally includes the date, time, camera model, manufacturer, aperture, shutter, focal length, metering mode, latitude and longitude and ISO of the photo taken.
  • the basic information of the plurality of photos is an exchangeable image exif file including a photographing time of the photograph and a latitude and longitude when the photograph is taken.
  • the exif file is one of the JPEG files, and the content and index map of the shooting information are added to the file header information.
  • the exif file of the photo includes the aperture, shutter, white balance, ISO, focal length, and time when shooting. Specific information such as date and various shooting conditions and camera brands, as well as global positioning system (GPS), thumbnails, etc., a specific embodiment of the present invention extracts GPS-related latitude and longitude information from the exif file, that is, when the photo is taken The latitude and longitude of the photo and the shooting time of the photo.
  • the corresponding point is found on the preset map, that is, the geographical point of the photo is taken, and then step 3 is performed, and the geographical points corresponding to all the photos are connected in series according to the shooting time sequence, that is, A road map corresponding to all the photos in the preset directory can be obtained.
  • step 2 includes:
  • Step 21 sequentially analyzing the exif file of each photo to obtain the latitude and longitude information of each photo;
  • Step 22 Obtain geographic location information of each photo corresponding to the latitude and longitude information, and determine a geographic location point.
  • the preset map is a map including geographic location points corresponding to all photos.
  • the preset map is a map including geographical points corresponding to all the photos; for example, photos in the preset directory.
  • the preset map needs to use the map of Beijing (the better map of Beijing can clearly display the streets, tourist attractions, etc. in Beijing); it should be noted that the preset map can also be used.
  • China map but when using the Chinese map, the area of Beijing is small, and it is impossible to clearly show the streets, tourist attractions, etc.
  • the route after the labeling is not clear. The user cannot intuitively see the scenic spots that he has visited, and cannot reach the label. The purpose of the line.
  • the map to be used should be able to include all the geographical points corresponding to all the photos, and the smaller the proportion of the map, the better the smaller the proportion of the map, the clearer the smaller locations, such as the scale 1
  • the map of 1000 can display the relative position of Tiananmen and Wangfujing, while the map with scale of 1:100 can clearly show the specific position of the flagpole of Tiananmen Square in Tiananmen Square; however, the scale and specific range of the preset map are All geographical locations of all photos in the catalog are determined comprehensively, not limited to a fixed value.
  • the method further includes:
  • Step 4 marking the place name and the geographical position corresponding to the point on each series point on the circuit diagram
  • step 5 in response to clicking on the place name or geographic location, all photos taken at the place name or geographic location are displayed.
  • each tandem point on the road map ie, a corresponding geographical point of each photo
  • a corresponding place name and a geographical location for example, the name of each tourist attraction, or each iconic
  • the name of the building, or the name of each county, town, street, etc. is not limited to a specific form, and needs to be specifically set according to the specific route of the user.
  • the iconic name is used as much as possible, which is easier to remember and convenient for other users to refer to.
  • Step 101 Select a directory in which one or more photos are stored, and start drawing a line map
  • Step 102 Parse the exif information of a photo.
  • the Exif file is one of the JPEG files.
  • the content and index map of the shooting information are added to the header information.
  • the exif information of the photo includes the aperture, shutter, white balance, ISO, focal length, time and date, etc. at the time of shooting.
  • GPS global positioning system
  • Step 103 Extract GPS related latitude and longitude information from the exif information of the photo;
  • Step 104 Check if there is still a next photo, if any, continue to parse the next photo; and save the latitude and longitude information of all the photos in an array;
  • Step 105 using various map services, such as *** map, Baidu map, etc., input latitude and longitude, obtain geographic location information, including provincial city information, and more specific location names, and record the information in an array;
  • map services such as *** map, Baidu map, etc.
  • Baidu map provides a common interface that supports third-party application calls, including geocoding.
  • Geocoding refers to the process of establishing coordinate relationships between address information and can be divided into forward map coding and reverse map coding.
  • Reverse map coding refers to the process of converting coordinate points into address information, helping the user to reversely query the administrative division and the street where the feature is located by the coordinate value (latitude and longitude information) of a certain ground object on the ground. The most matching standard address information.
  • the terminal is pre-installed with the Baidu map application.
  • the general query interface provided by Baidu map is called to obtain detailed geographical location information.
  • the specific code examples are not described here.
  • Step 106 After traversing the latitude and longitude information, use a map service, such as *** map, Baidu map, etc., to obtain a map containing all latitude and longitude positions, and save;
  • a map service such as *** map, Baidu map, etc.
  • Baidu map provides a common interface for supporting third-party application calls, including the function of displaying maps. According to the interface description provided by it, the map data containing current location information is obtained and presented. Baidu map support Ordinary maps and satellite maps are presented in two ways. At the same time, Baidu map provides the function of labeling location points, and the labels are in various forms. Using the location information of the photos, add annotations at the specified locations. Traverse the location information of all photos and mark them one by one on the map. The specific code examples are not described here.
  • Step 107 According to the chronological order, the position points are connected in series, and the line drawing of all the photos in the current directory is completed;
  • Step 108 Further deriving, each of the series points on the circuit diagram can directly mark the corresponding place name and geographical location, and click to expand the series point to view all the photos taken at this position.
  • an embodiment of the present invention further provides a photo information processing apparatus, including:
  • the first obtaining module 10 is configured to acquire a plurality of photos in a preset directory and basic information of the plurality of photos;
  • the second obtaining module 20 is configured to acquire a shooting time of each photo and a corresponding geographical location point according to the basic information of the multiple photos;
  • the series module 30 is arranged to sequentially connect the geographical points corresponding to each photo on a preset map according to the shooting time sequence of each photo to form a circuit map corresponding to the plurality of photos.
  • the basic information of the plurality of photos is an exchangeable image exif file including a photographing time of the photograph and a latitude and longitude when the photograph is taken.
  • the second obtaining module 20 includes:
  • the parsing module is configured to parse the exif files of each photo in turn to obtain the latitude and longitude information of each photo;
  • the determining module is configured to obtain geographic location information of each photo corresponding to the latitude and longitude information, and determine a geographic location point.
  • the device further includes:
  • An annotation module configured to mark a place name and a geographic location corresponding to the point on each of the series points on the circuit diagram
  • a display module configured to display all photos taken at the place name or geographic location in response to clicking on the place name or geographic location.
  • the geographic location points corresponding to each photo are connected in series on the map in time series by using the map service, and the user's route map is obtained in a period of time.
  • the photo processing device provided by the embodiment of the present invention is a device applying the photo processing method described above, and all embodiments of the foregoing method are applicable to the device, and all of the same or similar beneficial effects can be achieved.
  • the embodiment of the present invention further provides a terminal, including the photo information processing apparatus as described above.
  • the terminal provided by the present invention is a terminal including the above-described photo information processing apparatus, and the above apparatus is all the embodiments and the advantageous effects thereof are applicable to the terminal.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the geographic location points corresponding to each photo are serially connected in time series on the map by using the map service, and the user's circuit diagram is obtained for a period of time;
  • the user can intuitively present the entire itinerary, as well as the photos of each trip point, at a glance, changing the mode that needs to manually sort and organize the photos in the past, increasing the practicality of the smart terminal and improving the user experience.

Landscapes

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

Abstract

本发明实施例提供一种照片信息处理方法、装置及终端,涉及通信技术领域,其中,该照片信息处理方法,包括:获取一预设目录下的多张照片以及所述多张照片的基本信息;根据所述多张照片的基本信息,获取每张照片的拍摄时间和对应的地理位置点;按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一预设地图上进行串联,获得与所述多张照片对应的线路图。

Description

一种照片信息处理方法、装置及终端 技术领域
本发明涉及通信技术领域,特别涉及一种照片信息处理方法、装置及终端。
背景技术
随着智能终端的普及及发展,智能终端的配置越来越高端,目前智能终端在摄像头配置上,已经远超普通的卡片式数码相机,像素一般都在800M及以上,大有取代卡片机的趋势。同时,GPS定位功能叶是智能终端的标配,无论是独立的GPS芯片,还是集成到主芯片中,GPS定位功能已经是最基本功能,可以准确的定位到经纬度信息。至此,大部分的智能终端在拍照功能上,都有地理位置选项,当用户选择这个选项,所拍得的照片附加信息中就带有拍摄照片时的经纬度信息。
近几年来,越来越多的人热衷与旅游,并且记录下沿途风光,每次旅行下来,都会有大量的照片;当前手机中对照片的查看可以按时间分组、按位置分组等,按位置分组也仅仅是简单的将经纬度一致的照片放在一起呈现,并不能直观的展现整个行程,以及每一组照片的具***置信息,显得杂乱,后期整理游记及照片也很不便。
发明内容
本发明实施例提供一种照片信息处理方法、装置及终端,改变了过去需要手动对照片进行分类及整理的模式,增加了智能终端的应用实用性。
为了达到上述目的,本发明实施例提供一种照片信息处理方法,包括:
获取一预设目录下的多张照片以及所述多张照片的基本信息;
根据所述多张照片的基本信息,获取每张照片的拍摄时间和对应的地理位置点;
按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一 预设地图上进行串联,获得与所述多张照片对应的线路图。
其中,所述多张照片的基本信息为包括有照片的拍摄时间和拍摄照片时的经纬度的可交换图像exif文件。
其中,根据所述多张照片的基本信息获取每张照片对应的地理位置点的步骤包括:
依次解析每张照片的exif文件,获取每张照片的经纬度信息;
获取所述经纬度信息对应的每张照片的地理位置信息,确定一地理位置点。
其中,所述预设地图为包括所有照片对应的地理位置点的地图。
可选的,所述方法还包括:
在所述线路图上的每一个串联点上标注该点对应的地名及地理位置;
响应点击所述地名或地理位置的操作,显示在该地名或地理位置拍摄的所有照片。
本发明实施例还包括一种照片信息处理装置,包括:
第一获取模块,其设置为:获取一预设目录下的多张照片以及所述多张照片的基本信息;
第二获取模块,其设置为:根据所述多张照片的基本信息获取每张照片的拍摄时间和对应的地理位置点;以及
串联模块,其设置为:按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一预设地图上进行串联,构成与所述多张照片对应的线路图。
其中,所述多张照片的基本信息为包括有照片的拍摄时间和拍摄照片时的经纬度的可交换图像exif文件。
其中,所述第二获取模块包括:
解析模块,其设置为:依次解析每张照片的exif文件,获取每张照片的经纬度信息;以及
确定模块,其设置为:获取所述经纬度信息对应的每张照片的地理位置信息,确定一地理位置点。
可选的,所述装置还包括:
标注模块,其设置为:在所述线路图上的每一个串联点上标注该点对应的地名及地理位置;以及
显示模块,其设置为:响应点击所述地名或地理位置的操作,显示在该地名或地理位置拍摄的所有照片。
本发明实施例还提供一种终端,包括如上所述的照片信息处理装置。
本发明实施例还提供一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述方法。
本发明实施例还提供一种载有所述计算机程序的计算机可读存储介质。
本发明实施例的照片处理方法中,通过照片基本信息中的地理位置信息,借助地图服务,将每张照片对应的地理位置点在地图上按照时间顺序串联,获取一段时间内用户的线路图;给用户直观的呈现整个行程,以及每一个行程点的照片,一目了然,改变了过去需要手动对照片进行分类及整理的模式,增加了智能终端的实用性,提高了用户体验。
附图概述
图1表示本发明实施例的照片处理方法的基本步骤示意图;
图2表示本发明实施例的照片处理方法的具体步骤流程图;
图3表示本发明实施例的照片处理装置的组成结构图。
本发明的较佳实施方式
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图对本发明的实施例进行详细描述,在不冲突的情况下,本发明实施例和实施例中的特征可以相互任意组合。
本发明实施例针对相关技术中对照片的查看不能直观的展现整个行程以及每一组照片的具***置,显得杂乱的问题,提供一种照片处理方法、装置及终端,通过照片基本信息中的地理位置信息,借助地图服务,将每张照片对应的地理位置点在地图上按照时间顺序串联,获取一段时间内用户的线路 图;给用户直观的呈现整个行程,以及每一个行程点的照片,一目了然,改变了过去需要手动对照片进行分类及整理的模式,增加了智能终端的实用性,提高了用户体验。
如图1所示,本发明实施例提供一种照片信息处理方法,包括:
步骤1,获取一预设目录下的多张照片以及所述多张照片的基本信息;
步骤2,根据所述多张照片的基本信息,获取每张照片的拍摄时间和对应的地理位置点;
步骤3,按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一预设地图上进行串联,获得与所述多张照片对应的线路图。
本发明上述实施例中,步骤1中预设目录中至少保存一张照片,该预设目录可根据用户意愿不同设置,例如用户想要了解自己最近一个月的出行路线以及该路线上对应的照片,就可以将最近一个月的所有照片均放入该预设目录中;或者该用户最近没有出去玩,想整理3个月之前的一次长途旅行的照片,则可将该长途旅行时拍摄的所有照片均放入该预设目录中;换言之,该预设目录中的照片张数、类型、照片的拍摄时间等均不限于一固定形式,可根据用户意愿随意变换。
较佳的,照片的基本信息一般包括拍摄这张照片的日期、时间、相机型号、生产厂商、光圈、快门、焦距、测光模式、拍摄照片时的经纬度和ISO等数据。具体的,在本发明的具体实施例中,所述多张照片的基本信息为包括有照片的拍摄时间和拍摄照片时的经纬度的可交换图像exif文件。
其中,exif文件是JPEG文件中的一种,在文件头信息中增加了有关拍摄信息的内容和索引图,照片的exif文件中包含了拍摄时的光圈、快门、白平衡、ISO、焦距、时间日期等各种和拍摄条件以及相机品牌等,以及全球定位***(GPS)、缩略图等信息,本发明的具体实施例是从该exif文件中抽取出GPS相关的经纬度信息,即拍摄该照片时所处的经纬度和该照片的拍摄时间。
按照每张照片的经纬度信息在该预设地图上找到对应的点,即拍摄该张照片的地理位置点,再执行步骤3,将所有照片分别对应的地理位置点按照拍摄时间顺序进行串联,即能得到该预设目录中所有照片对应的线路图。
其中,本发明上述实施例中,步骤2包括:
步骤21,依次解析每张照片的exif文件,获取每张照片的经纬度信息;
步骤22,获取所述经纬度信息对应的每张照片的地理位置信息,确定一地理位置点。
本发明具体实施例中,所述预设地图为包括所有照片对应的地理位置点的地图。
本发明实施例中,为了能够在一个地图上完整的显示一预设目录下所有照片的线路图,该预设地图为包括所有照片对应的地理位置点的地图;例如该预设目录下的照片仅为在北京游玩的照片,该预设地图需采用北京的地图(较佳的该北京地图能够清晰的显示北京的各个街道、旅游景区等);需要说明的是,该预设地图也可采用中国地图,但是采用中国地图时北京的地区显示较小,不能清晰的显示出各个街道、旅游景区等,标注后的路线也不清楚,用户不能直观的看出自己去过的景区,不能达到标注线路的目的。
较佳的,使用的地图应该恰好能够包括所有的照片对应的所有的地理点,且地图的比例越小越好,地图的比例越小越能够清楚的显示各个较小的地点,例如比例尺为1:1000的地图能够显示天安门和王府井的相对位置,而比例尺为1:100的地图则能够清楚的显示天安门的旗杆在天安门广场的具***置;但是该预设地图的比例尺以及具体的范围由该目录下所有照片的所有地理位置点综合决定,不限于一固定值。
本发明的上述实施例中,所述方法还包括:
步骤4,在所述线路图上的每一个串联点上标注该点对应的地名及地理位置;
步骤5,响应点击所述地名或地理位置的操作,显示在该地名或地理位置拍摄的所有照片。
本发明具体实施例中,将所述线路图上的每一个串联点(即每一个照片的对应的地理位置点)标注对应的地名及地理位置;例如,各个旅游景点的名字,或各个标志性建筑的名字,或各个县、镇、街道等的名字,不限于一具体形式,需根据用户的具体路线具体设定。较佳的,在标注该串联点时尽量使用具有标志性的名字,更容易记忆,便于其他用户参考。
下面结合图2对本发明实施例的照片信息处理方法进行具体说明:
步骤101:选择一个存放有一张或多张照片的目录,启动线路图绘制;
步骤102:对一张照片的exif信息进行解析。Exif文件是JPEG文件中的一种,在文件头信息中增加了有关拍摄信息的内容和索引图,照片的exif信息中包含了拍摄时的光圈、快门、白平衡、ISO、焦距、时间日期等各种和拍摄条件以及相机品牌等,以及全球定位***(GPS)、缩略图等信息;
步骤103:从照片的exif信息中抽取出GPS相关的经纬度信息;
步骤104:检查是否还有下一张照片,如果有,则继续进行下一张照片的解析;并将所有照片的经纬度信息保存在一个数组中;
步骤105:利用各种地图服务,如***地图、百度地图等,输入经纬度,获取到地理位置信息,包括省份地市信息,以及更加具体的位置名称,并将信息记录在数组中;
以百度地图为例:android***上,百度地图提供支持第三方应用调用的通用接口,其中包括地理编码功能。地理编码指的是将地址信息建立共建坐标关系的过程,可分为正向地图编码和反向地图编码。反向地图编码指的是有坐标点转换为地址信息的过程,帮助用户通过地面某个地物的坐标值(经纬度信息)来反向查询得到该地物所在的行政区划、所处街道,以及最匹配的标准地址信息。
终端预装百度地图应用,在获取到经纬度信息时,调用百度地图提供的通用查询接口,即可获得详细的地理位置信息。具体的代码示例此处不再赘述。
步骤106:遍历有所经纬度信息后,利用地图服务,如***地图、百度地图等,获取包含所有经纬度位置的地图,并保存;
以百度地图为例:android***上,百度地图提供支持第三方应用调用的通用接口,其中包括显示地图的功能,按照其提供的接口说明,获取包含当前位置信息的地图数据并呈现,百度地图支持普通地图和卫星地图两种呈现方式。同时,百度地图提供标注位置点功能,且标注的形式多样,使用照片的位置信息,在指定的位置上,添加标注。遍历所有照片的位置信息,在地图上逐个进行标注。具体的代码示例此处不再赘述。
步骤107:按照时间顺序,将位置点进行串联,完成当前目录下所有照片的线路图绘制;
步骤108:进一步衍生,该线路图上的每一个串联点上,可以直接标注对应地名及地理位置,对串联点进行点击展开,可以查看在这个位置拍摄的所有照片。
为了更好的实现上述目的,如图3所示,本发明实施例还提供一种照片信息处理装置,包括:
第一获取模块10,设置为获取一预设目录下的多张照片以及所述多张照片的基本信息;
第二获取模块20,设置为根据所述多张照片的基本信息获取每张照片的拍摄时间和对应的地理位置点;
串联模块30,设置为按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一预设地图上进行串联,构成与所述多张照片对应的线路图。
其中,本发明具体实施例中,所述多张照片的基本信息为包括有照片的拍摄时间和拍摄照片时的经纬度的可交换图像exif文件。
本发明实施例中,所述第二获取模块20包括:
解析模块,设置为依次解析每张照片的exif文件,获取每张照片的经纬度信息;
确定模块,设置为获取所述经纬度信息对应的每张照片的地理位置信息,确定一地理位置点。
较佳的,本发明具体实施例中,所述装置还包括:
标注模块,设置为在所述线路图上的每一个串联点上标注该点对应的地名及地理位置;
显示模块,设置为响应点击所述地名或地理位置的操作,显示在该地名或地理位置拍摄的所有照片。
本发明上述实施例的照片处理方法中,通过照片基本信息中的地理位置信息,借助地图服务,将每张照片对应的地理位置点在地图上按照时间顺序串联,获取一段时间内用户的线路图;给用户直观的呈现整个行程,以及每 一个行程点的照片,一目了然,改变了过去需要手动对照片进行分类及整理的模式,增加了智能终端的实用性,提高了用户体验。
需要说明的是,本发明实施例提供的照片处理装置是应用上述照片处理方法的装置,则上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。
为了更好的实现上述目的,本发明实施例还提供一种终端,包括如上所述的照片信息处理装置。
本发明提供的终端是包括上述照片信息处理装置的终端,则上述装置是所有实施例及其有益效果均适用于该终端。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如***、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想 到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。
工业实用性
本发明实施例的照片处理方法中,通过照片基本信息中的地理位置信息,借助地图服务,将每张照片对应的地理位置点在地图上按照时间顺序串联,获取一段时间内用户的线路图;给用户直观的呈现整个行程,以及每一个行程点的照片,一目了然,改变了过去需要手动对照片进行分类及整理的模式,增加了智能终端的实用性,提高了用户体验。

Claims (12)

  1. 一种照片信息处理方法,包括:
    获取一预设目录下的多张照片以及所述多张照片的基本信息;
    根据所述多张照片的基本信息,获取每张照片的拍摄时间和对应的地理位置点;
    按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一预设地图上进行串联,获得与所述多张照片对应的线路图。
  2. 根据权利要求1所述的照片信息处理方法,其中,所述多张照片的基本信息为包括有照片的拍摄时间和拍摄照片时的经纬度的可交换图像exif文件。
  3. 根据权利要求2所述的照片信息处理方法,其中,根据所述多张照片的基本信息获取每张照片对应的地理位置点的步骤包括:
    依次解析每张照片的exif文件,获取每张照片的经纬度信息;
    获取所述经纬度信息对应的每张照片的地理位置信息,确定一地理位置点。
  4. 根据权利要求1所述的照片信息处理方法,其中,所述预设地图为包括所有照片对应的地理位置点的地图。
  5. 根据权利要求1所述的照片信息处理方法,所述方法还包括:
    在所述线路图上的每一个串联点上标注该点对应的地名及地理位置;
    响应点击所述地名或地理位置的操作,显示在该地名或地理位置拍摄的所有照片。
  6. 一种照片信息处理装置,包括:
    第一获取模块,其设置为:获取一预设目录下的多张照片以及所述多张照片的基本信息;
    第二获取模块,其设置为:根据所述多张照片的基本信息获取每张照片的拍摄时间和对应的地理位置点;以及
    串联模块,其设置为:按照每张照片的拍摄时间顺序,将所述每张照片对应的地理位置点在一预设地图上进行串联,构成与所述多张照片对应的线 路图。
  7. 根据权利要求6所述的照片信息处理装置,其中,所述多张照片的基本信息为包括有照片的拍摄时间和拍摄照片时的经纬度的可交换图像exif文件。
  8. 根据权利要求7所述的照片信息处理装置,其中,所述第二获取模块包括:
    解析模块,其设置为:依次解析每张照片的exif文件,获取每张照片的经纬度信息;以及
    确定模块,其设置为:获取所述经纬度信息对应的每张照片的地理位置信息,确定一地理位置点。
  9. 根据权利要求6所述的照片信息处理装置,所述装置还包括:
    标注模块,其设置为:在所述线路图上的每一个串联点上标注该点对应的地名及地理位置;以及
    显示模块,其设置为:响应点击所述地名或地理位置的操作,显示在该地名或地理位置拍摄的所有照片。
  10. 一种终端,包括如权利要求6至9任一项所述的照片信息处理装置。
  11. 一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行权利要求1-5任一项所述的方法。
  12. 一种载有权利要求11所述计算机程序的计算机可读存储介质。
PCT/CN2014/089503 2014-07-29 2014-10-24 一种照片信息处理方法、装置及终端 WO2015117416A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410367916.0 2014-07-29
CN201410367916.0A CN105320689A (zh) 2014-07-29 2014-07-29 一种照片信息处理方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2015117416A1 true WO2015117416A1 (zh) 2015-08-13

Family

ID=53777233

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089503 WO2015117416A1 (zh) 2014-07-29 2014-10-24 一种照片信息处理方法、装置及终端

Country Status (2)

Country Link
CN (1) CN105320689A (zh)
WO (1) WO2015117416A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512253A (zh) * 2015-12-02 2016-04-20 国网宁夏电力公司银川供电公司 批量标识照片的标识信息的方法和设备

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608609B (zh) * 2016-02-17 2018-02-16 北京金山安全软件有限公司 一种推送旅游信息的方法、装置及电子设备
CN105635972A (zh) * 2016-03-10 2016-06-01 北京小米移动软件有限公司 图像处理方法及装置
CN107238392B (zh) * 2016-03-29 2021-05-25 深圳富泰宏精密工业有限公司 路线规划***及方法
CN105824977B (zh) * 2016-04-21 2019-08-23 南京市水利规划设计院股份有限公司 基于gps和标签信息的水利工程照片管理***及方法
CN106021519A (zh) * 2016-05-24 2016-10-12 腾讯科技(深圳)有限公司 图片动态展示方法和装置
CN106503120A (zh) * 2016-10-18 2017-03-15 北京奇虎科技有限公司 图片分类展示方法、装置及服务器
CN106570694A (zh) * 2016-10-28 2017-04-19 努比亚技术有限公司 服务器、移动终端及移动支付方法
CN106776739A (zh) * 2016-11-17 2017-05-31 宇龙计算机通信科技(深圳)有限公司 图片管理方法、图片管理装置和终端
CN107193395A (zh) * 2017-05-31 2017-09-22 珠海市魅族科技有限公司 一种信息输入方法、终端以及计算设备
CN109977246B (zh) * 2019-03-22 2023-07-07 深圳金袋鼠科技有限公司 一种基于用户行程归类照片的方法及***
CN112182278B (zh) * 2020-09-23 2023-11-17 深圳市超时空探索科技有限公司 一种打卡足迹的模拟方法和装置
CN112463900B (zh) * 2020-11-04 2022-08-16 安徽省交通控股集团有限公司 一种利用照片获取公路构件施工气象环境的bim模型方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050216464A1 (en) * 2004-03-27 2005-09-29 Microsoft Corporation Automated authoring tool and method to facilitate inclusion of maps and other geographical data into travelogues
CN101107603A (zh) * 2005-01-20 2008-01-16 皇家飞利浦电子股份有限公司 一种用于图像浏览的用户界面
US20110055284A1 (en) * 2009-08-26 2011-03-03 Apple Inc. Associating digital images with waypoints
CN102521253A (zh) * 2011-11-17 2012-06-27 西安交通大学 一种可视化的网络用户多媒体管理方法
JP2013065165A (ja) * 2011-09-16 2013-04-11 Nikon Corp 画像表示方法及び装置、画像表示プログラム、並びに画像表示システム

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102162735A (zh) * 2010-02-23 2011-08-24 王昊 通过图像数据获取移动路线的方法、***及移动通信终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050216464A1 (en) * 2004-03-27 2005-09-29 Microsoft Corporation Automated authoring tool and method to facilitate inclusion of maps and other geographical data into travelogues
CN101107603A (zh) * 2005-01-20 2008-01-16 皇家飞利浦电子股份有限公司 一种用于图像浏览的用户界面
US20110055284A1 (en) * 2009-08-26 2011-03-03 Apple Inc. Associating digital images with waypoints
JP2013065165A (ja) * 2011-09-16 2013-04-11 Nikon Corp 画像表示方法及び装置、画像表示プログラム、並びに画像表示システム
CN102521253A (zh) * 2011-11-17 2012-06-27 西安交通大学 一种可视化的网络用户多媒体管理方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512253A (zh) * 2015-12-02 2016-04-20 国网宁夏电力公司银川供电公司 批量标识照片的标识信息的方法和设备
CN105512253B (zh) * 2015-12-02 2019-05-24 国网宁夏电力公司银川供电公司 批量标识照片的标识信息的方法和设备

Also Published As

Publication number Publication date
CN105320689A (zh) 2016-02-10

Similar Documents

Publication Publication Date Title
WO2015117416A1 (zh) 一种照片信息处理方法、装置及终端
Zielstra et al. Positional accuracy analysis of Flickr and Panoramio images for selected world regions
US8584015B2 (en) Presenting media content items using geographical data
KR101529309B1 (ko) 정보 처리 장치와 정보 처리 방법, 및 기록 매체
KR100882025B1 (ko) 지피에스 이미지 검색 방법, 지리적 위치 서비스 기반의지피에스 이미지 검색 방법, 블로그 서비스 기반의지피에스 이미지 검색 방법 및 지역별 블로그 서비스 제공방법
US8254727B2 (en) Method and apparatus for providing picture file
WO2015124082A1 (en) Electronic travel album generating method and system
US20080204317A1 (en) System for automatic geo-tagging of photos
KR20060034249A (ko) 디지털 이미지들의 강화된 조직화 및 검색
CN102279861A (zh) 在数码相机拍摄的照片中标记地理坐标的方法
JP2013502666A (ja) デジタル画像ファイルに関連する地理的な位置情報の処理
WO2016145844A1 (zh) 一种图片排序方法和相应的图片存储显示设备
CN104361122A (zh) 一种图片分组的方法
CN104616182A (zh) 基于房源照片定位的租房方法及***
CN104298678B (zh) 在电子地图上搜索兴趣点的方法、***、装置和服务器
US20130246409A1 (en) Topography by popularity
US20140247342A1 (en) Photographer's Tour Guidance Systems
KR102078858B1 (ko) 웹툰 제공 장치 및 휴대 단말의 동작 방법
TW200928311A (en) Satellite navigation method and system
JP2009134333A (ja) デジタル写真共有システム装置
JP2009021767A (ja) 画像提供装置、画像提供方法、画像提供プログラムおよびそのプログラムを記録したコンピュータ読み取り可能な記録媒体
KR20080040063A (ko) 맵 기반 동영상 분류 및 검색 시스템 그리고 그 방법.
US9064020B2 (en) Information providing device, information providing processing program, recording medium having information providing processing program recorded thereon, and information providing method
WO2018006534A1 (zh) 一种目的地推荐方法、装置及计算机存储介质
JP5708868B1 (ja) プログラム、情報処理装置及び方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881953

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881953

Country of ref document: EP

Kind code of ref document: A1