WO2017092039A1 - Procédé, appareil et équipement pour fournir et obtenir des informations de localisation - Google Patents
Procédé, appareil et équipement pour fournir et obtenir des informations de localisation Download PDFInfo
- Publication number
- WO2017092039A1 WO2017092039A1 PCT/CN2015/096444 CN2015096444W WO2017092039A1 WO 2017092039 A1 WO2017092039 A1 WO 2017092039A1 CN 2015096444 W CN2015096444 W CN 2015096444W WO 2017092039 A1 WO2017092039 A1 WO 2017092039A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- positioning
- terminal
- request
- photographing
- module
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of intelligent terminals, and in particular, to a method, device and device for providing and acquiring location information.
- Adding a location tag to a photo is very important to the user. For example, the user can sort the photo based on the location tag of the photo, or share the photo based on the location tag, or, based on the location tag of the photo, Maps are combined to build travel trails and more.
- the camera terminal can only connect with the positioning terminal carried by the user, and uses the positioning function of the positioning terminal to obtain the location information when the photo is taken.
- the photographing terminal performs the photographing operation normally, wherein the photographing terminal records the photographing time when photographing, and the mobile terminal is always turned on. Positioning function, and recording the time of the interval point and the position information corresponding to the time of the interval point according to the set time interval. Finally, comparing the time when the photographing terminal takes the photo with the time of the interval recorded by the mobile terminal to obtain The position information corresponding to the time of the closest interval when the photographing terminal takes the photograph, and the position label is added to the photographed photograph according to the position information corresponding to the time of the closest interval point.
- the positioning terminal must always be positioned, resulting in the consumption of the positioning terminal. More electricity.
- the technical problem to be solved by the present application is to provide a method, device and device for providing and acquiring location information, which can reduce the consumption of power of the positioning terminal.
- a first aspect a method for providing location information, including the following steps: a positioning terminal establishes a connection with a camera terminal, wherein a distance between the positioning terminal and the camera terminal does not exceed a preset threshold; The positioning terminal receives the positioning request sent by the photographing terminal through the connection, wherein the positioning request includes at least one of an identifier of a photo taken by the photographing terminal or a time of photographing; the positioning terminal determines at least the following a: the time difference between the positioning terminal and the last positioning request is greater than a time threshold; and the displacement of the positioning terminal in the time period when the positioning terminal receives the positioning request and the last positioning request Whether it is greater than the displacement threshold; determining whether to perform positioning according to the result of the judgment; acquiring the current location information only when determining to perform positioning, and transmitting the current location information to the photographing terminal through the connection, and the positioning request Some or all of the information included.
- the positioning terminal receives the positioning request sent by the photographing terminal, and the positioning terminal receives the positioning request sent by the photographing terminal, and the photographing terminal performs the photographing of the photographing terminal.
- the positioning terminal and/or the photographing terminal determine that the positioning is really needed, the positioning terminal obtains the current location information by positioning, thereby effectively reducing the power consumption of the positioning terminal.
- the method before the acquiring, by the positioning terminal, the current location information, the method further includes: determining whether the remaining power of the positioning terminal is greater than a power threshold; If the remaining power is greater than the power threshold, the positioning mode is determined according to the first scanning priority; if the remaining power of the positioning terminal is less than the power threshold, the positioning mode is determined according to the second scanning priority, where the first scanning priority is different. The second scan priority.
- the first possible implementation manner of the first aspect is capable of determining the first scan priority or the second scan priority according to the remaining power amount, so that the selected positioning mode is more suitable for the current state of the remaining power.
- the method before the acquiring, by the positioning terminal, the current location information, the method further includes: determining whether the current environment of the positioning terminal is indoors or outdoors; The current environment is indoor, using wireless fidelity Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning mode, At least one of a broadcast signal positioning mode, an optical positioning mode, and a computer vision positioning mode acquires current location information; if the current environment of the positioning terminal is outdoor, the global navigation satellite system GNSS positioning mode is used to acquire current location information.
- wireless fidelity Wi-Fi positioning mode Bluetooth positioning mode
- cellular positioning mode geomagnetic positioning mode
- ultrasonic positioning mode infrared positioning mode
- radio frequency tag positioning mode radio frequency tag positioning mode
- Zigbee positioning mode ultra-wideband radio positioning mode
- At least one of a broadcast signal positioning mode, an optical positioning mode, and a computer vision positioning mode acquire
- the second possible implementation manner of the first aspect can select an appropriate current positioning manner according to whether the current environment is indoors or outdoors, and avoid unsuccessful positioning due to environmental influences, thereby improving positioning reliability.
- the positioning terminal determines at least one of the following Whether the time difference between the positioning request and the last positioning request is greater than a time threshold; whether the displacement of the positioning terminal is within a time period during which the positioning terminal receives the positioning request and the last positioning request And determining, by the positioning terminal, whether the positioning is performed according to the result of the determining is: the positioning terminal determines whether the time difference between the positioning terminal receiving the positioning request and receiving the last positioning request is greater than a time threshold; if the positioning terminal receives the If the time difference between the positioning request and the last positioning request is greater than the time threshold, determining whether the displacement of the positioning terminal is greater than the displacement threshold in the time period between the positioning request and the receiving the previous positioning request; If the displacement of the positioning terminal is greater than the displacement threshold, it is determined to perform positioning.
- the third possible implementation manner of the first aspect is to determine the positioning terminal that is easier to judge by first judging Whether the time difference between the location request and the previous location request is greater than a time threshold, and then determining whether the displacement of the positioning terminal is greater than a displacement threshold during the time period in which the positioning terminal receives the positioning request and the last positioning request, if the positioning terminal receives the positioning request and If the time difference of the last positioning request is greater than the time threshold, it is not necessary to determine whether the displacement of the positioning terminal is greater than the displacement threshold during the time period in which the positioning terminal receives the positioning request and the last positioning request, thereby reducing the complexity of the judgment.
- the method further includes: if the positioning terminal receives the positioning request and receives a time difference of a previous positioning request If the time threshold is less than or equal to the time threshold, it is determined that the positioning is not performed; or if the time difference between the positioning terminal receiving the positioning request and receiving the last positioning request is greater than a time threshold, and the positioning terminal receives the positioning request and receiving If the displacement of the positioning terminal is less than or equal to the displacement threshold during the time period between the positioning requests, it is determined that the positioning is not performed.
- the method further includes: if it is determined not to perform the positioning Sending, to the photographing terminal, a notification that no positioning is performed, and at least one of an identification of a photo in the positioning request or a time of photographing; or sending the last position information to the photographing terminal, and the positioning At least one of the identification of the photo in the request or the time of photographing.
- the method before the positioning terminal acquires the current location information, includes: enabling the positioning module; after acquiring the current location information, the positioning terminal includes: closing the positioning module.
- the positioning module can be enabled before the positioning terminal acquires the current location information, and the positioning module is closed after the positioning terminal acquires the current location information, which can effectively reduce the power consumption of the positioning terminal.
- the positioning terminal acquires a current location information After the information, the method further includes: sending the location information to the third server, and part or all of the information included in the positioning request, for some or all information included by the third server according to the positioning request, and the photographing The terminal has taken the information of the photo, matches the location information with the photographed photo, and adds a location tag to the corresponding photo according to the location information.
- the second aspect provides a method for obtaining location information, where the method includes: establishing a connection between the camera terminal and the positioning terminal, the positioning terminal is not more than a preset distance from the camera terminal; and determining whether a positioning request needs to be sent;
- the photographing terminal sends a positioning request to the positioning terminal through the connection, the positioning request includes at least one of an identifier of a photo and a photographing time of a photo, if the photographing terminal receives And the location information returned by the positioning terminal according to the positioning request, and part or all of the information included in the positioning request, according to part or all of the information included in the positioning request, and information that the photographing terminal has taken a photo, Matching the location information with the photographed photo; adding a location tag to the corresponding photo based on the location information.
- the camera terminal only sends a positioning request to the positioning terminal when it is determined that the positioning request needs to be sent to the positioning terminal, thereby reducing the workload of the communication module of the camera terminal and reducing the workload. Loss of power of the camera terminal. Moreover, the communication module of the positioning terminal also reduces the workload and reduces the loss of the power of the positioning terminal.
- determining whether the location request needs to be sent includes: determining, by the photographing terminal, whether the time difference between the photographing terminal and the last shooting is greater than a time threshold. If the time difference between the photographing terminal and the last shooting is greater than the time threshold, it is determined that the positioning request needs to be sent. If the time difference between the photographing terminal and the last shooting is less than or equal to the time threshold, it is determined.
- the photographing terminal does not need to send a positioning request; or the photographing terminal determines whether the displacement of the photographing terminal is greater than a displacement threshold in a time period during which the photographing terminal performs the photographing and the last photographing, if the displacement of the photographing terminal The quantity is greater than the displacement threshold, and it is determined that the positioning request needs to be sent. If the displacement of the photographing terminal is less than or equal to the displacement threshold, it is determined that the positioning request does not need to be sent.
- the method further includes: if receiving the notification that the positioning terminal does not perform positioning, acquiring Before the positioning request is sent, the last saved location information, according to the identifier of the photo returned by the positioning terminal and/or the shooting time of the photo, and the information that the photo terminal has taken the photo, the last saved location The information matches the photographed photograph; the location label is added to the corresponding photo based on the last saved location information.
- a third aspect provides an apparatus for providing location information, including: a connection establishment module, a receiving module, a first determining module, a determining module, and an obtaining sending module, where the connection establishing module is configured to establish a connection with the photographing terminal.
- the receiving module is configured to receive a positioning request that is sent by the camera terminal by using the connection, where the positioning request includes the location request, where the distance between the positioning terminal and the camera terminal does not exceed a preset threshold.
- the first judging module is configured to determine at least one of the following: whether the time difference between the receiving module and the last positioning request is greater than a time threshold
- the determining module is configured to determine whether to perform positioning according to the result of the determining, in the time period when the receiving module receives the positioning request and the last positioning request, whether the displacement amount of the positioning terminal is greater than a displacement threshold
- the acquisition sending module is configured to obtain current location information only when determining to perform positioning, and Through the transmitting terminal connected to the photographing information of the current location, the location request and information included in some or all.
- the positioning terminal receives the positioning request sent by the photographing terminal, and the positioning terminal receives the positioning request sent by the photographing terminal, and the photographing terminal performs the photographing of the photographing terminal.
- the positioning terminal and/or the photographing terminal determine that it is really necessary to perform positioning, the positioning terminal obtains the current position information by positioning, thereby effectively reducing the setting.
- the power consumption of the bit terminal is a simple reducing the setting.
- the device further includes a second determining module and a priority determining module, where the second determining module is configured to determine whether the remaining power of the positioning terminal is When the remaining power of the positioning terminal is greater than the power threshold, the priority determining module is configured to determine the positioning mode according to the first scanning priority; when the remaining power of the positioning terminal is less than the power threshold, press the first The second scan priority determines a positioning mode, wherein the first scan priority is different from the second scan priority.
- the first possible implementation manner of the third aspect is capable of determining the first scan priority or the second scan priority according to the remaining power amount, so that the selected positioning mode is more suitable for the current state of the remaining power.
- the device further includes a third determining module, where the third determining module is configured to determine whether the current environment of the positioning terminal is indoor or outdoor;
- the obtaining and sending module is configured to use a wireless fidelity Wi-Fi positioning mode, a Bluetooth positioning mode, a cellular positioning mode, a geomagnetic positioning mode, an ultrasonic positioning mode, an infrared positioning mode, and a radio frequency tag when the current environment of the positioning terminal is indoors.
- At least one of positioning mode, Zigbee positioning mode, ultra-wideband radio positioning mode, broadcast signal positioning mode, optical positioning mode, and computer vision positioning mode acquires current location information; when the current environment of the positioning terminal is outdoor, the current location is adopted
- the GNSS positioning method of the global navigation satellite system acquires current location information.
- the second possible implementation manner of the third aspect can select an appropriate current positioning manner according to whether the current environment is indoor or outdoor, and avoid unsuccessful positioning due to the influence of the environment, thereby improving the reliability of the positioning.
- the first determining module is used Determining whether the time difference between the receiving module receiving the positioning request and receiving the last positioning request is If the time difference between the receiving module receiving the positioning request and receiving the last positioning request is greater than a time threshold, determining that the receiving module receives the positioning request and receiving the last positioning request, the time period is greater than a time threshold. Whether the displacement of the positioning terminal is greater than a displacement threshold; the determining module is configured to determine to perform positioning when the displacement of the positioning terminal is greater than a displacement threshold.
- the third possible implementation manner of the third aspect after determining whether the time difference between the positioning request and the last positioning request by the positioning terminal that is relatively easy to determine is greater than a time threshold, and then determining that the positioning terminal receives the positioning request and the last positioning request.
- a time threshold determines whether the displacement of the positioning terminal is greater than the displacement threshold.
- the determining module is configured to: when the positioning terminal receives the positioning request and receives a time difference of a previous positioning request When the time threshold is less than or equal to the time threshold, it is determined that the positioning is not performed; or, the time difference between the positioning terminal receiving the positioning request and receiving the last positioning request is greater than a time threshold, and the positioning terminal receives the positioning request and receiving When the displacement of the positioning terminal is less than or equal to the displacement threshold during the time period between the positioning requests, it is determined that the positioning is not performed.
- the acquiring and transmitting module is configured to determine not to perform During positioning, at least one of a notification of not performing positioning and a photo of the photo in the positioning request or a time of photographing is sent to the photographing terminal; or the positioning request of the last position information is sent to the photographing terminal. At least one of the identification of the photo in the photo or the time of photographing.
- the device further includes an opening module and a closing module,
- the opening module is configured to open the positioning module;
- the closing module is configured to close the positioning module Piece.
- the acquiring the sending module is used to the third server Sending the location information, and part or all of the information included in the positioning request, for the third server to include part or all of the information according to the positioning request, and information that the photographing terminal has taken a photo,
- the location information matches the captured photo, and a location tag is added to the corresponding photo based on the location information.
- the fourth aspect provides an apparatus for acquiring location information, including: a connection module, a determining module, a sending module, a receiving module, a matching module, and an adding module, where the connecting module is configured to establish a connection with the positioning terminal, where the positioning terminal.
- the determining module is configured to determine whether a positioning request needs to be sent
- the sending module is configured to send, by using the connection, the positioning terminal, when the location request needs to be sent.
- the positioning request includes at least one of an identifier of a photo and a photographing time of a photo;
- the receiving module is configured to receive location information returned by the positioning terminal according to the positioning request, and a part included in the positioning request Or all the information;
- the matching module is configured to match the location information with the photographed photo according to part or all of the information included in the positioning request, and information that the photographing terminal has taken a photo;
- the adding The module is configured to add a location tag to the corresponding photo according to the location information.
- the camera terminal only sends a positioning request to the positioning terminal when it is determined that the positioning request needs to be sent to the positioning terminal, thereby reducing the workload of the communication module of the camera terminal and reducing the workload. Loss of power of the camera terminal. Moreover, the communication module of the positioning terminal also reduces the workload and reduces the loss of the power of the positioning terminal.
- the determining module is configured to determine whether a time difference between the photographing terminal and the last shooting is greater than a time threshold, where the photographing terminal is The time difference between this shooting and the last shooting is greater than the time threshold Determining that a positioning request needs to be sent, and determining that the positioning request does not need to be sent when the time difference between the current shooting and the last shooting is less than or equal to the time threshold; or the determining module is configured to determine Whether the displacement of the photographing terminal is greater than the displacement threshold during the time period when the photographing terminal performs the photographing and the last photographing, and when the displacement of the photographing terminal is greater than the displacement threshold, it is determined that the positioning request needs to be sent, and the displacement of the photographing terminal When the amount is less than or equal to the displacement threshold, it is determined that the positioning request does not need to be sent.
- the device further includes an acquiring module, where the acquiring module is configured to receive the positioning When the terminal does not perform the notification of the positioning, obtain the last saved location information before sending the positioning request; the matching module is configured to return the photo of the photo and the photo shooting time according to the positioning terminal, and the photo taking The terminal has taken the information of the photo, and matches the last saved location information with the captured photo; the adding module is configured to add a location tag to the corresponding photo according to the last saved location information.
- a fifth aspect provides a positioning terminal, including a processor, a communication module, and a positioning module; the positioning module is configured to acquire current location information; and the communication module is configured to communicate with the camera terminal; a processor, configured to instruct the communication module to establish a connection with the photographing terminal, and receive a positioning request sent by the photographing terminal through the connection, wherein a distance between the positioning terminal and the photographing terminal is not Exceeding a preset threshold, the positioning request includes at least one of an identifier of a photo taken by the photographing terminal or a time of photographing, and the processor is further configured to determine at least one of the following according to the positioning request: the communication module receives Whether the time difference between the positioning request and the last positioning request is greater than a time threshold; whether the displacement of the positioning terminal is greater than a displacement threshold during a period in which the communication module receives the positioning request and the last positioning request, according to the judgment The result of determining whether to perform positioning, and only when determining to perform positioning, instructing the positioning module to acquire The location
- the positioning terminal receives the positioning request sent by the photographing terminal, and the positioning terminal receives the positioning request sent by the photographing terminal, and the photographing terminal performs the photographing of the photographing terminal.
- the positioning terminal and/or the photographing terminal determine that the positioning is really needed, the positioning terminal obtains the current location information by positioning, thereby effectively reducing the power consumption of the positioning terminal.
- the processor is further configured to determine whether the remaining power of the positioning terminal is greater than a power threshold, if the remaining power of the positioning terminal is greater than a power threshold Determining the positioning mode according to the first scanning priority; determining the positioning mode according to the second scanning priority when the remaining power of the positioning terminal is less than the power threshold, wherein the first scanning priority is different from the second Scan priority.
- the first possible implementation manner of the fifth aspect is capable of determining the first scan priority or the second scan priority according to the remaining power amount, so that the selected positioning mode is more suitable for the current state of the remaining power.
- the processor is further configured to determine whether the current environment of the positioning terminal is indoors or outdoors, and when the current environment of the positioning terminal is indoors, Determine wireless fidelity Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning mode, broadcast signal positioning mode At least one of the optical positioning mode and the computer vision positioning mode acquires the current location information. When the current environment of the positioning terminal is outdoor, it is determined that the global navigation satellite system GNSS positioning mode is used to obtain the current location information.
- the global navigation satellite system GNSS positioning mode is used to obtain the current location information.
- the second possible implementation manner of the fifth aspect can select a suitable current positioning manner according to whether the current environment is indoor or outdoor, and avoid unsuccessful positioning due to environmental influence, thereby improving the reliability of the positioning.
- the processor is specifically configured to determine And determining, by the communication module, whether the time difference between the positioning request and the last positioning request is less than a time threshold, and determining that the communication module receives the positioning request and receiving the previous positioning request when the determination result is not less than a time threshold The time period, whether the displacement of the positioning terminal is smaller than the displacement threshold; when the judgment result is not less than the displacement threshold, the current position information is acquired.
- the third possible implementation manner of the fifth aspect after determining whether the time difference between the positioning request and the last positioning request by the positioning terminal that is relatively easy to determine is greater than a time threshold, and then determining that the positioning terminal receives the positioning request and the last positioning request.
- a time threshold determines whether the displacement of the positioning terminal is greater than the displacement threshold.
- the processor is specifically configured to determine that the communications module receives the positioning request and receives a previous positioning request Whether the time difference is greater than a time threshold, and determining a time period between the receiving the positioning request and receiving the last positioning request when the time difference between the receiving the positioning request and the receiving the last positioning request is greater than a time threshold The displacement of the positioning terminal is greater than a displacement threshold, and when the displacement of the positioning terminal is greater than the displacement threshold, determining to perform positioning.
- the processor is further configured to: When performing positioning, instructing the communication module to transmit at least one of a notification of not performing positioning and a photo of the photo in the positioning request or a time of photographing, or transmitting the last location information and a photo in the positioning request At least one of the logo or the time of the photo.
- the processor is further configured to: after acquiring the current location information, enable the positioning module, and after acquiring the current location information, close the positioning module.
- the positioning module can be enabled before the positioning terminal acquires the current location information, and the positioning module is closed after the positioning terminal acquires the current location information, which can effectively reduce the power consumption of the positioning terminal.
- the communication module is configured to send to a third server The location information, and part or all of the information included in the positioning request, for the third server to include some or all of the information according to the positioning request, and information that the photographing terminal has taken a photo, The location information matches the photographed photo, and a location tag is added to the corresponding photo based on the location information.
- a camera terminal includes: a communication module, a photographing module, and a processor, wherein the photographing module is configured to perform photographing; the communication module is configured to communicate with a positioning terminal; The communication module establishes a connection, wherein the positioning terminal is not more than a preset distance from the camera terminal; the processor is further configured to determine whether a positioning request needs to be sent, and when determining that a positioning request needs to be sent, instructing the The communication module sends a positioning request to the positioning terminal through the connection, wherein the positioning request includes at least one of an identifier of a photo and a photographing time of a photo; the processor is further configured to: according to the part included in the positioning request Or all the information, and the information that the photographing terminal has taken the photo, matching the position information returned by the communication module with the photographed photograph, and adding a position label to the corresponding photo according to the position information.
- the processor is further configured to determine whether a time difference between the current shooting of the shooting module and the last shooting is greater than a time threshold, When the time difference between the shooting module and the last shooting is greater than the time threshold, it is determined that the positioning request needs to be sent, and the shooting module performs the shooting and the last shooting. When the time difference is less than or equal to the time threshold, it is determined that the positioning request does not need to be sent; or the processor is further configured to determine that the photographing terminal is in a time period during which the shooting module performs the shooting and the last shooting.
- the displacement amount is greater than the displacement threshold, when the displacement of the photographing terminal is greater than the displacement threshold, it is determined that the positioning request needs to be sent, and when the displacement of the photographing terminal is less than or equal to the displacement threshold, it is determined that the positioning request is not required to be sent.
- the camera terminal only sends a positioning request to the positioning terminal when it is determined that the positioning request needs to be sent to the positioning terminal, thereby reducing the workload of the communication module of the camera terminal and reducing the workload. Loss of power of the camera terminal. Moreover, the communication module of the positioning terminal also reduces the workload and reduces the loss of the power of the positioning terminal.
- the processor is further configured to: after receiving the notification that the positioning terminal does not perform positioning And acquiring the last saved location information before sending the positioning request, according to the identifier of the photo returned by the positioning terminal and/or the shooting time of the photo, and the information that the photo terminal has taken the photo, the last time The saved location information matches the taken photo, and a location tag is added to the corresponding photo based on the last saved location information.
- FIG. 1 is an interaction diagram of a camera terminal according to the location information provided by a positioning terminal according to the present invention
- FIG. 2 is a schematic structural diagram of an apparatus for providing location information provided by the present application
- FIG. 3 is a schematic structural diagram of an apparatus for providing location information provided by the present application.
- FIG. 4 is a schematic structural diagram of an apparatus for acquiring location information provided by the present application.
- FIG. 5 is a schematic structural diagram of a smart phone provided by the present application.
- FIG. 6 is a schematic structural diagram of a camera terminal provided by the present application.
- FIG. 1 is an interaction diagram of a camera terminal according to the location information provided by the positioning terminal according to the present invention. This embodiment includes the following steps:
- the positioning terminal has a terminal for communication, positioning, timing, and the like, and the positioning terminal may further have a function of detecting displacement.
- the positioning terminal is any one of a smartphone, a tablet, a notebook, a navigator, and the like.
- Positioning terminal positioning methods include but are not limited to wireless fidelity (Wi-Fi) positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning mode, broadcast signal positioning mode , optical positioning, computer vision positioning and Global Navigation Satellite System (GNSS) positioning methods.
- the camera terminal is a terminal having functions of photographing, communication, timing, etc., and the photographing terminal may further include functions such as detecting displacement.
- Camera terminals include, but are not limited to, digital cameras, smart phones, tablets, and the like.
- a communication connection can be established between the positioning terminal and the camera terminal through a wireless or wired manner.
- the positioning terminal and the camera terminal can be connected by wireless means such as Wi-Fi, Bluetooth, cellular, or the like.
- a universal asynchronous communication transceiver Universal Asynchronous Receiver/Transmitter, UART
- UART Universal Asynchronous Receiver/Transmitter
- USB universal serial bus
- the positioning terminal sends the exchange information to the camera terminal, where the exchange information may be a pre-agreed character of the positioning terminal and the photographing terminal.
- the photographing terminal calculates the distance between the photographing terminal and the positioning terminal by exchanging information from the positioning terminal to the time received by the photographing terminal. The distance between the photographing terminal and the positioning terminal is equal to the time between the exchange of the information from the positioning terminal and the reception of the photographed terminal multiplied by the speed at which the information is exchanged. If the distance between the positioning terminal and the photographing terminal is less than a preset threshold, the photographing terminal sends a request for allowing the requested location to the positioning terminal.
- the preset threshold can be set according to the actual needs according to the actual needs.
- the setting needs to ensure that the normal communication between the positioning terminal and the photographing terminal and the position where the positioning terminal is positioned as the position of the photographing terminal are not seriously unrealistic, resulting in unacceptable can.
- the positioning terminal pops up the prompt interface.
- the prompt interface includes an allow button and a disallow button. If the user selects the permission button, the positioning terminal allows the camera terminal to request positioning from the positioning terminal, and if the user selects the disallow button, the positioning terminal The camera terminal is not allowed to request positioning from the positioning terminal.
- the positioning terminal initiates the connection between the establishing and the photographing terminal, or the photographing terminal initiates the connection between the establishing and the positioning terminal.
- the communication connection can be maintained after the power is turned on, and the connection between the positioning terminal and the camera terminal can be established only when the camera terminal needs to take a picture, and even the camera terminal needs to request the positioning terminal.
- the connection between the positioning terminal and the camera terminal is established.
- the photographing terminal sends a positioning request to the positioning terminal by using a connection.
- the photographing terminal passes the established photo.
- the communication connection sends a positioning request to the positioning terminal.
- the timer is started to perform timing. After the time is up, the camera terminal sends a positioning request to the positioning terminal through the established communication connection.
- the location request may include at least one of an identifier of the photo or a time of photographing, and the location request may further include an identifier of the photographing terminal and the like.
- the photo's logo is usually the unique code for the photo and can be used to identify the photo.
- the time of taking a photo is the time when the user takes a photo to obtain a photo.
- the identification of the camera terminal is usually a unique code of the camera terminal and can be used to identify the camera terminal.
- S103 The positioning terminal determines whether to perform positioning.
- the positioning terminal first determines whether the time difference between the positioning terminal receiving the positioning request and the receiving the previous positioning request is greater than a time threshold, and if the determination result is less than or equal to the time threshold, determining If the result of the determination is greater than the time threshold, it is further determined whether the displacement of the positioning terminal is greater than the displacement threshold in the time period between the positioning of the positioning request and the reception of the previous positioning request, and if the determination result is less than or equal to the displacement
- the threshold is determined not to perform positioning, and if the result of the determination is greater than the displacement threshold, it is determined to perform positioning.
- the time threshold can be set according to the needs of the user. When setting, only the time threshold is guaranteed.
- the value is set to be small enough that in a normal situation, the displacement between the positioning terminal and the photographing terminal is negligible within the time difference between the positioning terminal receiving the positioning request and receiving the last positioning request.
- the displacement threshold can be set according to the needs of the user. When setting, the displacement between the positioning terminal and the camera terminal can be neglected during the time period between receiving the positioning request and receiving the previous positioning request. The time period can be It is 10 seconds, 30 seconds or half an hour and so on.
- the positioning terminal can calculate the displacement of the positioning terminal by reading sensor data of one or more of the acceleration sensor, the gyro sensor, and the like.
- the positioning terminal reads sensor data of one or more of the acceleration sensor, the gyro sensor, and the like at the time of receiving the last positioning request, and reads the acceleration sensor, the gyro sensor, and the like at the time of receiving the positioning request.
- One or more sensor data to calculate the displacement of the positioning terminal during the time period between two positioning requests.
- step S104 If it is determined that the positioning is not performed, the process proceeds to step S104, and if it is determined that the positioning is performed, the process proceeds to step S105.
- S104 The positioning terminal feeds back to the camera terminal.
- the positioning terminal sends a notification that the positioning is not performed to the photographing terminal, and at least one of the identifier of the photo in the positioning request or the time of photographing; or sending the last location information to the photographing terminal. And at least one of an identification of a photo in the location request or a time of photographing.
- the location information may be latitude and longitude information, or may be address information obtained after parsing the latitude and longitude. After the end of this step, the process proceeds to step S107.
- the positioning terminal acquires current location information.
- the positioning terminal may directly locate the current location information according to the specified positioning manner, or may perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location. Location information to improve positioning efficiency and save power.
- the specified positioning mode may be wireless fidelity Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning Mode, broadcast signal positioning method, A combination of any one or more of optical positioning mode, computer vision positioning mode, and GNSS positioning mode.
- the positioning terminal selects a positioning mode according to the remaining power. Specifically, the positioning terminal determines whether the remaining power of the positioning terminal is greater than the power threshold; if the remaining power of the positioning terminal is greater than the power threshold, determining the positioning mode according to the first scanning priority; if the remaining power of the positioning terminal is less than the power threshold, The positioning mode is determined according to the second scanning priority. Among them, the power threshold can be set as needed. The first scan priority and the second scan priority are used to indicate the ordering of the priority levels of the positioning modes. When the positioning mode is determined according to the first scanning priority or the second scanning priority, the positioning mode with the highest priority is selected first. If the positioning mode with the highest priority cannot be used, the positioning mode with the second highest priority is used, and so on.
- the first scanning priority is different from the second scanning priority, and the positioning manner in the first scanning priority may be different from the positioning manner in the second scanning priority, or may be the positioning manner in the first scanning priority.
- the positioning manner in the second scanning priority is the same, but the priority of the positioning mode in the first scanning priority is different from the priority of the positioning mode in the second scanning priority.
- the priority levels of the positioning modes in the first scanning priority are arranged in descending order of the accuracy of the positioning mode, and the priority levels of the positioning modes in the second scanning priority are arranged in ascending order according to the power consumption of the positioning mode.
- the GNSS positioning method has the highest positioning accuracy, the largest power consumption, the lowest positioning accuracy of the cellular positioning mode, and the lowest power consumption, and the Wi-Fi positioning mode is centered. Therefore, the first scanning priority is GNSS positioning mode->Wi-Fi positioning mode->cellular positioning mode, and the second scanning priority is cellular positioning mode->Wi-Fi positioning mode->GNSS positioning mode. Or, the first power threshold and the second power threshold are used to divide the power into three regions, and the positioning terminal determines, in which region the remaining power of the positioning terminal falls, if the remaining power of the positioning terminal falls within a threshold greater than or equal to the first power threshold. In the interval, the positioning mode is determined according to the first scanning priority.
- the scanning priority positioning mode is GNSS positioning mode->Wi-Fi positioning mode->cellular positioning mode
- the second scanning priority positioning mode is cellular positioning mode->Wi-Fi positioning mode->GNSS positioning mode
- third scanning The priority positioning mode is Wi-Fi positioning mode->GNSS positioning mode->cellular positioning mode.
- the positioning terminal selects a positioning mode according to the current environment. Specifically, the positioning terminal determines whether the current environment of the positioning terminal is indoors or outdoors. The positioning terminal can determine whether the current environment of the positioning terminal is indoors or outdoors by reading and analyzing at least one of sensor data such as a light sensor, a barometer, and a temperature sensor. If the current environment of the positioning terminal is indoor, the positioning method suitable for indoor positioning is adopted, for example, Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, and radio frequency tag positioning mode.
- At least one of Zigbee positioning mode, ultra-wideband radio positioning mode, broadcast signal positioning mode, optical positioning mode, computer vision positioning mode, and the like acquires current location information; if the current environment of the positioning terminal is outdoor, it is suitable for outdoor use.
- the positioning method of positioning for example, using GNSS positioning method or the like to obtain current location information.
- the positioning module is enabled to enable the power supply to supply power to the positioning module. After obtaining the current location information, the positioning module is closed, so that the power supply cannot be performed to the positioning module. powered by.
- the positioning module may be any one or more of a Wi-Fi module, a Bluetooth module, a cellular module, a geomagnetic module, an ultrasonic module, an infrared module, a radio frequency tag module, a Zigbee module, an ultra-wideband radio module optical module, and a camera module.
- the positioning module is a GNSS module.
- the positioning module is a Wi-Fi module or the like.
- the positioning terminal after obtaining the location information, sends at least one of the identifier of the photo in the positioning request or the time of photographing to the photographing terminal by using the connection between the positioning terminal and the photographing terminal, and the location acquired by the positioning terminal. information.
- the photographing terminal performs matching according to the feedback of the positioning terminal and adds a position label.
- the header file of the photo usually includes a plurality of different labels for recording shooting time, shutter speed, exposure compensation, focal length, position information, and the like.
- a location tag is a tag in a header file of a photo that is specifically used to record location information.
- a location tag is a tag specifically used to record global positioning data in an Exchangeable Image File (EXIF).
- EXIF Exchangeable Image File
- the photographing terminal acquires the last saved location information before sending the positioning request in step 102, and according to the identifier of the photo returned by the positioning terminal and/or Or the shooting time of the photo, and the information of the photo taken by the photographing terminal, matching the last saved location information with the photographed photograph, wherein the photo information includes the logo of the photo and/or the photographing time of the photo, and the like.
- the location tag is added to the corresponding photo according to the last saved location information.
- the positioning terminal may not feed back any information to the camera terminal when determining that the positioning is not performed.
- the camera terminal does not receive any information fed back by the positioning terminal for a period of time, and acquires the last saved location information before transmitting the positioning request described in step 102, and according to the identifier and/or photo of the photo returned by the positioning terminal.
- the shooting time, as well as the information that the camera terminal has taken the photo matches the last saved location information with the captured photo, and then adds a location tag to the corresponding photo based on the last saved location information.
- the photographing terminal receives the last location information returned by the positioning terminal, or the obtained location information returned by the positioning terminal, according to the returned location information, and part or all of the information included in the positioning request, And the information that the photo terminal has taken the photo, and the location information is matched with the photograph taken.
- the matching may be performed according to the identifier of the photo returned by the positioning terminal and the identifier of the photograph taken. If the identifier of the photo returned by the positioning terminal is consistent with the identifier of the photograph taken, the matching is successful, or according to the return of the positioning terminal.
- the shooting time of the photo is matched with the shooting time of the taken photo.
- the shooting time of the photo returned by the positioning terminal coincides with the shooting time of the taken photo, the matching is successful.
- Matching is performed, and if the photographing time is the same as the photographing time of the photographed photo and the photographing time of the photograph, the matching is successful. After the match is successful, add a location tag to the corresponding photo based on the location information.
- the photographing terminal can also send the photograph taken to the third party server.
- the positioning terminal After acquiring the location information, the positioning terminal sends at least one of the identifier of the photo in the location request or the time of photographing, and the location information to the third-party server.
- the third-party server matches the location information with the captured photo according to the location information sent by the positioning terminal, part or all of the information included in the positioning request, and the information that the camera terminal has taken the photo, and then adds the location to the corresponding photo according to the location information. label.
- the photographing terminal sends the photographed photograph to the positioning terminal.
- the photographing terminal sends the photographed photograph to the positioning request sent to the positioning terminal, or the photographing terminal separately sends the photographed photograph to the positioning terminal.
- the positioning terminal After receiving the captured photo and acquiring the location information, the positioning terminal matches the location information with the captured photo, and then adds a location tag to the corresponding photo according to the location information.
- Solution 1 After the camera terminal and the positioning terminal establish a connection, the camera terminal determines whether the time difference between the current shooting and the previous shooting is greater than a time threshold. If the result of the determination by the photographing terminal is less than or equal to the time threshold, the photographing terminal determines not to perform the positioning. Therefore, the photographing terminal determines that it is not necessary to send a positioning request to the positioning terminal, but obtains the last saved position information from the memory to match the photographed photograph, and then adds a position label to the corresponding photo according to the last saved position information. If the result of the determination by the photographing terminal is greater than the time threshold, the photographing terminal determines that the positioning request needs to be sent to the positioning terminal, and sends a positioning request to the positioning terminal.
- the positioning terminal After receiving the positioning request, the positioning terminal determines whether the displacement of the positioning terminal is greater than the displacement threshold within a time period between receiving the positioning request and receiving the previous positioning request. If the judgment result obtained by the positioning terminal is less than or equal to the displacement threshold, the positioning terminal determines not to perform positioning.
- the positioning terminal sends, to the photographing terminal, a notification that no positioning is performed, and at least one of the identification of the photo in the positioning request or the time of photographing; or, positioning The terminal transmits the last location information to the camera terminal, and at least one of the identification of the photo in the location request or the time of photographing. If the result of the positioning terminal judgment is greater than the displacement threshold, it is determined to perform positioning.
- the locating terminal can directly locate the current location information according to the specified positioning manner, or can perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information. After obtaining the current location information, the positioning terminal sends the current location information to the camera terminal for matching and adding a label, or after acquiring the current location information, the positioning terminal sends the current location information to the third-party server and sends the current location information to the third-party server.
- the third-party server performs matching and labeling. For details, refer to the foregoing embodiment. The description is not repeated here.
- Solution 2 After the camera terminal and the positioning terminal establish a connection, the camera terminal determines whether the time difference between the current shooting and the previous shooting is greater than a time threshold. If the result of the camera terminal determination is less than or equal to the time threshold, the camera terminal determines not to Positioning. The photographing terminal determines that it is not necessary to send a positioning request to the positioning terminal, but obtains the last saved position information from the memory to match the photographed photograph, and then adds a position label to the corresponding photo according to the last saved position information. If the result of the determination by the photographing terminal is greater than the time threshold, the photographing terminal further determines whether the displacement of the photographing terminal is greater than the displacement threshold in the period between the current photographing and the last photographing.
- the photographing terminal determines not to perform the positioning.
- the photographing terminal determines that it is not necessary to send a positioning request to the positioning terminal, but obtains the last saved position information from the memory to match the photographed photograph, and then adds a position label to the corresponding photo according to the last saved position information. If the result of the determination by the photographing terminal is greater than the displacement threshold, the photographing terminal determines to perform the positioning. The photographing terminal determines that a positioning request needs to be sent to the positioning terminal, and sends a positioning request to the positioning terminal.
- the positioning terminal After receiving the positioning request, the positioning terminal can directly locate the current location information according to the specified positioning manner, or can perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information. . After obtaining the current location information, the positioning terminal sends the current location information to the camera terminal for matching and adding tags. Or, after obtaining the current location information, the locating terminal sends the current location information to the third-party server to be sent to the third-party server for matching and labeling. For details, refer to the foregoing embodiment, and the description is not further described herein.
- Solution 3 After the photo terminal and the positioning terminal establish a connection, the photographing terminal determines whether the displacement of the photographing terminal is greater than the displacement threshold in the time period during which the photographing terminal performs the photographing and the last photographing. If the result of the determination by the photographing terminal is less than or equal to the displacement threshold, the photographing terminal determines not to perform the positioning. Therefore, the photographing terminal determines that it is not necessary to send the positioning request to the positioning terminal, but obtains the last saved position information from the memory and has taken the photograph. The photos match, and then add a location tag to the corresponding photo based on the last saved location information.
- the photographing terminal determines that the positioning request needs to be sent to the positioning terminal, and sends a positioning request to the positioning terminal. After receiving the positioning request, the positioning terminal determines whether the time difference between receiving the positioning request and receiving the last positioning request is less than a time threshold. If the result of the determination by the positioning terminal is less than or equal to the time threshold, it is determined that the positioning is not performed.
- the positioning terminal sends at least one of a notification that no positioning is performed to the photographing terminal, and an identifier of the photo in the positioning request or a time of photographing; or the positioning terminal transmits the last location information to the photographing terminal, and locates the photo in the request At least one of the time of identification or photographing.
- the positioning terminal determines to perform positioning.
- the locating terminal can directly locate the current location information according to the specified positioning manner, or can perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information.
- the positioning terminal After obtaining the current location information, the positioning terminal sends the current location information to the camera terminal for matching and adding a label, or after acquiring the current location information, the positioning terminal sends the current location information to the third-party server and sends the current location information to the third-party server.
- the third-party server performs matching and labeling. For details, refer to the foregoing embodiment. The description is not repeated here.
- the technical solution proposed by the present application is only positioned in comparison with the prior art.
- the terminal receives the location request sent by the camera terminal, and when the location terminal and/or the camera terminal determine that the location needs to be determined, the location terminal obtains the current location information by using the location, thereby effectively reducing the power consumption of the location terminal.
- FIG. 2 is a schematic structural diagram of an apparatus for providing location information provided by the present application.
- the apparatus for providing location information in this embodiment includes: a connection establishment module 201, a receiving module 202, a first judging module 203, a determining module 204, and an obtaining and transmitting module 205.
- the connection establishing module 201 is configured to establish a connection with the photographing terminal, wherein a distance between the positioning terminal and the photographing terminal does not exceed a preset threshold.
- the receiving module 202 is configured to receive a positioning request that is sent by the photographing terminal through the connection, where the positioning request includes at least one of an identifier of a photo taken by the photographing terminal or a time of photographing.
- the first determining module 203 is configured to determine at least one of the following: the receiving module 202 receives the time difference between the positioning request and the last positioning request is greater than a time threshold; and the receiving module 202 receives the positioning request and the last time Whether the displacement amount of the positioning terminal is greater than the displacement threshold during the time period of the positioning request.
- the determining module 204 is configured to determine whether to perform positioning according to the result of the determining;
- the obtaining and sending module 205 is configured to: when determining to perform positioning, acquire current location information, and send the current location information to the camera terminal through the connection, and some or all information included in the positioning request. .
- FIG. 3 is a schematic structural diagram of an apparatus for providing location information provided by the present application.
- the device for providing location information in this embodiment includes: a connection establishing module 301, a receiving module 302, a first determining module 303, a determining module 304, and an obtaining transmitting module 306.
- the connection establishing module 301 is configured to establish a connection with the photographing terminal, wherein a distance between the positioning terminal and the photographing terminal does not exceed a preset threshold.
- the receiving module 302 is configured to receive a positioning request that is sent by the photographing terminal through the connection, where the positioning request includes at least one of an identifier of a photo taken by the photographing terminal or a time of photographing.
- the first determining module 303 is configured to determine at least one of the following: the receiving module 302 receives the time difference between the positioning request and the last positioning request is greater than a time threshold; and the receiving module 302 receives the positioning request and the last time Whether the displacement amount of the positioning terminal is greater than the displacement threshold during the time period of the positioning request.
- the determining module 304 is configured to determine whether to perform positioning according to the result of the determining;
- the obtaining and sending module 306 is configured to: when determining to perform positioning, acquire current location information, and send the current location information to the camera terminal through the connection, and some or all information included in the positioning request. .
- the device further includes a second determining module 308 and a priority determining module 309, where the second determining module 308 is configured to determine whether the remaining power of the positioning terminal is greater than a power threshold; the priority determining module 309 When the remaining power of the positioning terminal is greater than the power threshold, the positioning mode is determined according to the first scanning priority; when the remaining power of the positioning terminal is less than the power threshold, the positioning mode is determined according to the second scanning priority, where The first scan priority is different from the second scan priority.
- the second determining module 308 is configured to determine whether the remaining power of the positioning terminal is greater than a power threshold
- the priority determining module 309 When the remaining power of the positioning terminal is greater than the power threshold, the positioning mode is determined according to the first scanning priority; when the remaining power of the positioning terminal is less than the power threshold, the positioning mode is determined according to the second scanning priority, where The first scan priority is different from the second scan priority.
- the device further includes a third determining module 310, where the third determining module 310 is configured to determine whether the current environment of the positioning terminal is indoors or outdoors; and the obtaining sending module 306 is configured to be in the positioning terminal.
- the third determining module 310 is configured to determine whether the current environment of the positioning terminal is indoors or outdoors; and the obtaining sending module 306 is configured to be in the positioning terminal.
- wireless fidelity Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning Obtaining current location information by at least one of a mode, a broadcast signal positioning mode, an optical positioning mode, and a computer vision positioning mode;
- the GNSS positioning method of the global navigation satellite system is used to obtain the current location information.
- the first determining module 303 is configured to determine whether the time difference between the receiving the positioning request and the receiving the last positioning request is greater than a time threshold, and receiving, by the receiving module 302, the positioning request and receiving The time difference of the last positioning request is greater than the time threshold, and the time interval between the receiving of the positioning request and the receiving of the previous positioning request is determined, whether the displacement of the positioning terminal is greater than a displacement threshold; When the displacement of the positioning terminal is greater than the displacement threshold, it is determined to perform positioning.
- the determining module 304 is configured to determine, when the positioning terminal receives the positioning request and the time difference between receiving the last positioning request is less than or equal to a time threshold, determining that the positioning is not performed; or receiving, at the positioning terminal, The time difference between the positioning request and the receiving the last positioning request is greater than a time threshold, and the displacement of the positioning terminal is less than or equal to the displacement threshold in a time period between the positioning terminal receiving the positioning request and receiving the last positioning request. When it is determined, no positioning is performed.
- the acquiring and sending module 306 is configured to, when determining that no positioning is performed, send, to the photographing terminal, at least one of a notification of not performing positioning and a time of identifying or photographing a photo in the positioning request; or And transmitting, to the photographing terminal, at least one of an identification of a photo in the positioning request of the last position information or a time of photographing.
- the device further includes an opening module 305 and a closing module 307, the opening module 305 is configured to open the positioning module, and the closing module 307 is configured to close the positioning module.
- FIG. 4 is a schematic structural diagram of an apparatus for acquiring location information provided by the present application.
- the device for acquiring location information in this embodiment includes: a connection module 401, a determining module 402, a sending module 403, a receiving module 404, a matching module 405, and an adding module 406.
- the connection module 401 is configured to establish a connection with the positioning terminal, where the positioning terminal is not more than a preset distance from the camera terminal;
- the determining module 402 is configured to determine whether a positioning request needs to be sent
- the sending module 403 is configured to send a positioning request to the positioning terminal by using the connection, where the positioning request includes at least one of an identifier of a photo and a photographing time of a photo, when determining that a positioning request needs to be sent;
- the receiving module 404 is configured to receive location information returned by the positioning terminal according to the positioning request, and part or all of information included in the positioning request;
- the matching module 405 is configured to match the location information with the captured photo according to part or all of the information included in the positioning request and information that the camera terminal has taken a photo;
- the adding module 406 is configured to add a location tag to the corresponding photo according to the location information.
- the determining module 402 is configured to determine whether the time difference between the photographing terminal and the last shooting is greater than a time threshold, and the time difference between the photographing terminal and the last shooting is greater than the time.
- the threshold it is determined that the positioning request needs to be sent, and when the time difference between the current shooting and the last shooting is less than or equal to the time threshold, it is determined that the positioning request does not need to be sent; or the determining module 402 is configured to determine Whether the displacement amount of the photographing terminal is greater than a displacement threshold during the time when the photographing terminal performs the photographing and the last photographing, and when the displacement of the photographing terminal is greater than the displacement threshold, it is determined that the positioning request needs to be sent, and the photographing terminal is required. When the displacement amount is less than or equal to the displacement threshold, it is determined that the positioning request does not need to be sent.
- the device further includes an obtaining module 407, configured to acquire, after receiving the notification that the positioning terminal does not perform positioning, location information that is saved last time before the positioning request is sent;
- the matching module 405 is configured to display the last saved location information and the taken photo according to the identifier of the photo returned by the positioning terminal and/or the shooting time of the photo, and the information that the camera terminal has taken the photo.
- Matching; the adding module 406 is configured to add a location tag to the corresponding photo according to the last saved location information.
- the embodiment of the invention relates to a positioning terminal, which is a terminal having functions of positioning, communication, etc., for example, the positioning terminal may be any one of a smart phone, a tablet computer, a notebook computer, a navigator and the like.
- Positioning terminal positioning methods include, but are not limited to, wireless fidelity (Wi-Fi) positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning Mode, ultra-wideband radio positioning, broadcast signal positioning, optical positioning, computer vision positioning, and Global Navigation Satellite System (GNSS) positioning methods.
- Wi-Fi wireless fidelity
- Bluetooth positioning mode cellular positioning mode
- ultrasonic positioning mode infrared positioning mode
- radio frequency tag positioning mode infrared positioning mode
- Zigbee positioning Mode ultra-wideband radio positioning
- broadcast signal positioning optical positioning
- computer vision positioning and Global Navigation Satellite System (GNSS) positioning methods.
- GNSS Global Navigation Satellite System
- FIG. 5 is a block diagram showing a part of the structure of the smartphone 500 related to the embodiment of the present invention.
- the smart phone 500 includes components such as a communication module 510, a memory 520, an input unit 530, a display unit 540, a displacement sensor 550, an audio circuit 560, a positioning module 570, a processor 580, and a power source 590.
- the smartphone structure illustrated in FIG. 5 does not constitute a limitation to a smartphone, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
- the communication module 510 is configured to communicate with the camera terminal.
- the communication module 510 may be any one of a wireless communication module such as a Wi-Fi module, a Bluetooth module, a cellular communication module, or the like, or may be any one of a serial communication module, a USB module, and the like.
- a Bluetooth module is taken as an example.
- the Bluetooth module includes a chip and peripheral devices, and can implement short-range wireless communication.
- the memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the smartphone 500 by running software programs and modules stored in the memory 520.
- the memory 520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data (such as audio data, phone book, etc.) created according to the use of the smartphone 500.
- the memory 520 may include a high speed random access memory, Non-volatile memory may be included, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 530 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the smartphone 500.
- the input unit 530 may include a touch panel 531 and other input devices 532.
- the touch panel 531 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 131 or near the touch panel 531. Operation), and drive the corresponding connecting device according to a preset program.
- the touch panel 531 can include two parts: a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 580 is provided and can receive commands from the processor 580 and execute them.
- the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 530 may also include other input devices 532. Specifically, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 540 can be used to display information input by the user or information provided to the user and various menus of the smartphone 500.
- the display unit 540 can include a display panel 541.
- the display panel 541 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch panel 531 can cover the display panel 541. When the touch panel 531 detects a touch operation on or near it, the touch panel 531 transmits to the processor 580 to determine the type of the touch event, and then the processor 580 according to the touch event. The type provides a corresponding visual output on display panel 541.
- the touch panel 531 and the display panel 541 are two independent components to implement the input and input functions of the smartphone 500, in some embodiments, the touch panel 531 and the display panel 541 may be Integrate and realize the input and output functions of the smartphone 500 can.
- the sensor 550 includes a combination of any one or more of an acceleration sensor, a gyro sensor, and the like that can measure the displacement of the smartphone 500.
- the accelerometer sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest. Therefore, it can also be used to identify the posture of the mobile phone (such as horizontal and vertical screen). Switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
- Sensor 550 can also optionally include a light sensor, a barometer, a temperature sensor, a proximity sensor, and the like.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may determine the location of the smart phone 500 in combination with a barometer, a temperature sensor, or the like, for example, determining whether the smart phone is indoors or outdoors.
- the proximity sensor can turn off the display panel 541 and/or the backlight when the smartphone 500 moves to the ear. Other sensors of the smart phone 500 will not be described here.
- Audio circuit 560, speaker 561, microphone 562 can provide an audio interface between the user and smartphone 500.
- the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561 for conversion to the sound signal output by the speaker 561; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal by the audio circuit 560. After receiving, it is converted into audio data, and the audio data is output to the communication module 510 for transmission to, for example, another mobile phone, or the audio data is output to the memory 520 for further processing.
- the positioning module 570 can be any one or more of a Wi-Fi module, a Bluetooth module, a cellular module, a geomagnetic module, an ultrasonic module, an infrared module, a radio frequency tag module, a Zigbee module, an ultra-wideband radio module optical module, and a camera module. combination.
- the positioning module is a GNSS module.
- the positioning module is a Wi-Fi module or the like. It can be understood that when the positioning module 570 is any one of a Wi-Fi module, a Bluetooth module, and a cellular module, the positioning module 570 and the communication module 510 may also be the same module.
- Processor 580 is the control center of smartphone 500, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 520, and recalling data stored in memory 520.
- the smartphone 500 is monitored as a whole by performing various functions and processing data of the smartphone 500.
- the processor 580 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
- the smart phone 500 also includes a power source 590 (such as a battery) that supplies power to various components.
- a power source 590 such as a battery
- the power source can be logically coupled to the processor 580 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
- the smartphone 500 may further include a camera or the like, which will not be described herein.
- the distance between the smartphone 500 and the camera terminal does not exceed a preset threshold.
- the camera terminal is a terminal having a shooting function, including but not limited to a digital camera, another smart phone, a tablet computer, and the like.
- the preset threshold can be set according to the actual needs according to the actual needs. The setting needs to ensure that the normal communication between the smart phone 500 and the photographing terminal and the position where the smart phone 500 is positioned as the position of the photographing terminal are not seriously unrealistic, resulting in unacceptable can.
- a communication connection can be established between the smart phone 500 and the camera terminal through a wireless or wired manner.
- the smart phone 500 and the camera terminal can be connected by wireless means such as Wi-Fi, Bluetooth, and cellular.
- the communication connection can be established by a wired method such as a Universal Asynchronous Receiver/Transmitter (UART), a network port, or a Universal Serial Bus (USB).
- UART Universal Asynchronous Receiver/Transmitter
- USB Universal Serial Bus
- the smart phone 500 sends the exchange information to the photographing terminal, wherein the exchange information may be a character pre-agreed by the smart phone 500 and the photographing terminal.
- the camera terminal is receiving After locating the exchange information sent by the terminal, the distance between the camera terminal and the smartphone 500 is calculated by the time between the exchange of the information from the smartphone 500 and the receipt of the camera terminal. The distance between the camera terminal and the smartphone 500 is equal to the time between the time the smartphone 500 is sent and the time it is received by the location terminal multiplied by the speed at which the information is transmitted.
- the camera terminal pops up a prompt interface on the touch panel.
- the prompt interface includes an allow button and a disallow button. If the user selects the permission button by clicking the touch panel, the camera terminal allows the request location to be sent to the location terminal. If the user selects the disallow button by clicking the touch panel, the camera terminal does not allow the location terminal to be requested.
- the preset threshold value may be set according to actual needs according to actual needs, and the setting needs to ensure that the normal communication between the smart phone 500 and the photographing terminal and the position where the smart phone 500 is positioned as the position of the photographing terminal are not seriously deficient. Accept it.
- the communication module 510 of the smart phone 500 may initiate a connection between the establishing and the camera terminal, or the camera terminal may initiate a connection with the communication module 510 of the smart phone 500.
- the communication module 510 of the smart phone 500 and the camera terminal can maintain the communication connection after the power is turned on, and the connection between the communication module 510 of the smart phone 500 and the camera terminal can be established when the camera terminal needs to take a picture. It is even possible to establish a connection between the smartphone 500 and the photographing terminal, etc., when the photographing terminal needs to request positioning from the smartphone 500.
- the photographing terminal passes The established communication connection sends a location request to the communication module 510 of the smartphone 500.
- the timer is started to perform timing. After the time is up, the camera terminal sends a positioning request to the communication module 510 of the smart phone 500 through the established communication connection.
- the location request may include at least one of an identifier of the photo or a time of photographing, and the location request may further include an identifier of the photographing terminal and the like.
- the logo of the photo is usually The unique encoding of the photo that can be used to identify the photo.
- the time of taking a photo is the time when the user takes a photo to obtain a photo.
- the identification of the camera terminal is usually a unique code of the camera terminal and can be used to identify the camera terminal.
- the processor 580 first determines whether the time difference between the receiving the positioning request and the receiving the previous positioning request by the communication module 510 is greater than a time threshold, and if the determination result is less than or equal to the time threshold. If the result of the determination is greater than the time threshold, the processor 580 further determines whether the displacement of the smart phone 500 is greater than the displacement threshold during the time period between the receiving of the positioning request by the communication module 510 and the receiving of the previous positioning request. If the result of the determination is less than or equal to the displacement threshold, it is determined that the positioning is not performed, and if the determination result is greater than the displacement threshold, it is determined to perform the positioning.
- the time threshold can be set according to the needs of the user. When setting, it is only necessary to ensure that the time threshold is set small enough that the communication module 510 receives the current positioning request and receives the previous positioning request under normal conditions. Within the time difference, the displacement of the smartphone 500 and the camera terminal is negligible.
- the displacement threshold can be set according to the needs of the user. When setting, the time interval between the smartphone 500 and the photographing terminal can be neglected only when the smartphone 500 receives the positioning request and receives the last positioning request, wherein the time is negligible.
- the segment can be 10 seconds, 30 seconds or half an hour, and so on.
- the smartphone 500 can calculate the displacement of the smartphone 500 by reading sensor data of one or more of an acceleration sensor, a gyro sensor, and the like.
- the communication module 510 of the smartphone 500 reads sensor data of one or more of the acceleration sensor, the gyro sensor, and the like at the time of receiving the last positioning request, and reads the acceleration sensor and the gyro at the time of receiving the positioning request.
- the sensor data of one or more of the sensors and the like thereby calculating the displacement of the smartphone 500 during the time period between the two positioning requests.
- the communication module 510 of the smart phone 500 sends a notification that the positioning is not performed to the photographing terminal, and at least one of the identifier of the photo in the positioning request or the time of photographing; or, sends the photographing terminal to the photographing terminal.
- Last location information, as well as the title of the photo in the targeting request At least one of the time of recognition or photographing.
- the location information may be latitude and longitude information, or may be address information obtained after parsing the latitude and longitude.
- the processor 580 of the smart phone 500 may directly determine the positioning manner according to the specified positioning manner, and call the positioning module 570 to perform positioning to obtain current location information, and the processor 580 may also be configured according to the smart phone 500.
- the remaining power or the current environment of the smart phone 500 selects the positioning mode, and the positioning module 570 is called to obtain the current location information to improve the positioning efficiency and save power.
- the specified positioning mode may be wireless fidelity Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning A combination of any one or more of a mode, a broadcast signal positioning mode, an optical positioning mode, a computer vision positioning mode, and a GNSS positioning mode.
- the processor 580 of the smartphone 500 selects a positioning mode based on the remaining power. Specifically, the processor 580 determines whether the remaining power of the smart phone 500 is greater than the power threshold; if the remaining power of the smart phone 500 is greater than the power threshold, determining the positioning mode according to the first scanning priority; if the remaining power of the smart phone 500 is less than the power threshold Then, the positioning mode is determined according to the second scanning priority.
- the power threshold can be set as needed.
- the first scan priority and the second scan priority are used to indicate the ordering of the priority levels of the positioning modes. When the positioning mode is determined according to the first scanning priority or the second scanning priority, the positioning mode with the highest priority is selected first.
- the positioning mode with the highest priority cannot be used, the positioning mode with the second highest priority is used, and so on.
- the first scanning priority is different from the second scanning priority, and the positioning manner in the first scanning priority may be different from the positioning manner in the second scanning priority, or may be the positioning manner in the first scanning priority.
- the positioning manner in the second scanning priority is the same, but the priority of the positioning mode in the first scanning priority is different from the priority of the positioning mode in the second scanning priority.
- the priority of the positioning mode in the first scanning priority is arranged in descending order of the accuracy of the positioning mode.
- the priority of the positioning mode in the second scanning priority is sorted in ascending order according to the power consumption of the positioning mode.
- the GNSS positioning method has the highest positioning accuracy, the largest power consumption, the lowest positioning accuracy of the cellular positioning mode, and the lowest power consumption, and the Wi-Fi positioning mode is centered. Therefore, the first scanning priority is GNSS positioning mode->Wi-Fi positioning mode->cellular positioning mode, and the second scanning priority is cellular positioning mode->Wi-Fi positioning mode->GNSS positioning mode.
- the first power level threshold and the second power level threshold are used to divide the power into three areas, and the processor 580 determines which area the remaining power of the smart phone 500 falls into, if the remaining power of the smart phone 500 falls within the first or greater In the interval of the power threshold, the positioning mode is determined according to the first scanning priority.
- the positioning mode is determined according to the second scanning priority level, if the smart phone 500 If the remaining power falls within a section that is smaller than the first power threshold and greater than the second power threshold, the positioning mode is determined according to the third scan priority level.
- the first scanning priority positioning mode is GNSS positioning mode->Wi-Fi positioning mode->cellular positioning mode
- the second scanning priority positioning mode is cellular positioning mode->Wi-Fi positioning mode->GNSS positioning mode
- the third scanning priority positioning mode is Wi-Fi positioning mode->GNSS positioning mode->cellular positioning mode.
- the processor 580 selects a positioning mode based on the current environment. Specifically, the processor 580 determines whether the current environment of the smartphone 500 is indoors or outdoors. The processor 580 can determine whether the current environment of the smart phone 500 is indoors or outdoors by reading and analyzing at least one of sensor data such as a light sensor, a barometer, and a temperature sensor. If the current environment of the smart phone 500 is indoor, the positioning mode suitable for indoor positioning is adopted, for example, Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, and radio frequency tag positioning.
- the method acquire at least one of the current location information; if the current environment of the smart phone 500 is outdoor, the adoption is suitable
- the positioning method for positioning in the outdoor for example, the GNSS positioning method or the like is used to obtain the current location information.
- the processor 580 can enable the positioning module 570 to enable the power supply 590 to supply power to the positioning module 570.
- the positioning module 570 After acquiring the current location information, the positioning module 570 is turned off. The power supply 590 is rendered incapable of supplying power to the positioning module 570.
- the smart phone 500 sends at least one of the identifier of the photo in the location request or the time of photographing to the camera terminal through the communication module 510, and the location information acquired by the location module 570. .
- the photographing terminal acquires the last saved location information before sending the positioning request, and according to the identifier of the photo returned by the communication module 510 and/or the shooting time of the photo. And the information that the photographing terminal has taken the photo, and the last saved location information is matched with the photographed photograph, wherein the photo information includes the logo of the photograph and/or the photographing time of the photograph, and the like. After the match is successful, the location tag is added to the corresponding photo according to the last saved location information.
- the head file of the photo usually includes a plurality of different labels for recording shooting time, shutter speed, exposure compensation, focal length and position information, and the like.
- a location tag is a tag in a header file of a photo that is specifically used to record location information.
- a location tag is a tag specifically used to record global positioning data in an Exchangeable Image File (EXIF).
- EXIF Exchangeable Image File
- the processor 580 may not feed back any information to the camera terminal.
- the camera terminal does not receive any information fed back by the positioning terminal for a period of time, and acquires the last saved location information before transmitting the positioning request, and according to the identifier of the photo returned by the communication module 510 and/or the shooting time of the photo. And the information that the photo terminal has taken the photo, matching the last saved location information with the photographed photo, and then adding a location tag to the corresponding photo according to the last saved location information.
- the communication module 510 sends the last location information returned by the smart phone 500, or the acquired location information returned by the smart phone 500, according to the returned location information, And some or all of the information included in the positioning request, and the information that the photographing terminal has taken the photo, matching the location information with the photograph taken.
- the matching may be performed according to the identifier of the photo returned by the communication module 510 and the identifier of the photograph taken. If the identifier of the photo returned by the communication module 510 is consistent with the identifier of the photograph taken, the matching is successful, or according to the communication module.
- the photographing time of the photograph returned by 510 is matched with the photographing time of the photographed photograph, and if the photographing time of the photograph returned by the communication module 510 coincides with the photographing time of the photographed photograph, the matching is successful.
- the photographing terminal can also send the photograph taken to the third party server.
- the positioning terminal After acquiring the location information, the positioning terminal sends at least one of the identifier of the photo in the location request or the time of photographing, and the location information to the third-party server.
- the third-party server matches the location information with the captured photo according to the location information sent by the positioning terminal, part or all of the information included in the positioning request, and the information that the camera terminal has taken the photo, and then adds the location to the corresponding photo according to the location information. label.
- the photographing terminal sends the photographed photograph to the positioning terminal.
- the photographing terminal sends the photographed photograph to the positioning request sent to the positioning terminal, or the photographing terminal separately sends the photographed photograph to the positioning terminal.
- the positioning terminal After receiving the captured photo and acquiring the location information, the positioning terminal matches the location information with the captured photo, and then adds a location tag to the corresponding photo according to the location information.
- Solution 1 After the photo terminal and the communication module 510 of the smart phone 500 establish a connection, the photographing terminal determines whether the time difference between the current shooting and the last shooting is greater than a time threshold. If the result of the determination by the photographing terminal is less than or equal to the time threshold, the photographing terminal determines not to perform the positioning. Therefore, the photographing terminal determines that it is not necessary to send a positioning request to the smartphone 500, but obtains the latest from the memory. The saved location information matches the captured photo, and the location tag is added to the corresponding photo based on the last saved location information.
- the photographing terminal determines that it is necessary to send a positioning request to the smartphone 500 and transmits a positioning request to the smart phone 500.
- the processor 580 determines whether the displacement of the smart phone 500 is greater than the displacement threshold within a time period between receiving the positioning request and receiving the last positioning request. If the result of the determination by the processor 580 of the smartphone 500 is less than or equal to the displacement threshold, the processor 580 determines not to perform the positioning.
- the smart phone 500 transmits, by the communication module 510, the notification that no positioning is performed to the photographing terminal, and at least one of the identification of the photo in the positioning request or the time of photographing; or the smart phone 500 transmits the last time to the photographing terminal through the communication module 510.
- Location information and at least one of an identification of a photo in the location request or a time of photographing. If the result of the processor 580 of the smartphone 500 determines that the result is greater than the displacement threshold, then it is determined to perform the positioning.
- the positioning module 570 of the smart phone 500 can directly locate the current location information according to the specified positioning manner, or can perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information.
- the positioning module 570 After acquiring the current location information, the positioning module 570 sends the current location information to the camera terminal for matching and adding a label through the communication module 510, or the positioning module 570 obtains the current location information, and then sends the current location information to the communication module 510.
- the third-party server sends the current location information to the third-party server for matching and tagging. For details, refer to the foregoing embodiment, and the description is not repeated here.
- the photographing terminal determines whether the time difference between the current shooting and the last shooting is greater than a time threshold. If the result of the photo terminal determination is less than or equal to the time threshold, the photographing terminal determines No positioning is required. The photographing terminal does not send a positioning request to the smart phone 500, but obtains the last saved position information from the memory to match the photographed photograph, and then adds a position label to the corresponding photo according to the last saved position information. If the result of the determination by the photographing terminal is greater than the time threshold, the photographing terminal further judges the current entry. Whether the displacement of the photographing terminal is greater than the displacement threshold during the time between the line shooting and the last shooting.
- the photographing terminal determines not to perform the positioning.
- the photographing terminal determines that it is not necessary to send a positioning request to the smart phone 500, but obtains the last saved position information from the memory and matches the photographed photograph, and then adds a position label to the corresponding photo according to the last saved position information. If the result of the determination by the photographing terminal is greater than the displacement threshold, the photographing terminal determines that the positioning needs to be performed, and sends a positioning request to the smart phone 500.
- the camera terminal sends a location request to the smartphone 500.
- the positioning module 570 can directly locate the current location information according to the specified positioning manner, or select the positioning according to the remaining power of the smart phone 500 or the current environment of the positioning terminal. The way to locate to get the current location information.
- the location module 570 of the smart phone 500 obtains the current location information
- the current location information is sent to the camera terminal through the communication module 510 for matching and tagging, or the positioning module 570 obtains the current location information and passes the
- the communication module 510 sends the current location information to the third-party server and sends the information to the third-party server for matching and tagging. For details, refer to the foregoing embodiment, and the description is not repeated here.
- Solution 3 After the photo terminal and the smart phone 500 establish a connection, the photographing terminal judges whether the displacement of the photographing terminal is greater than the displacement threshold in the time period during which the photographing terminal performs the photographing and the last photographing. If the result of the determination by the photographing terminal is less than or equal to the displacement threshold, the photographing terminal determines not to perform the positioning, so the photographing terminal determines that it is not necessary to send the positioning request to the smart phone 500, but obtains the last saved position information from the memory and has The captured photos match, and then add a location tag to the corresponding photo based on the last saved location information.
- the photographing terminal determines that it is necessary to send a positioning request to the smart phone 500, and sends a positioning request to the smart phone 500.
- the communication module of the smart phone 500 determines whether the time difference between receiving the positioning request and receiving the last positioning request is less than a time threshold by the processor 580. If the result of the processor 580 determination is less than or equal to the time threshold, then it is determined that no positioning is to be performed.
- the Smartphone 500 Sending, by the communication module 510, a notification that no positioning is performed to the photographing terminal, and at least one of the identification of the photo in the positioning request or the time of photographing; or the smart phone 500 transmits the last position information to the photographing terminal through the communication module 510, And at least one of an identification of a photo in the location request or a time of photographing. If the result of the processor 580 determination is greater than the time threshold, then it is determined to perform the positioning.
- the positioning module 570 can perform positioning according to the specified positioning manner to obtain the current location information, and can also perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information.
- the positioning module 570 After acquiring the current location information, the positioning module 570 sends the current location information to the camera terminal for matching and adding a label through the communication module 510, or the positioning module 570 obtains the current location information, and then sends the current location information to the communication module 510.
- the third-party server sends the current location information to the third-party server for matching and tagging. For details, refer to the foregoing embodiment, and the description is not repeated here.
- the above-mentioned embodiment takes the smart phone of the positioning terminal as an example.
- the positioning terminal is a navigator, a tablet computer, etc.
- the hardware structure of the positioning terminal will be different, and details are not described herein again.
- the smart phone receives the positioning request sent by the camera terminal, and the smart phone transmits the positioning request sent by the camera terminal.
- the smart phone and/or the camera terminal determine that it is really necessary to perform positioning, the smart phone can obtain the current location information by positioning, thereby effectively reducing the power consumption of the smart phone.
- FIG. 6 is a schematic structural diagram of a camera terminal provided by the present application.
- the camera terminal is a terminal having a photographing and communication function, including but not limited to a digital camera, a smart phone, a tablet computer, and the like.
- the photographing terminal 600 of the embodiment includes a photographing module 610, a processor 620, a memory 630, a display module 640, an audio module 650, an interface module 660, a communication module 670, a charging module 680, and a power management module 690.
- the capture module 610 includes a sensor that can convert an optical signal into an electrical signal.
- the photographing module 610 includes a charge-coupled device (CCD) sensor that senses light through a photodiode and induces a charge generation. Thereafter, the parallel signal accumulator temporarily stores the induced charge, in parallel.
- the signal register transfers the charge temporarily stored in the parallel signal accumulator to the signal amplifier for amplification, and the analog-to-digital converter converts the electric signal composed of the amplified electric charge into a digital signal for processing by the photographing module 610.
- the CCD sensor in the imaging module 610 may be replaced by a Complementary Metal Oxide Semiconductor (CMOS) sensor or the like.
- CMOS Complementary Metal Oxide Semiconductor
- the processor 620 is a control center of the photographing terminal 600, and connects various parts of the entire photographing terminal 600 by various interfaces and lines, by running or executing software programs and/or modules stored in the memory 630, and calling them in the memory 630.
- the data performs various functions and processing data of the photographing terminal 600, thereby performing overall monitoring of the photographing terminal 600.
- the processor 620 can be an integrated chip.
- the processor 620 can be a general purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or the like. Programmable logic devices and more.
- the processor 620 may include one or more processing units; preferably, the processor 180 may integrate a Moving Pictures Experts Group-4 (MPEG-4) processor, and the MPEG-4 processor is mainly Processing compression encoding of audio and video. It can be understood that the above MPEG-4 processor may not be integrated into the processor 620.
- MPEG-4 Moving Pictures Experts Group-4
- the memory 602 can be used to store software programs and modules, and the processor 620 executes various functional applications and data processing of the photographing terminal 600 by running software programs and modules stored in the memory 630.
- the memory 630 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data (such as audio data, image data, etc.) created according to the use of the photographing terminal 600, and the like.
- the memory 630 can include a high speed random access memory.
- Non-volatile memory may also be included, such as at least one flash memory device, or other volatile solid state memory device.
- the display module 640 can be used to display pictures, videos, and function menus of the photographing terminal 600 collected by the user through the photographing module 610.
- the display module 640 may include a display panel.
- the display panel may be an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the display module 640 may further include a touch panel, and the touch panel may cover the display panel. After the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor 620 to determine the type of the touch event, and then The processor 620 provides a corresponding visual output on the display panel depending on the type of touch event.
- the input and display functions of the camera terminal 600 can be implemented by integrating the touch panel with the display panel.
- the audio circuit 650 includes an audio processing circuit and a speaker, wherein the audio processing circuit can convert the audio data collected by the shooting module 610 into an electrical signal and then transmit it to a speaker, and the speaker 561 converts the electrical signal into a sound signal output.
- the interface module 660 is generally a USB interface module.
- the USB interface module includes a data differential line, and can transmit audio data and video data collected by the shooting module 610 to an external device such as a computer.
- the communication module 670 may be any one of a wireless communication module that implements communication with the outside, such as a Wi-Fi module, a Bluetooth module, a GPRS module, or the like, or is a wired communication module such as a serial port module, a USB module, or the like.
- a wireless communication module that implements communication with the outside
- a Wi-Fi module such as a Wi-Fi module, a Bluetooth module, a GPRS module, or the like
- a wired communication module such as a serial port module, a USB module, or the like.
- the camera terminal 600 also includes a charging module 680 and a power management module 690.
- An external power source can be charged to the power management module 690 via the charging module 680. After the power management module 690 is charged, power is supplied to each module inside the camera terminal.
- the power management module 690 can be logically coupled to the processor 620 to implement functions such as managing charging, discharging, and power consumption through the power management module 690.
- the photographing terminal 600 may further include an SD card or the like, which is not specifically limited herein.
- the communication connection between the camera terminal 600 and the positioning terminal can be established by wireless or wired.
- the positioning terminal and the camera terminal can be connected by wireless means such as Wi-Fi, Bluetooth, cellular, etc., or can be transmitted and received by universal asynchronous transmission.
- a communication connection is established by a wired method such as a Universal Asynchronous Receiver/Transmitter (UART), a network port, or a Universal Serial Bus (USB).
- UART Universal Asynchronous Receiver/Transmitter
- USB Universal Serial Bus
- the connection between the positioning terminal and the camera terminal is the same as that in the prior art, and details are not described herein again.
- the distance between the positioning terminal and the photographing terminal 600 does not exceed a preset threshold.
- the preset threshold may be set according to the actual needs according to the actual needs. The setting needs to ensure that the positioning between the positioning terminal and the photographing terminal 600 and the position where the positioning terminal is positioned as the position of the photographing terminal 600 are not seriously deficient. Accept it.
- the processor 620 of the camera terminal 600 instructs the communication module 610 to establish a communication connection by using a wireless or wired manner.
- the communication module 610 can establish a communication connection by wireless means such as Wi-Fi, Bluetooth, cellular, or the like.
- a wired connection such as a Universal Asynchronous Receiver/Transmitter (UART), a network port, or a Universal Serial Bus (USB) establishes a communication connection.
- UART Universal Asynchronous Receiver/Transmitter
- USB Universal Serial Bus
- the positioning terminal sends the exchange information to the communication module 610 of the photographing terminal 600, wherein the exchange information may be a character pre-agreed by the positioning terminal and the photographing terminal 600.
- the communication module 610 sends the exchange information to the processor 620.
- the processor 620 calculates the distance between the photographing terminal and the positioning terminal 600 by exchanging information from the positioning terminal to the time received by the communication module 610. The distance between the photographing terminal and the positioning terminal 600 is equal to the time between the issuance of the positioning terminal and the reception by the photographing terminal 600 multiplied by the speed at which the information is transmitted.
- the processor 620 calculates that the distance between the positioning terminal and the photographing terminal 600 is less than a preset threshold, the processor 620 instructs the display module 640 to display the prompting interface.
- the prompt interface includes an allow button and a disallow button. If used The user selects the allow button by clicking the touch panel, and the processor 620 allows the communication module 610 to send a request location to the location terminal. If the user selects the disallow button by clicking the touch panel, the processor 620 does not allow the communication module 610 to locate the location. The terminal sends a request for location.
- the preset threshold can be set according to the actual needs according to the actual needs. The setting needs to ensure that the positioning between the positioning terminal and the communication module 610 of the photographing terminal 600 can be normally communicated, and the position where the positioning terminal is positioned as the position of the photographing terminal 600 is not seriously deficient. It can be unacceptable.
- the positioning terminal initiates the connection between the establishing and the photographing terminal 600
- the photographing terminal 600 initiates the connection between the establishing and the positioning terminal.
- the connection between the positioning terminal 600 and the photographing terminal 600 can be maintained after the power is turned on, and the connection between the positioning terminal and the photographing terminal 600 can be established even when the photographing terminal 600 needs to take a photograph, even in the photographing terminal 600.
- the connection between the positioning terminal and the photographing terminal 600 and the like are established.
- the processor 620 detects that the photographing module 610 performs photographing, and instructs communication.
- Module 670 sends a location request to the positioning terminal over the established communication connection.
- the processor 620 detects that the shooting module 610 performs shooting of the photo, the timer is started to perform timing. After the timing time expires, the processor 620 instructs the communication module 670 to send a positioning request to the positioning terminal through the established communication connection.
- the location request may include at least one of an identifier of the photo or a time of photographing, and the location request may further include an identifier of the photographing terminal and the like.
- the photo's logo is usually the unique code for the photo and can be used to identify the photo.
- the time of taking a photo is the time when the user takes a photo to obtain a photo.
- the identification of the camera terminal is usually a unique code of the camera terminal and can be used to identify the camera terminal.
- the communication module 670 After receiving the instruction of the processor 620, the communication module 670 sends a positioning request to the positioning terminal. Further, the processor 620 instructs the memory 630 to store a photograph obtained by photographing the photograph by the photographing module 610, a photographing time, a logo of the photograph, and the like.
- the positioning terminal receives the positioning request sent by the camera terminal, determining the receiving location first Whether the time difference between the request and the previous positioning request is greater than the time threshold, if the judgment result is less than or equal to the time threshold, determining that the positioning is not performed, and if the determination result is greater than the time threshold, further determining the receiving positioning request and receiving the last positioning request If the result of the determination is greater than or equal to the displacement threshold, the positioning is determined not to be performed. If the determination result is greater than the displacement threshold, the positioning is determined.
- the time threshold can be set according to the needs of the user. When setting, it is only necessary to ensure that the time threshold is set small enough to be within a normal situation, within a time difference between receiving the current positioning request and receiving the last positioning request.
- the displacement of the positioning terminal and the photographing terminal 600 is negligible.
- the displacement threshold can be set according to the needs of the user. When setting, the displacement between the positioning terminal and the photographing terminal 600 can be neglected during the time period between receiving the positioning request and receiving the last positioning request, wherein the time period is It can be 10 seconds, 30 seconds or half an hour, and so on.
- the positioning terminal can calculate the displacement of the positioning terminal by reading sensor data of one or more of the acceleration sensor, the gyro sensor, and the like. For example, the positioning terminal reads sensor data of one or more of the acceleration sensor, the gyro sensor, and the like at the time of receiving the last positioning request, and reads the acceleration sensor, the gyro sensor, and the like at the time of receiving the positioning request. One or more sensor data to calculate the displacement of the positioning terminal during the time period between two positioning requests.
- the positioning terminal sends a notification that the positioning is not performed to the photographing terminal 600, and at least one of the identification of the photo in the positioning request or the time of photographing; or sending the last position to the photographing terminal.
- Information and at least one of the identification of the photo in the location request or the time of the photo.
- the location information may be latitude and longitude information, or may be address information obtained after parsing the latitude and longitude.
- the communication module 610 of the photographing terminal 600 receives the correspondingly.
- the positioning terminal may directly determine the positioning manner according to the specified positioning manner, and obtain current location information.
- the positioning terminal may also perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information, so as to High positioning efficiency and power savings.
- the specified positioning mode may be wireless fidelity Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, radio frequency tag positioning mode, Zigbee positioning mode, ultra-wideband radio positioning A combination of any one or more of a mode, a broadcast signal positioning mode, an optical positioning mode, a computer vision positioning mode, and a GNSS positioning mode.
- the positioning terminal selects a positioning mode according to the remaining power. Specifically, the positioning terminal determines whether the remaining power is greater than the power threshold; if the remaining power of the positioning terminal is greater than the power threshold, determining the positioning mode according to the first scanning priority; if the remaining power of the positioning terminal is less than the power threshold, pressing the second scanning first
- the level determines the positioning method.
- the power threshold can be set as needed.
- the first scan priority and the second scan priority are used to indicate the ordering of the priority levels of the positioning modes. When the positioning mode is determined according to the first scanning priority or the second scanning priority, the positioning mode with the highest priority is selected first. If the positioning mode with the highest priority cannot be used, the positioning mode with the second highest priority is used, and so on.
- the first scanning priority is different from the second scanning priority, and the positioning manner in the first scanning priority may be different from the positioning manner in the second scanning priority, or may be the positioning manner in the first scanning priority.
- the positioning manner in the second scanning priority is the same, but the priority of the positioning mode in the first scanning priority is different from the priority of the positioning mode in the second scanning priority.
- the priority levels of the positioning modes in the first scanning priority are arranged in descending order of the accuracy of the positioning mode, and the priority levels of the positioning modes in the second scanning priority are arranged in ascending order according to the power consumption of the positioning mode.
- the GNSS positioning method has the highest positioning accuracy, the largest power consumption, the lowest positioning accuracy of the cellular positioning mode, and the lowest power consumption, and the Wi-Fi positioning mode is centered. Therefore, the first scanning priority is GNSS positioning mode->Wi-Fi positioning mode->cellular positioning mode, and the second scanning priority is cellular positioning mode->Wi-Fi positioning mode->GNSS positioning mode.
- the first power threshold and the second power threshold are used to divide the power into three regions, and the positioning terminal determines which region the remaining power falls into, if the remaining power of the positioning terminal falls within the first power. The interval of the threshold is determined according to the first scanning priority.
- the positioning mode is determined according to the second scanning priority level, and the remaining power of the positioning terminal is determined. If the interval falls below the first power threshold and is greater than the second power threshold, the positioning mode is determined according to the third scan priority level.
- the first scanning priority positioning mode is GNSS positioning mode->Wi-Fi positioning mode->cellular positioning mode
- the second scanning priority positioning mode is cellular positioning mode->Wi-Fi positioning mode->GNSS positioning mode
- the third scanning priority positioning mode is Wi-Fi positioning mode->GNSS positioning mode->cellular positioning mode.
- the positioning terminal selects a positioning mode according to the current environment. Specifically, the positioning terminal determines whether the current environment is indoors or outdoors. The positioning terminal can determine whether the current environment of the positioning terminal is indoors or outdoors by reading and analyzing at least one of sensor data such as a light sensor, a barometer, and a temperature sensor. If the current environment of the positioning terminal is indoor, the positioning method suitable for indoor positioning is adopted, for example, Wi-Fi positioning mode, Bluetooth positioning mode, cellular positioning mode, geomagnetic positioning mode, ultrasonic positioning mode, infrared positioning mode, and radio frequency tag positioning mode.
- At least one of Zigbee positioning mode, ultra-wideband radio positioning mode, broadcast signal positioning mode, optical positioning mode, computer vision positioning mode, and the like acquires current location information; if the current environment of the positioning terminal is outdoor, it is suitable for outdoor use.
- the positioning method of positioning for example, using GNSS positioning method or the like to obtain current location information.
- the positioning terminal opens the positioning module, so that the power supply supplies power to the positioning module. After obtaining the current location information, the positioning module is closed, so that the power supply cannot be located. The module is powered.
- the positioning terminal sends at least one of the identifier of the photo in the location request or the time of the photographing to the photographing terminal 600, and the location information acquired by the positioning module.
- the communication module 610 of the photographing terminal 600 receives the correspondingly.
- the photo terminal 600 After receiving the notification that the positioning is not performed, the communication module 610 transmits a notification that the positioning is not performed to the processor 620.
- the processor 620 acquires, from the memory 630, the location information that was saved last time before transmitting the location request, and according to the identifier of the photo returned by the communication module 610 and/or the shooting time of the photo, and the information that the photo terminal has taken the photo, the last time
- the saved location information matches the captured photo, wherein the information of the photo includes the logo of the photo and/or the shooting time of the photo, and the like.
- the processor 620 adds a location tag to the corresponding photo according to the last saved location information.
- the head file of the photo usually includes a plurality of different labels for recording shooting time, shutter speed, exposure compensation, focal length and position information, and the like.
- a location tag is a tag in a header file of a photo that is specifically used to record location information.
- a location tag is a tag specifically used to record global positioning data in an Exchangeable Image File (EXIF).
- EXIF Exchangeable Image File
- the positioning terminal may also determine not to feed back any information to the camera terminal 600.
- the communication module 610 of the camera terminal 600 does not receive any information fed back by the positioning terminal for a period of time, and notifies the processor 620 to obtain, from the memory 630, the last saved location information before transmitting the positioning request, and according to the communication module.
- the photo of the photo returned by 610 and/or the shooting time of the photo, and the information of the photo taken by the photo terminal match the last saved location information with the photographed photo, and then add the corresponding photo according to the last saved location information. Location tag.
- the communication module 610 will receive the last time.
- the location information or the obtained location information is sent to the processor 620.
- the processor 620 matches the location information with the captured photo according to the returned last location information or the acquired location information, and some or all of the information included in the location request, and the information that the camera terminal has taken the photo.
- the processor 620 can match according to the identifier of the photo returned by the communication module 610 and the identifier of the photograph taken, if the logo of the photo returned by the communication module 610 and the photographed If the identification of the photo is consistent, the matching is successful, or, according to the shooting time of the photo returned by the communication module 610 and the shooting time of the taken photo, if the shooting time of the photo returned by the communication module 610 and the shooting time of the taken photo Consistent, the match is successful.
- the processor 620 can also perform matching according to the identification of the photo and the shooting time of the photo at the same time. If the shooting time of the photo is the same as the shooting time of the photographed photo and the photographing time of the photo, the matching is successful. After the matching is successful, the processor 620 adds a location tag to the corresponding photo according to the location information.
- the photographing terminal can also send the photograph taken to the third party server through the communication module 610.
- the positioning terminal After acquiring the location information, the positioning terminal sends at least one of the identifier of the photo in the location request or the time of photographing, and the location information to the third-party server.
- the third-party server matches the location information with the captured photo according to the location information sent by the positioning terminal, part or all of the information included in the positioning request, and the information that the camera terminal has taken the photo, and then adds the location to the corresponding photo according to the location information. label.
- the photographing terminal sends the photographed photograph to the positioning terminal.
- the photographing terminal sends the photographed photograph to the positioning request sent to the positioning terminal, or the photographing terminal separately sends the photographed photograph to the positioning terminal.
- the positioning terminal After receiving the captured photo and acquiring the location information, the positioning terminal matches the location information with the captured photo, and then adds a location tag to the corresponding photo according to the location information.
- Solution 1 After the communication module 610 and the positioning terminal of the photographing terminal 600 establish a connection, the processor 620 of the photographing terminal 600 determines whether the time difference between the current shooting and the last shooting is greater than a time threshold. If the result of the processor 620 of the camera terminal 600 determines that the result is less than or equal to the time threshold, the processor 620 determines not to perform positioning. Therefore, the processor 600 determines that it is not necessary to send a positioning request to the positioning terminal through the communication module 610, but obtains the last saved location information from the memory 630 to match the captured photo, and then correspondingly according to the last saved location information. Add a location tag to the photo.
- the photographing terminal 600 determines whether the displacement of the positioning terminal is greater than the displacement threshold by determining the time period between receiving the positioning request and receiving the previous positioning request. If the judgment result obtained by the positioning terminal is less than or equal to the displacement threshold, it is determined that the positioning is not performed.
- the positioning terminal sends the notification to the photographing terminal 600 that no positioning is performed, and at least one of the identification of the photo in the positioning request or the time of photographing; or the positioning terminal sends the last position information to the photographing terminal 600, and the positioning request At least one of the logo of the photo or the time of photographing. If the result of the positioning terminal judgment is greater than the displacement threshold, it is determined to perform positioning.
- the locating terminal can directly locate the current location information according to the specified positioning manner, or can perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location information.
- the positioning module After obtaining the current location information, the positioning module sends the current location information to the camera terminal for matching and adding a label, or after the positioning module obtains the current location information, the positioning terminal sends the current location to the third-party server.
- the information is sent to a third-party server for matching and labeling.
- Solution 2 After the camera terminal 600 and the positioning terminal establish a connection, the processor 620 determines whether the time difference between the current shooting and the last shooting is greater than a time threshold, and if the result of the processor 620 is less than or equal to the time threshold, then determining No positioning is required. The processor 620 does not need to instruct the communication module 610 to send a positioning request to the positioning terminal, but obtains the last saved location information from the memory 630 to match the captured photo, and then adds a location to the corresponding photo according to the last saved location information. label. If the result of the determination by the processor 620 is greater than the time threshold, the processor 620 further determines whether the displacement of the photographing terminal 600 is greater than the displacement threshold during the time period between the current shooting and the last shooting.
- the processor 620 determines not to perform the positioning.
- the processor 620 determines that it is not necessary to send a positioning request to the positioning terminal, but obtains the last saved location information and the taken photo from the memory 630. The slice is matched, and then the location tag is added to the corresponding photo according to the last saved location information. If the result of the determination by the processor 620 is greater than the displacement threshold, the processor 620 determines that positioning is required and sends a positioning request to the positioning terminal via the communication module 610.
- the photographing terminal 600 transmits a positioning request to the positioning terminal through the communication module 610.
- the positioning module can directly locate the current location information according to the specified positioning manner, or can perform positioning according to the remaining power of the positioning terminal or the current environment of the positioning terminal to obtain the current location. location information.
- the positioning terminal After obtaining the current location information, the positioning terminal sends the current location information to the camera terminal 600 for matching and adding a label, or after the positioning module obtains the current location information, the positioning terminal sends the current location to the third-party server.
- the location information is sent to a third-party server for matching and tagging. For details, refer to the foregoing embodiment, and the description is not repeated here.
- Solution 3 After the photographing terminal 600 and the positioning terminal establish a connection, the processor 620 determines whether the displacement of the photographing terminal 600 is greater than the displacement threshold in the period during which the photographing is performed and the photographing is performed last time. If the result of the processor 620 determines that the result is less than or equal to the displacement threshold, the processor 620 determines not to perform the positioning, so the processor 620 determines that the positioning request does not need to be sent to the positioning terminal through the communication module 610, but instead obtains the latest from the memory 630. The saved location information matches the captured photo, and the location tag is added to the corresponding photo based on the last saved location information.
- the processor 620 determines that a positioning request needs to be sent to the positioning terminal through the communication module 610, and transmits a positioning request to the positioning terminal through the communication module 610. After receiving the positioning request, the positioning terminal determines whether the time difference between receiving the positioning request and receiving the last positioning request is less than a time threshold. If the result of the judgment is less than or equal to the time threshold, it is determined that the positioning is not performed.
- the positioning terminal transmits to the camera terminal 600 a notification that no positioning is performed, and at least one of the identification of the photo in the positioning request or the time of photographing; or the positioning terminal transmits the last location information to the photographing terminal 600, and the positioning request At least one of the identification of the photo or the time of photographing. If the result of the judgment is greater than the time threshold, it is determined to perform the positioning.
- the positioning module can directly locate the current location information according to the specified positioning manner, or according to the positioning terminal. The remaining power or the current environment of the positioning terminal selects the positioning mode to locate the current location information. After acquiring the current location information, the positioning module sends the current location information to the camera terminal 600.
- the camera terminal 600 After receiving the current location information through the communication module 610, the camera terminal 600 transmits the current location information to the processor 620.
- the processor 620 performs matching and adding a label according to the current location information.
- the positioning module After obtaining the current location information, the positioning module sends the current location information to the third-party server and sends the label to the third-party server for matching and adding labels. Referring to the above embodiments, the description will not be repeated here.
- the positioning scheme is specifically for the camera terminal to perform the positioning to provide the location information.
- the technical solution proposed by the present application is compared with the prior art, and only the positioning terminal receives the positioning request sent by the camera terminal. Moreover, when the positioning terminal and/or the photographing terminal determine that the positioning is really needed, the positioning terminal obtains the current location information by positioning, thereby effectively reducing the power consumption of the positioning terminal.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Telephone Function (AREA)
Abstract
L'invention concerne un procédé, un appareil et un équipement pour fournir et obtenir des informations de localisation. Le procédé comprend les opérations suivantes : un terminal de localisation établit une connexion avec un terminal de photographie, le terminal de localisation établissant une connexion avec le terminal de photographie, la distance entre le terminal de localisation et le terminal de photographie ne dépassant pas un seuil prédéfini. Le terminal de localisation reçoit une requête de localisation transmise par le terminal de photographie à travers la connexion. Le terminal de localisation détermine au moins un parmi les éléments suivants : le point de savoir si la différence temporelle entre la requête de localisation reçue par le terminal de localisation et la dernière requête de localisation est ou non supérieure à un seuil temporel ; le point de savoir si la quantité de déplacement du terminal de localisation est ou non supérieure à un seuil de déplacement pendant la période de temps entre la requête de localisation reçue par le terminal de localisation et la requête précédente pour une localisation. La détermination du point de savoir de réaliser ou non une localisation est basée sur le résultat du jugement. Les informations de localisation actuelles sont acquises seulement lorsque la détermination est réalisée, et les informations de localisation actuelles, ainsi qu'une partie, ou la totalité des informations comprises dans la requête de localisation, sont transmises au terminal de photographie à travers la connexion. Le procédé ci-dessus peut réduire la consommation d'énergie du terminal de localisation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/096444 WO2017092039A1 (fr) | 2015-12-04 | 2015-12-04 | Procédé, appareil et équipement pour fournir et obtenir des informations de localisation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/096444 WO2017092039A1 (fr) | 2015-12-04 | 2015-12-04 | Procédé, appareil et équipement pour fournir et obtenir des informations de localisation |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017092039A1 true WO2017092039A1 (fr) | 2017-06-08 |
Family
ID=58796038
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/096444 Ceased WO2017092039A1 (fr) | 2015-12-04 | 2015-12-04 | Procédé, appareil et équipement pour fournir et obtenir des informations de localisation |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2017092039A1 (fr) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110245546A (zh) * | 2018-12-06 | 2019-09-17 | 浙江大华技术股份有限公司 | 一种目标跟踪系统、方法及存储介质 |
| CN114900670A (zh) * | 2022-06-10 | 2022-08-12 | 德明通讯(上海)股份有限公司 | 一种低功耗的分体式物联网监控方法及系统 |
| CN119132015A (zh) * | 2024-11-13 | 2024-12-13 | 深圳位置网科技有限公司 | 一种基于网络通信的报警位置上传方法及系统 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1674000A (zh) * | 2004-03-24 | 2005-09-28 | 株式会社日立制作所 | 图像数据管理、阅览方法 |
| CN1720527A (zh) * | 2002-11-06 | 2006-01-11 | 佳能株式会社 | 通信装置、图像存储装置、摄像装置以及它们的控制方法 |
| US20070211143A1 (en) * | 2006-03-10 | 2007-09-13 | Brodie Keith J | Systems and methods for prompt picture location tagging |
| CN101925831A (zh) * | 2007-12-14 | 2010-12-22 | 高通股份有限公司 | 用于跟踪的运动检测 |
-
2015
- 2015-12-04 WO PCT/CN2015/096444 patent/WO2017092039A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1720527A (zh) * | 2002-11-06 | 2006-01-11 | 佳能株式会社 | 通信装置、图像存储装置、摄像装置以及它们的控制方法 |
| CN1674000A (zh) * | 2004-03-24 | 2005-09-28 | 株式会社日立制作所 | 图像数据管理、阅览方法 |
| US20070211143A1 (en) * | 2006-03-10 | 2007-09-13 | Brodie Keith J | Systems and methods for prompt picture location tagging |
| CN101925831A (zh) * | 2007-12-14 | 2010-12-22 | 高通股份有限公司 | 用于跟踪的运动检测 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110245546A (zh) * | 2018-12-06 | 2019-09-17 | 浙江大华技术股份有限公司 | 一种目标跟踪系统、方法及存储介质 |
| CN114900670A (zh) * | 2022-06-10 | 2022-08-12 | 德明通讯(上海)股份有限公司 | 一种低功耗的分体式物联网监控方法及系统 |
| CN119132015A (zh) * | 2024-11-13 | 2024-12-13 | 深圳位置网科技有限公司 | 一种基于网络通信的报警位置上传方法及系统 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11785331B2 (en) | Shooting control method and terminal | |
| CN111434129B (zh) | 一种基于快递消息控制快递柜的方法及电子设备 | |
| CN110495819B (zh) | 机器人的控制方法、机器人、终端、服务器及控制系统 | |
| CN108924737B (zh) | 定位方法、装置、设备及计算机可读存储介质 | |
| JP6020353B2 (ja) | 情報処理装置、画像形成装置、遠隔操作方法、遠隔制御方法、遠隔操作プログラムおよび遠隔制御プログラム | |
| CN106027916A (zh) | 一种补光拍照方法及终端 | |
| CN114610193A (zh) | 内容共享方法、电子设备及存储介质 | |
| US9930479B2 (en) | Method, apparatus, and mobile terminal for collecting location information | |
| US8478308B2 (en) | Positioning system for adding location information to the metadata of an image and positioning method thereof | |
| US9215003B2 (en) | Communication apparatus, communication method, and computer readable recording medium | |
| CN107809598A (zh) | 一种拍摄方法、移动终端及服务器 | |
| CN112134995A (zh) | 一种查找应用对象的方法、终端及计算机可读存储介质 | |
| KR101458305B1 (ko) | 통신 시스템, 정보 단말, 통신 방법 및 기록 매체 | |
| CN113672756B (zh) | 一种视觉定位方法及电子设备 | |
| WO2021197354A1 (fr) | Procédé de positionnement du dispositif et appareil correspondant | |
| US9191896B2 (en) | Communication apparatus and communication control method | |
| CN113992663B (zh) | 发送文件的方法、电子设备及可读存储介质 | |
| WO2017092039A1 (fr) | Procédé, appareil et équipement pour fournir et obtenir des informations de localisation | |
| CN108174081B (zh) | 一种拍摄方法及移动终端 | |
| CN115701032A (zh) | 设备控制方法、电子设备及存储介质 | |
| US20170085775A1 (en) | Information processing apparatus, method, system and computer program | |
| CN112804481B (zh) | 监控点位置的确定方法、装置及计算机存储介质 | |
| CN101848324B (zh) | 便携设备 | |
| CN111567019B (zh) | 记录介质以及电子设备 | |
| CN112019738A (zh) | 一种拍照方法及终端设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15909553 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15909553 Country of ref document: EP Kind code of ref document: A1 |