CN103916940A - Method and device for acquiring photographing position - Google Patents

Method and device for acquiring photographing position Download PDF

Info

Publication number
CN103916940A
CN103916940A CN201410124150.3A CN201410124150A CN103916940A CN 103916940 A CN103916940 A CN 103916940A CN 201410124150 A CN201410124150 A CN 201410124150A CN 103916940 A CN103916940 A CN 103916940A
Authority
CN
China
Prior art keywords
electronic equipment
identification information
positional information
photo
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410124150.3A
Other languages
Chinese (zh)
Inventor
郭涛
范典
孙鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410124150.3A priority Critical patent/CN103916940A/en
Publication of CN103916940A publication Critical patent/CN103916940A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and device for acquiring a photographing position. The method comprises the following steps: when a photo is generated through photographing, acquiring identification information of an electronic device fixed at position of communication connection; when position information of the electronic device is determined according to the identification information of the electronic device, writing in the property of the photo with the position information of the electronic device serving as the position information of the photo; when not determining the position information of the electronic device according to the identification information of the electronic device, storing the identification information of the electronic device. According to the technical scheme provided by the method and device for acquiring the photographing position, if the position information can be determined according to the identification information, the position information of the electronic device serves as the position information of the photo, and the property of the photo is written. If the position information can not be determined according to the identification information, the identification information can be stored, so that the position information corresponding to the identification information can be conveniently determined in the future. Therefore, by means of the method and device for acquiring the photographing position, power consumption of acquiring the position information for acquiring the photo can be reduced.

Description

A kind of method and device that obtains the position of taking pictures
Technical field
The present invention relates to communication technical field, in particular, relate to the method and the device that obtain the position of taking pictures.
Background technology
Along with popularizing of the mobile device such as mobile phone, panel computer, the photo that uses mobile device to take is more and more, the arrangement of user's comparison film and classification demand are also more and more stronger, and a place that key feature is exactly photograph taking that arranges and classify, so the position how recording photograph is taken becomes a very important demand.
At present, mainly adopting the GPS(Global Positioning System of mobile device, global positioning system) module determines the positional information of taking pictures.User is before use mobile device is taken pictures, need to open the GPS module of mobile device, mobile device is taken pictures while generating photo, utilize GPS module to obtain the positional information of current mobile device, and by associated to the positional information getting and the foundation of this photo, thereby obtain the positional information of every photo in the time taking.
In research and practice process, inventor finds that above-mentioned correlation technique at least exists following problem:
Photo of the every take of mobile device all utilizes GPS module to obtain positional information one time, take pictures with regard to very power consumption owing to utilizing mobile device, GPS module power consumption in the time obtaining positional information of adding mobile device is larger, the electric weight of mobile device will soon be consumed completely so, has so utilize the GPS module of mobile device to obtain the positional information of taking pictures the problem that power consumption is large.
Therefore, how to reduce mobile device and obtain the power consumption of the positional information of taking pictures, become the problem that needs most at present solution.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method and device that obtains the position of taking pictures, and obtains the power consumption of the positional information of taking pictures to reduce mobile device.
According to the first aspect of disclosure embodiment, a kind of method of obtaining the position of taking pictures is provided, comprising:
Generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects;
In the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
In the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, store the identification information of described electronic equipment.
In one embodiment, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Detect and whether be connected to wireless network;
If be connected to wireless network, obtain the identification information of the equipment that wireless network is provided.
In one embodiment, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Judge the current router that whether is connected to;
In the time being connected to router, obtain the identification information of the router of current connection.
In one embodiment, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Detect and whether be connected to global system for mobile communications GSM network;
In the time being connected to described GSM network, obtain the identification information of the base station that GSM network is provided.
In one embodiment, after storing the identification information of described electronic equipment, also comprise:
When being connected to after wireless network, obtain the positional information of described electronic equipment according to the identification information of the described electronic equipment of storage;
Positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo.
In one embodiment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo, comprising:
For the setup of attribute extend information of described photo;
Described positional information is write in the extend information of described photo.
According to the second aspect of disclosure embodiment, a kind of device that obtains the position of taking pictures is provided, comprising:
The first acquisition module, for generating when photo taking pictures, obtains the identification information of the fixing electronic equipment in position that current communication connects;
The first writing module, in the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
Memory module, in the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, stores the identification information of described electronic equipment.
In one embodiment, described the first acquisition module comprises:
The first detecting unit, for detection of whether being connected to wireless network;
The first acquiring unit, in the time being connected to wireless network, obtains the identification information of the equipment that wireless network is provided.
In one embodiment, described the first acquisition module comprises:
Judging unit, for judging the current router that whether is connected to;
Second acquisition unit, in the time being connected to router, obtains the identification information of the router of current connection.
In one embodiment, described the first acquisition module comprises:
The second detecting unit, for detection of whether being connected to global system for mobile communications GSM network;
The 3rd acquiring unit, in the time being connected to described GSM network, obtains the identification information of the base station that GSM network is provided.
In one embodiment, also comprise:
The second acquisition module, for being connected to after wireless network, obtains the positional information of described electronic equipment according to the identification information of the described electronic equipment of storage;
The second writing module, writes the attribute of described photo for the positional information using the positional information of described electronic equipment as described photo.
In one embodiment, described the first writing module comprises:
Setting unit, is used to the setup of attribute extend information of described photo;
Writing unit, for writing described positional information the extend information of described photo.
According to the third aspect of disclosure embodiment, a kind of device that obtains the position of taking pictures is provided, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects;
In the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
In the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, store the identification information of described electronic equipment.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the time taking pictures generation photo, get the identification information of the fixing electronic equipment in position that current communication connects, if can determine positional information according to identification information, the so just positional information using the positional information of electronic equipment as photo, and write the attribute of photo; If cannot determine positional information according to identification information, can store so this identification information, can determine again so that follow-up the positional information that identification information is corresponding, so do not open the GPS module that power consumption is large in whole process, therefore, the disclosure can reduce the power consumption that obtains the positional information of taking pictures.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Brief description of the drawings
Accompanying drawing is herein merged in specification and forms the part of this specification, shows embodiment according to the invention, and is used from and explains principle of the present invention with specification one.
Fig. 1 is according to the flow chart of a kind of method of obtaining the position of taking pictures shown in an exemplary embodiment.
Fig. 2 is the flow chart that obtains the method for the position of taking pictures according to the another kind shown in an exemplary embodiment.
Fig. 3 is according to the schematic diagram of a kind of device that obtains the position of taking pictures shown in an exemplary embodiment.
Fig. 4 is the schematic diagram that obtains the device of the position of taking pictures according to the another kind shown in an exemplary embodiment.
Fig. 5 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Fig. 6 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Embodiment
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Embodiment mono-
Shown in Figure 1, Fig. 1 is according to the flow chart of a kind of method of obtaining the position of taking pictures shown in an exemplary embodiment, this method of obtaining the position of taking pictures can be applied in terminal, the disclosure can reduce terminal obtains the power consumption of the positional information of taking pictures, and then improves user's experience.The method comprises the following steps.
In step S101, generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects.
Wherein, electronic equipment can be the equipment such as base station or router, and the identification information of electronic equipment can be the well-determined mark such as title or numbering of this electronic equipment, avoids obscuring mutually with other electronic equipment.Under wireless network environment, can get the geographical position of this electronic equipment by this identification information, as longitude and latitude etc.
For example, in the time that terminal is taken pictures generation photo, terminal is connected with the base station that identification information is 0001, and terminal will get the identification information 0001 of this base station so.And for example, in the time that terminal is taken pictures generation photo, terminal is connected with the router that identification information is 0002, and terminal will get the identification information 0002 of this router so.Certainly, the kind that identification information can be selected has a lot, for base station, can also select title, the numbering etc. of base station as the identification information of base station; For router, can also select the mac address of router as the identification information of router.
In the time selecting electronic equipment as object of reference, notice that the positional information of electronic equipment must be fixed, if the position of electronic equipment can often change, the positional information likely finally getting so can be inaccurate.For example, in the time that terminal is taken pictures generation photo, current and the multiple electronic equipments of this terminal are connected, this terminal is connected with base station by mobile communications network, be connected with a mobile phone by bluetooth, be connected with router by wifi, because the position of mobile phone can be moved at any time, so do not use the object of reference of mobile phone as terminal, can select base station or the router object of reference as terminal.
In an embodiment of the present disclosure, step S101 can also comprise following two little steps:
Whether step 11), sense terminals are connected to global system for mobile communications GSM network;
Step 12), in the time being connected to GSM network, obtain the identification information of the base station that GSM network is provided.
Wherein, in the time that terminal generates photo, can select sense terminals whether to be connected to GSM(Global System for Mobile communication, global system for mobile communications) network, connecting GSM network if terminal is current, just can obtain so the identification information of the base station of GSM network.Because user takes pictures in the majority out of doors, so for example, as long as the position at user place has GSM network (, mobile phone has signal), so just can be connected to base station, also just can obtain the identification information of base station.For example, user uses mobile phone to take pictures out of doors, and in the time that photo generates, mobile phone can judge the current base station that whether is connected to, and because mobile phone now has GSM network, so this mobile phone is being connected on some base stations, and obtains the identification information of this base station.
In another embodiment of the present disclosure, step S101 can also comprise following two little steps:
Step 21), judge the current router that whether is connected to;
Step 22), in the time being connected to router, obtain the identification information of the router of current connection.
Wherein, generate when photo in terminal, can judge that terminal is current whether to be connected to router, if terminal is currently connected to router, just can obtain so the identification information of router.Because user is in the indoor radiation effect health for fear of mobile communication signal sometimes; especially there is child and old man's family; user can close the mobile communication signal of terminal; so this terminal also just cannot be connected to base station; in this case; this terminal can be connected to indoor router conventionally, so can obtain the identification information of router.For example, user takes pictures to child at indoor use mobile phone, and in the time that photo generates, mobile phone can judge the current router that whether is connected to, and because mobile phone is now connected on router really, and obtains the identification information of this router.
In another embodiment of the present disclosure, step S101 can also comprise following two little steps:
Step 31), detect whether be connected to wireless network;
Step 32) if be connected to wireless network, obtain the identification information of the equipment that wireless network is provided.
Wherein, in the time that terminal generates photo, can select sense terminals whether to be connected to wireless network, if terminal is connected to wireless network, obtain so the identification information of the equipment that wireless network is provided.Can provide the equipment of wireless network to have a lot, the electronic equipments such as such as base station, router or hub, as long as the position of these electronic equipments is fixed, terminal just can be by the positional information corresponding to identification information of the search electronic equipments such as map software so.For example, user takes pictures to child at indoor use mobile phone, in the time that photo generates, mobile phone can detect the current wireless network that whether is connected to, because mobile phone is now connected to wireless network really, just can obtain the identification information of the hub that wireless network is provided, and obtain the identification information 0007 of this hub.
In one embodiment, if the GPS function in terminal can be used, can directly obtain the latitude and longitude information of this terminal.
In step S102, in the time determining the positional information of electronic equipment according to the identification information of electronic equipment, the positional information using the positional information of electronic equipment as photo writes the attribute of photo;
Wherein, in order to determine according to the identification information of electronic equipment the positional information of electronic equipment, can be pre-created a preset relation table, in preset relation table, store the corresponding relation of the identification information of electronic equipment and the positional information of electronic equipment.Refer to shown in table 1, the preset relation table providing for disclosure embodiment shown in table 1, wherein, the identification information row of electronic equipment comprise the identification information 0003 of base station A and the identification information 0004 of base station B, the positional information of identification information 0003 correspondence of base station A is that north latitude 39.9 is spent east longitude 116.3 and spent, and the positional information of identification information 0004 correspondence of base station B is that north latitude 40.3 is spent east longitude 120.9 and spent.
The identification information of electronic equipment The positional information of electronic equipment
0003(base station A) North latitude 39.9 is spent east longitude 116.3 and is spent (base station A)
0004(base station B) North latitude 40.3 is spent east longitude 120.9 and is spent (base station B)
Table 1
If determine that in step S101 the identification information of electronic equipment is 0003, in step S102, can be just that north latitude 39.9 is spent east longitude 116.3 and spent by the positional information of definite identification information 0003 correspondence of table 1 so.So the disclosure can be set up above-mentioned preset relation table in advance, also can remove to access this preset relation table by network.Certainly, the corresponding relation that focuses on the identification information of electronic equipment and the positional information of electronic equipment of the present disclosure, can be preset relation table as for the form of expression of this corresponding relation, also can adopt other modes to represent the corresponding relation of the identification information of electronic equipment and the positional information of electronic equipment, so be not limited to preset relation table.
If preset relation table is arranged in server, can in the preset relation table of server, determine so the positional information corresponding to identification information of electronic equipment.For example, when user uses mobile phone photograph to generate picture A out of doors, get the identification information 0007 of base station, because user is for power saving, there is no GPS module and the wireless network module of starting hand-set, so cannot be connected to server; In the time that user takes home mobile phone, now do not worry the problem of mobile phone electric weight, so user opens the wireless network module of mobile phone to make mobile phone be connected to network, then user uses mobile phone to be connected to by network in the server that stores preset relation table, and the identification information that now just can search base station in the preset relation table of server is the positional information of 0007 correspondence.
Certainly, preset relation table also can be pre-stored in terminal.For example, when user uses mobile phone photograph to generate picture A out of doors, having got the identification information 0008 of base station, because mobile phone EMS memory contains preset relation table, is the positional information of 0008 correspondence so user can search the identification information of base station at any time in the preset relation table of mobile phone.
In another embodiment of the present disclosure, step S102 can also comprise following two little steps:
Step 41), be the setup of attribute extend information of photo;
Step 42), positional information is write in the extend information of photo.
Wherein, in the original attribute of photo, may not comprise positional information, thus can be the setup of attribute extend information of photo, for positional information being sucked to the extend information that this sets.For example, positional information can be write in Exif (Exchangeable Image File, the exchangeable image file) extended field of photo, can facilitate user in checking photo, just can see the spot for photography of this photo.Exif is a kind of types of image file formats, and its data storage and jpeg format are identical.In fact Exif form is exactly the information of having inserted digital photograph at jpeg format head, the sound of recording while comprising the various and shooting condition of aperture, shutter, white balance, ISO, focal length, time on date etc. while shooting and camera brand, model, color-code, shooting and global positioning system (GPS), thumbnail etc.
Certainly, can also be by the flag bit of expanding in the positional information write into Databasce of electronic equipment, and this positional information and photo are set up to incidence relation, so that user, in the time checking this photo, can search the positional information that this photo is corresponding in database.
In step S103, in the time not determining the positional information of electronic equipment according to the identification information of electronic equipment, the identification information of store electrons equipment.
Wherein, if cannot determine positional information according to identification information, can store so this identification information, can determine the positional information that identification information is corresponding at net environment so that follow-up.
To sum up, because terminal is in the time taking pictures generation photo, get the identification information of the electronic equipment being connected with terminal, illustrate and got apart from the nearer electronic equipment in the position of terminal as object of reference, and obtained the positional information of this object of reference by this identification information, thereby indirectly obtain the positional information of terminal in the time taking pictures.
In the embodiment shown in fig. 1, in the time taking pictures generation photo, get the identification information of the fixing electronic equipment in position that current communication connects, if can determine positional information according to identification information, the so just positional information using the positional information of electronic equipment as photo, and write the attribute of photo; If cannot determine positional information according to identification information, can store so this identification information, can determine again so that follow-up the positional information that identification information is corresponding, so do not open the GPS module that power consumption is large in whole process, therefore, the disclosure can reduce the power consumption that obtains the positional information of taking pictures.
Embodiment bis-
Shown in Figure 2, Fig. 2 is the flow chart that obtains the method for the position of taking pictures according to the another kind shown in an exemplary embodiment.Because the present embodiment is the improvement based on embodiment mono-, so refer to the content of embodiment mono-in the present embodiment with embodiment mono-something in common, duplicate contents will repeat no more.The method of what the present embodiment provided the obtain position of taking pictures can be applied in terminal.The method that the disclosure provides can be stored this identification information in the time cannot determining positional information according to identification information, and after being connected to wireless network, obtain again the positional information of electronic equipment according to pre-stored identification information, thereby guarantee to get according to the identification information of electronic equipment the positional information of electronic equipment, to improve user's experience.The method comprises the following steps.
In step S201, generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects.
In step S202, in the time determining the positional information of electronic equipment according to the identification information of electronic equipment, the positional information using the positional information of electronic equipment as photo writes the attribute of photo.
In step S203, in the time not determining the positional information of electronic equipment according to the identification information of electronic equipment, the identification information of store electrons equipment.
In step S204, when being connected to after wireless network, obtain the positional information of electronic equipment according to the identification information of the electronic equipment of storage;
Wherein, due in step S203, do not determine the positional information of electronic equipment according to the identification information of electronic equipment, so in step S204, in the situation that being connected to wireless network, utilize wireless network to be connected to server end, and the identification information of having stored in server end utilization obtain the positional information of electronic equipment.
In step S205, the positional information using the positional information of electronic equipment as photo writes the attribute of photo.
In the embodiment shown in Figure 2, the method that the disclosure provides can be stored this identification information in the time cannot determining positional information according to identification information, and after being connected to wireless network, obtain again the positional information of electronic equipment according to pre-stored identification information, thereby guarantee to get according to the identification information of electronic equipment the positional information of electronic equipment.
Embodiment tri-
Shown in Figure 3, Fig. 3 is according to the block diagram of a kind of device that obtains the position of taking pictures shown in an exemplary embodiment, and the disclosure can reduce terminal obtains the power consumption of the positional information of taking pictures, and then improves user's experience.This device comprises:
The first acquisition module 11, for generating when photo taking pictures, obtains the identification information of the fixing electronic equipment in position that current communication connects;
In one embodiment, the first acquisition module 11 can also comprise the first detecting unit and the first acquiring unit, and wherein, the first detecting unit, for detection of whether being connected to wireless network; The first acquiring unit, in the time being connected to wireless network, obtains the identification information of the equipment that wireless network is provided.
In another embodiment, the first acquisition module 11 can also comprise judging unit and second acquisition unit, and wherein, judging unit, for judging the current router that whether is connected to; Second acquisition unit, in the time being connected to router, obtains the identification information of the router of current connection.
In yet another embodiment, the first acquisition module 11 can also comprise the second detecting unit and the 3rd acquiring unit, and wherein, the second detecting unit, for detection of whether being connected to global system for mobile communications GSM network; The 3rd acquiring unit, in the time being connected to GSM network, obtains the identification information of the base station that GSM network is provided.
The first writing module 12, in the time determining the positional information of electronic equipment according to the identification information of electronic equipment, the positional information using the positional information of electronic equipment as photo writes the attribute of photo;
Memory module 13, in the time not determining the positional information of electronic equipment according to the identification information of electronic equipment, the identification information of store electrons equipment.
In one embodiment, the first writing module can comprise setting unit and writing unit, and wherein, setting unit, is used to the setup of attribute extend information of photo; Writing unit, for writing positional information the extend information of photo.
In the embodiment shown in fig. 3, the function of the synchronizer of the file operation that the present embodiment provides is corresponding with the function that embodiment mono-realizes, thus can be referring to the content in embodiment mono-about the function of the present embodiment modules, and this is no longer going to repeat them.
Embodiment tetra-
Shown in Figure 4, Fig. 4 is according to the block diagram of a kind of device that obtains the position of taking pictures shown in an exemplary embodiment, and the disclosure can facilitate user in checking photo, just can see the spot for photography of this photo, to improve user's experience.This device comprises:
The first acquisition module 21, for generating when photo taking pictures, obtains the identification information of the fixing electronic equipment in position that current communication connects;
The first writing module 22, in the time determining the positional information of electronic equipment according to the identification information of electronic equipment, the positional information using the positional information of electronic equipment as photo writes the attribute of photo;
Memory module 23, in the time not determining the positional information of electronic equipment according to the identification information of electronic equipment, the identification information of store electrons equipment.
The second acquisition module 24, for being connected to after wireless network, obtains the positional information of electronic equipment according to the identification information of the electronic equipment of storage;
The second writing module 25, writes the attribute of photo for the positional information using the positional information of electronic equipment as photo.
In the embodiment shown in fig. 4, the function of the device of what the present embodiment provided the obtain position of taking pictures is corresponding with the function that embodiment bis-realizes, thus can be referring to the content in embodiment bis-about the function of the present embodiment modules, and this is no longer going to repeat them.
Disclosure embodiment provides a kind of device that obtains the position of taking pictures, and comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects;
In the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
In the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, store the identification information of described electronic equipment.
Embodiment five
Fig. 5 is according to the block diagram of a kind of device 800 that obtains the position of taking pictures shown in an exemplary embodiment.For example, device 800 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 5, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of processing components 802 common control device 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read-only memory (prom), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 806 provides electric power for installing 800 various assemblies.Power supply module 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 800.
Multimedia groupware 808 is included in the screen that an output interface is provided between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal receiving can be further stored in memory 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducers, is used to device 800 that the state estimation of various aspects is provided.For example, sensor cluster 814 can detect the opening/closing state of device 800, the relative positioning of assembly, for example described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or 800 1 assemblies of device changes, user is with device 800 existence that contact or do not have the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 800 and other equipment.Device 800 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the memory 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 800.For example, described non-provisional computer-readable recording medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in storage medium is carried out by the processor of mobile terminal, make mobile terminal can carry out a kind of method of obtaining the position of taking pictures, method comprises: generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects; In the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo; In the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, store the identification information of described electronic equipment.
In one embodiment, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Detect and whether be connected to wireless network;
If be connected to wireless network, obtain the identification information of the equipment that wireless network is provided.
In one embodiment, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Judge the current router that whether is connected to;
In the time being connected to router, obtain the identification information of the router of current connection.
In one embodiment, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Detect and whether be connected to global system for mobile communications GSM network;
In the time being connected to described GSM network, obtain the identification information of the base station that GSM network is provided.
In one embodiment, after storing the identification information of described electronic equipment, also comprise:
When being connected to after wireless network, obtain the positional information of described electronic equipment according to the identification information of the described electronic equipment of storage;
Positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo.
In one embodiment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo, comprising:
For the setup of attribute extend information of described photo;
Described positional information is write in the extend information of described photo.
Embodiment six
Fig. 6 is the structural representation of server in the embodiment of the present invention.This server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and memory 1932, for example one or more mass memory units of storage medium 1930(of one or more storage application programs 1942 or data 1944).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on server 1900.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, for example Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Those skilled in the art, considering specification and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendments and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (13)

1. a method of obtaining the position of taking pictures, is characterized in that, comprising:
Generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects;
In the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
In the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, store the identification information of described electronic equipment.
2. the method for obtaining the position of taking pictures according to claim 1, is characterized in that, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Detect and whether be connected to wireless network;
If be connected to wireless network, obtain the identification information of the equipment that wireless network is provided.
3. the method for obtaining the position of taking pictures according to claim 1, is characterized in that, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Judge the current router that whether is connected to;
In the time being connected to router, obtain the identification information of the router of current connection.
4. the method for obtaining the position of taking pictures according to claim 1, is characterized in that, described in obtain the identification information of the fixing electronic equipment in position that current communication connects, comprising:
Detect and whether be connected to global system for mobile communications GSM network;
In the time being connected to described GSM network, obtain the identification information of the base station that GSM network is provided.
5. the method for obtaining the position of taking pictures according to claim 1, is characterized in that, after storing the identification information of described electronic equipment, also comprises:
When being connected to after wireless network, obtain the positional information of described electronic equipment according to the identification information of the described electronic equipment of storage;
Positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo.
6. the method for obtaining according to claim 1 or 5 the position of taking pictures, is characterized in that, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo, comprising:
For the setup of attribute extend information of described photo;
Described positional information is write in the extend information of described photo.
7. a device that obtains the position of taking pictures, is characterized in that, comprising:
The first acquisition module, for generating when photo taking pictures, obtains the identification information of the fixing electronic equipment in position that current communication connects;
The first writing module, in the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
Memory module, in the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, stores the identification information of described electronic equipment.
8. the device that obtains the position of taking pictures according to claim 7, is characterized in that, described the first acquisition module comprises:
The first detecting unit, for detection of whether being connected to wireless network;
The first acquiring unit, in the time being connected to wireless network, obtains the identification information of the equipment that wireless network is provided.
9. the device that obtains the position of taking pictures according to claim 7, is characterized in that, described the first acquisition module comprises:
Judging unit, for judging the current router that whether is connected to;
Second acquisition unit, in the time being connected to router, obtains the identification information of the router of current connection.
10. the device that obtains the position of taking pictures according to claim 7, is characterized in that, described the first acquisition module comprises:
The second detecting unit, for detection of whether being connected to global system for mobile communications GSM network;
The 3rd acquiring unit, in the time being connected to described GSM network, obtains the identification information of the base station that GSM network is provided.
11. devices that obtain the position of taking pictures according to claim 7, is characterized in that, also comprise:
The second acquisition module, for being connected to after wireless network, obtains the positional information of described electronic equipment according to the identification information of the described electronic equipment of storage;
The second writing module, writes the attribute of described photo for the positional information using the positional information of described electronic equipment as described photo.
12. according to the take pictures device of position of obtaining described in claim 6 or 11, it is characterized in that, described the first writing module comprises:
Setting unit, is used to the setup of attribute extend information of described photo;
Writing unit, for writing described positional information the extend information of described photo.
13. 1 kinds are obtained the device of the position of taking pictures, and it is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate when photo when taking pictures, obtain the identification information of the fixing electronic equipment in position that current communication connects;
In the time determining the positional information of described electronic equipment according to the identification information of described electronic equipment, the positional information using the positional information of described electronic equipment as described photo writes the attribute of described photo;
In the time not determining the positional information of described electronic equipment according to the identification information of described electronic equipment, store the identification information of described electronic equipment.
CN201410124150.3A 2014-03-28 2014-03-28 Method and device for acquiring photographing position Pending CN103916940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410124150.3A CN103916940A (en) 2014-03-28 2014-03-28 Method and device for acquiring photographing position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410124150.3A CN103916940A (en) 2014-03-28 2014-03-28 Method and device for acquiring photographing position

Publications (1)

Publication Number Publication Date
CN103916940A true CN103916940A (en) 2014-07-09

Family

ID=51042245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410124150.3A Pending CN103916940A (en) 2014-03-28 2014-03-28 Method and device for acquiring photographing position

Country Status (1)

Country Link
CN (1) CN103916940A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451175A (en) * 2015-11-18 2016-03-30 广东欧珀移动通信有限公司 Method of recording photograph positioning information and apparatus thereof
CN105512253A (en) * 2015-12-02 2016-04-20 国网宁夏电力公司银川供电公司 Batch identification image identification information method and device
CN105530332A (en) * 2015-12-17 2016-04-27 小米科技有限责任公司 Method and device for processing position information
CN105704811A (en) * 2016-01-13 2016-06-22 广东欧珀移动通信有限公司 Method of recording position information during photograph shooting, apparatus and mobile terminal thereof
CN105738921A (en) * 2016-01-29 2016-07-06 北京小米移动软件有限公司 Method and device used for acquiring position information
CN106231198A (en) * 2016-08-17 2016-12-14 北京小米移动软件有限公司 The method and device of shooting image
CN106469162A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 A kind of picture sort method and corresponding picture storage display device
CN107346564A (en) * 2017-06-29 2017-11-14 国网冀北电力有限公司承德供电公司 Make an inspection tour task supervision method, electronic equipment and server
WO2019019842A1 (en) * 2017-07-27 2019-01-31 中兴通讯股份有限公司 Image processing method, corresponding apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321236A (en) * 2007-06-07 2008-12-10 索尼株式会社 Imaging device, information processing device and method, and computer program
CN201601724U (en) * 2009-12-28 2010-10-06 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal and position service system
CN102387466A (en) * 2010-08-18 2012-03-21 三星电子株式会社 Apparatus and method for power control in geo-tagging in a mobile terminal
CN102970653A (en) * 2012-11-13 2013-03-13 北京小米科技有限责任公司 User terminal photographing method and user terminal
CN103533133A (en) * 2013-10-16 2014-01-22 上海合合信息科技发展有限公司 Geographic location memorizing and getting-back method and wireless communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321236A (en) * 2007-06-07 2008-12-10 索尼株式会社 Imaging device, information processing device and method, and computer program
CN201601724U (en) * 2009-12-28 2010-10-06 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal and position service system
CN102387466A (en) * 2010-08-18 2012-03-21 三星电子株式会社 Apparatus and method for power control in geo-tagging in a mobile terminal
CN102970653A (en) * 2012-11-13 2013-03-13 北京小米科技有限责任公司 User terminal photographing method and user terminal
CN103533133A (en) * 2013-10-16 2014-01-22 上海合合信息科技发展有限公司 Geographic location memorizing and getting-back method and wireless communication terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469162A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 A kind of picture sort method and corresponding picture storage display device
CN105451175A (en) * 2015-11-18 2016-03-30 广东欧珀移动通信有限公司 Method of recording photograph positioning information and apparatus thereof
CN105512253A (en) * 2015-12-02 2016-04-20 国网宁夏电力公司银川供电公司 Batch identification image identification information method and device
CN105512253B (en) * 2015-12-02 2019-05-24 国网宁夏电力公司银川供电公司 The method and apparatus of the identification information of Lot ID photo
CN105530332B (en) * 2015-12-17 2018-09-11 小米科技有限责任公司 The processing method and processing device of location information
CN105530332A (en) * 2015-12-17 2016-04-27 小米科技有限责任公司 Method and device for processing position information
CN105704811B (en) * 2016-01-13 2018-05-25 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile terminal of the record position information in photo is shot
CN105704811A (en) * 2016-01-13 2016-06-22 广东欧珀移动通信有限公司 Method of recording position information during photograph shooting, apparatus and mobile terminal thereof
CN105738921A (en) * 2016-01-29 2016-07-06 北京小米移动软件有限公司 Method and device used for acquiring position information
CN106231198A (en) * 2016-08-17 2016-12-14 北京小米移动软件有限公司 The method and device of shooting image
CN106231198B (en) * 2016-08-17 2019-03-22 北京小米移动软件有限公司 Shoot the method and device of image
CN107346564A (en) * 2017-06-29 2017-11-14 国网冀北电力有限公司承德供电公司 Make an inspection tour task supervision method, electronic equipment and server
WO2019019842A1 (en) * 2017-07-27 2019-01-31 中兴通讯股份有限公司 Image processing method, corresponding apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN103916940A (en) Method and device for acquiring photographing position
RU2647493C2 (en) Method and device for presenting wi-fi list
CN103944963B (en) Method of data synchronization, device, equipment and system
KR101789783B1 (en) Method, apparatus, program, and recording medium for prompting call
CN106202194A (en) The storage method and device of screenshot picture
CN104112129A (en) Image identification method and apparatus
CN104038536A (en) Plug-in communication method and device
CN104636164B (en) Start page generation method and device
TWI659662B (en) Method and device for collecting positioning information and mobile terminal
WO2017096973A1 (en) Device display method and apparatus
US20170090684A1 (en) Method and apparatus for processing information
CN104506443A (en) Router setting interface display method and device
US20130335594A1 (en) Enhancing captured data
CN106201734A (en) Sharing files method and device
CN104809204A (en) Picture processing method and picture processing device
CN105654533A (en) Picture editing method and picture editing device
CN105323244A (en) Method and device for network identification
CN104850849A (en) Method, device and terminal for sending character
CN105549300A (en) Automatic focusing method and device
CN104008129A (en) Position information processing method, device and terminal
CN106021573A (en) Image classification method and device and electronic device
CN105407160A (en) Interface display method and device
CN103957502A (en) Location-based service program selecting method, device and terminal
CN105843894A (en) Information recommending method and device
US8953050B2 (en) Interaction with electronic device recognized in a scene captured by mobile 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140709