Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of method and apparatus of recording geographical position, can improve accuracy during recording geographical position, promotes Consumer's Experience.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of method providing recording geographical position information, and the method comprises: enter the interface of taking pictures under geographical location information logging mode; The first geographical location information is obtained from mobile Internet; The second geographical location information is obtained by GPS; According to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information; 3rd geographical location information is associated with the photo of taking pictures captured by interface and preserves.
Wherein, obtain the first geographical location information from mobile Internet and comprise: send request by mobile Internet, to make to call request through gateway passes to geo-location service platform; Receive geo-location service platform according to first geographical location information of asking to return through gateway.
Wherein, comprise to obtain the 3rd geographical location information according to the first geographical location information correction second geographical location information: the first geographical location information and the second geographical location information are contrasted, if consistent, the second geographical location information is directly preserved as the 3rd geographical location information, if inconsistent, the second geographical location information be modified to the first geographical location information and preserve as the 3rd geographical location information.
Wherein, the 3rd geographical location information to be associated with the photo of taking pictures captured by interface and the step of preserving comprises: the 3rd geographical location information and photo are set up data correlation relation; Recalls information record interface, wherein information record interface is for the 3rd geographical location information preserving photo and associate with it; The 3rd geographical location information after data correlation relation and photo written information record interface will be set up.
Wherein, also comprise before entering the interface of taking pictures under geographical location information logging mode: perform the order entering interface of taking pictures; Judge whether the function of recording geographical position information opens, if open, enter the interface of taking pictures under geographical location information logging mode, if do not open, enter the interface of taking pictures under non-geographic positional information logging mode; Wherein, obtain the first geographical location information from mobile Internet and obtain the second geographical location information by GPS and all carry out in indoor.
Wherein, the 3rd geographical location information associated with photo and also comprise after the step of preserving: judging whether emergency mode is opened; If so, then call the 3rd geographical location information every the scheduled time and be sent to programmed emergency.
For solving the problems of the technologies described above, another technical solution used in the present invention is: the device providing a kind of recording geographical position information, device comprises: camera module, processor, display, mobile network's receiver, GPS locator and memory, and processor enters the interface and enter geographical location information logging mode for controlling camera module of taking pictures under geographical location information logging mode for controlling display; Camera module is used for taking pictures; Mobile network's receiver is used for obtaining the first geographical location information from mobile Internet; GPS locator is used for obtaining the second geographical location information by GPS; Processor also for according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information and for being associated with the photo of taking pictures captured by interface by the 3rd geographical location information and being saved to memory.
Wherein, mobile network's receiver sends request by mobile Internet, receives geo-location service platform according to first geographical location information of asking to return through gateway to make to call request through gateway passes to geo-location service platform.
Wherein, first geographical location information and the second geographical location information contrast by processor, if consistent, the second geographical location information is directly preserved as the 3rd geographical location information, if inconsistent, the second geographical location information be modified to the first geographical location information and preserve as the 3rd geographical location information.
Wherein, device comprises emergency mode shift knob further, and for opening emergency mode, when emergency mode is opened, processor controls call the 3rd geographical location information every the scheduled time and be sent to programmed emergency.
The invention has the beneficial effects as follows: the situation being different from prior art, the present invention is by obtaining the first geographical location information from mobile Internet; The second geographical location information is obtained by GPS; Then according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information; 3rd geographical location information associated with the photo of taking pictures captured by interface and preserves, the accuracy of the geographical location information of record can be improved, the experience of user can be promoted.
Embodiment
Below in conjunction with drawings and Examples, the present invention will be described in detail.
Refer to Fig. 1, Fig. 1 is the flow chart of the method for the recording geographical position of first embodiment of the invention.In the present embodiment, the method for recording geographical position comprises:
Step S11: enter the interface of taking pictures under geographical location information logging mode.
In step s 11, under interface of taking pictures under geography information logging mode, the photo of shooting comprises geographical location information, such as the first geographical location information, the second geographical location information, the 3rd geographical location information hereinafter described, geographical location information is reflected in the real-time geographical locations of the photo of interface shooting of taking pictures.Such as, utilize the processor in the device of recording geographical position to control display and enter the interface and enter geographical location information logging mode for controlling camera module of taking pictures under geographical location information logging mode.Such as, the device recording geography information can be mobile phone, panel computer, palmtop PC etc.
Step S12: obtain the first geographical location information from mobile Internet.
In step s 12, mobile Internet can be the mobile Internet (such as, GSM network, WCDMA network, CDMA2000 network, TD-SCDMA network, TD-LTE network and FDD-LTE network) of WIFI network or mobile interchange network operation business.Such as, the mobile network's receiver in the device of recording geographical position information is utilized to obtain the first geographical location information from mobile Internet.Such as, mobile network's receiver is radio-frequency module or WIFI module.
Step S13: obtain the second geographical location information by GPS.
In step s 13, GPS is the abbreviation of English Global Positioning System (global positioning system), namely utilizes GPS locator by technical limit spacing second geographical location information of satellite fix.Such as, the GPS locator in the device of recording geographical position information is utilized to obtain the second geographical location information by GPS.
Step S14: according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information.
In step S14, such as, the processor in the device of recording geographical position information is utilized according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information and associated with the photo of taking pictures captured by interface by the 3rd geographical location information and be saved to memory in the device of recording geographical position information.
Step S15: the 3rd geographical location information is associated with the photo of taking pictures captured by interface and preserves.
Refer to Fig. 2, Fig. 2 is the flow chart of the method for the recording geographical position of second embodiment of the invention.In the present embodiment, the method for recording geographical position comprises:
Step S21: perform the order entering interface of taking pictures.
In the step s 21, such as, user clicks imaging icon button or presses shoot button or its elsewhere and triggers the instruction entering interface of taking pictures, and is the order performing and enter interface of taking pictures.
Step S22: judge whether the function of recording geographical position information opens, if open, performs step S23, if do not open, enters the interface of taking pictures under non-geographic positional information logging mode.
In step S22, the photo taken under the interface of taking pictures under non-geographic positional information logging mode does not associate geographical location information and directly preserves.
Step S23: enter the interface of taking pictures under geographical location information logging mode.
In step S23, under interface of taking pictures under geography information logging mode, the photo of shooting comprises geographical location information, such as the first geographical location information, the second geographical location information, the 3rd geographical location information hereinafter described, geographical location information is reflected in the real-time geographical locations of the photo of interface shooting of taking pictures.Such as, utilize the processor in the device of recording geographical position to control display and enter the interface and enter geographical location information logging mode for controlling camera module of taking pictures under geographical location information logging mode.Such as, the device recording geography information can be mobile phone, panel computer, palmtop PC etc.
Step S24: obtain the first geographical location information from mobile Internet.
Mobile Internet can be the mobile Internet (such as, GSM network, WCDMA network, CDMA2000 network, TD-SCDMA network, TD-LTE network and FDD-LTE network) of WIFI network or mobile interchange network operation business.Such as, obtaining the first geographical location information from mobile Internet can comprise: send request by mobile Internet, to make to call request through gateway passes to geo-location service platform; Receive geo-location service platform according to first geographical location information of asking to return through gateway.Geo-location service platform is cloud server, such as LBS service platform, LBS is combined into by mobile communications network and computer network on the whole, is realized mutual between two networks by gateway, mobile terminal sends request by mobile Internet, through gateway passes to LBS service platform; LBS service platform processes according to request and user's current location, and result is returned to user by gateway.Such as, the mobile network's receiver in the device of recording geographical position information is utilized to obtain the first geographical location information from mobile Internet.Such as, mobile network's receiver is radio-frequency module or WIFI module.Such as, utilize the mobile network's receiver in the device of recording geographical position information to send request by mobile Internet, receive geo-location service platform according to first geographical location information of asking through gateway return through gateway passes to geo-location service platform to make to call request.
Step S25: obtain the second geographical location information by GPS.
In step s 25, GPS is the abbreviation of English Global Positioning System (global positioning system), namely utilizes GPS locator by technical limit spacing second geographical location information of satellite fix.Such as, the GPS locator in the device of recording geographical position information is utilized to obtain the second geographical location information by GPS.
Step S26: according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information.
In step S26, comprise to obtain the 3rd geographical location information according to the first geographical location information correction second geographical location information: the first geographical location information and the second geographical location information are contrasted, if consistent, the second geographical location information is directly preserved as the 3rd geographical location information, if inconsistent, the second geographical location information be modified to the first geographical location information and preserve as the 3rd geographical location information.Such as, the processor in the device of recording geographical position information is utilized according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information and associated with the photo of taking pictures captured by interface by the 3rd geographical location information and be saved to memory in the device of recording geographical position information.Particularly, first geographical location information and the second geographical location information contrast by processor, if consistent, the second geographical location information is directly preserved as the 3rd geographical location information, if inconsistent, the second geographical location information be modified to the first geographical location information and preserve as the 3rd geographical location information
Step S27: the 3rd geographical location information is associated with the photo of taking pictures captured by interface and preserves.
In step s 27, the 3rd geographical location information to be associated with the photo of taking pictures captured by interface and the step of preserving comprises: the 3rd geographical location information and photo are set up data correlation relation; Recalls information record interface, wherein information record interface is for the 3rd geographical location information preserving photo and associate with it; The 3rd geographical location information after data correlation relation and photo written information record interface will be set up.Such as, the 3rd geographical location information and photo being set up data correlation relation can be that photo and the 3rd geographical location information are set up data correlation relation by pointer.
Step S28: judge whether emergency mode is opened, if so, then performs step S29.
Such as, in step S28, when user can open emergency mode when carrying out outdoor mountain-climbing or user self thinks and may enter deathtrap.
Step S29: call the 3rd geographical location information every the scheduled time and be sent to programmed emergency.
In step S29, also can be call the 3rd geographical location information and the photo that associates with it is together sent to programmed emergency every the scheduled time.User pre-sets programmed emergency telephone number, if only send the 3rd geographical location information, be sent to programmed emergency by the form of note, if the 3rd geographical location information and the photo that associates with it are together sent, be sent to programmed emergency by the form of multimedia message; 3rd geographical location information and/or the photo that associates with it are sent to programmed emergency by contact method such as qq, micro-letter etc. that certain user can also pre-set social software.Preferably, predetermined time is 30s, and the scheduled time independently can be arranged by user, and the scheduled time also can be other times in other embodiments.When causing danger, the geographical location information being on the scene that programmed emergency can obtain user is in time rescued.Such as, the emergency mode shift knob in the device of recording geographical position information is utilized to open or close emergency mode.
After step S29, can also comprise the following steps: the photo that the terminal of programmed emergency receives the 3rd geographical location information and/or associates with it; Open the 3rd geographical location information by map software, and show the real time position of the correspondence of the 3rd geographical location information; Or can also comprise after step S29: the photo receiving the 3rd geographical location information and/or associate with it; The photo preserved the 3rd geographical location information and/or associate with it.
After step S29, can also comprise the following steps: under geographical location information logging mode, take multiple pictures; Carried out being divided into multiple class according to the 3rd geographical location information by multiple pictures, the photo in same or similar shooting places region is put into a file; The time order and function order of photo in each class by shooting is sorted.Often take after the text description of the time of shooting, user is also associated with photo by a photo and preserve.
After step S29, can also comprise the following steps: under geographical location information logging mode, take multiple pictures; Utilize map software to show map, the thumbnail of multiple pictures is presented at position corresponding on map respectively according to the 3rd geographical location information.
Can also comprise the following steps after step S29: the photo that the terminal of programmed emergency receives multiple 3rd geographical location information and associates with it; Carried out being divided into multiple class according to the 3rd geographical location information by multiple pictures, the photo in same or similar shooting places region is put into a file; The time order and function order of photo in each class by shooting is sorted.Often take after the text description of the time of shooting, user is also associated with photo by a photo and preserve.
After step S29, can also comprise the following steps: the photo that the terminal of programmed emergency receives multiple 3rd geographical location information and associates with it; Utilize map software to show map, the thumbnail of multiple pictures is presented at position corresponding on map respectively according to the 3rd geographical location information.
It should be noted that, preferably, obtain the first geographical location information from mobile Internet and obtain the second geographical location information by GPS and all carry out in indoor, namely the device of recording geographical position information obtains the first geographical location information from mobile Internet and obtains the second geographical location information by GPS and all carries out in indoor, when obtaining the first geographical location information and when obtaining the second geographical location information, the device of recording geographical position information is all positioned at indoor.That is, preferred application scenarios of the present invention is indoor positioning, because GPS locator is for indoor, especially the space of high-storey, position error is comparatively large, usually about 50-500 rice, and in this case, the first geographical location information obtained by mobile Internet receiver is still relatively accurately, thus is revised second place information by the first geographical location information, and the 3rd geographical position obtained is more accurate.Certainly, in other embodiments, also can be carry out in outdoor.
Refer to Fig. 3, Fig. 3 is the module diagram of the device preferred embodiment of recording geographical position information of the present invention.In the present embodiment, the device of recording geographical position information comprises: camera module 10, processor 11, display 12, mobile network's receiver 13, GPS locator 14, memory 15 and emergency mode shift knob 16.
Processor 11 enters the interface and enter geographical location information logging mode for controlling camera module 10 of taking pictures under geographical location information logging mode for controlling display 12; Camera module 10 is for taking pictures; Mobile network's receiver 13 is for obtaining the first geographical location information from mobile Internet; GPS locator 14 is for obtaining the second geographical location information by GPS; Processor 11 also for according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information and for being associated with the photo of taking pictures captured by interface by the 3rd geographical location information and being saved to memory 15.Mobile network's receiver 13 sends request by mobile Internet, receives geo-location service platform according to first geographical location information of asking to return through gateway to make to call request through gateway passes to geo-location service platform.
Particularly, processor 11 is for contrasting the first geographical location information and the second geographical location information, if consistent, the second geographical location information is directly preserved as the 3rd geographical location information, if inconsistent, the second geographical location information be modified to the first geographical location information and preserve as the 3rd geographical location information.
Particularly, emergency mode shift knob 16, for opening emergency mode, when emergency mode is opened, processor controls call the 3rd geographical location information every the scheduled time and be sent to programmed emergency.Certainly, also can be call the 3rd geographical location information and the photo that associates with it is together sent to programmed emergency every the scheduled time.User pre-sets programmed emergency telephone number, if only send the 3rd geographical location information, be sent to programmed emergency by the form of note, if the 3rd geographical location information and the photo that associates with it are together sent, be sent to programmed emergency by the form of multimedia message; 3rd geographical location information and/or the photo that associates with it are sent to programmed emergency by contact method such as qq, micro-letter etc. that certain user can also pre-set social software.Preferably, predetermined time is 30s, and the scheduled time independently can be arranged by user, and the scheduled time also can be other times in other embodiments.When causing danger, the geographical location information being on the scene that programmed emergency can obtain user is in time rescued.
Particularly, processor 11 is for setting up data correlation relation by the 3rd geographical location information and photo, and for recalls information record interface, wherein information record interface is for the 3rd geographical location information preserving photo and associate with it; Also for will the 3rd geographical location information after data correlation relation and photo written information record interface be set up.
The photo that the terminal of programmed emergency receives the 3rd geographical location information and/or associates with it; Open the 3rd geographical location information by map software, and show the real time position of the correspondence of the 3rd geographical location information; Or the photo receiving the 3rd geographical location information and/or associate with it; The photo preserved the 3rd geographical location information and/or associate with it.
Processor 11 also takes multiple pictures for controlling camera module 10 under geographical location information logging mode; For being carried out being divided into multiple class according to the 3rd geographical location information by multiple pictures, the photo in same or similar shooting places region is put into a file; For the time order and function order of the photo in each class by shooting is sorted.Often take after the text description of the time of shooting, user is also associated with photo by a photo and preserve.
Processor 11 controls camera module 10 for taking multiple pictures under geographical location information logging mode; For utilizing map software to show map, the thumbnail of multiple pictures is presented at position corresponding on map respectively according to the 3rd geographical location information.
The photo that the terminal of programmed emergency receives multiple 3rd geographical location information and associates with it; Carried out being divided into multiple class according to the 3rd geographical location information by multiple pictures, the photo in same or similar shooting places region is put into a file; The time order and function order of photo in each class by shooting is sorted.Often take after the text description of the time of shooting, user is also associated with photo by a photo and preserve.
It should be noted that, preferably, obtain the first geographical location information from mobile Internet and obtain the second geographical location information by GPS and all carry out in indoor, namely the device of recording geographical position information obtains the first geographical location information from mobile Internet and obtains the second geographical location information by GPS and all carries out in indoor, when obtaining the first geographical location information and when obtaining the second geographical location information, the device of recording geographical position information is all positioned at indoor.That is, preferred application scenarios of the present invention is indoor positioning, because GPS locator is for indoor, especially the space of high-storey, position error is comparatively large, usually in accuracy rating about 50-500 rice, and in this case, the first geographical location information obtained by mobile Internet receiver is still relatively accurately, thus is revised second place information by the first geographical location information, and the 3rd geographical position obtained is more accurate.Certainly, in other embodiments, also can be carry out in outdoor.
Be different from prior art, the present invention is by obtaining the first geographical location information from mobile Internet; The second geographical location information is obtained by GPS; Then according to the first geographical location information correction second geographical location information to obtain the 3rd geographical location information; 3rd geographical location information associated with the photo of taking pictures captured by interface and preserves, the accuracy of the geographical location information of record can be improved, the experience of user can be promoted.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.