WO2015172312A1 - 定位方法和通信设备 - Google Patents

定位方法和通信设备 Download PDF

Info

Publication number
WO2015172312A1
WO2015172312A1 PCT/CN2014/077372 CN2014077372W WO2015172312A1 WO 2015172312 A1 WO2015172312 A1 WO 2015172312A1 CN 2014077372 W CN2014077372 W CN 2014077372W WO 2015172312 A1 WO2015172312 A1 WO 2015172312A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
location information
identifier
location
short
Prior art date
Application number
PCT/CN2014/077372
Other languages
English (en)
French (fr)
Inventor
陈代挺
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201910280022.0A priority Critical patent/CN109936816B/zh
Priority to US15/310,095 priority patent/US20170142681A1/en
Priority to EP19173312.0A priority patent/EP3582560B1/en
Priority to PCT/CN2014/077372 priority patent/WO2015172312A1/zh
Priority to ES14892112T priority patent/ES2744328T3/es
Priority to CN201480002075.1A priority patent/CN104604260B/zh
Priority to EP14892112.5A priority patent/EP3128792B1/en
Priority to CN201910279913.4A priority patent/CN110062365B/zh
Publication of WO2015172312A1 publication Critical patent/WO2015172312A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a positioning method and a communication device. Background technique
  • GPS Global Position System
  • the communication device can obtain its own location information and cannot obtain location information of other communication devices. Summary of the invention
  • the embodiment of the invention provides a positioning method and a communication device, which are used to implement location information of other communication devices.
  • an embodiment of the present invention provides a positioning method, including:
  • the first communication device receives the first location request message, where the first location request message includes an identifier of the communication device to be located, and the first location request message is used to request location information of the to-be-located communication device;
  • the first communications device after the acquiring, by the short-distance wireless communication technology, the location information of the to-be-located communication device, the first communications device, according to the identifier of the to-be-located communication device, further includes :
  • the first communication device stores a correspondence between the identifier of the to-be-located communication device and the location information according to the identifier of the to-be-located communication device and the location information of the to-be-located communication device; And determining, by the stored relationship, the location information of the to-be-located communication device.
  • the first communications device is configured to pass the short distance according to the identifier of the to-be-located communications device Before the wireless communication technology acquires the location information of the to-be-located communication device, the method further includes: the first communication device receiving, by using a short-range wireless communication technology, a broadcast message sent by the to-be-located communication device, where the broadcast message includes the to-be-determined And the location information of the communication device to be located by using the short-range wireless communication technology according to the identifier of the to-be-located communication device, including:
  • the first communications device is configured to pass the short distance according to the identifier of the to-be-located communications device Before the wireless communication technology acquires the location information of the to-be-located communication device, the method further includes: the first communication device receiving, according to the short-range wireless communication technology, a broadcast message sent by the to-be-located communication device, where the broadcast message includes the to-be-determined Identification of the bit communication device;
  • the first communication device establishes a communication link with the to-be-located communication device according to the broadcast message
  • the first communication device Acquiring, by the first communication device, the location information of the to-be-located communication device by the short-range wireless communication technology according to the identifier of the to-be-located communication device, including:
  • the first communication device acquires location information of the to-be-located communication device according to the location information response message.
  • the first communications device is configured to perform a short distance according to the identifier of the to-be-located communications device Before the wireless communication technology acquires the location information of the to-be-located communication device, the method further includes: the first communication device receiving, according to the short-range wireless communication technology, a broadcast message sent by the to-be-located communication device, where the broadcast message includes the to-be-determined Identification of the bit communication device;
  • the first communication device passes the short-distance wireless communication according to the identifier of the communication device to be located
  • the acquiring information of the location information of the to-be-located communication device includes:
  • the first communication device determines location information of the to-be-located communication device according to a signal strength of the broadcast message.
  • the first communications device is configured to use a short distance according to the identifier of the to-be-located communications device Before the wireless communication technology acquires the location information of the to-be-located communication device, the method further includes: the first communication device sending a second location request message to the third communication device, where the second location request message includes an identifier of the to-be-located communication device The second location request message is used to request the location information of the to-be-located communication device, so that the third communication device acquires the to-be-located communication by short-range wireless communication technology according to the identifier of the to-be-located communication device. Position information of the device; the first communication device receives a second location response message sent by the third communication device, where the second location response message includes location information of the to-be-located communication device;
  • the first communication device Acquiring, by the first communication device, the location information of the to-be-located communication device by the short-range wireless communication technology according to the identifier of the to-be-located communication device, including:
  • the first communication device acquires location information of the to-be-located communication device according to the second location response message.
  • the first communications device includes a display
  • the receiving, by the first communications device, the first positioning request message includes:
  • the first communication device After the first communication device acquires the location information of the to-be-located communication device by using the short-range wireless communication technology, the first communication device further includes:
  • the location information of the communication device to be located is displayed through a display screen.
  • the first communications device receives A positioning request message, including:
  • the first communication device receives the first location request message sent by the second communication device; the first communication device acquires the to-be-positioned communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device After the location information, it also includes:
  • a positioning response message includes location information of the communication device to be located.
  • an embodiment of the present invention provides a communications device, including:
  • a receiving unit configured to receive a first location request message, where the first location request message includes an identifier of the communication device to be located, where the first location request message is used to request location information of the to-be-located communication device;
  • a processing unit configured to acquire location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device included in the first positioning request message received by the receiving unit.
  • the method further includes:
  • a storage unit configured to acquire, by the short processing wireless communication technology, a location of the to-be-located communication device by the processing unit according to the identifier of the to-be-located communication device included in the first positioning request message received by the receiving unit After the information, the correspondence between the identifier of the to-be-located communication device and the location information is stored according to the identifier of the to-be-located communication device and the location information of the to-be-located communication device;
  • the processing unit is further configured to determine location information of the to-be-located communication device from the corresponding relationship stored by the storage unit according to the identifier of the to-be-located communication device.
  • the receiving unit is further configured to perform, according to the to-be-located communication device, the processing unit Receiving, by the short-range wireless communication technology, the broadcast message sent by the to-be-located communication device, the broadcast message includes the to-be-located communication device, before the location information of the to-be-located communication device is obtained by the short-range wireless communication technology Identification and location information;
  • the processing unit is specifically configured to acquire location information of the to-be-located communication device according to the broadcast message.
  • the third possible implementation manner of the second aspect further includes: an establishing unit and a first sending unit;
  • the receiving unit is further configured to: before the acquiring, by the processing unit, the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device, receiving the to-be-determined according to a short-range wireless communication technology a broadcast message sent by the communication device, where the broadcast message includes an identifier of the communication device to be located;
  • the establishing unit is configured to: according to the broadcast message received by the receiving unit, Positioning the communication device to establish a communication link;
  • the first sending unit is configured to send, by using the communication link established by the establishing unit, a location information request message to the to-be-located communication device;
  • the receiving unit is further configured to receive a location information response message sent by the to-be-located communication device, where the location information response message includes location information of the to-be-located communication device;
  • the processing unit is specifically configured to acquire location information of the to-be-located communication device according to the location information response message.
  • the receiving unit is further used by the processing unit according to the to-be-located communication device Identifying, before acquiring the location information of the to-be-located communication device by the short-range wireless communication technology, receiving the broadcast message sent by the to-be-located communication device according to the short-range wireless communication technology, where the broadcast message includes the to-be-located communication device Identification
  • the processing unit is specifically configured to determine location information of the to-be-located communication device according to a signal strength of the broadcast message received by the receiving unit.
  • the method further includes:
  • a first sending unit configured to send, by the processing unit, the second positioning request message to the third communications device, before acquiring the location information of the to-be-located communications device by using the short-range wireless communication technology according to the identifier of the to-be-located communications device
  • the second location request message includes an identifier of the to-be-located communication device, where the second location request message is used to request location information of the to-be-located communication device, so that the third communication device performs communication according to the to-be-positioned
  • the identifier of the device acquires the location information of the to-be-located communication device by using a short-range wireless communication technology
  • the receiving unit is further configured to receive a second location response message that is sent by the third communications device, where the second location response message includes location information of the to-be-located communication device;
  • the processing unit is specifically configured to acquire location information of the to-be-located communication device according to the second positioning response message received by the receiving unit.
  • the sixth possible implementation manner of the second aspect further includes: a display unit;
  • the receiving unit is configured to receive the first positioning request message input by the user, where the display unit is configured to use, according to the identifier of the to-be-located communication device, After the short-distance wireless communication technology acquires the location information of the to-be-located communication device, the location information of the to-be-located communication device is displayed.
  • the seventh possible implementation manner of the second aspect further includes: a second sending unit;
  • the receiving unit is specifically configured to receive the first positioning request message sent by the second communications device;
  • the second sending unit is configured to send the location information of the to-be-located communication device to the second communication device after the location information of the to-be-located communication device is obtained by the short-range wireless communication technology after the processing unit acquires the identifier of the to-be-located communication device a first location response message, where the first location response message includes location information of the to-be-located communication device.
  • an embodiment of the present invention provides a communications device, including:
  • a transceiver configured to receive a first location request message, where the first location request message includes an identifier of the communication device to be located, where the first location request message is used to request location information of the to-be-located communication device;
  • a processor configured to acquire location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device included in the first location request message received by the transceiver.
  • the method further includes:
  • a memory configured to acquire, by the short-range wireless communication technology, location information of the to-be-located communication device by using, by the short-range wireless communication technology, the identifier of the to-be-located communication device included in the first location request message received by the processor And storing, according to the identifier of the to-be-located communication device and the location information of the to-be-located communication device, a correspondence between the identifier of the to-be-located communication device and the location information;
  • the processor is further configured to determine location information of the to-be-located communication device from the corresponding relationship stored by the memory according to the identifier of the to-be-located communication device.
  • the transceiver is further configured to: Receiving, by the short-range wireless communication technology, the broadcast message sent by the to-be-located communication device, the broadcast message includes the to-be-located communication device, before the location information of the to-be-located communication device is obtained by the short-range wireless communication technology Identification and location information;
  • the processor is specifically configured to acquire location information of the to-be-located communication device according to the broadcast message.
  • the transceiver is further configured to: before the acquiring, by the short-range wireless communication technology, the location information of the to-be-located communication device by the processor according to the identifier of the to-be-located communication device, receiving the to-be-determined according to a short-range wireless communication technology a broadcast message sent by the communication device, where the broadcast message includes an identifier of the communication device to be located;
  • the processor is further configured to establish a communication link with the to-be-located communication device according to the broadcast message received by the transceiver;
  • the transceiver is further configured to send a location information request message to the to-be-located communication device by using the communication link established by the processor, and receive a location information response message sent by the to-be-located communication device, where
  • the location information response message includes the location information of the to-be-located communication device
  • the processor obtains the location information of the to-be-located communication device by using the short-range wireless communication technology according to the identifier of the to-be-located communication device.
  • the processor acquires location information of the to-be-located communication device according to the location information response message.
  • the transceiver is further used by the processor according to the to-be-positioned communication device The receiving, by the short-range wireless communication technology, the broadcast message sent by the to-be-located communication device according to the short-range wireless communication technology, where the broadcast message includes the communication device to be located Identification
  • the processor is specifically configured to determine location information of the to-be-located communication device according to a signal strength of the broadcast message received by the transceiver.
  • the transceiver is further used by the processor according to the to-be-positioned communication device Identifying, before acquiring the location information of the to-be-located communication device by the short-range wireless communication technology, sending a second location request message to the third communication device, where the second location request message includes an identifier of the to-be-located communication device, where The second location request message is used to request the location information of the to-be-located communication device, so that the third communication device acquires the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device. And receiving the third a second location response message sent by the communication device, where the second location response message includes location information of the to-be-located communication device;
  • the processor is specifically configured to obtain location information of the to-be-located communication device according to the second positioning response message received by the transceiver.
  • the sixth possible implementation manner of the third aspect further includes: an output device;
  • the transceiver is specifically configured to receive the first positioning request message input by a user;
  • the output device is configured to display, after the processor acquires location information of the to-be-located communication device by using a short-range wireless communication technology, the location information of the to-be-located communication device is displayed by the processor according to the identifier of the to-be-located communication device .
  • the transceiver receives the first positioning The request message is specifically: the transceiver receives the first positioning request message sent by the second communications device;
  • the transceiver is further configured to: after the processor acquires the location information of the to-be-located communication device by using a short-range wireless communication technology, according to the identifier of the to-be-located communication device, send the first message to the second communication device And locating the response message, where the first location response message includes location information of the to-be-located communication device.
  • the positioning method and the communication device receive the first location request message by using the first communication device, where the first location request message includes an identifier of the to-be-located communication device, and the first location request message is used to request the location Determining the location information of the communication device to be located; the first communication device acquiring the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the communication device to be located. Thereby, the first communication device can acquire location information of other communication devices.
  • Embodiment 2 is a flowchart of Embodiment 2 of a positioning method according to the present invention.
  • Embodiment 3 is a flowchart of Embodiment 3 of a positioning method according to the present invention.
  • Embodiment 4 is a flowchart of Embodiment 4 of a positioning method according to the present invention.
  • FIG. 5 is a flowchart of Embodiment 5 of a positioning method according to the present invention.
  • Embodiment 6 is a flowchart of Embodiment 6 of a positioning method according to the present invention.
  • Embodiment 7 is a schematic structural diagram of Embodiment 1 of a communication device according to the present invention.
  • Embodiment 8 is a schematic structural diagram of Embodiment 2 of a communication device according to the present invention.
  • Embodiment 3 of a communication device is a schematic structural diagram of Embodiment 3 of a communication device according to the present invention.
  • FIG. 10 is a schematic structural diagram of Embodiment 4 of a communication device according to the present invention. detailed description
  • Embodiment 1 is a flowchart of Embodiment 1 of a positioning method according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the first communication device receives the first location request message, where the first location request message includes an identifier of the communication device to be located, and the first location request message is used to request location information of the to-be-located communication device.
  • the first communication device receives the first location request message, where the first location request message includes an identifier of the communication device to be located, and the first location request message is used to request location information of the to-be-located communication device corresponding to the identifier.
  • the communication device to be located in this embodiment may be a communication device with short-range wireless communication technology, and the short-range wireless communication technology may be wireless compatible authentication.
  • WiFi Wireless Fidelity
  • Bluetooth Bluetooth
  • NFC Near Field Communication
  • the first communications device acquires location information of the to-be-located communications device by using a short-range wireless communication technology according to the identifier of the to-be-located communications device. In this embodiment, the first communications device determines that the location information of the to-be-located communication device corresponding to the identifier needs to be obtained according to the received first location request message, so that the first communication device can obtain the location information of the to-be-located communication device according to the identifier of the to-be-located communication device. Location information of the communication device to be located.
  • the location information of the to-be-located communication device may be the longitude information and the latitude information of the location of the communication device to be located, or the location information of the to-be-located communication device may be in which city (county) which the communication device to be located is located. Which building of the street, or the location information of the communication device to be located may be the relative position of the communication device to be located and the first communication device, and the like.
  • the first communication device can acquire the location information of the to-be-located communication device corresponding to the identifier by using a short-range wireless communication technology (for example, WiFi or Bluetooth, etc.), that is, the first communication device passes the short-range wireless communication technology.
  • a short-range wireless communication technology for example, WiFi or Bluetooth, etc.
  • the first communication device may obtain the location information of the communication device to be located, for example, the location information of the first communication device may be used as the communication device to be located. Location information.
  • the first communication device further includes: the first The communication device stores a correspondence between the identifier of the to-be-located communication device and the location information according to the identifier of the to-be-located communication device and the location information of the to-be-located communication device, and the first communication device is to be located according to the to-be-positioned And an identifier of the communication device, where the location information of the to-be-located communication device is determined from the stored correspondence.
  • the first communication device after acquiring the location information of the to-be-located communication device by the short-range wireless communication technology, the first communication device generates the identifier and location information of the to-be-located communication device according to the identifier of the to-be-located communication device. Corresponding relationship, and the correspondence between the identifier of the to-be-located communication device and the location information may be stored.
  • the first communication device may determine, according to the identifier of the communication device to be located, the correspondence between the identifier of the stored communication device and the location information. Corresponding relationship between the identifier of the communication device to be located and the location information, thereby determining location information of the to-be-located communication device.
  • the first positioning request message is received by the first communications device, where the first positioning request message includes an identifier of the communication device to be located, and the first positioning request message is used to request the location of the to-be-located communication device.
  • the first communication device obtains the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device. Thereby, the first communication device can acquire location information of other communication devices.
  • 2 is a flowchart of Embodiment 2 of the positioning method of the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • the first communication device receives a location registration request message sent by the to-be-located communication device, where the location registration request includes location information of the to-be-located communication device.
  • the first communications device stores, according to the location registration request message, a correspondence between the identifier of the to-be-located communication device and the location information.
  • the to-be-located communication device may send a location registration request message to the first communication device, where the location registration request message includes location information of the communication device to be located, and the first communication device may receive the location registration sent by the communication device to be located. And requesting the message, and then the first communication device can acquire the location information of the to-be-located communication device according to the location registration request message, and store the corresponding relationship between the identifier of the to-be-located communication device and the location information.
  • the holder of the communication device to be located needs to fly to Shenzhen by plane, the holder can send the location information (such as to Shenzhen) through the location registration request message to the first through the communication device to be located before the aircraft takes off.
  • a communication device eg, a location management server that can store the holder of the communication device to be located to fly to Shenzhen.
  • the communication device to be located may send the location information of the to-be-located communication device (such as located in the A building) to the first communication device by using a location registration request message, and the first communication device may store the communication device to be located. Information on the A building.
  • the first communications device receives the first location request message, where the first location request message includes an identifier of the to-be-located communication device, and the first location request message is used to request location information of the to-be-located communication device.
  • the first communication device determines the location information of the to-be-located communication device from the correspondence between the identifier of the stored communication device and the location information according to the identifier of the to-be-located communication device.
  • the first communications device may receive the first positioning request message input by the user, for example, when the user needs to obtain the location information of the communications device to be located, the user may be in the first communications device.
  • the input instruction indicates that the location information of the communication device to be located needs to be acquired.
  • the first communication device determines, according to the identifier of the communication device to be located, the corresponding relationship between the identifier of the stored communication device to be located and the location information, thereby determining the location information of the communication device to be located.
  • the first communication device can display location information of the communication device to be located, For example, the location information of the communication device to be located can be displayed to the user in a text or graphic manner.
  • the first communication device may receive the first location request message sent by the second communication device, and then the first communication device determines, according to the identifier of the to-be-located communication device, that the storage is to be determined. The correspondence between the identifier of the bit communication device and the location information, thereby determining the location information of the communication device to be located.
  • the first communication device may send a first location response message to the second communication device, where the first location response message includes location information of the to-be-located communication device.
  • the second communication device can display the location information of the communication device to be located, for example: the location information of the communication device to be located can be displayed to the user in a text or graphic manner.
  • the location registration request message sent by the communication device to be located is received by the first communication device, where the location registration request includes location information of the to-be-located communication device, and the location to be located is stored according to the location registration request message.
  • the location information is determined according to the identifier of the to-be-located communication device, and the location information of the to-be-located communication device is determined from the correspondence between the identifier of the stored communication device to be located and the location information.
  • the first communication device can obtain location information of other communication devices.
  • FIG. 3 is a flowchart of Embodiment 3 of the positioning method of the present invention. As shown in FIG. 3, the method in this embodiment may include:
  • the first communications device receives the first location request message, where the first location request message includes an identifier of the to-be-located communication device, where the first location request message is used to request location information of the to-be-located communication device.
  • the first communications device may receive the first positioning request message input by the user.
  • the first communications device receives the first positioning request message sent by the second communications device.
  • the first communication device receives the broadcast message sent by the to-be-located communication device by using a short-range wireless communication technology, where the broadcast message includes the identifier and location information of the to-be-located communication device. S303.
  • the first communications device acquires location information of the to-be-located communications device according to the broadcast message.
  • the first communication device can receive the broadcast message sent by the communication device to be located by using the short-range wireless communication technology.
  • the communication device to be located can broadcast the location information to other communication devices, and the first communication device can use the short message.
  • the broadcast message transmitted by the communication device may be received, and the broadcast message includes the identifier and location information of the communication device.
  • the communication device may be determined as the communication device to be located, and the location information included in the broadcast message is the communication device to be located. location information.
  • the scanning distance range of the first communication device is related to the short-range wireless communication technology.
  • the first communication device of the embodiment includes a display screen, and the embodiment may further include: the first communication device may display the location information of the to-be-located communication device through a display screen; or, the first communication device The second communication device sends a first location response message, where the first location response message includes location information of the to-be-located communication device.
  • the first positioning request message is received by the first communications device, where the first positioning request message includes an identifier of the communication device to be located, and the first positioning request message is used to request location information of the to-be-located communication device.
  • the first communication device can acquire location information of other communication devices.
  • Embodiment 4 is a flowchart of Embodiment 4 of the positioning method of the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • the first communication device receives the first location request message, where the first location request message includes an identifier of the communication device to be located, and the first location request message is used to request location information of the to-be-located communication device.
  • the specific implementation process of S401 is similar to the specific implementation process of S301 in Embodiment 3 of the method of the present invention.
  • the specific implementation process of S401 is similar to the specific implementation process of S301 in Embodiment 3 of the method of the present invention.
  • the first communications device receives the to-be-located communications device according to a short-range wireless communication technology.
  • the first communications device establishes a communication link with the to-be-located communications device according to the broadcast message.
  • the first communications device sends a location information request message to the to-be-located communications device by using the communications link.
  • the first communication device receives a location information response message sent by the to-be-located communication device, where the location information response message includes location information of the to-be-located communication device.
  • the first communications device acquires location information of the to-be-located communications device according to the broadcast message.
  • the first communication device receives the broadcast message sent by the to-be-located communication device according to the short-range wireless communication technology. Specifically, the to-be-positioned communication device in this embodiment does not send the location information to other communication through the broadcast message. device.
  • the broadcast message sent by the communication device may be received, and the broadcast message includes the identifier of the communication device.
  • the communication device may be determined as the communication device to be located.
  • the first communication device establishes a communication link with the to-be-located communication device according to the preset authentication information, and the first communication device sends a location information request message to the to-be-located communication device by using the communication link, where the location communication device receives the location information.
  • the to-be-positioned communication device may send its own location information to the first communication device by using the location information response message, and the first communication device receives the location information response message sent by the to-be-located communication device, from the location information response message. Obtaining location information of the communication device to be located.
  • the first communication device of the embodiment may include a display screen, and the embodiment may further include: the first communication device may display the location information of the to-be-located communication device through the display screen; or, the first communication device may The second communication device sends a first location response message, where the first location response message includes location information of the to-be-located communication device.
  • the first positioning request message is received by the first communications device, where the first positioning request message includes an identifier of the communication device to be located, and the first positioning request message is used to request location information of the to-be-located communication device.
  • the first communication device can acquire location information of other communication devices.
  • FIG. 5 is a flowchart of Embodiment 5 of the positioning method of the present invention. As shown in FIG. 5, the method in this embodiment may include:
  • the first communications device receives the first location request message, where the first location request message includes an identifier of the to-be-located communication device, where the first location request message is used to request location information of the to-be-located communication device.
  • the first communications device receives the broadcast message sent by the to-be-located communication device according to the short-range wireless communication technology, where the broadcast message includes an identifier of the to-be-located communication device.
  • the first communications device determines location information of the to-be-located communications device according to a signal strength of the broadcast message.
  • the first communication device receives the broadcast message sent by the to-be-located communication device according to the short-range wireless communication technology. Specifically, the to-be-positioned communication device in this embodiment does not send the location information to other communication through the broadcast message. device.
  • the broadcast message sent by the communication device may be received, and the broadcast message includes the identifier of the communication device.
  • the communication device may be determined to be the communication device to be located; then the first communication device may be based on the signal strength of the broadcast message.
  • the broadcast information may be attenuated during the transmission process, and the first communication device may know the magnitude of the signal strength of the broadcast message to be sent by the communication device, and the first communication device may determine the received The magnitude of the signal strength of the broadcast message to be sent by the communication device. Therefore, according to the difference between the signal strength of the broadcast message at the transmission point and the signal strength at the reception point, the distance between the transmission point and the reception point can be determined, that is, the communication device to be located The distance between the first communication device and the first communication device increases the accuracy of the location of the first communication device to locate the communication device to be located, for example: the communication device to be located is located 5m away from the first communication device.
  • the to-be-positioned communication device may send its location information to the first communication device by using the location information response message, and the first communication device receives the information sent by the to-be-located communication device.
  • the location information response message is used to obtain location information of the to-be-located communication device from the location information response message.
  • the first communication device of the embodiment may include a display screen, and the embodiment may further include: the first communication device may display the location information of the to-be-located communication device through the display screen; or, the first communication device may The second communication device sends a first location response message, where the first location response message includes location information of the to-be-located communication device.
  • the embodiment may further include: the first communication device may send the determined location information of the to-be-located communication device to the to-be-located communication device.
  • the first positioning request message is received by the first communications device, where the first positioning request message includes an identifier of the communication device to be located, and the first positioning request message is used to request location information of the to-be-located communication device.
  • the first communication device can acquire location information of other communication devices.
  • the first communication device may store the location information of the to-be-located communication device, that is, the storage. Corresponding relationship between the identifier of the communication device to be located and the location information, so that the next time the first communication device needs to obtain the location information of the communication device to be located, the location information of the to-be-located communication device can be directly obtained from the stored location information, without Scan again within the distance.
  • the wife does not need to call her husband through the mobile phone to know whether the key with Bluetooth is at the husband, that is, the wife can send the location information of the key with the Bluetooth to the husband's mobile phone through the mobile phone.
  • the positioning request message when the husband's mobile phone scans the distance between the Bluetooth and the Bluetooth key, so that the wife can determine the key with the Bluetooth in the husband.
  • the user can remotely know whether the device with Bluetooth is in the vehicle, the vehicle can be loaded with 3G+Bluetooth, and the user can send the vehicle to request for Bluetooth with the mobile phone.
  • the positioning request message of the location information of the device when the vehicle scans the distance range through the Bluetooth device, so that the user can determine that the device with Bluetooth is in the vehicle.
  • the user when the user finds that the wallet with the Bluetooth/WiFi sensor is missing, it can be determined whether the wallet is at home, that is, the user can send the request to the home gateway device via the mobile phone to request the Bluetooth/WiFi sensor.
  • the location information request message of the wallet location information when the gateway device has a Bluetooth/WiFi sensor wallet within the Bluetooth/WiFi scanning distance range, so that the user can determine the wallet with the Bluetooth/WiFi sensor at home.
  • the user needs to query the location where the mobile phone A is located, and the user may send a location request message for requesting the location information of the mobile phone A to the location management server, where the location management server may be in the location management server.
  • the registered mobile phone sends the location request message, and the mobile phone A is searched by the range of the registered mobile phones, so that the user can determine the location of the mobile phone A.
  • FIG. 6 is a flowchart of Embodiment 6 of the positioning method of the present invention. As shown in FIG. 6, the method in this embodiment may include:
  • the S60 first communication device receives the first location request message, where the first location request message includes an identifier of the communication device to be located, and the first location request message is used to request location information of the to-be-located communication device.
  • the first communications device sends a second positioning request message to the third communications device, where the second positioning request message includes an identifier of the communication device to be located, and the second positioning request message is used to request the to-be-located communication.
  • the location information of the device so that the third communication device acquires the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device.
  • the first communications device receives a second location response message sent by the third communications device, where the second location response message includes location information of the to-be-located communications device.
  • the first communications device acquires location information of the to-be-located communications device according to the second location response message.
  • the first communication device can receive the broadcast message sent by the communication device to be located by using the short-range wireless communication technology.
  • the first communication device can utilize the short-range wireless communication technology.
  • the first communication device may use the short-range wireless communication technology to send a second positioning request message to the third communication device having the same short-range wireless communication technology, or use long-distance wireless
  • the communication technology sends a second location request message to the third communication device, so that the third communication device can acquire the location information of the to-be-located communication device by using the short-range wireless communication technology according to the identifier of the communication device to be located.
  • the third communication device determines the location information of the to-be-located communication device according to the solution of the method embodiment shown in any of FIG. 1 to FIG. 5; or the third communication device may send the request to the fourth communication device to request the location communication device.
  • Location information and so on (similar to a web crawler) until a communication device determines the location information of the communication device to be located, and then returns the location information of the communication device to be located to the third communication device according to the reverse flow, and then the third
  • the communication device obtains the location information of the to-be-located communication device by using the short-range wireless communication technology, and sends the location information to the first communication device; the first communication device receives the second location that is sent by the third communication device and includes the location information of the to-be-located communication device. Response message.
  • the first positioning request message is received by the first communications device, where the first positioning request message includes an identifier of the communication device to be located, and the first positioning request message is used to request the location of the to-be-located communication device.
  • the first communication device can acquire location information of other communication devices.
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a communication device according to the present invention.
  • the communication device in this embodiment may include: a receiving unit 11 and a processing unit 12, where the receiving unit 11 is configured to receive a first positioning request message.
  • the first location request message includes an identifier of the communication device to be located, the first location request message is used to request location information of the to-be-located communication device, and the processing unit 12 is configured to receive the The identifier of the to-be-located communication device included in a positioning request message is obtained by short-range wireless communication technology.
  • the communication device of this embodiment may be used to perform the technical solution of the foregoing method embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a communication device according to the present invention.
  • the communication device of the present embodiment may further include: a storage unit 13 for receiving the first received by the processing unit 12 according to the receiving unit 11 on the basis of the structure of the communication device shown in FIG.
  • the identifier of the communication device to be located is determined according to the identifier of the communication device to be located and the communication device to be located.
  • the location information is used to store the correspondence between the identifier of the to-be-located communication device and the location information.
  • the processing unit 12 is further configured to determine the to-be-determined from the corresponding relationship stored by the storage unit 13 according to the identifier of the to-be-located communication device. Location information of the bit communication device.
  • the receiving unit 11 is further configured to receive, by the short-range wireless communication technology, the processing unit 12, before acquiring the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device.
  • the broadcast message sent by the positioning communication device is described, the broadcast message includes the identifier and the location information of the to-be-located communication device, and the processing unit 12 is specifically configured to acquire the location information of the to-be-located communication device according to the broadcast message.
  • the communication device in this embodiment may further include: an establishing unit 14 and a first sending unit 15; wherein, the receiving unit 11 is further configured to: in the processing unit 12, according to the identifier of the to-be-located communication device, by short-range wireless Before the communication technology acquires the location information of the to-be-located communication device, the broadcast message sent by the to-be-located communication device is received according to the short-range wireless communication technology, where the broadcast message includes the identifier of the to-be-located communication device; Establishing a communication link with the to-be-located communication device according to the broadcast message received by the receiving unit 11; the first sending unit 15 is configured to send a location to the to-be-located communication device by using the communication link established by the establishing unit 14 An information request message; the receiving unit 11 is further configured to receive a location information response message sent by the to-be-located communication device, where the location information response message includes location information of the to-be-located communication device; Position information response message, obtaining the bit of
  • the receiving unit 11 is further configured to: before the processing unit 12 acquires the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device, receiving, according to the short-range wireless communication technology, the receiving unit
  • the broadcast message sent by the communication device to be located, the broadcast message includes the identifier of the communication device to be located; the processing unit 12 is specifically configured to determine the communication device to be located according to the signal strength of the broadcast message received by the receiving unit 11 Location information.
  • the communications device of this embodiment may further include: a first sending unit 15, the first sending The unit 15 is configured to send, by the processing unit 12, the second location request message to the third communication device, before acquiring the location information of the to-be-located communication device by using the short-range wireless communication technology, according to the identifier of the to-be-located communication device, where
  • the second location request message includes an identifier of the communication device to be located, and the second location request message is used to request location information of the to-be-located communication device, so that the third communication device passes the identifier of the to-be-located communication device.
  • the short-range wireless communication technology acquires the location information of the to-be-located communication device; the receiving unit 11 is further configured to receive the second location response message sent by the third communication device, where the second location response message includes the to-be-positioned communication The location information of the device; the processing unit 12 is specifically configured to acquire the location information of the to-be-located communication device according to the second location response message received by the receiving unit 11.
  • the communication device of this embodiment may further include: a display unit 16; the receiving unit 11 is specifically configured to receive the first positioning request message input by the user; and the display unit 16 is configured to be used by the processing unit 12 according to the to-be-positioned The identifier of the communication device, after acquiring the location information of the to-be-located communication device by the short-range wireless communication technology, displaying the location information of the to-be-located communication device.
  • the communication device of this embodiment may further include: a second sending unit 17; wherein, the receiving unit 11 is specifically configured to receive the first positioning request message sent by the second communications device; and the second sending unit 17
  • the processing unit 12 acquires the location information of the to-be-located communication device by using the short-range wireless communication technology
  • the processing unit 12 sends a first location response message to the second communication device, where the A positioning response message includes location information of the communication device to be located.
  • the communication device of this embodiment may be used to perform the technical solution of the foregoing method embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a communication device according to the present invention.
  • the communication device in this embodiment may include: a transceiver 21 and a processor 22, where the transceiver 21 is configured to receive a first location request message.
  • the first location request message includes an identifier of the to-be-located communication device, where the first location request message is used to request location information of the to-be-located communication device, and the processor 22 is configured to receive the message according to the transceiver 21
  • the identifier of the to-be-located communication device included in a positioning request message is obtained by short-range wireless communication technology.
  • the communication device of this embodiment may be used to perform the technical solution of the foregoing method embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the communication device of this embodiment may further include: a memory 23, where the memory 23 is used by the processor 22 according to the transceiver 21 After the location information of the to-be-located communication device is obtained by the short-range wireless communication technology, the identifier of the to-be-located communication device and the to-be-located communication are determined according to the identifier of the to-be-located communication device.
  • the processor 22 is further configured to determine, according to the identifier of the to-be-located communication device, the corresponding relationship stored in the memory 23 Location information of the communication device to be located.
  • the transceiver 21 is further configured to receive, by the processor 22, the short-range wireless communication technology before acquiring the location information of the to-be-positioned communication device by using the short-range wireless communication technology according to the identifier of the to-be-located communication device.
  • the broadcast message sent by the positioning communication device is described, the broadcast message includes the identifier and the location information of the to-be-located communication device, and the processor 22 is specifically configured to acquire the location information of the to-be-located communication device according to the broadcast message.
  • the transceiver 21 is further configured to receive, according to the short-range wireless communication technology, the processor 22, before acquiring the location information of the to-be-positioned communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device.
  • the broadcast message sent by the positioning communication device is mentioned, the broadcast message includes the identifier of the communication device to be located, and the processor 22 is further configured to establish communication with the communication device to be located according to the broadcast message received by the transceiver 21
  • the transceiver 21 is further configured to send a location information request message to the to-be-located communication device by using the communication link established by the processor 22; and receive a location information response message sent by the to-be-located communication device, where the location
  • the information response message includes the location information of the to-be-located communication device.
  • the processor 22 obtains the location information of the to-be-located communication device by using the short-range wireless communication technology according to the identifier of the to-be-located communication device.
  • the location information response message acquires a bit of the to-be-located communication device Set the information.
  • the transceiver 21 is further configured by the processor 22, according to the identifier of the to-be-located communication device, acquiring the location information of the to-be-located communication device by using a short-range wireless communication technology, and receiving the The broadcast message sent by the communication device to be located, the broadcast message includes the identifier of the communication device to be located; the processor 22 is specifically configured to determine the communication device to be located according to the signal strength of the broadcast message received by the transceiver 21 Location information.
  • the transceiver 21 is further configured by the processor 22 according to the identifier of the to-be-located communication device.
  • sending a second location request message to the third communication device where the second location request message includes an identifier of the to-be-located communication device, and the second location
  • the request message is used to request the location information of the to-be-located communication device, so that the third communication device acquires the location information of the to-be-located communication device by using a short-range wireless communication technology according to the identifier of the to-be-located communication device;
  • the processor 22 is specifically configured to receive the second location according to the transceiver 21 And responding to the message, acquiring location information of the to-be-located communication device.
  • the communication device of this embodiment may further include: an output device 24; wherein, the transceiver 21 is specifically configured to receive the first positioning request message input by a user; and the output device 24 is configured to be used by the processor 22 according to the After the location information of the to-be-located communication device is obtained by the short-range wireless communication technology, the location information of the to-be-located communication device is displayed.
  • the output device 24 is, for example, a display screen.
  • the receiving, by the transceiver 21, the first positioning request message is: the transceiver 21 receives the first positioning request message sent by the second communications device; the transceiver 21 is further configured to, according to the to-be-located communication, the processor 22 After the location information of the to-be-located communication device is obtained by the short-range wireless communication technology, the first location response message is sent to the second communication device, where the first location response message includes the to-be-located communication device Location information.
  • the communication device of this embodiment may be used to perform the technical solution of the foregoing method embodiment of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种定位方法和通信设备,其中,该方法包括:第一通信设备接收第一定位请求消息,所述第一定位请求消息包括待定位通信设备的标识,所述第一定位请求消息用于请求所述待定位通信设备的位置信息;所述第一通信设备根据所述待定位通信设备的标识,通过短距离无线通信技术获取所述待定位通信设备的位置信息。从而实现第一通信设备可以获取其它通信设备的位置信息。

Description

定位方法和通信设备
技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种定位方法和通信设备。 背景技术
全球定位系统 (Global Position System, 简称: GPS ) 是一个中距离圆型 轨道卫星导航系统, GPS可以为地球表面绝大部分地区提供准确的定位、 测 速和高精度的时间标准。 因此, 具有 GPS 功能的通信设备均可以通过 GPS 定位所处的位置。
然而, 现有技术中通信设备可以获知自身的位置信息, 无法获取其它通 信设备的位置信息。 发明内容
本发明实施例提供一种定位方法和通信设备, 用于实现可以获取其它通 信设备的位置信息。
第一方面, 本发明实施例提供一种定位方法, 包括:
第一通信设备接收第一定位请求消息, 所述第一定位请求消息包括待定 位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备的 位置信息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息。
在第一方面的第一种可能的实现方式中, 所述第一通信设备根据所述待 定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的 位置信息之后, 还包括:
所述第一通信设备根据所述待定位通信设备的标识和所述待定位通信设 备的位置信息, 存储所述待定位通信设备的标识与位置信息的对应关系; 所述第一通信设备根据所述待定位通信设备的标识, 从存储的所述对应 关系中确定所述待定位通信设备的位置信息。 结合第一方面或第一方面的第一种可能的实现方式, 在第一方面的第二 种可能的实现方式中, 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前,还包括: 所述第一通信设备通过短距离无线通信技术接收所述待定位通信设备发 送的广播消息, 所述广播消息包括所述待定位通信设备的标识和位置信息; 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述广播消息, 获取所述待定位通信设备的位置
I Ft自、。
结合第一方面或第一方面的第一种可能的实现方式, 在第一方面的第三 种可能的实现方式中, 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前,还包括: 所述第一通信设备根据短距离无线通信技术接收所述待定位通信设备发 送的广播消息, 所述广播消息包括所述待定位通信设备的标识;
所述第一通信设备根据所述广播消息, 与所述待定位通信设备建立通信 链接;
所述第一通信设备通过所述通信链路向所述待定位通信设备发送位置信 息请求消息;
所述第一通信设备接收所述待定位通信设备发送的位置信息响应消息, 所述位置信息响应消息包括所述待定位通信设备的位置信息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述位置信息响应消息, 获取所述待定位通信设 备的位置信息。
结合第一方面或第一方面的第一种可能的实现方式, 在第一方面的第四 种可能的实现方式中, 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前,还包括: 所述第一通信设备根据短距离无线通信技术接收所述待定位通信设备发 送的广播消息, 所述广播消息包括所述待定位通信设备的标识;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述广播消息的信号强度, 确定所述待定位通信 设备的位置信息。
结合第一方面或第一方面的第一种可能的实现方式, 在第一方面的第五 种可能的实现方式中, 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前,还包括: 所述第一通信设备向第三通信设备发送第二定位请求消息, 所述第二定 位请求消息包括待定位通信设备的标识, 所述第二定位请求消息用于请求所 述待定位通信设备的位置信息, 以使所述第三通信设备根据所述待定位通信 设备的标识通过短距离无线通信技术获取所述待定位通信设备的位置信息; 所述第一通信设备接收所述第三通信设备发送的第二定位响应消息, 所 述第二定位响应消息包括所述待定位通信设备的位置信息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述第二定位响应消息, 获取所述待定位通信设 备的位置信息。
结合第一方面或第一方面的第一种至第五种实现方式中的任一种可能的 实现方式, 在第一方面的第六种可能的实现方式中, 所述第一通信设备包括 显示屏, 所述第一通信设备接收第一定位请求消息, 包括:
所述第一通信设备接收用户输入的所述第一定位请求消息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息之后, 还包括:
通过显示屏显示所述待定位通信设备的位置信息。
结合第一方面或第一方面的第一种至第六种实现方式中的任一种可能的 实现方式, 在第一方面的第七种可能的实现方式中, 所述第一通信设备接收 第一定位请求消息, 包括:
所述第一通信设备接收第二通信设备发送的所述第一定位请求消息; 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息之后, 还包括:
所述第一通信设备向所述第二通信设备发送第一定位响应消息, 所述第 一定位响应消息包括所述待定位通信设备的位置信息。
第二方面, 本发明实施例提供一种通信设备, 包括:
接收单元, 用于接收第一定位请求消息, 所述第一定位请求消息包括待 定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备 的位置信息;
处理单元, 用于根据所述接收单元接收的所述第一定位请求消息包括的 所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信 设备的位置信息。
在第二方面的第一种可能的实现方式中, 还包括:
存储单元, 用于在所述处理单元根据所述接收单元接收的所述第一定位 请求消息包括的所述待定位通信设备的标识, 通过短距离无线通信技术获取 所述待定位通信设备的位置信息之后, 根据所述待定位通信设备的标识和所 述待定位通信设备的位置信息, 存储所述待定位通信设备的标识与位置信息 的对应关系;
所述处理单元还用于根据所述待定位通信设备的标识, 从所述存储单元 存储的所述对应关系中确定所述待定位通信设备的位置信息。
结合第二方面或第二方面的第一种可能的实现方式, 在第二方面的第二 种可能的实现方式中, 所述接收单元还用于在所述处理单元根据所述待定位 通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置 信息之前, 通过短距离无线通信技术接收所述待定位通信设备发送的广播消 息, 所述广播消息包括所述待定位通信设备的标识和位置信息;
所述处理单元具体用于根据所述广播消息, 获取所述待定位通信设备的 位置信息。
结合第二方面或第二方面的第一种可能的实现方式, 在第二方面的第三 种可能的实现方式中, 还包括: 建立单元和第一发送单元;
所述接收单元还用于在所述处理单元根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根据短 距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息 包括所述待定位通信设备的标识;
所述建立单元, 用于根据所述接收单元接收的所述广播消息, 与所述待 定位通信设备建立通信链接;
所述第一发送单元, 用于通过所述建立单元建立的所述通信链路向所述 待定位通信设备发送位置信息请求消息;
所述接收单元还用于接收所述待定位通信设备发送的位置信息响应消 息, 所述位置信息响应消息包括所述待定位通信设备的位置信息;
所述处理单元具体用于根据所述位置信息响应消息, 获取所述待定位通 信设备的位置信息。
结合第二方面或第二方面的第一种可能的实现方式, 在第二方面的第四 种可能的实现方式中, 所述接收单元还用于所述处理单元根据所述待定位通 信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信 息之前,根据短距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通信设备的标识;
所述处理单元具体用于根据所述接收单元接收的所述广播消息的信号强 度, 确定所述待定位通信设备的位置信息。
结合第二方面或第二方面的第一种可能的实现方式, 在第二方面的第五 种可能的实现方式中, 还包括:
第一发送单元, 用于所述处理单元根据所述待定位通信设备的标识, 通 过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 向第三通 信设备发送第二定位请求消息, 所述第二定位请求消息包括待定位通信设备 的标识, 所述第二定位请求消息用于请求所述待定位通信设备的位置信息, 以使所述第三通信设备根据所述待定位通信设备的标识通过短距离无线通信 技术获取所述待定位通信设备的位置信息;
所述接收单元还用于接收所述第三通信设备发送的第二定位响应消息, 所述第二定位响应消息包括所述待定位通信设备的位置信息;
所述处理单元具体用于根据所述接收单元接收的所述第二定位响应消 息, 获取所述待定位通信设备的位置信息。
结合第二方面或第二方面的第一种至第五种实现方式中的任一种可能的 实现方式, 在第二方面的第六种可能的实现方式中, 还包括: 显示单元; 所述接收单元具体用于接收用户输入的所述第一定位请求消息; 所述显示单元, 用于所述处理单元根据所述待定位通信设备的标识, 通 过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 显示所述 待定位通信设备的位置信息。
结合第二方面或第二方面的第一种至第六种实现方式中的任一种可能的 实现方式, 在第二方面的第七种可能的实现方式中, 还包括: 第二发送单元; 所述接收单元具体用于接收第二通信设备发送的所述第一定位请求消 息;
所述第二发送单元, 用于在所述处理单元根据所述待定位通信设备的标 识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 向 所述第二通信设备发送第一定位响应消息, 所述第一定位响应消息包括所述 待定位通信设备的位置信息。
第三方面, 本发明实施例提供一种通信设备, 包括:
收发器, 用于接收第一定位请求消息, 所述第一定位请求消息包括待定 位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备的 位置信息;
处理器, 用于根据所述收发器接收的所述第一定位请求消息包括的所述 待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备 的位置信息。
在第三方面的第一种可能的实现方式中, 还包括:
存储器, 用于在所述处理器根据所述收发器接收的所述第一定位请求消 息包括的所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待 定位通信设备的位置信息之后, 根据所述待定位通信设备的标识和所述待定 位通信设备的位置信息, 存储所述待定位通信设备的标识与位置信息的对应 关系;
所述处理器还用于根据所述待定位通信设备的标识, 从所述存储器存储 的所述对应关系中确定所述待定位通信设备的位置信息。
结合第三方面或第三方面的第一种可能的实现方式, 在第三方面的第二 种可能的实现方式中, 所述收发器还用于在所述处理器根据所述待定位通信 设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息 之前, 通过短距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通信设备的标识和位置信息; 所述处理器具体用于根据所述广播消息, 获取所述待定位通信设备的位 置信息。
结合第三方面或第三方面的第一种可能的实现方式, 在第三方面的第三 种可能的实现方式中,
所述收发器还用于在所述处理器根据所述待定位通信设备的标识, 通过 短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根据短距离 无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息包括 所述待定位通信设备的标识;
所述处理器, 还用于根据所述收发器接收的所述广播消息, 与所述待定 位通信设备建立通信链接;
所述收发器, 还用于通过所述处理器建立的所述通信链路向所述待定位 通信设备发送位置信息请求消息; 以及接收所述待定位通信设备发送的位置 信息响应消息,所述位置信息响应消息包括所述待定位通信设备的位置信息; 所述处理器根据所述待定位通信设备的标识, 通过短距离无线通信技术 获取所述待定位通信设备的位置信息具体为: 所述处理器根据所述位置信息 响应消息, 获取所述待定位通信设备的位置信息。
结合第三方面或第三方面的第一种可能的实现方式, 在第三方面的第四 种可能的实现方式中, 所述收发器还用于所述处理器根据所述待定位通信设 备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之 前, 根据短距离无线通信技术接收所述待定位通信设备发送的广播消息, 所 述广播消息包括所述待定位通信设备的标识;
所述处理器具体用于根据所述收发器接收的所述广播消息的信号强度, 确定所述待定位通信设备的位置信息。
结合第三方面或第三方面的第一种可能的实现方式, 在第三方面的第五 种可能的实现方式中, 所述收发器还用于所述处理器根据所述待定位通信设 备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之 前, 向第三通信设备发送第二定位请求消息, 所述第二定位请求消息包括待 定位通信设备的标识, 所述第二定位请求消息用于请求所述待定位通信设备 的位置信息, 以使所述第三通信设备根据所述待定位通信设备的标识通过短 距离无线通信技术获取所述待定位通信设备的位置信息; 以及接收所述第三 通信设备发送的第二定位响应消息, 所述第二定位响应消息包括所述待定位 通信设备的位置信息;
所述处理器具体用于根据所述收发器接收的所述第二定位响应消息, 获 取所述待定位通信设备的位置信息。
结合第三方面或第三方面的第一种至第五种实现方式中的任一种可能的 实现方式, 在第三方面的第六种可能的实现方式中, 还包括: 输出设备; 所述收发器具体用于接收用户输入的所述第一定位请求消息;
所述输出设备, 用于在所述处理器根据所述待定位通信设备的标识, 通 过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 显示所述 待定位通信设备的位置信息。
结合第三方面或第三方面的第一种至第六种实现方式中的任一种可能的 实现方式, 在第三方面的第七种可能的实现方式中, 所述收发器接收第一定 位请求消息具体为: 所述收发器接收第二通信设备发送的所述第一定位请求 消息;
所述收发器还用于在所述处理器根据所述待定位通信设备的标识, 通过 短距离无线通信技术获取所述待定位通信设备的位置信息之后, 向所述第二 通信设备发送第一定位响应消息, 所述第一定位响应消息包括所述待定位通 信设备的位置信息。
本发明实施例提供的定位方法和通信设备, 通过第一通信设备接收第一 定位请求消息, 所述第一定位请求消息包括待定位通信设备的标识, 所述第 一定位请求消息用于请求所述待定位通信设备的位置信息; 所述第一通信设 备根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定 位通信设备的位置信息。 从而实现第一通信设备可以获取其它通信设备的位 置信息。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明定位方法实施例一的流程图;
图 2为本发明定位方法实施例二的流程图;
图 3为本发明定位方法实施例三的流程图;
图 4为本发明定位方法实施例四的流程图;
图 5为本发明定位方法实施例五的流程图;
图 6为本发明定位方法实施例六的流程图;
图 7为本发明通信设备实施例一的结构示意图;
图 8为本发明通信设备实施例二的结构示意图;
图 9为本发明通信设备实施例三的结构示意图;
图 10为本发明通信设备实施例四的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明定位方法实施例一的流程图, 如图 1所示, 本实施例的方 法可以包括:
S10 第一通信设备接收第一定位请求消息, 所述第一定位请求消息包 括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信 设备的位置信息。
本实施例中, 第一通信设备接收第一定位请求消息, 该第一定位请求消 息包括待定位通信设备的标识, 第一定位请求消息用于请求所述标识对应的 待定位通信设备的位置信息。 本实施例中的待定位通信设备可以为具有短距 离无线通信技术的通信设备, 短距离无线通信技术可以为无线兼容认证
(Wireless Fidelity, 简称: WiFi)、 蓝牙(Bluetooth)、 近场通信(Near Field Communication, 简称: NFC) 等。
S102、 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离 无线通信技术获取所述待定位通信设备的位置信息。 本实施例中, 第一通信设备根据接收到第一定位请求消息确定需要获取 该标识所对应的待定位通信设备的位置信息, 从而可以根据待定位通信设备 的标识, 通过短距离无线通信技术获取该待定位通信设备的位置信息。 该待 定位通信设备的位置信息可以为待定位通信设备的所处位置的经度信息和纬 度信息, 或者, 该待定位通信设备的位置信息可以为待定位通信设备位于哪 个城市哪个区 (县) 哪个街道哪个大厦, 或者, 该待定位通信设备的位置信 息可以为待定位通信设备与第一通信设备的相对位置, 等等。
本实施例中, 第一通信设备可以通过短距离无线通信技术 (例如: WiFi 或蓝牙等) 获取该标识所对应的待定位通信设备的位置信息, 也就是第一通 信设备通过短距离无线通信技术扫描第一通信设备的周围存在该标识对应的 待定位通信设备时, 第一通信设备可以获取该待定位通信设备的位置信息, 例如: 可以将第一通信设备的位置信息作为该待定位通信设备的位置信息。
在一种可行的实现方式中, 所述第一通信设备根据所述待定位通信设备 的标识,通过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 还包括: 所述第一通信设备根据所述待定位通信设备的标识和所述待定位通 信设备的位置信息,存储所述待定位通信设备的标识与位置信息的对应关系, 以及所述第一通信设备根据所述待定位通信设备的标识, 从存储的所述对应 关系中确定所述待定位通信设备的位置信息。 本实施例中, 第一通信设备在 根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位 通信设备的位置信息之后, 生成该待定位通信设备的标识与位置信息的对应 关系, 并且可以存储该待定位通信设备的标识与位置信息的对应关系。 当第 一通信设备中存储有待定位通信设备的标识与位置信息的对应关系, 第一通 信设备可以根据待定位通信设备的标识, 从存储的通信设备的标识与位置信 息的对应关系中, 确定出该待定位通信设备的标识与位置信息的对应关系, 从而确定出所述待定位通信设备的位置信息。
本实施例中, 通过第一通信设备接收第一定位请求消息, 所述第一定位 请求消息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述 待定位通信设备的位置信息; 所述第一通信设备根据所述待定位通信设备的 标识, 通过短距离无线通信技术获取获取所述待定位通信设备的位置信息。 从而实现第一通信设备可以获取其它通信设备的位置信息。 图 2为本发明定位方法实施例二的流程图, 如图 2所示, 本实施例的方 法可以包括:
S20 第一通信设备接收待定位通信设备发送的位置寄存请求消息, 所 述位置寄存请求包括所述待定位通信设备的位置信息。
S202、 所述第一通信设备根据所述位置寄存请求消息, 存储所述待定位 通信设备的标识与位置信息的对应关系。
本实施例中, 待定位通信设备可以向第一通信设备发送位置寄存请求消 息, 该位置寄存请求消息包括待定位通信设备的位置信息, 第一通信设备从 而可以接收待定位通信设备发送的位置寄存请求消息, 然后第一通信设备根 据位置寄存请求消息可以获取该待定位通信设备的位置信息并存储, 也即存 储待定位通信设备的标识与位置信息的对应关系。
例如: 待定位通信设备的持有者需要乘坐飞机飞往深圳, 那么持有者在 飞机起飞前, 可以通过待定位通信设备将位置信息 (如飞往深圳) 通过位置 寄存请求消息发送给第一通信设备 (例如位置管理服务器) , 第一通信设备 可以存储待定位通信设备的持有者将飞往深圳。
例如: 待定位通信设备在接近没电之前可以将该待定位通信设备的位置 信息 (如位于 A大厦) 通过位置寄存请求消息发送给第一通信设备, 第一通 信设备可以存储待定位通信设备位于 A大厦的信息。
5203、 所述第一通信设备接收第一定位请求消息, 所述第一定位请求消 息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位 通信设备的位置信息。
5204、 所述第一通信设备根据所述待定位通信设备的标识, 从存储的待 定位通信设备的标识与位置信息的对应关系中确定所述待定位通信设备的位 置信息。
本实施例中, 在一种可行的实现方式中, 第一通信设备可以接收用户输 入的第一定位请求消息, 如当用户需要获取待定位通信设备的位置信息时, 用户可以在第一通信设备中输入指令, 该指令指示需要获取待定位通信设备 的位置信息。 然后第一通信设备根据待定位通信设备的标识, 确定出存储的 待定位通信设备的标识与位置信息的对应关系, 从而确定出待定位通信设备 的位置信息。进一歩地, 第一通信设备可以显示待定位通信设备的位置信息, 例如:可以以文字或者图形的方式显示出待定位通信设备的位置信息给用户。 本实施例中, 在另一种可行的实现方式中, 当第二通信设备的使用者需 要获取待定位通信设备的位置信息时, 若第二通信设备不能直接扫描到待定 位通信设备或者第二通信设备中未存储待定位通信设备的位置信息, 则第一 通信设备可以接收第二通信设备发送的第一定位请求消息, 然后第一通信设 备根据待定位通信设备的标识, 确定出存储的待定位通信设备的标识与位置 信息的对应关系, 从而确定出待定位通信设备的位置信息。 进一歩地, 第一 通信设备可以向第二通信设备发送第一定位响应消息, 所述第一定位响应消 息包括所述待定位通信设备的位置信息。 进而第二通信设备可以显示待定位 通信设备的位置信息, 例如: 可以以文字或者图形的方式显示出待定位通信 设备的位置信息给用户。
本实施例, 通过第一通信设备接收待定位通信设备发送的位置寄存请求 消息, 所述位置寄存请求包括所述待定位通信设备的位置信息; 根据所述位 置寄存请求消息, 存储所述待定位通信设备的标识与位置信息的对应关系; 接收第一定位请求消息,所述第一定位请求消息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备的位置信息; 根据所述 待定位通信设备的标识, 从存储的待定位通信设备的标识与位置信息的对应 关系中确定所述待定位通信设备的位置信息。 从而实现第一通信设备可以获 取其它通信设备的位置信息。
图 3为本发明定位方法实施例三的流程图, 如图 3所示, 本实施例的方 法可以包括:
5301、 第一通信设备接收第一定位请求消息, 所述第一定位请求消息包 括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信 设备的位置信息。
本实施例中, 第一通信设备可以接收用户输入的第一定位请求消息。 或 者, 第一通信设备接收第二通信设备发送的第一定位请求消息。 具体实现过 程可以参见本发明方法实施例二 S203中的相关记载, 此处不再赘述。
5302、 所述第一通信设备通过短距离无线通信技术接收所述待定位通信 设备发送的广播消息, 所述广播消息包括所述待定位通信设备的标识和位置 信息。 S303、 所述第一通信设备根据所述广播消息, 获取所述待定位通信设备 的位置信息。
本实施例中, 第一通信设备可以通过短距离无线通信技术接收待定位通 信设备发送的广播消息, 具体地, 待定位通信设备可以将位置信息广播给其 它通信设备, 第一通信设备可以利用短距离无线通信技术扫描距离范围内确 定存在与该短距离无线通信技术相同的通信设备时, 可以接收这些通信设备 发送的广播消息, 广播消息包括通信设备的标识和位置信息。 当第一通信设 备接收到的一通信设备发送的广播消息中包括待定位通信设备的标识, 则可 以确定该通信设备为待定位通信设备, 该广播消息中包括的位置信息为待定 位通信设备的位置信息。 需要说明的是, 第一通信设备的扫描距离范围与短 距离无线通信技术有关。
进一歩地, 本实施例的第一通信设备包括显示屏, 本实施例还可以包括: 第一通信设备可以通过显示屏显示所述待定位通信设备的位置信息; 或者, 第一通信设备向所述第二通信设备发送第一定位响应消息, 所述第一定位响 应消息包括所述待定位通信设备的位置信息。
本实施例, 通过第一通信设备接收第一定位请求消息, 所述第一定位请 求消息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待 定位通信设备的位置信息; 通过短距离无线通信技术接收所述待定位通信设 备发送的广播消息, 所述广播消息包括所述待定位通信设备的标识和位置信 息, 从而获取待定位通信设备的位置信息。 从而实现第一通信设备可以获取 其它通信设备的位置信息。
图 4为本发明定位方法实施例四的流程图, 如图 4所示, 本实施例的方 法可以包括:
S401、 第一通信设备接收第一定位请求消息, 所述第一定位请求消息包 括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信 设备的位置信息。
本实施例中, S401的具体实现过程与本发明方法实施例三中 S301的具 体实现过程类似, 详细可以参见本发明上述方法实施例中的相关记载, 此处 不再赘述。
S402、 第一通信设备根据短距离无线通信技术接收所述待定位通信设备 发送的广播消息, 所述广播消息包括所述待定位通信设备的标识。
5403、 所述第一通信设备根据所述广播消息, 与所述待定位通信设备建 立通信链接。
5404、 所述第一通信设备通过所述通信链路向所述待定位通信设备发送 位置信息请求消息。
5405、 所述第一通信设备接收所述待定位通信设备发送的位置信息响应 消息, 所述位置信息响应消息包括所述待定位通信设备的位置信息。
5406、 所述第一通信设备根据所述广播消息, 获取所述待定位通信设备 的位置信息。
本实施例中, 第一通信设备根据短距离无线通信技术接收所述待定位通 信设备发送的广播消息, 具体地, 本实施例中的待定位通信设备未将位置信 息通过广播消息发送给其它通信设备。 待第一通信设备可以利用短距离无线 通信技术扫描距离范围内确定存在与该短距离无线通信技术相同的通信设备 时, 可以接收这些通信设备发送的广播消息, 广播消息包括通信设备的标识。 当第一通信设备接收到的一通信设备发送的广播消息中包括待定位通信设备 的标识, 则可以确定该通信设备为待定位通信设备。 然后第一通信设备根据 预设的认证信息与该待定位通信设备建立通信链接, 第一通信设备通过该通 信链接向该待定位通信设备发送位置信息请求消息, 待定位通信设备接收到 该位置信息请求消息后, 待定位通信设备可以将自身的位置信息通过位置信 息响应消息发送给第一通信设备, 第一通信设备接收到该待定位通信设备发 送的位置信息响应消息, 从位置信息响应消息中获取该待定位通信设备的位 置信息。
进一歩地, 本实施例的第一通信设备可以包括显示屏, 本实施例还可以 包括: 第一通信设备可以通过显示屏显示所述待定位通信设备的位置信息; 或者, 第一通信设备向所述第二通信设备发送第一定位响应消息, 所述第一 定位响应消息包括所述待定位通信设备的位置信息。
本实施例, 通过第一通信设备接收第一定位请求消息, 所述第一定位请 求消息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待 定位通信设备的位置信息。 第一通信设备根据短距离无线通信技术接收所述 待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通信设备的 标识, 然后与所述待定位通信设备建立通信链接, 从所述待定位通信设备中 获取待定位通信设备的位置信息。 从而实现第一通信设备可以获取其它通信 设备的位置信息。
图 5为本发明定位方法实施例五的流程图, 如图 5所示, 本实施例的方 法可以包括:
5501、 第一通信设备接收第一定位请求消息, 所述第一定位请求消息包 括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信 设备的位置信息。
本实施例中, S501的具体实现过程与本发明方法实施例三中 S301的具 体实现过程类似, 详细可以参见本发明上述方法实施例中的相关记载, 此处 不再赘述。
5502、 所述第一通信设备根据短距离无线通信技术接收所述待定位通信 设备发送的广播消息, 所述广播消息包括所述待定位通信设备的标识。
5503、 所述第一通信设备根据所述广播消息的信号强度, 确定所述待定 位通信设备的位置信息。
本实施例中, 第一通信设备根据短距离无线通信技术接收所述待定位通 信设备发送的广播消息, 具体地, 本实施例中的待定位通信设备未将位置信 息通过广播消息发送给其它通信设备。 待第一通信设备可以利用短距离无线 通信技术扫描距离范围内确定存在与该短距离无线通信技术相同的通信设备 时, 可以接收这些通信设备发送的广播消息, 广播消息包括通信设备的标识。 当第一通信设备接收到的一通信设备发送的广播消息中包括待定位通信设备 的标识, 则可以确定该通信设备为待定位通信设备; 然后第一通信设备可以 根据该广播消息的信号强度来确定待定位通信设备的位置信息, 例如: 广播 信息在传输过处程中会有衰减, 第一通信设备可以获知待通信设备发送的广 播消息的信号强度的大小, 同时第一通信设备可以确定接收到的待通信设备 发送的广播消息的信号强度的大小, 因此根据广播消息在发送点的信号强度 与在接收点的信号强度之差, 可以确定发送点与接收点之间的距离, 即待定 位通信设备与第一通信设备之间的距离, 提高了第一通信设备定位待定位通 信设备位置的精确率, 例如: 待定位通信设备位于相距第一通信设备 5m处。
第一通信设备通过该通信链接向该待定位通信设备发送位置信息请求消 息, 待定位通信设备接收到该位置信息请求消息后, 待定位通信设备可以将 自身的位置信息通过位置信息响应消息发送给第一通信设备, 第一通信设备 接收到该待定位通信设备发送的位置信息响应消息, 从位置信息响应消息中 获取该待定位通信设备的位置信息。
进一歩地, 本实施例的第一通信设备可以包括显示屏, 本实施例还可以 包括: 第一通信设备可以通过显示屏显示所述待定位通信设备的位置信息; 或者, 第一通信设备向所述第二通信设备发送第一定位响应消息, 所述第一 定位响应消息包括所述待定位通信设备的位置信息。
可选地, 当第一通信设备确定待定位通信设备的位置信息之后, 本实施 例还可以包括: 第一通信设备可以将所确定的待定位通信设备的位置信息发 送给待定位通信设备。
本实施例, 通过第一通信设备接收第一定位请求消息, 所述第一定位请 求消息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待 定位通信设备的位置信息; 根据短距离无线通信技术接收所述待定位通信设 备发送的广播消息, 所述广播消息包括所述待定位通信设备的标识; 根据所 述广播消息的信号强度, 确定所述待定位通信设备的位置信息。 从而实现第 一通信设备可以获取其它通信设备的位置信息。
可选地, 在图 3-图 5任一所示方法实施例中, 在第一通信设备获取待定 位通信设备的位置信息之后, 第一通信设备可以存储待定位通信设备的位置 信息, 即存储待定位通信设备的标识与位置信息的对应关系, 从而在下一次 第一通信设备需要获取待定位通信设备的位置信息时, 可以从存储的位置信 息中直接获取待定位通信设备的位置信息,不需要再向距离范围内进行扫描。
下面举例说明图 3-图 5任一所示方法实施例的应用场景, 本发明并不局 限于下面所述的应用场景。
在第一种应用场景中, 妻子不需要通过手机给丈夫打电话即可获知带蓝 牙的钥匙是否在丈夫那儿, 即妻子可以通过手机向丈夫的手机发送用于请求 带蓝牙的钥匙的位置信息的定位请求消息, 当丈夫的手机通过蓝牙扫描距离 范围内存在带蓝牙的钥匙, 从而妻子可以确定带蓝牙的钥匙在丈夫那儿。
在第二种应用场景中, 用户可以远程获知带蓝牙的设备是否在车辆内, 该车辆可以装载有 3G+蓝牙, 用户可以通过手机向车辆发送用于请求带蓝牙 的设备的位置信息的定位请求消息, 当车辆通过蓝牙扫描距离范围内存在带 蓝牙的设备, 从而用户可以确定带蓝牙的设备在车辆内。
在第三种应用场景中,当用户发现自己装有蓝牙/ WiFi传感器的钱包不见 了, 可以确定该钱包是否在家里, 即用户可以通过手机向家里的网关设备发 送用于请求带蓝牙/ WiFi传感器的钱包的位置信息的定位请求消息,当网关设 备通过蓝牙 /WiFi扫描距离范围内存在带蓝牙 /WiFi传感器的钱包, 从而用户 可以确定带蓝牙/ WiFi传感器的钱包在家里。
在第四种应用场景中, 用户需要査询手机 A所处的位置, 用户可以向位 置管理服务器发送用于请求手机 A的位置信息的定位请求消息, 位置管理服 务器可以向在该位置管理服务器中已注册的手机发送该定位请求消息, 由这 些已注册的手机扫描距离范围内寻找该手机 A, 从而用户可以确定手机 A所 处的位置。
图 6为本发明定位方法实施例六的流程图, 如图 6所示, 本实施例的方 法可以包括:
S60 第一通信设备接收第一定位请求消息, 所述第一定位请求消息包 括待定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信 设备的位置信息。
本实施例中, S601的具体实现过程与本发明方法实施例三中 S301的具 体实现过程类似, 详细可以参见本发明上述方法实施例中的相关记载, 此处 不再赘述。
S602、所述第一通信设备向第三通信设备发送第二定位请求消息,所述第 二定位请求消息包括待定位通信设备的标识,所述第二定位请求消息用于请求 所述待定位通信设备的位置信息,以使所述第三通信设备根据所述待定位通信 设备的标识通过短距离无线通信技术获取所述待定位通信设备的位置信息。
S603、 所述第一通信设备接收所述第三通信设备发送的第二定位响应消 息, 所述第二定位响应消息包括所述待定位通信设备的位置信息。
S604、 所述第一通信设备根据所述第二定位响应消息, 获取所述待定位 通信设备的位置信息。
本实施例中, 第一通信设备可以通过短距离无线通信技术接收待定位通 信设备发送的广播消息, 具体地, 第一通信设备可以利用短距离无线通信技 术扫描距离范围内确定不存在待定位通信设备时, 第一通信设备可以利用短 距离无线通信技术向具有相同短距离无线通信技术的第三通信设备发送第二 定位请求消息, 或者利用长距离无线通信技术向第三通信设备发送第二定位 请求消息, 从而第三通信设备可以根据待定位通信设备的标识通过短距离无 线通信技术获取所述待定位通信设备的位置信息。 例如: 第三通信设备根据 如图 1-图 5任一所示方法实施例的方案来确定待定位通信设备的位置信息; 或者, 第三通信设备可以向第四通信设备发送请求待定位通信设备的位置信 息, 以此类推 (类似网络爬虫) , 直至某一通信设备确定待定位通信设备的 位置信息, 然后按照相反的流程将待定位通信设备的位置信息返回给第三通 信设备, 然后第三通信设备将通过短距离无线通信技术获取所述待定位通信 设备的位置信息发送给第一通信设备; 从而第一通信设备接收第三通信设备 发送的包括待定位通信设备的位置信息的第二定位响应消息。
本实施例中, 通过第一通信设备接收第一定位请求消息, 所述第一定位 请求消息包括待定位通信设备的标识, 所述第一定位请求消息用于请求所述 待定位通信设备的位置信息; 向第三通信设备发送第二定位请求消息, 所述 第二定位请求消息包括待定位通信设备的标识, 所述第二定位请求消息用于 请求所述待定位通信设备的位置信息, 以使所述第三通信设备根据所述待定 位通信设备的标识通过短距离无线通信技术获取所述待定位通信设备的位置 信息; 接收所述第三通信设备发送的第二定位响应消息, 所述第二定位响应 消息包括所述待定位通信设备的位置信息, 从而获取待定位通信设备的位置 信息。 从而实现第一通信设备可以获取其它通信设备的位置信息。
图 7为本发明通信设备实施例一的结构示意图, 如图 7所示, 本实施例的 通信设备可以包括: 接收单元 11和处理单元 12, 其中, 接收单元 11用于接 收第一定位请求消息, 所述第一定位请求消息包括待定位通信设备的标识, 所 述第一定位请求消息用于请求所述待定位通信设备的位置信息; 处理单元 12 用于根据接收单元 11接收的所述第一定位请求消息包括的所述待定位通信设 备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息。
本实施例的通信设备,可以用于执行本发明上述方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 8为本发明通信设备实施例二的结构示意图, 如图 8所示, 本实施例 的通信设备在图 7所示通信设备结构的基础上, 可选地, 本实施例的通信设 备可以包括: 存储单元 13, 存储单元 13用于在处理单元 12根据接收单元 11 接收的所述第一定位请求消息包括的所述待定位通信设备的标识, 通过短距 离无线通信技术获取所述待定位通信设备的位置信息之后, 根据所述待定位 通信设备的标识和所述待定位通信设备的位置信息, 存储所述待定位通信设 备的标识与位置信息的对应关系;处理单元 12还用于根据所述待定位通信设 备的标识,从存储单元 13存储的所述对应关系中确定所述待定位通信设备的 位置信息。
可选地, 接收单元 11还用于在处理单元 12根据所述待定位通信设备的 标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 通过短距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广 播消息包括所述待定位通信设备的标识和位置信息;处理单元 12具体用于根 据所述广播消息, 获取所述待定位通信设备的位置信息。
可选地, 本实施例的通信设备还可以包括: 建立单元 14和第一发送单元 15; 其中, 接收单元 11还用于在处理单元 12根据所述待定位通信设备的标 识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根 据短距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播 消息包括所述待定位通信设备的标识; 建立单元 14用于根据接收单元 11接 收的所述广播消息, 与所述待定位通信设备建立通信链接; 第一发送单元 15 用于通过建立单元 14 建立的所述通信链路向所述待定位通信设备发送位置 信息请求消息;接收单元 11还用于接收所述待定位通信设备发送的位置信息 响应消息, 所述位置信息响应消息包括所述待定位通信设备的位置信息; 处 理单元 12具体用于根据所述位置信息响应消息,获取所述待定位通信设备的 位置信息。
可选地, 接收单元 11还用于处理单元 12根据所述待定位通信设备的标 识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根 据短距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播 消息包括所述待定位通信设备的标识; 处理单元 12 具体用于根据接收单元 11接收的所述广播消息的信号强度, 确定所述待定位通信设备的位置信息。
可选地, 本实施例的通信设备还可以包括: 第一发送单元 15, 第一发送 单元 15用于处理单元 12根据所述待定位通信设备的标识, 通过短距离无线 通信技术获取所述待定位通信设备的位置信息之前, 向第三通信设备发送第 二定位请求消息, 所述第二定位请求消息包括待定位通信设备的标识, 所述 第二定位请求消息用于请求所述待定位通信设备的位置信息, 以使所述第三 通信设备根据所述待定位通信设备的标识通过短距离无线通信技术获取所述 待定位通信设备的位置信息;接收单元 11还用于接收所述第三通信设备发送 的第二定位响应消息, 所述第二定位响应消息包括所述待定位通信设备的位 置信息; 处理单元 12具体用于根据接收单元 11接收的所述第二定位响应消 息, 获取所述待定位通信设备的位置信息。
可选地, 本实施例的通信设备, 还可以包括: 显示单元 16; 接收单元 11 具体用于接收用户输入的所述第一定位请求消息;显示单元 16用于处理单元 12根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定 位通信设备的位置信息之后, 显示所述待定位通信设备的位置信息。
可选地, 本实施例的通信设备还可以包括: 第二发送单元 17; 其中, 接 收单元 11具体用于接收第二通信设备发送的所述第一定位请求消息;第二发 送单元 17, 用于在处理单元 12根据所述待定位通信设备的标识, 通过短距 离无线通信技术获取所述待定位通信设备的位置信息之后, 向所述第二通信 设备发送第一定位响应消息, 所述第一定位响应消息包括所述待定位通信设 备的位置信息。
本实施例的通信设备,可以用于执行本发明上述方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 9为本发明通信设备实施例三的结构示意图, 如图 9所示, 本实施例 的通信设备可以包括: 收发器 21和处理器 22, 其中, 收发器 21用于接收第 一定位请求消息, 所述第一定位请求消息包括待定位通信设备的标识, 所述 第一定位请求消息用于请求所述待定位通信设备的位置信息;处理器 22用于 根据收发器 21 接收的所述第一定位请求消息包括的所述待定位通信设备的 标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息。
本实施例的通信设备,可以用于执行本发明上述方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 10为本发明通信设备实施例四的结构示意图, 如图 10所示, 本实施 例的通信设备在图 9所示通信设备结构的基础上, 可选地, 本实施例的通信 设备还可以包括: 存储器 23, 其中, 存储器 23用于在处理器 22根据收发器 21接收的所述第一定位请求消息包括的所述待定位通信设备的标识, 通过短 距离无线通信技术获取所述待定位通信设备的位置信息之后, 根据所述待定 位通信设备的标识和所述待定位通信设备的位置信息, 存储所述待定位通信 设备的标识与位置信息的对应关系;处理器 22还用于根据所述待定位通信设 备的标识,从存储器 23存储的所述对应关系中确定所述待定位通信设备的位 置信息。
可选地,收发器 21还用于在处理器 22根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 通过短 距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息 包括所述待定位通信设备的标识和位置信息;处理器 22具体用于根据所述广 播消息, 获取所述待定位通信设备的位置信息。
可选地,收发器 21还用于在处理器 22根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根据短 距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息 包括所述待定位通信设备的标识; 处理器 22还用于根据收发器 21接收的所 述广播消息, 与所述待定位通信设备建立通信链接; 收发器 21还用于通过处 理器 22建立的所述通信链路向所述待定位通信设备发送位置信息请求消息; 以及接收所述待定位通信设备发送的位置信息响应消息, 所述位置信息响应 消息包括所述待定位通信设备的位置信息;处理器 22根据所述待定位通信设 备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息具 体为: 处理器 22根据所述位置信息响应消息, 获取所述待定位通信设备的位 置信息。
可选地, 收发器 21还用于处理器 22根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根据短 距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息 包括所述待定位通信设备的标识; 处理器 22具体用于根据收发器 21接收的 所述广播消息的信号强度, 确定所述待定位通信设备的位置信息。
可选地, 收发器 21还用于处理器 22根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 向第三 通信设备发送第二定位请求消息, 所述第二定位请求消息包括待定位通信设 备的标识,所述第二定位请求消息用于请求所述待定位通信设备的位置信息, 以使所述第三通信设备根据所述待定位通信设备的标识通过短距离无线通信 技术获取所述待定位通信设备的位置信息; 以及接收所述第三通信设备发送 的第二定位响应消息, 所述第二定位响应消息包括所述待定位通信设备的位 置信息; 处理器 22具体用于根据收发器 21接收的所述第二定位响应消息, 获取所述待定位通信设备的位置信息。
可选地, 本实施例的通信设备还可以包括: 输出设备 24; 其中, 收发器 21 具体用于接收用户输入的所述第一定位请求消息; 输出设备 24用于在处 理器 22根据所述待定位通信设备的标识,通过短距离无线通信技术获取所述 待定位通信设备的位置信息之后, 显示所述待定位通信设备的位置信息。 其 中, 输出设备 24例如为显示屏。
可选地, 收发器 21接收第一定位请求消息具体为: 收发器 21接收第二 通信设备发送的所述第一定位请求消息; 收发器 21还用于在处理器 22根据 所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信 设备的位置信息之后, 向所述第二通信设备发送第一定位响应消息, 所述第 一定位响应消息包括所述待定位通信设备的位置信息。
本实施例的通信设备,可以用于执行本发明上述方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分歩骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的歩骤; 而前述 的存储介质包括: ROM、 RAM,磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种定位方法, 其特征在于, 包括:
第一通信设备接收第一定位请求消息, 所述第一定位请求消息包括待定 位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备的 位置信息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述第一通信设备根据所 述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设 备的位置信息之后, 还包括:
所述第一通信设备根据所述待定位通信设备的标识和所述待定位通信设 备的位置信息, 存储所述待定位通信设备的标识与位置信息的对应关系; 所述第一通信设备根据所述待定位通信设备的标识, 从存储的所述对应 关系中确定所述待定位通信设备的位置信息。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述第一通信设备根 据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通 信设备的位置信息之前, 还包括:
所述第一通信设备通过短距离无线通信技术接收所述待定位通信设备发 送的广播消息, 所述广播消息包括所述待定位通信设备的标识和位置信息; 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述广播消息, 获取所述待定位通信设备的位置
I Ft自、。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述第一通信设备根 据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通 信设备的位置信息之前, 还包括:
所述第一通信设备根据短距离无线通信技术接收所述待定位通信设备发 送的广播消息, 所述广播消息包括所述待定位通信设备的标识;
所述第一通信设备根据所述广播消息, 与所述待定位通信设备建立通信 链接; 所述第一通信设备通过所述通信链路向所述待定位通信设备发送位置信 息请求消息;
所述第一通信设备接收所述待定位通信设备发送的位置信息响应消息, 所述位置信息响应消息包括所述待定位通信设备的位置信息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述位置信息响应消息, 获取所述待定位通信设 备的位置信息。
5、 根据权利要求 1或 2所述的方法, 其特征在于, 所述第一通信设备根 据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通 信设备的位置信息之前, 还包括:
所述第一通信设备根据短距离无线通信技术接收所述待定位通信设备发 送的广播消息, 所述广播消息包括所述待定位通信设备的标识;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述广播消息的信号强度, 确定所述待定位通信 设备的位置信息。
6、 根据权利要求 1或 2所述的方法, 其特征在于, 所述第一通信设备根 据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通 信设备的位置信息之前, 还包括:
所述第一通信设备向第三通信设备发送第二定位请求消息, 所述第二定 位请求消息包括待定位通信设备的标识, 所述第二定位请求消息用于请求所 述待定位通信设备的位置信息, 以使所述第三通信设备根据所述待定位通信 设备的标识通过短距离无线通信技术获取所述待定位通信设备的位置信息; 所述第一通信设备接收所述第三通信设备发送的第二定位响应消息, 所 述第二定位响应消息包括所述待定位通信设备的位置信息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息, 包括:
所述第一通信设备根据所述第二定位响应消息, 获取所述待定位通信设 备的位置信息。
7、 根据权利要求 1-6任意一项所述的方法, 其特征在于, 所述第一通信 设备包括显示屏, 所述第一通信设备接收第一定位请求消息, 包括:
所述第一通信设备接收用户输入的所述第一定位请求消息;
所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息之后, 还包括:
通过显示屏显示所述待定位通信设备的位置信息。
8、 根据权利要求 1-7任意一项所述的方法, 其特征在于, 所述第一通信 设备接收第一定位请求消息, 包括:
所述第一通信设备接收第二通信设备发送的所述第一定位请求消息; 所述第一通信设备根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息之后, 还包括:
所述第一通信设备向所述第二通信设备发送第一定位响应消息, 所述第 一定位响应消息包括所述待定位通信设备的位置信息。
9、 一种通信设备, 其特征在于, 包括:
接收单元, 用于接收第一定位请求消息, 所述第一定位请求消息包括待 定位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备 的位置信息;
处理单元, 用于根据所述接收单元接收的所述第一定位请求消息包括的 所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信 设备的位置信息。
10、 根据权利要求 9所述的通信设备, 其特征在于, 还包括:
存储单元, 用于在所述处理单元根据所述接收单元接收的所述第一定位 请求消息包括的所述待定位通信设备的标识, 通过短距离无线通信技术获取 所述待定位通信设备的位置信息之后, 根据所述待定位通信设备的标识和所 述待定位通信设备的位置信息, 存储所述待定位通信设备的标识与位置信息 的对应关系;
所述处理单元还用于根据所述待定位通信设备的标识, 从所述存储单元 存储的所述对应关系中确定所述待定位通信设备的位置信息。
11、 根据权利要求 9或 10所述的通信设备, 其特征在于, 所述接收单元 还用于在所述处理单元根据所述待定位通信设备的标识, 通过短距离无线通 信技术获取所述待定位通信设备的位置信息之前, 通过短距离无线通信技术 接收所述待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通 信设备的标识和位置信息;
所述处理单元具体用于根据所述广播消息, 获取所述待定位通信设备的 位置信息。
12、 根据权利要求 9或 10所述的通信设备, 其特征在于, 还包括: 建立 单元和第一发送单元;
所述接收单元还用于在所述处理单元根据所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根据短 距离无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息 包括所述待定位通信设备的标识;
所述建立单元, 用于根据所述接收单元接收的所述广播消息, 与所述待 定位通信设备建立通信链接;
所述第一发送单元, 用于通过所述建立单元建立的所述通信链路向所述 待定位通信设备发送位置信息请求消息;
所述接收单元还用于接收所述待定位通信设备发送的位置信息响应消 息, 所述位置信息响应消息包括所述待定位通信设备的位置信息;
所述处理单元具体用于根据所述位置信息响应消息, 获取所述待定位通 信设备的位置信息。
13、 根据权利要求 9或 10所述的通信设备, 其特征在于, 所述接收单元 还用于所述处理单元根据所述待定位通信设备的标识, 通过短距离无线通信 技术获取所述待定位通信设备的位置信息之前, 根据短距离无线通信技术接 收所述待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通信 设备的标识;
所述处理单元具体用于根据所述接收单元接收的所述广播消息的信号强 度, 确定所述待定位通信设备的位置信息。
14、 根据权利要求 9或 10所述的通信设备, 其特征在于, 还包括: 第一发送单元, 用于所述处理单元根据所述待定位通信设备的标识, 通 过短距离无线通信技术获取所述待定位通信设备的位置信息之前, 向第三通 信设备发送第二定位请求消息, 所述第二定位请求消息包括待定位通信设备 的标识, 所述第二定位请求消息用于请求所述待定位通信设备的位置信息, 以使所述第三通信设备根据所述待定位通信设备的标识通过短距离无线通信 技术获取所述待定位通信设备的位置信息;
所述接收单元还用于接收所述第三通信设备发送的第二定位响应消息, 所述第二定位响应消息包括所述待定位通信设备的位置信息;
所述处理单元具体用于根据所述接收单元接收的所述第二定位响应消 息, 获取所述待定位通信设备的位置信息。
15、根据权利要求 9-14任意一项所述的通信设备, 其特征在于,还包括: 显示单元;
所述接收单元具体用于接收用户输入的所述第一定位请求消息; 所述显示单元, 用于所述处理单元根据所述待定位通信设备的标识, 通 过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 显示所述 待定位通信设备的位置信息。
16、根据权利要求 9-15任意一项所述的通信设备, 其特征在于,还包括: 第二发送单元;
所述接收单元具体用于接收第二通信设备发送的所述第一定位请求消 息;
所述第二发送单元, 用于在所述处理单元根据所述待定位通信设备的标 识, 通过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 向 所述第二通信设备发送第一定位响应消息, 所述第一定位响应消息包括所述 待定位通信设备的位置信息。
17、 一种通信设备, 其特征在于, 包括:
收发器, 用于接收第一定位请求消息, 所述第一定位请求消息包括待定 位通信设备的标识, 所述第一定位请求消息用于请求所述待定位通信设备的 位置信息;
处理器, 用于根据所述收发器接收的所述第一定位请求消息包括的所述 待定位通信设备的标识, 通过短距离无线通信技术获取所述待定位通信设备 的位置信息。
18、 根据权利要求 17所述的通信设备, 其特征在于, 还包括:
存储器, 用于在所述处理器根据所述收发器接收的所述第一定位请求消 息包括的所述待定位通信设备的标识, 通过短距离无线通信技术获取所述待 定位通信设备的位置信息之后, 根据所述待定位通信设备的标识和所述待定 位通信设备的位置信息, 存储所述待定位通信设备的标识与位置信息的对应 关系;
所述处理器还用于根据所述待定位通信设备的标识, 从所述存储器存储 的所述对应关系中确定所述待定位通信设备的位置信息。
19、 根据权利要求 17或 18所述的通信设备, 其特征在于, 所述收发器 还用于在所述处理器根据所述待定位通信设备的标识, 通过短距离无线通信 技术获取所述待定位通信设备的位置信息之前, 通过短距离无线通信技术接 收所述待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通信 设备的标识和位置信息;
所述处理器具体用于根据所述广播消息, 获取所述待定位通信设备的位 置信息。
20、 根据权利要求 17或 18所述的通信设备, 其特征在于,
所述收发器还用于在所述处理器根据所述待定位通信设备的标识, 通过 短距离无线通信技术获取所述待定位通信设备的位置信息之前, 根据短距离 无线通信技术接收所述待定位通信设备发送的广播消息, 所述广播消息包括 所述待定位通信设备的标识;
所述处理器, 还用于根据所述收发器接收的所述广播消息, 与所述待定 位通信设备建立通信链接;
所述收发器, 还用于通过所述处理器建立的所述通信链路向所述待定位 通信设备发送位置信息请求消息; 以及接收所述待定位通信设备发送的位置 信息响应消息,所述位置信息响应消息包括所述待定位通信设备的位置信息; 所述处理器根据所述待定位通信设备的标识, 通过短距离无线通信技术 获取所述待定位通信设备的位置信息具体为: 所述处理器根据所述位置信息 响应消息, 获取所述待定位通信设备的位置信息。
21、 根据权利要求 17或 18所述的通信设备, 其特征在于, 所述收发器 还用于所述处理器根据所述待定位通信设备的标识, 通过短距离无线通信技 术获取所述待定位通信设备的位置信息之前, 根据短距离无线通信技术接收 所述待定位通信设备发送的广播消息, 所述广播消息包括所述待定位通信设 备的标识;
所述处理器具体用于根据所述收发器接收的所述广播消息的信号强度, 确定所述待定位通信设备的位置信息。
22、 根据权利要求 17或 18所述的通信设备, 其特征在于, 所述收发器 还用于所述处理器根据所述待定位通信设备的标识, 通过短距离无线通信技 术获取所述待定位通信设备的位置信息之前, 向第三通信设备发送第二定位 请求消息, 所述第二定位请求消息包括待定位通信设备的标识, 所述第二定 位请求消息用于请求所述待定位通信设备的位置信息, 以使所述第三通信设 备根据所述待定位通信设备的标识通过短距离无线通信技术获取所述待定位 通信设备的位置信息; 以及接收所述第三通信设备发送的第二定位响应消息, 所述第二定位响应消息包括所述待定位通信设备的位置信息;
所述处理器具体用于根据所述收发器接收的所述第二定位响应消息, 获 取所述待定位通信设备的位置信息。
23、 根据权利要求 17-22任意一项所述的通信设备, 其特征在于, 还包 括: 输出设备;
所述收发器具体用于接收用户输入的所述第一定位请求消息;
所述输出设备, 用于在所述处理器根据所述待定位通信设备的标识, 通 过短距离无线通信技术获取所述待定位通信设备的位置信息之后, 显示所述 待定位通信设备的位置信息。
24、 根据权利要求 17-23任意一项所述的通信设备, 其特征在于, 所述 收发器接收第一定位请求消息具体为: 所述收发器接收第二通信设备发送的 所述第一定位请求消息;
所述收发器还用于在所述处理器根据所述待定位通信设备的标识, 通过 短距离无线通信技术获取所述待定位通信设备的位置信息之后, 向所述第二 通信设备发送第一定位响应消息, 所述第一定位响应消息包括所述待定位通 信设备的位置信息。
PCT/CN2014/077372 2014-05-13 2014-05-13 定位方法和通信设备 WO2015172312A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
CN201910280022.0A CN109936816B (zh) 2014-05-13 2014-05-13 定位方法和通信设备
US15/310,095 US20170142681A1 (en) 2014-05-13 2014-05-13 Positioning method and communications device
EP19173312.0A EP3582560B1 (en) 2014-05-13 2014-05-13 Positioning method and communications device
PCT/CN2014/077372 WO2015172312A1 (zh) 2014-05-13 2014-05-13 定位方法和通信设备
ES14892112T ES2744328T3 (es) 2014-05-13 2014-05-13 Método de posicionamiento y dispositivo de comunicación
CN201480002075.1A CN104604260B (zh) 2014-05-13 2014-05-13 定位方法和通信设备
EP14892112.5A EP3128792B1 (en) 2014-05-13 2014-05-13 Positioning method and communication device
CN201910279913.4A CN110062365B (zh) 2014-05-13 2014-05-13 定位方法和通信设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/077372 WO2015172312A1 (zh) 2014-05-13 2014-05-13 定位方法和通信设备

Publications (1)

Publication Number Publication Date
WO2015172312A1 true WO2015172312A1 (zh) 2015-11-19

Family

ID=53127906

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077372 WO2015172312A1 (zh) 2014-05-13 2014-05-13 定位方法和通信设备

Country Status (5)

Country Link
US (1) US20170142681A1 (zh)
EP (2) EP3582560B1 (zh)
CN (3) CN109936816B (zh)
ES (1) ES2744328T3 (zh)
WO (1) WO2015172312A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246371B (zh) 2015-03-03 2022-05-10 华为技术有限公司 一种获取设备方位的方法及设备
CN105093178A (zh) * 2015-07-20 2015-11-25 小米科技有限责任公司 终端定位方法、装置及系统
CN106412819B (zh) * 2015-07-31 2020-11-10 腾讯科技(深圳)有限公司 定位设备的方法及装置
CN108306905A (zh) * 2016-09-07 2018-07-20 北京嘀嘀无限科技发展有限公司 一种辅助定位处理方法、服务器及乘客终端
CN107870342A (zh) * 2017-11-21 2018-04-03 北京众行智能科技有限公司 一种通过电子锁定设备进行定位的系统及方法
KR102478031B1 (ko) * 2018-03-08 2022-12-16 삼성전자주식회사 외부 장치와의 연결을 위한 전자 장치 및 방법
WO2020154956A1 (zh) * 2019-01-30 2020-08-06 西门子股份公司 设备定位方法、系统及定位服务器和计算机可读介质
CN111148026A (zh) * 2019-03-27 2020-05-12 广东小天才科技有限公司 一种定位信息获取方法及系统、服务设备
CN111148027B (zh) * 2019-03-27 2021-06-01 广东小天才科技有限公司 一种电子设备的查找方法及移动设备
CN112714200A (zh) * 2019-10-24 2021-04-27 中国移动通信有限公司研究院 一种设备定位、设备显示位置的方法、设备及介质
WO2021168811A1 (zh) * 2020-02-28 2021-09-02 北京小米移动软件有限公司 无线定位方法、装置及存储介质
WO2021184373A1 (zh) * 2020-03-20 2021-09-23 Oppo广东移动通信有限公司 一种电子标签定位方法、电子设备及电子标签

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271397A (zh) * 2011-09-09 2011-12-07 上海聚美物联网科技有限公司 基于wifi网络的定位系统与方法
CN102348160A (zh) * 2011-07-15 2012-02-08 中国电信股份有限公司 基于多模信号的定位方法与系统、定位平台
CN102682257A (zh) * 2012-05-14 2012-09-19 北京联合大学 基于rfid和wifi技术的物品定位系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10684350B2 (en) * 2000-06-02 2020-06-16 Tracbeam Llc Services and applications for a communications network
EP3986043A1 (en) * 2006-07-03 2022-04-20 Nokia Technologies Oy A user-portable electronic device
CN102137329A (zh) * 2011-03-01 2011-07-27 华为终端有限公司 定位方法和设备
JP5632315B2 (ja) * 2011-03-17 2014-11-26 株式会社オプティム 端末のリモート操作システム、リモート操作方法
US9544075B2 (en) * 2012-02-22 2017-01-10 Qualcomm Incorporated Platform for wireless identity transmitter and system using short range wireless broadcast
US10200751B2 (en) * 2012-03-30 2019-02-05 The Nielsen Company (Us), Llc Methods, apparatus, and machine readable storage media to monitor a media presentation
US8639266B2 (en) * 2012-04-18 2014-01-28 Google Inc. Using peer devices to locate a mobile device
US9779596B2 (en) * 2012-10-24 2017-10-03 Apple Inc. Devices and methods for locating accessories of an electronic device
US20140162701A1 (en) * 2012-12-10 2014-06-12 Plantronics, Inc. Mobile device location finder
US9357348B2 (en) * 2013-01-29 2016-05-31 Tile, Inc. Systems and methods for locating a tracking device
CN103763768B (zh) * 2013-12-24 2019-04-19 华为技术有限公司 定位方法和用户设备
EP3249957B1 (en) * 2015-02-16 2020-01-08 Huawei Technologies Co., Ltd. Method, apparatus and system for acquiring location information of target object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348160A (zh) * 2011-07-15 2012-02-08 中国电信股份有限公司 基于多模信号的定位方法与系统、定位平台
CN102271397A (zh) * 2011-09-09 2011-12-07 上海聚美物联网科技有限公司 基于wifi网络的定位系统与方法
CN102682257A (zh) * 2012-05-14 2012-09-19 北京联合大学 基于rfid和wifi技术的物品定位系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3128792A4 *

Also Published As

Publication number Publication date
CN110062365B (zh) 2022-07-19
CN104604260B (zh) 2019-04-19
US20170142681A1 (en) 2017-05-18
EP3128792A1 (en) 2017-02-08
CN109936816B (zh) 2022-04-05
EP3582560B1 (en) 2021-01-13
EP3128792B1 (en) 2019-06-19
CN104604260A (zh) 2015-05-06
CN110062365A (zh) 2019-07-26
CN109936816A (zh) 2019-06-25
ES2744328T3 (es) 2020-02-24
EP3582560A1 (en) 2019-12-18
EP3128792A4 (en) 2017-04-26

Similar Documents

Publication Publication Date Title
WO2015172312A1 (zh) 定位方法和通信设备
JP5599902B2 (ja) 局所的な地図データによる移動局の測位支援
KR102181256B1 (ko) 적응적 액티브 포지셔닝을 이용한 개선된 패시브 포지셔닝
US9301098B2 (en) Location detection in wireless communication networks
WO2011148741A1 (ja) 測位装置及び方法
CN105210395A (zh) 用于适应地点定位能力的方法
JP5913308B2 (ja) ロケーション特定のための方法
JPWO2006001140A1 (ja) 携帯端末とこれを用いた無線品質表示方法、プログラム、及びシステム
US10725181B2 (en) In-band pseudolite wireless positioning method, system and device
JP2018537928A (ja) 測距プロトコルのための方法およびシステム
WO2016082496A1 (zh) 室内定位方法、无线接收装置、无线发射装置及存储介质
KR102169688B1 (ko) 장소정보 제공방법 및 그 시스템
CN105101118A (zh) 一种短信定位方法及系统
Kumari et al. Indoor navigation using BLE beacons
KR20120065825A (ko) 모바일 실시간 위치 추적방법
JP2016025386A (ja) 位置認証装置、端末装置、位置認証方法、及びプログラム

Legal Events

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

Ref document number: 14892112

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014892112

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014892112

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15310095

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE