CN105704811A - Method of recording position information during photograph shooting, apparatus and mobile terminal thereof - Google Patents
Method of recording position information during photograph shooting, apparatus and mobile terminal thereof Download PDFInfo
- Publication number
- CN105704811A CN105704811A CN201610024514.XA CN201610024514A CN105704811A CN 105704811 A CN105704811 A CN 105704811A CN 201610024514 A CN201610024514 A CN 201610024514A CN 105704811 A CN105704811 A CN 105704811A
- Authority
- CN
- China
- Prior art keywords
- basis
- location information
- information
- photo
- shooting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
Embodiments of the invention disclose a method of recording position information during photograph shooting, an apparatus and a mobile terminal thereof. The method comprises the following steps of when a shooting instruction is monitored, acquiring positioning basis information; when a current network is unavailable, making the acquired positioning basis information be corresponding to a shooting photograph and storing; when the current can be used, sending the positioning basis information to a server and receiving position information returned by the server; and according to a corresponding relation of the positioning basis information and the photograph, writing the position information into the photograph. In a technical scheme provided in the embodiments, under the condition that a data network or WIFI can not be used, geographical location information of the shooting photograph is recorded.
Description
Technical field
The present embodiments relate to mobile terminal applied technical field, particularly relate to a kind of method of record position information, device and mobile terminal in shooting photo。
Background technology
Current mobile phone typically is provided with camera function and positioning function, use above two function can in the process of taking pictures the geographical position of records photographing photo, such as longitude and latitude。
In the prior art, in using the process of mobile phone photograph possessing recording geographical position information function, it is typically all by global positioning system (GlobalPositioningSystem, GPS), Wireless Fidelity (WirelessFidelity, WIFI) or architecture obtain shooting photo geographical location information, then by the photo of the geographical location information write shooting got, need to use network in the process obtaining geographical location information。
But in the disabled situation of data network or WIFI, when user uses mobile phone shooting photo, it is impossible to position, obtain the geographical location information less than shooting photo, it is impossible to the geographical position of records photographing photo。
Summary of the invention
The embodiment of the present invention provides a kind of method of record position information, device and mobile terminal in shooting photo, with in the disabled situation of data network or WIFI, and the positional information of records photographing photo。
First aspect, embodiments provides a kind of method of record position information in shooting photo, including:
When monitoring photographing instruction, obtain basis on location information;
If current network is unavailable, then by corresponding with the photo of shooting for the basis on location information got and store;
After network can be used, described basis on location information is sent to server, and receives the positional information that server returns;
Corresponding relation according to described basis on location information Yu described photo, is written to described positional information in described photo。
Second aspect, the embodiment of the present invention additionally provides a kind of device of record position information in shooting photo, including:
Basis on location information acquisition unit, for when monitoring photographing instruction, obtaining basis on location information;
Corresponding relation is determined and memory element, if unavailable for current network, then by corresponding with the photo of shooting for the basis on location information got and store;
Primary importance information determination unit, for, after network can be used, sending described basis on location information to server, and receive the positional information that server returns;
Primary importance information writing unit, for the corresponding relation according to described basis on location information Yu described photo, is written to described positional information in described photo。
The third aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal is integrated with in second aspect in shooting photo the device of record position information。
The technical scheme that the embodiment of the present invention provides, in the disabled situation of network, first by corresponding with the photo of shooting for the basis on location information got and store, after network can be used, basis on location information is sent to server acquisition positional information, then according to the corresponding relation of basis on location information and the photo of shooting, positional information is write in the photo shot, achieve in the disabled situation of data network or WIFI, record the geographical location information of shooting photo。
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, introduce the accompanying drawing used required in embodiment or description of the prior art is done one simply below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is a kind of schematic flow sheet of the method for record position information in shooting photo that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow sheet of the method for record position information in shooting photo that the embodiment of the present invention two provides;
Fig. 3 is a kind of schematic flow sheet of the method for record position information in shooting photo that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural representation of the device of record position information in shooting photo that the embodiment of the present invention four provides。
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, hereinafter with reference to the accompanying drawing in the embodiment of the present invention, technical scheme is described clearly and completely by embodiment, it is clear that, described embodiment is a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
Embodiment one
Fig. 1 is a kind of schematic flow sheet of the method for record position information in shooting photo that the embodiment of the present invention one provides。The method is record position information suitable in the photo in shooting, the convenient situation that photo is managed, and can be performed by the device of record position information in shooting photo being configured in terminal, and described device can be realized by software and/or hardware。Referring to Fig. 1, the method for record position information in shooting photo that the present embodiment provides specifically includes:
S110, when monitoring photographing instruction, obtain basis on location information;
User takes pictures in process in use terminal, when user presses camera function key, for instance press the button of taking pictures being arranged in terminal side switch, or touch on terminal demonstration interface and press when taking pictures button, photographing instruction can be generated in terminal system, this photographing instruction can be monitored。At this point it is possible to obtain basis on location information by scanning wireless network。According to the difference using location technology, basis on location information can include WIFI information or base station information。Wherein, WIFI information can include the media interviews of WIFI hot spot and control (MediaAccessControl, MAC) address and received signal strength value (ReceivedSignalStrengthIndication, RSSI), base station information can include community ID (i.e. location area code) and corresponding RSSI。Exemplary, when scanning the signal of WIFI hot spot, MAC and the RSSI of WIFI hot spot can be obtained from signal。It is typically in the process of scanning, it is possible to getting MAC and the RSSI of multiple WIFI hot spot, the WIFI information got can adopt the form of being expressed as: { MAC1, RSSI1;MAC2, RSSI2;...。
If S120 current network is unavailable, then by corresponding with the photo of shooting for the basis on location information got and store;
After obtaining basis on location information, judge whether current network can be used, namely judge whether current data network or WIFI can use, if data network and WIFI are unavailable, terminal cannot be communicated by network and server, it is impossible to the instant positional information that the transmission of basis on location information obtains shooting photo to server。At this point it is possible to by corresponding with the photo of shooting for the basis on location information got and store, namely set up corresponding relation between basis on location information and the photo of shooting。After inquiry gets basis on location information, the photo corresponding with this basis on location information can be found by corresponding relation;Or after obtaining the photo shot, the basis on location information corresponding with the photo of this shooting can be found by corresponding relation。
S130, after network can be used, described basis on location information is sent to server, and receives the positional information that server returns;
After data network or WIFI can be used, basis on location information being sent to server by data network or WIFI, service determines corresponding position according to basis on location information, and returns defined location information。Positional information can be latitude and longitude coordinates information。
Specifically, when basis on location information is WIFI information, namely the basis on location information sent includes MAC and the RSSI of the WIFI obtained, server is according to receiving multiple MAC and RSSI, adopt corresponding location fingerprint matching algorithm, MAC and RSSI is mated with location fingerprint data base, calculates corresponding geographical location information, then geographical location information is returned。
S140, corresponding relation according to described basis on location information Yu described photo, be written to described positional information in described photo。
Even if it should be noted that network is unavailable, terminal can also scan corresponding focus or base station signal to obtain WIFI information near terminal or base station information。
The technical scheme that the present embodiment provides, in the disabled situation of network, first by corresponding with the photo of shooting for the basis on location information got and store, after network can be used, basis on location information is sent to server acquisition positional information, then according to the corresponding relation of basis on location information and the photo of shooting, positional information is write in the photo shot, the geographical location information of shooting photo in the disabled situation of data network or WIFI, can be recorded。
Embodiment two
Fig. 2 is a kind of schematic flow sheet of the method for record position information in shooting photo that the embodiment of the present invention two provides。The present embodiment is on the basis of above-described embodiment one, S120 to be optimized, and referring to Fig. 2, the method for record position information in shooting photo that the present embodiment provides specifically includes:
S210, when monitoring photographing instruction, obtain basis on location information;
S220, by described basis on location information preserve hereof;
S230, set up the mark of described file and the corresponding relation of the mark of the photo of described shooting;
Wherein, the mark of file can be the title of file, and the mark of the photo of shooting can be title or the numbering of photo, file or can pass through corresponding mark between photo and make a distinction, and can uniquely determine file or photo by mark。
S240, described corresponding relation is stored;
Further, it is possible to the corresponding relation of foundation is stored with form or text formatting。In the process taken pictures, user may shoot multiple pictures, can be corresponding with the file of corresponding preservation basis on location information by every photo, and every corresponding relation is stored with the form of form or text, convenient by photo corresponding for the positional information write got。
S250, after network can be used, described basis on location information is sent to server, and receives the positional information that server returns;
S260, corresponding relation according to described basis on location information Yu described photo, be written to described positional information in described photo。
The technical scheme that the present embodiment provides, by basis on location information is preserved, and set up basis on location information and the corresponding relation of shooting photo, after network can be used, basis on location information is sent to server acquisition positional information, in the convenient photo being write corresponding shooting after obtaining positional information by corresponding relation, it is possible in the disabled situation of data network or WIFI, record the geographical location information of shooting photo。
Embodiment three
Fig. 3 is a kind of schematic flow sheet of the method for record position information in shooting photo that the embodiment of the present invention three provides。The present embodiment is to be optimized on the basis of above-described embodiment one, and referring to Fig. 3, the method for record position information in shooting photo that the present embodiment provides specifically includes:
S310, when monitoring photographing instruction, obtain basis on location information;
S320, judge whether current network can be used, if so, then jump to S360;
S330, by corresponding with the photo of shooting for the basis on location information got and store;
S340, after network can be used, described basis on location information is sent to server, and receives the positional information that server returns;
S350, corresponding relation according to described basis on location information Yu described photo, be written to described positional information in described photo, jump to S380;
S360, described basis on location information is sent to server, and receive the positional information that server returns;
S370, described positional information is written in described photo;
S380, end。
The technical scheme that the present embodiment provides, obtaining after basis on location information, it is judged that current network whether can with and perform different schemes, it is possible to achieve recording geographical position information in the photo of shooting, be user-friendly to geographical location information management photo。
Embodiment four
Fig. 4 is a kind of structural representation of the device of record position information in shooting photo that the embodiment of the present invention four provides。Referring to Fig. 4, this device specifically includes:
Basis on location information acquisition unit 410, for when monitoring photographing instruction, obtaining basis on location information;
Corresponding relation is determined and memory element 420, if unavailable for current network, then by corresponding with the photo of shooting for the basis on location information got and store;
Primary importance information determination unit 430, for, after network can be used, sending described basis on location information to server, and receive the positional information that server returns;
Primary importance information writing unit 440, for the corresponding relation according to described basis on location information Yu described photo, is written to described positional information in described photo。
Further, described corresponding relation is determined and is included with memory element 420:
Basis on location information saving subunit 421, for preserving described basis on location information hereof;
Corresponding relation sets up subelement 422, the corresponding relation of mark with the mark of the photo of described shooting for setting up described file;
Corresponding relation storing sub-units 423, for storing described corresponding relation。
Further, described corresponding relation storing sub-units 423 specifically for:
Described corresponding relation is stored with form or text formatting。
Further, described device also includes:
Second position information determination unit 450, for after obtaining basis on location information, if current network can be used, then sends described basis on location information to server, and receives the positional information that server returns;
Second position information writing unit 460, for being written to described positional information in the photo of shooting。
Further, described basis on location information includes:
WIFI information or base station information。
Said apparatus can perform the method for record position information in shooting photo that any embodiment of the present invention provides, and possesses the corresponding functional module of execution method and beneficial effect。
It addition, the embodiment of the present invention additionally provides a kind of mobile terminal, mobile terminal can include the equipment such as mobile phone, notebook, panel computer and vehicle-mounted computer, and described mobile terminal is integrated with the above-mentioned device of record position information in shooting photo。
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle。It will be appreciated by those skilled in the art that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute without departing from protection scope of the present invention。Therefore, although the present invention being described in further detail by above example, but the present invention is not limited only to above example, when without departing from present inventive concept, other Equivalent embodiments more can also be included, and the scope of the present invention is determined by appended right。
Claims (11)
1. the method for record position information in shooting photo, it is characterised in that including:
When monitoring photographing instruction, obtain basis on location information;
If current network is unavailable, then by corresponding with the photo of shooting for the basis on location information got and store;
After network can be used, described basis on location information is sent to server, and receives the positional information that server returns;
Corresponding relation according to described basis on location information Yu described photo, is written to described positional information in described photo。
2. method according to claim 1, it is characterised in that described by corresponding with the photo of shooting for the basis on location information got and store, including:
Described basis on location information is preserved hereof;
Set up the mark of described file and the corresponding relation of the mark of the photo of described shooting;
Described corresponding relation is stored。
3. method according to claim 2, it is characterised in that described described corresponding relation is stored, including:
Described corresponding relation is stored with form or text formatting。
4. method according to claim 1, it is characterised in that after obtaining basis on location information, also include:
If current network can be used, then described basis on location information is sent to server, and receive the positional information that server returns;
Described positional information is written in the photo of shooting。
5. the method according to any one of claim 1-4, it is characterised in that described basis on location information includes:
Wireless Fidelity WIFI information or base station information。
6. the device of record position information in shooting photo, it is characterised in that including:
Basis on location information acquisition unit, for when monitoring photographing instruction, obtaining basis on location information;
Corresponding relation is determined and memory element, if unavailable for current network, then by corresponding with the photo of shooting for the basis on location information got and store;
Primary importance information determination unit, for, after network can be used, sending described basis on location information to server, and receive the positional information that server returns;
Primary importance information writing unit, for the corresponding relation according to described basis on location information Yu described photo, is written to described positional information in described photo。
7. device according to claim 6, it is characterised in that described corresponding relation is determined and included with memory element:
Basis on location information saving subunit, for preserving described basis on location information hereof;
Corresponding relation sets up subelement, the corresponding relation of mark with the mark of the photo of described shooting for setting up described file;
Corresponding relation storing sub-units, for storing described corresponding relation。
8. device according to claim 7, it is characterised in that described corresponding relation storing sub-units specifically for:
Described corresponding relation is stored with form or text formatting。
9. device according to claim 6, it is characterised in that also include:
Second position information determination unit, for after obtaining basis on location information, if current network can be used, then sends described basis on location information to server, and receives the positional information that server returns;
Second position information writing unit, for being written to described positional information in the photo of shooting。
10. the device according to any one of claim 6-9, it is characterised in that described basis on location information includes:
WIFI information or base station information。
11. a mobile terminal, it is characterised in that described mobile terminal is integrated with the device of record position information in shooting photo described in any one of claim 6-10。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610024514.XA CN105704811B (en) | 2016-01-13 | 2016-01-13 | A kind of method, apparatus and mobile terminal of the record position information in photo is shot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610024514.XA CN105704811B (en) | 2016-01-13 | 2016-01-13 | A kind of method, apparatus and mobile terminal of the record position information in photo is shot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105704811A true CN105704811A (en) | 2016-06-22 |
CN105704811B CN105704811B (en) | 2018-05-25 |
Family
ID=56227358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610024514.XA Active CN105704811B (en) | 2016-01-13 | 2016-01-13 | A kind of method, apparatus and mobile terminal of the record position information in photo is shot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105704811B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346564A (en) * | 2017-06-29 | 2017-11-14 | 国网冀北电力有限公司承德供电公司 | Make an inspection tour task supervision method, electronic equipment and server |
CN108898750A (en) * | 2018-07-09 | 2018-11-27 | 杨杰 | A kind of photographing equipment leasing system and method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798380A (en) * | 2004-12-24 | 2006-07-05 | 英华达(上海)电子有限公司 | Method for saving shooting location in handset |
CN101164253A (en) * | 2005-04-19 | 2008-04-16 | Sk泰力康姆株式会社 | Location-based service method and system using location data included in image data |
CN101411187A (en) * | 2006-04-05 | 2009-04-15 | 奥林巴斯株式会社 | Electronic still camera and image processing method |
CN101841648A (en) * | 2009-03-17 | 2010-09-22 | 英华达(上海)科技有限公司 | Camera device and geographic information adding method thereof |
CN102355550A (en) * | 2011-11-16 | 2012-02-15 | 天津三星光电子有限公司 | Digital camera with GPS (Global Positioning System) positioning function |
CN102970653A (en) * | 2012-11-13 | 2013-03-13 | 北京小米科技有限责任公司 | User terminal photographing method and user terminal |
US20140024398A1 (en) * | 2007-01-30 | 2014-01-23 | At&T Mobility Ii Llc | Dynamic Geotagging of Photographs |
CN103916940A (en) * | 2014-03-28 | 2014-07-09 | 小米科技有限责任公司 | Method and device for acquiring photographing position |
CN104185139A (en) * | 2013-05-21 | 2014-12-03 | 百度在线网络技术(北京)有限公司 | Fingerprint matching-based wireless positioning method and device |
-
2016
- 2016-01-13 CN CN201610024514.XA patent/CN105704811B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798380A (en) * | 2004-12-24 | 2006-07-05 | 英华达(上海)电子有限公司 | Method for saving shooting location in handset |
CN101164253A (en) * | 2005-04-19 | 2008-04-16 | Sk泰力康姆株式会社 | Location-based service method and system using location data included in image data |
CN101411187A (en) * | 2006-04-05 | 2009-04-15 | 奥林巴斯株式会社 | Electronic still camera and image processing method |
US20140024398A1 (en) * | 2007-01-30 | 2014-01-23 | At&T Mobility Ii Llc | Dynamic Geotagging of Photographs |
CN101841648A (en) * | 2009-03-17 | 2010-09-22 | 英华达(上海)科技有限公司 | Camera device and geographic information adding method thereof |
CN102355550A (en) * | 2011-11-16 | 2012-02-15 | 天津三星光电子有限公司 | Digital camera with GPS (Global Positioning System) positioning function |
CN102970653A (en) * | 2012-11-13 | 2013-03-13 | 北京小米科技有限责任公司 | User terminal photographing method and user terminal |
CN104185139A (en) * | 2013-05-21 | 2014-12-03 | 百度在线网络技术(北京)有限公司 | Fingerprint matching-based wireless positioning method and device |
CN103916940A (en) * | 2014-03-28 | 2014-07-09 | 小米科技有限责任公司 | Method and device for acquiring photographing position |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346564A (en) * | 2017-06-29 | 2017-11-14 | 国网冀北电力有限公司承德供电公司 | Make an inspection tour task supervision method, electronic equipment and server |
CN108898750A (en) * | 2018-07-09 | 2018-11-27 | 杨杰 | A kind of photographing equipment leasing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN105704811B (en) | 2018-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9621638B2 (en) | Method, system, and apparatus for sharing application information | |
US11212856B2 (en) | Unmanned aerial vehicle access method and device | |
RU2007112676A (en) | METHOD FOR ADDING GEOGRAPHIC TITLES TO IMAGES AT MOBILE COMMUNICATION TERMINAL | |
CN105120430A (en) | Terminal positioning method, device and terminal | |
US9876920B2 (en) | Information processing apparatus, image forming apparatus, non-transitory computer-readable recording medium encoded with remote operation program, and non-transitory computer-readable recording medium encoded with remote control program | |
CN103327270B (en) | A kind of image processing method, device and terminal | |
US8478308B2 (en) | Positioning system for adding location information to the metadata of an image and positioning method thereof | |
KR20060087613A (en) | System and method for registering attendance of entities associated with content creation | |
CN103944870B (en) | Communicator and its control method | |
CN109450949B (en) | Method for unbinding numbers of multiple applications, mobile terminal and readable storage medium | |
CN105554064B (en) | The method and device of head portrait is set | |
CN104867097A (en) | Method and device for generating watermark picture | |
CN109413760B (en) | Wireless connection method and device | |
US8768377B2 (en) | Portable electronic device and method of providing location-based information associated with an image | |
CN105704811A (en) | Method of recording position information during photograph shooting, apparatus and mobile terminal thereof | |
CN105848287A (en) | Method, device and system for processing terminal positioning and router | |
US9894703B2 (en) | Communications apparatus, control method, and storage medium | |
KR101638726B1 (en) | Method, apparatus, program and recording medium for determining position | |
JP2007122351A (en) | Image reading system | |
CN109089216B (en) | File transmission method and equipment based on Bluetooth transmission | |
JP2007282123A (en) | Image distribution system, terminal device, image distributing device, program, and recording medium | |
JP2017046324A (en) | User terminal, object recognition server, notification method and user terminal program | |
US20140268235A1 (en) | Methods to mobile printing and devices and systems thereof | |
US9756673B2 (en) | Data sharing method and apparatus | |
CN108810167A (en) | A kind of information-pushing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |