WO2022033390A1 - 一种位置获取方法及其装置 - Google Patents

一种位置获取方法及其装置 Download PDF

Info

Publication number
WO2022033390A1
WO2022033390A1 PCT/CN2021/111008 CN2021111008W WO2022033390A1 WO 2022033390 A1 WO2022033390 A1 WO 2022033390A1 CN 2021111008 W CN2021111008 W CN 2021111008W WO 2022033390 A1 WO2022033390 A1 WO 2022033390A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
time
location
information
request
Prior art date
Application number
PCT/CN2021/111008
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 EP21855443.4A priority Critical patent/EP4184954A4/en
Publication of WO2022033390A1 publication Critical patent/WO2022033390A1/zh
Priority to US18/167,583 priority patent/US20230189204A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a location acquisition method and device thereof.
  • UAV unmanned aerial vehicle
  • UAVC unmanned aerial vehicle controller
  • terminal devices are movable, and positioning the terminal devices during the movement of the terminal devices will result in a low accuracy of the calculated distance between the devices.
  • the embodiments of the present application provide a method and device for obtaining a position. By obtaining the positions of a first terminal device and a second terminal device at the same time, it is beneficial to improve the accuracy of distance calculation between the first terminal device and the second terminal device. .
  • an embodiment of the present application provides a method for obtaining a location.
  • the method includes: requesting a network to obtain the location of a first terminal device and a second terminal device at the same time; and receiving the first terminal device and the second terminal device from the network. the position of the second terminal device at the same time.
  • the first terminal device can be calculated based on the positions of the first terminal device and the second terminal device at the same time the distance from the second terminal device. Since the location of the first terminal device and the location of the second terminal device are acquired at the same time, it is beneficial to improve the accuracy of distance calculation between the first terminal device and the second terminal device.
  • the specific implementation of requesting the network to obtain the locations of the first terminal device and the second terminal device at the same time may be: sending a first location request to the first network device, and the first network device serves the For the first terminal device and the second terminal device, the first location request is used to request to acquire the locations of the first terminal device and the second terminal device at the same time.
  • a specific implementation manner of receiving the positions of the first terminal device and the second terminal device from the network at the same time may be: receiving first position information from the first network device, where the first position information includes the first terminal device and the location of the second terminal device at the same time.
  • the network devices corresponding to the first terminal device and the second terminal device may be the same or different.
  • the network devices corresponding to the first terminal device and the second terminal device are the same, by sending a location request (first location request) to the network device, it is possible to obtain the location data of the first terminal device and the second terminal device at the same time. Location.
  • the first location request includes first time information, where the first time information is used to indicate a first moment; the first location request is used to request to obtain the location of the first terminal device and the second terminal device in the The location of the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first location request includes first indication information, where the first indication information is used to instruct to acquire the locations of the first terminal device and the second terminal device at the same time.
  • the method may further include: determining offset time information of the first terminal device, where the offset time information is based on the time of locating the historical position of the first terminal device and the historical position of the second terminal device The time is determined; the first position request may include the offset time information, and the offset time information is used to adjust the time for locating the position of the first terminal device, enabling the acquisition of the first terminal device and the second terminal device at the same time s position.
  • the first location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time required for locating the location of the first terminal device and the time requirement for locating the location of the second terminal device Satisfactory time precision; second time information, where the second time information is used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the locations of the first terminal device and the second terminal device meet the aforementioned time precision requirements.
  • the specific implementation of requesting the network to obtain the locations of the first terminal device and the second terminal device at the same time may be: sending a second location request to the second network device, and sending a third location request to a third network device; wherein the second location request is used to request to acquire the location of the first terminal device at the first moment, and the third location request is used to request to acquire the location of the second terminal device at the first moment.
  • the specific implementation manner of receiving the positions of the first terminal device and the second terminal device from the network at the same time may be: receiving the second position information from the second network device, and receiving the third position information from the third network device. Location information; wherein the second location information includes the location of the first terminal device at the first moment, and the third location information includes the location of the second terminal device at the first moment.
  • both the second location request and the third location request include first time information, where the first time information is used to indicate the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the method may further include: determining offset time information of the first terminal device, where the offset time information is based on the time of locating the historical position of the first terminal device and the historical position of the second terminal device The time is determined; the second location request may include the offset time information, and the offset time information enables adjustment of the time for locating the location of the first terminal device to the first moment.
  • the second location request and the third location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time for locating the location of the first terminal device and the time for locating the second terminal device.
  • the time of the location needs to meet the time precision;
  • the second time information the second time information is used to indicate the time to locate the location of the first terminal device and the time to locate the location of the second terminal device need to be earlier than the second moment.
  • the second location information may further include a time precision result, where the time precision result is used to indicate whether the location of the first terminal device satisfies the time precision requirement.
  • the aforementioned second network device may be: a network device serving the first terminal device; or, a first measurement device that locates the first terminal device; or, the first terminal device; or, a serving to the access network device of the first terminal device.
  • the embodiments of the present application provide another method for obtaining a location, which can be applied to a first network device, where the first network device serves the first terminal device and the second terminal device.
  • the method includes: receiving a first location request; the first location request is used to request to obtain the locations of the first terminal device and the second terminal device at the same time; sending first location information, the first location information including the first terminal The location information of the device and the second terminal device at the same time.
  • the network devices corresponding to the first terminal device and the second terminal device may be the same or different.
  • the first network device receives a location request (the first location request), and can obtain the first terminal device and the second terminal device. The location of the second terminal device at the same time.
  • the first location request includes first time information, where the first time information is used to indicate a first moment; the first location request is used to request to obtain the location of the first terminal device and the second terminal device in the The location of the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first location request includes first indication information, where the first indication information is used to instruct to obtain the locations of the first terminal device and the second terminal device at the same time; the method may further include: determining the first a moment, and acquire the positions of the first terminal device and the second terminal device at the first moment.
  • the first location request may include offset time information of the first terminal device, where the offset time information is based on the time when the historical location of the first terminal device is located and the historical location of the second terminal device is located. The time is determined; the offset time information is used to adjust the time for locating the position of the first terminal device, enabling acquisition of the positions of the first terminal device and the second terminal device at the same time.
  • the first location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time required for locating the location of the first terminal device and the time requirement for locating the location of the second terminal device Satisfactory time precision; second time information, where the second time information is used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the locations of the first terminal device and the second terminal device meet the aforementioned time precision requirements.
  • an embodiment of the present application provides another method for obtaining a location, which can be applied to a second network device.
  • the method includes: receiving a second location request; the second location request is used to request to obtain the location of the first terminal device in the first position at the moment; sending second position information, where the second position information includes the position of the first terminal device at the first moment.
  • the second location request includes first time information, where the first time information is used to indicate the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the second location request may include offset time information of the first terminal device, where the offset time information is based on the time when the historical location of the first terminal device is located and the historical location of the second terminal device is located. The time is determined; the offset time information enables adjustment of the time for locating the position of the first terminal device to the first moment.
  • the second location request may include at least one of the following: a time precision requirement, where the time precision requirement is used to indicate a time precision that needs to be satisfied when locating the location of the first terminal device; the second time information, The second time information is used to indicate that the time for locating the position of the first terminal device needs to be earlier than the second time.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the location of the first terminal device satisfies the aforementioned time precision requirement.
  • an embodiment of the present application provides a communication device, the communication device having part or all of the functions of the execution body in the method example described in the first aspect above, for example, the function of the communication device may have some of the functions in the present application Or the functions in all the embodiments may also have the functions of independently implementing any one of the embodiments in this application.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the structure of the communication apparatus may include a processing unit and a communication unit.
  • the processing unit is configured to support the communication device to perform the corresponding functions in the above method.
  • the communication unit is used to support communication between the communication device and other devices.
  • the communication device may also include a storage unit for coupling with the processing unit and the communication unit, which stores computer programs and data necessary for the communication device.
  • the communication apparatus includes: a processing unit for invoking the communication unit to request the network to obtain the positions of the first terminal device and the second terminal device at the same time; and for invoking the communication unit to receive data from the network the location of the first terminal device and the second terminal device at the same time.
  • the processing unit may be a processor
  • the communication unit may be a transceiver
  • the storage unit may be a memory
  • the communication apparatus includes: a processor for invoking the transceiver to request the network to obtain the positions of the first terminal device and the second terminal device at the same time; and for invoking the transceiver to receive data from the network the location of the first terminal device and the second terminal device at the same time.
  • an embodiment of the present application provides another communication device, the communication device having part or all of the functions of the first network device in the method example described in the second aspect above, for example, the function of the communication device may have the functions of the present application Some or all of the functions in the embodiments may also have the functions of independently implementing any one of the embodiments in this application.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the structure of the communication apparatus may include a processing unit and a communication unit.
  • the processing unit is configured to support the communication device to perform the corresponding functions in the above method.
  • the communication unit is used to support communication between the communication device and other devices.
  • the communication device may also include a storage unit for coupling with the processing unit and the communication unit, which stores computer programs and data necessary for the communication device.
  • the communication apparatus includes: a processing unit configured to call the communication unit to receive a first location request; the first location request is used to request to acquire the locations of the first terminal device and the second terminal device at the same time;
  • the communication apparatus serves the first terminal device and the second terminal device; and is further configured to call the communication unit to send first location information, where the first location information includes the first terminal device and the second terminal device at the same time. location information.
  • the processing unit may be a processor
  • the communication unit may be a transceiver
  • the storage unit may be a memory
  • the communication apparatus includes: a processor for invoking the transceiver to receive a first location request; the first location request is used for requesting to acquire the locations of the first terminal device and the second terminal device at the same time ;
  • the communication device serves the first terminal equipment and the second terminal equipment; and is also used to call the transceiver to send first position information, the first position information includes the first terminal equipment and the second terminal equipment at the same time location information.
  • an embodiment of the present application provides yet another communication device, the communication device having part or all of the functions of the second network device in the method example described in the third aspect, for example, the function of the communication device may have the functions of the present application Some or all of the functions in the embodiments may also have the functions of independently implementing any one of the embodiments in this application.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the structure of the communication apparatus may include a processing unit and a communication unit.
  • the processing unit is configured to support the communication device to perform the corresponding functions in the above method.
  • the communication unit is used to support communication between the communication device and other devices.
  • the communication device may also include a storage unit for coupling with the processing unit and the communication unit, which stores computer programs and data necessary for the communication device.
  • the communication apparatus includes: a processing unit for invoking the communication unit to receive a second location request; the second location request is used for requesting to acquire the location of the first terminal device at the first moment; and for invoking the second location request
  • the communication unit sends second location information, where the second location information includes the location of the first terminal device at the first moment.
  • the processing unit may be a processor
  • the communication unit may be a transceiver
  • the storage unit may be a memory
  • the communication apparatus includes: a processor for invoking the transceiver to receive a second location request; the second location request is used for requesting to obtain the location of the first terminal device at the first moment; and for The transceiver is called to send second location information, where the second location information includes the location of the first terminal device at the first moment.
  • an embodiment of the present application provides a location acquisition system, where the system includes one or more communication devices as in the fourth aspect to the sixth aspect.
  • an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program includes program instructions that, when executed by a communication device, cause the communication device to The method of the first aspect above is performed.
  • an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program includes program instructions that, when executed by a communication device, cause the communication device to The method of the second aspect above is performed.
  • an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program includes program instructions that, when executed by a communication device, cause the communication device to The method of the third aspect above is performed.
  • the present application further provides a computer program product comprising a computer program, which, when run on a computer, causes the computer to execute the method described in the first aspect.
  • the present application also provides a computer program product comprising a computer program, which when run on a computer, causes the computer to execute the method described in the second aspect above.
  • the present application also provides a computer program product comprising a computer program, which when run on a computer, causes the computer to execute the method described in the third aspect.
  • the present application provides a chip system
  • the chip system includes at least one processor and an interface for implementing the functions involved in the first aspect, for example, receiving, sending or processing data involved in the above method and at least one of information.
  • the chip system further includes a memory for storing necessary computer programs and data.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the present application provides a chip system
  • the chip system includes at least one processor and an interface for supporting the first network device to implement the functions involved in the second aspect, for example, receiving, sending or processing the above method At least one of the data and information referred to in .
  • the chip system further includes a memory for storing necessary computer programs and data of the first network device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the present application provides a chip system
  • the chip system includes at least one processor and an interface for supporting the second network device to implement the functions involved in the second aspect, for example, receiving, sending or processing the above method At least one of the data and information referred to in .
  • the chip system further includes a memory for storing necessary computer programs and data of the second network device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • FIG. 1a is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 1b is a schematic diagram of a device involved in a process of requesting to obtain the location of a terminal device at a specified time according to an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a method for obtaining a location provided by an embodiment of the present application
  • 3a is a schematic flowchart of another method for obtaining a location provided by an embodiment of the present application.
  • 3b is a schematic diagram of a scenario in which a first network device obtains the positions of a first terminal device and a second terminal device at a first moment according to an embodiment of the present application;
  • 3c is a schematic diagram of another scenario in which the first network device obtains the positions of the first terminal device and the second terminal device at the first moment provided by an embodiment of the present application;
  • 3d is a schematic diagram of a periodic location request process provided by an embodiment of the present application.
  • FIG. 4a is a schematic flowchart of another method for obtaining a location provided by an embodiment of the present application.
  • 4b is a schematic diagram of a scenario in which the first moment is determined by a first network device according to an embodiment of the present application;
  • 5a is a schematic flowchart of another method for obtaining a location provided by an embodiment of the present application.
  • 5b is a schematic flowchart of a request to obtain the location of a first terminal device at a first moment provided by an embodiment of the present application;
  • FIG. 6 is a schematic flowchart of another method for obtaining a location provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • FIG. 1a is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • the communication system may include, but is not limited to, a network device, a first terminal device, and a second terminal device.
  • the number and shape of the devices shown in FIG. It includes two or more first terminal devices and two or more second terminal devices.
  • the communication system shown in FIG. 1a includes a network device 101 , a first terminal device 102 and a second terminal device 103 as an example.
  • the network device 101 can be used to request the network to obtain the location of the first terminal device 102 and the second terminal device 103 at the same time, and receive the first terminal device 102 and the second terminal device 103 from the network at the same time s position.
  • a device that can be used to obtain the location of terminal devices (such as the first terminal device 102 and the second terminal device 103 ) can be deployed in the network, and the device can obtain the location of the terminal device according to a specified time.
  • the network device 101 requests the network to obtain the locations of the first terminal device 102 and the second terminal device 103 at the same time, the network can obtain the first terminal device 102 and the second terminal device through the aforementioned deployed devices.
  • the network can obtain the positions of the first terminal device 102 and the second terminal device 103 at the same time through one device deployed in the network, or the network can obtain the first terminal device 102 and the first terminal device 102 through the cooperation of multiple devices deployed in the network.
  • This embodiment of the present application does not limit the number and names of network elements deployed in the network for acquiring the positions of the first terminal device 102 and the second terminal device 103 at the same time.
  • the device deployed in the network may include a measurement device, and the measurement device may be used to measure the position of the first terminal device 102 and/or the second terminal device 103 .
  • the measurement device may be an access network device serving the first terminal device 102 and/or the second terminal device 103 , or the measurement device may be the first terminal device 102 or the second terminal device 103 .
  • the network device 101 may calculate the distance between the first terminal device 102 and the second terminal device 103 based on the positions of the first terminal device 102 and the second terminal device 103 at the same time. Since the location of the first terminal device 102 and the location of the second terminal device 103 are acquired at the same time, it is beneficial to improve the accuracy of distance calculation between the first terminal device 102 and the second terminal device 103 .
  • the embodiments of the present application can be applied not only to the scenario of requesting the location of multiple terminal devices at the same time, but also to the scenario of requesting the location of a single terminal device at a specific time. It should also be noted that the technical solutions of the embodiments of the present application can be applied to various communication systems. For example: long term evolution (long term evolution, LTE) system, fifth generation (5th generation, 5G) mobile communication system, 5G new radio (new radio, NR) system.
  • LTE long term evolution
  • 5G fifth generation
  • 5G new radio new radio
  • the methods in the embodiments of the present application are also applicable to various future communication systems, such as a 6G system or other communication networks.
  • the first terminal device 102 and the second terminal device 103 in the embodiments of the present application are entities for receiving or transmitting signals.
  • One or both of the first terminal device 102 and the second terminal device 103 may move, that is, the position of one or both of the first terminal device 102 and the second terminal device 103 may change.
  • the terminal device (that is, the first terminal device 102 or the second terminal device 103 ) in this embodiment of the present application may be referred to as a terminal (terminal), user equipment (user equipment, UE), a mobile station (mobile station, MS), a mobile terminal (mobile terminal, MT), etc.
  • the terminal device can be a mobile phone (mobile phone), a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, industrial Wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, transportation security Wireless terminals in safety), wireless terminals in smart cities, wireless terminals in smart homes, and so on.
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
  • the first terminal device 102 and the second terminal device 103 may be different types of devices.
  • one of the first terminal device 102 and the second terminal device 103 may be a control device, and the other may be a device controlled by the control device.
  • the first terminal device 102 is a drone
  • the second terminal device 103 is a drone controller.
  • the first terminal device 102 and the second terminal device 103 may be devices of the same type.
  • both the first terminal device 102 and the second terminal device 103 are controlled devices (such as drones, remote control cars, etc.).
  • the network device 101 in this embodiment of the present application may be an entity on the network side for transmitting or receiving signals.
  • the network device 101 may be a management device, a gateway mobile location center (GMLC), a network exposure function (NEF), an access and mobility management function (access and mobility management function, AMF), a location management function (location management function, LMF) or other devices that can be used to acquire the locations of the first terminal device 102 and the second terminal device 103 at the same time.
  • GMLC gateway mobile location center
  • NEF network exposure function
  • AMF access and mobility management function
  • LMF location management function
  • the management device may be used to manage the location of the first terminal device 102 and the location of the second terminal device 103 , and may also be used for authorization and authentication of the first terminal device 102 and the second terminal device 103 .
  • the management device may analyze the location of the first terminal device 102 and/or the location of the second terminal device 103 to determine whether the location of the first terminal device 102 or the location of the second terminal device 103 is abnormal. Alternatively, it can be determined whether the distance between the two is abnormal.
  • the management device may be a network element related to the tracking of the drone and the drone controller.
  • the management device can be UAV system traffic management (UTM), and UTM can be deployed together with a UAV system service provider (USS).
  • UTM UAV system traffic management
  • USS UAV system service provider
  • the management device (such as the UTM) may be located inside the core network or outside the core network, and the name and location of the network element are not limited in this embodiment of the present application.
  • GMLC can support the function of location service (LCS).
  • LMF public land mobile network
  • NEF can be used to provide security information from external application processes (such as unmanned aerial systems) to 3GPP networks, and can also be used for translation of internal to external information.
  • AMF can be used to manage the registration and connection of terminal devices, etc.
  • LMF can be used to manage the overall coordination and scheduling of resources required to manage the location of terminal devices that register or access the 5G core network.
  • the devices involved in the process of requesting to obtain the location of a terminal device may include a management device, one or more core network devices, and a measurement device, as shown in Figure 1b shown.
  • a management device such as the first terminal device and/or the second terminal device
  • a measurement device such as the measurement device, as shown in Figure 1b shown.
  • the management device needs to obtain the location of the terminal device at a specified time, it can request the GMLC corresponding to the terminal device to obtain the location of the terminal device.
  • the GMLC may request the AMF corresponding to the terminal device to obtain the location of the terminal device at a specified time.
  • the AMF may request the LMF corresponding to the terminal device to obtain the location of the terminal device at a specified time.
  • the LMF may request the measurement device corresponding to the terminal device to obtain the position of the terminal device at a specified time.
  • the measuring device may feed back the position to the LMF. Accordingly, the LMF can feed back the position to the aforementioned AMF.
  • the AMF can feed back the position to the GMLC.
  • the GMLC then feeds back the position to the aforementioned management device.
  • the above process can be used to obtain the position of one terminal device at a specified time, and can also be used to obtain the positions of multiple terminal devices at a specified time.
  • the above-mentioned management device requests the AMF corresponding to the terminal device to obtain the location of the terminal device at a specified time through the GMLC corresponding to the terminal device, which is only used for example.
  • the management device may also directly request the AMF corresponding to the terminal device to obtain the location of the terminal device at a specified time.
  • the management device may request the AMF corresponding to the terminal device to obtain the location of the terminal device at the specified time through the NEF corresponding to the terminal device.
  • the number and names of the involved devices, and the communication mode between the devices are not limited.
  • FIG. 2 is a schematic flowchart of a method for obtaining a location provided by an embodiment of the present application.
  • the execution subject of steps S201 to S202 may be a management device, GMLC, NEF, AMF, LMF, or other devices that can be used to obtain the positions of the first terminal device and the second terminal device at the same time.
  • the execution body may also be a chip in the management device, GMLC, NEF, AMF, or LMF.
  • the method may include but is not limited to the following steps:
  • Step S201 request the network to obtain the locations of the first terminal device and the second terminal device at the same time.
  • the networks corresponding to the first terminal device and the second terminal device may be the same or different.
  • the location of the terminal device at a specified time can be acquired through the network corresponding to the terminal device (eg, the first terminal device or the second terminal device).
  • a measurement device for measuring the position of the terminal device at a specified moment may be deployed in the network corresponding to the terminal device.
  • the network may trigger the measurement device to locate the terminal device, so as to acquire the location of the terminal device at the specified time.
  • the network can be requested to obtain the locations of the first terminal device and the second terminal device at the same time in the following two ways:
  • the first one is, in the case that the network devices corresponding to the first terminal device and the second terminal device are the same, request the network device to obtain the locations of the first terminal device and the second terminal device at the same time.
  • the specific implementation manner of requesting the network device to obtain the locations of the first terminal device and the second terminal device at the same time may be: sending a first location request to the first network device, where the first location request is used to request to obtain The location of the first terminal device and the second terminal device at the same time.
  • the first network device serves the first terminal device and the second terminal device.
  • the first network device may be GMLC, NEF, AMF, or LMF.
  • the first network device can feed back first location information to the sender of the first location request, where the first location information includes the first location information.
  • the location of the terminal device and the second terminal device at the same time.
  • the network devices corresponding to the first terminal device and the second terminal device are the same, by sending a location request (first location request) to the network device, it is possible to obtain the location data of the first terminal device and the second terminal device at the same time.
  • Location in this embodiment of the present application, in order to obtain the locations of the first terminal device and the second terminal device at the same time, the information included in the first location request can be divided into three situations, which can be implemented by referring to FIGS. 3a-5a for details. description in the example.
  • a device that receives a location request can support a delayed location ask.
  • Support for delayed location request means: after receiving the location request, the device does not need to immediately feed back the requested location information to the sender of the location request (that is, the location requester), but can feedback the required location information after obtaining the required location information.
  • the device may send a location response to the location requester, where the location response may be used to indicate that the device has successfully received the location request.
  • the location response may carry the location information required by the location requester, or may not carry the location information required by the location requester. If the location response does not carry the location information required by the location requester, after sending the location response, the device may feed back the location information to the location requester after obtaining the location information required by the location requester. In this embodiment of the present application, the location information may be carried in the location event notification and sent to the location requester.
  • the location request when used to request the location of multiple terminal devices at the same time, the location of each terminal device may be carried in the same message and fed back to the location requester, or may be carried separately. Feedback to the location requester in different messages. For example, the location of the first terminal device and the location of the second terminal device included in the first location information may be sent separately.
  • the network devices corresponding to the first terminal device and the second terminal device are different, request the network device corresponding to the first terminal device to obtain the location of the first terminal device at the first moment, and report to the second terminal device The network device corresponding to the device requests to obtain the location of the second terminal device at the first moment.
  • the location request when a location request is sent to the network device corresponding to the first terminal device and/or the network device corresponding to the second terminal device, the location request indicates that it is expected that at the same time (such as the first terminal device) time) to obtain the positions of the first terminal device and the second terminal device.
  • the measuring device corresponding to the first terminal device may measure the position of the first terminal device around the first moment, that is, the actually obtained position of the first terminal device may not be at the first moment. The same is true for the second terminal device.
  • the actual measurement of the position of the terminal equipment (the first terminal equipment and the second terminal equipment) is based on the first moment, obtaining the positions of the first terminal equipment and the second terminal equipment in this way is conducive to improving the first and second terminal equipment.
  • the accuracy of the distance calculation between a terminal device and a second terminal device is conducive to improving the first and second terminal equipment.
  • the measurement device corresponding to the first terminal device may start to measure before the first moment arrives. Since it takes a certain amount of time for the measuring device to measure the position of the first terminal device, the measurement is started before the first moment, so that the distance between the actual moment corresponding to the measured position of the first terminal device and the first moment (expected moment) The error is small, even making the actual moment the same as the expected moment.
  • Step S202 Receive the positions of the first terminal device and the second terminal device at the same time from the network.
  • the first terminal device can be received from the network corresponding to the first terminal device and the second terminal device. and the location of the second terminal device at the same time.
  • the above-mentioned second method is used to request the acquisition of the positions of the first terminal device and the second terminal device at the same time, correspondingly, it is possible to receive the feedback of the first terminal device at the first moment from the network corresponding to the first terminal device. position, and receive the position of the second terminal device at the first moment fed back by the network corresponding to the second terminal device.
  • FIG. 3a is a schematic flowchart of another location acquisition method provided by an embodiment of the present application.
  • the method describes in detail how to acquire the first terminal device and the second location when the first location request includes the first time information.
  • the location of the end device at the same time.
  • the execution subject of steps S301 to S302 is a management device, GMLC, NEF, AMF, LMF or other devices that can be used to obtain the positions of the first terminal device and the second terminal device at the same time.
  • the execution body may also be a chip in the management device, GMLC, NEF, AMF, or LMF.
  • the method may include but is not limited to the following steps:
  • Step S301 Send a first location request to a first network device, where the first location request includes first time information, where the first time information is used to indicate a first time; the first location request is used to request to acquire a first terminal device and the position of the second terminal device at the first moment.
  • the first network device After receiving the first location request, the first network device obtains the first terminal device and the first terminal device according to the first moment indicated by the first time information carried in the first location request. The location of the second terminal device is sufficient.
  • the first network device may be a network device serving the first terminal device and the second terminal device, such as GMLC, NEF, AMF, or LMF.
  • the first network device can obtain the positions of the first terminal device and the second terminal device at the first moment in the following manner.
  • the schematic diagram of the scenario is shown in Figure 3b: In the case where the corresponding LMF and the LMF corresponding to the second terminal device are the same, the first network device sends a location request 1 to the LMF, where the location request 1 is used to request the acquisition of the first terminal device and the second terminal device at the first moment. s position.
  • the LMF may send a location request 2 to the measurement device corresponding to the first terminal device, and send a location request 3 to the measurement device corresponding to the second terminal device.
  • the location request 2 is used to request to acquire the location of the first terminal device at the first moment
  • the location request 3 is used to request to acquire the location of the second terminal device at the first moment.
  • the measuring device corresponding to the first terminal device can measure the location of the first terminal device at the first moment, and feed back the measured location to the LMF.
  • the measuring device corresponding to the second terminal device can measure the location of the second terminal device at the first moment, and feed back the measured location to the LMF.
  • the LMF may feed back the received positions to the AMF.
  • the AMF may carry the received position in the first position information and feed it back to the management device.
  • the location request 1, location request 2, and location request 3 may include the aforementioned first time information, or may include the first moment. This embodiment of the present application does not limit this.
  • the first network device can obtain the positions of the first terminal device and the second terminal device at the first moment in the following manner.
  • the schematic diagram of the scenario is shown in Figure 3c As shown: in the case where the LMF corresponding to the first terminal device and the LMF corresponding to the second terminal device are different, the first network device can send a location request 4 to the LMF corresponding to the first terminal device, and send the location request 4 to the second terminal device.
  • the corresponding LMF sends a position request 5.
  • the location request 4 is used to request to acquire the location of the first terminal device at the first moment
  • the location request 5 is used to request to acquire the location of the second terminal device at the first moment.
  • the LMF corresponding to the first terminal device may send a location request 6 to the measurement device corresponding to the first terminal device to request to obtain the location of the first terminal device at the first moment.
  • the LMF corresponding to the second terminal device may send a location request 7 to the measurement device corresponding to the second terminal device to request to obtain the location of the second terminal device at the first moment. It can be understood that, after each device (measurement device, LMF, AMF) obtains the required position, it can feed back the obtained position to the previous device. For the specific process, reference may be made to FIG. 3b, which will not be repeated here.
  • FIG. 3b and FIG. 3c take the management device as the sender of the first location request as an example, which does not constitute a limitation to the embodiments of the present application.
  • the sender of the first location request may also be GMLC, NEF or other devices.
  • the difference between the measurement device corresponding to the first terminal device and the measurement device corresponding to the second terminal device in FIG. 3b is only used for example.
  • the measurement device corresponding to the first terminal device and the second terminal device are different.
  • the measurement equipment corresponding to the equipment can be the same.
  • the LMF may request a measuring device to obtain the positions of the first terminal device and the second terminal device at the first moment.
  • the first network device may request the measurement device to obtain the locations of the first terminal device and the second terminal device at the first moment.
  • the LMF may only request the measurement device to obtain the positions of the first terminal device and the second terminal device at the first moment.
  • the LMF may request the measurement device corresponding to the first terminal device to obtain the location of the first terminal device at the first moment, and report to the second terminal device The measurement device corresponding to the device requests to acquire the position of the second terminal device at the first moment.
  • the first network device may be a measurement device that locates the first terminal device and the second terminal device.
  • the measurement equipment for locating the first terminal equipment and the second terminal equipment may be access network equipment serving the first terminal equipment and the second terminal equipment.
  • the first time information when the first location request includes first time information, the first time information may be determined by a device that is located before the first network device during the location request process. Taking the core network device involved in the location request process including GMLC, AMF and LMF, and the first network device being the AMF as an example, the first time information may be determined by the GMLC or the management device.
  • the first time information may include the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first instant may be coordinated universal time (UTC).
  • the first duration may be the duration from the time 1, and the time 1 plus the first duration is the first time.
  • the time 1 may be a preset time. Alternatively, the time 1 may also be a certain punctual time after the location request is initiated. It should be noted that the time 1 may be configured by the network (for example, delivered in a system message or proprietary signaling), or stipulated in a protocol, or may be set and changed by a user, which is not limited in this embodiment of the present application.
  • the first location request may further include at least one of the following: a time precision requirement, and second time information.
  • the time precision requirement may be used to indicate the time precision that needs to be satisfied between the time for locating the position of the first terminal device and the time for locating the position of the second terminal device.
  • the time of locating the position of the first terminal device is the actual time of locating the position of the first terminal device, and the first moment is the expected time of locating the position of the first terminal device.
  • the time precision requirement may include a precision time period or a precision duration.
  • the time for locating the position of the first terminal device satisfies the time precision may refer to: the time between the time for locating the position of the first terminal device (that is, the actual time) and the first moment (that is, the expected time) The absolute value of the difference is less than the precision duration.
  • the time precision requirement includes a precision time period the time for locating the position of the first terminal device satisfies the time precision may mean that the time for locating the position of the first terminal device is within the precision time period.
  • the time lengths between the start time and the end time of the precision time period and the first time are both small.
  • the second time information may be used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the second time is the latest acceptable location time, that is, the time (ie the actual time) for locating the position of the terminal device (the first terminal device, the second terminal device) is the second time at the latest. If the time of the location is earlier than or equal to the second moment, the device that initiates the location request (eg, the management device) can accept the location of the terminal device obtained by positioning. If the time for locating the position of the terminal device is later than the second moment, the device that initiates the position request cannot accept the position of the terminal device obtained by positioning. At this time, the location of the terminal device obtained by positioning may not be fed back to the device that initiates the location request, which is beneficial to avoid unnecessary resource consumption.
  • the second time information may include the second moment or a second duration for indicating the second moment.
  • the duration may be the duration from the time 2, and the second time plus the second time is the second time.
  • the time 2 may be a preset time. Alternatively, the time 2 may also be a certain punctual time after the location request is initiated. It should be noted that the time 2 may be configured by the network (for example, delivered in a system message or proprietary signaling), or stipulated in a protocol, or may be set and changed by a user, which is not limited in this embodiment of the present application.
  • the first location request may further include cycle time information, where the cycle time information is used to indicate the cycle duration.
  • the first location request may specifically be used to request that the first time is used as the starting time, and the period duration is used as the time interval to periodically acquire the locations of the first terminal device and the second terminal device.
  • the aforementioned second moment may be a moment after one or more time intervals have elapsed after the first moment (ie, the start moment). For example, when the first time is 2:00:00 and the time interval is 5 minutes, if the aforementioned second time information indicates the third time interval, the second time may be 2:15:00.
  • the time for locating the location of the first terminal device in a certain cycle to satisfy the time accuracy may refer to: locating the first terminal device in the cycle
  • the absolute value of the difference between the time (ie, the actual time) of the position of a terminal device and the expected time corresponding to the period is smaller than the precision duration.
  • Each cycle corresponds to an expected time. For example, when the start time of the cycle (ie, the first moment) is 2:00:00 and the time interval is 5 minutes, the expected time corresponding to the first cycle is the first cycle. At the moment, the expected time corresponding to the second cycle is 2:05:00, and the expected time corresponding to the third cycle is 2:10:00.
  • each cycle may correspond to a precision time period.
  • the time for locating the position of the first terminal device in a certain period to satisfy the time precision may refer to: the time for locating the position of the first terminal device in the period (ie, the actual time) is within the precision time period corresponding to the period.
  • FIG. 3d is a schematic diagram of the periodic position request process.
  • FIG. 3d takes an example in which the AMFs and LMFs corresponding to the first terminal device and the second terminal device are the same, but this does not constitute a limitation of the embodiments of the present application.
  • Fig. 3d In the scenario shown in Fig. 3b, the first location request further includes cycle time information. Accordingly, location request 1, location request 2 and location request 3 also include cycle time information. The first location request and location request 1 are used to request the first time as the starting time and the cycle duration indicated by the cycle time information as the time interval to periodically obtain the locations of the first terminal device and the second terminal device.
  • the location request 2 is used to request the first time as the starting time, and the cycle duration indicated by the cycle time information is used as the time interval to periodically obtain the location of the first terminal device.
  • the location request 3 is used to request the first terminal device.
  • the time is used as the starting time, and the position of the second terminal device is periodically acquired by using the cycle duration indicated by the cycle time information as the time interval.
  • the location request 2 and the location request 3 in FIG. 3d include both the first time information and the periodic time information are only used for example, in other embodiments, the first time information and the periodic time information may be sent to the measurement separately.
  • equipment measuring equipment corresponding to the first terminal equipment, measuring equipment corresponding to the second terminal equipment.
  • the location request 2 includes the first time information, and the periodic time information is included in the periodic call request 1 and is sent by the LMF to the measurement device corresponding to the first terminal device.
  • the location request 2 is used to request to obtain the location of the first terminal device at the first moment
  • the periodic call request 1 is used to request that the first moment is used as the starting moment
  • the cycle duration is used as the time interval to periodically obtain the first terminal
  • the location of the device may include the first time information, or may not include the first time information.
  • the measurement device corresponding to the first terminal device may store the first time information after receiving the location request 2 .
  • the periodic invocation request 1 it is implicitly determined that the location of the first terminal device is periodically reported based on the first moment indicated by the first time information.
  • the measurement equipment corresponding to the first terminal equipment may feed back the period call result 1 .
  • the periodic invocation result 1 may be used to indicate whether the measuring device supports periodic reporting of the location of the first terminal device based on the first moment.
  • the LMF may feed back the information indicated by the periodic invocation result 1 to the management device (not shown in FIG. 3d). If the measurement device corresponding to the first terminal device supports periodic reporting of the position of the first terminal device based on the first moment, the measurement device may measure the position of the first terminal device every previous period and feed back the measured position. It should be noted that the position of the first terminal device obtained by periodic measurement may be carried in the event notification and fed back to the management device.
  • the cycle time information may be included in the cycle call request 2 and sent by the LMF to the measurement device corresponding to the second terminal device.
  • the location request 3 in FIG. 3d does not include cycle time information.
  • the location request 3 is used to request to obtain the location of the second terminal device at the first moment
  • the periodic call request 2 is used to request that the first moment is used as the starting moment
  • the cycle duration is used as the time interval to periodically obtain the second terminal device s position.
  • the measurement equipment corresponding to the second terminal equipment may feed back the period call result 2 .
  • the periodic invocation result 2 may be used to indicate whether the measuring device supports periodic reporting of the location of the second terminal device based on the first moment.
  • the measurement device corresponding to the second terminal device periodically measures the position of the second terminal device, which is similar to the measurement device corresponding to the first terminal device periodically measuring the position of the first terminal device.
  • the process of feeding back the position of the second terminal device obtained by periodic measurement is similar to the process of feeding back the position of the second terminal device obtained by periodic measurement, and will not be repeated here.
  • the measurement device corresponding to the first terminal device may feed back multiple positions obtained by periodic measurement to the position requester together, or may feed back to the position requester every time a position is measured.
  • the embodiment of the present application does not limit the feedback manner of the position information obtained by periodic measurement.
  • the privacy settings of the first terminal device and the second terminal device may be queried before sending the first location request to the first network device. At least one of them is not allowed to be located, and subsequent steps are not performed.
  • the embodiments of the present application are described on the premise that both the first terminal device and the second terminal device are allowed to be located.
  • the execution subject for querying the privacy settings of the first terminal device and the second terminal device may be a GMLC or other devices, which is not limited in this embodiment of the present application.
  • Step S302 Receive first location information from the first network device, where the first location information includes the locations of the first terminal device and the second terminal device at a first moment.
  • the first location information may only include the locations of the first terminal device and the second terminal device at the first moment.
  • the first location information may further include a time precision result, and the time precision result may be used to indicate whether the locations of the first terminal device and the second terminal device are Meet the time precision requirements. That is, it is used to indicate whether the time for locating the position of the first terminal device and the time for locating the position of the second terminal device satisfy the time precision.
  • the time precision result can be fed back together with the position of the terminal device. If the terminal device includes the first terminal device, the time precision result may be used to indicate whether the location of the first terminal device meets the time precision requirement.
  • this embodiment of the present application does not limit the names of the information or messages involved in the location request process and the location feedback process.
  • the time accuracy result may also be referred to as an accuracy satisfaction indication.
  • the first location information may include the locations of the first terminal device and the second terminal device that are periodically acquired with the first time as the starting time.
  • the first location information may also include a time precision result for each cycle. The time precision result for a certain period can be used to indicate whether the time for locating the position of the first terminal device and the time for locating the position of the second terminal device in the period satisfy the time precision.
  • the first location information may further include locating the first terminal device.
  • the device receiving the first location information can determine whether the actual time for locating the first terminal device satisfies the time accuracy according to the aforementioned time accuracy requirement and the actual time for locating the location of the first terminal device. And according to the aforementioned time precision requirement and the actual time for locating the position of the second terminal device, it is judged whether the actual time for locating the position of the second terminal device satisfies the time precision.
  • the above-mentioned first location information includes the actual time of locating the location of the first terminal device and the actual time of locating the location of the second terminal device are only used for example, the actual time of locating the location of the first terminal device and the location of the first terminal device.
  • the actual time of the location of the two terminal devices may be included in other location information. Specifically, the actual time of locating the position of the first terminal device may be fed back together with the position of the first terminal device, and similarly, the actual time of locating the position of the second terminal device may be fed back together with the position of the second terminal device.
  • FIG. 4a is a schematic flowchart of another location acquisition method provided by an embodiment of the present application.
  • the method describes in detail how to acquire the first terminal device and the second terminal when the first location request includes the first indication information.
  • the execution subject of steps S401 to S402 is a management device, GMLC, NEF, AMF, LMF or other devices that can be used to obtain the positions of the first terminal device and the second terminal device at the same time.
  • the execution body may also be a chip in the management device, GMLC, NEF, AMF, or LMF.
  • the method may include but is not limited to the following steps:
  • Step S401 Send a first location request to the first network device, where the first location request includes first indication information, where the first indication information is used to instruct to obtain the locations of the first terminal device and the second terminal device at the same time.
  • the first location request may not indicate the moment when the location is acquired.
  • the first network device may determine a time (eg, the first time), and then acquire the locations of the first terminal device and the second terminal device according to the first time. It should be noted that, after the first network device determines the first time, the process of acquiring the locations of the first terminal device and the second terminal device according to the first time can be referred to when the first location request includes the first time information in FIG. 3a. , the process of obtaining the positions of the first terminal device and the second terminal device according to the first moment, which is not repeated here.
  • the first location request may not include the first indication information, and the first location request may implicitly indicate that it is desired to obtain the locations of the first terminal device and the second terminal device at the same time. In this case, after receiving the first location request, the first network device also needs to determine the first moment.
  • the first A moment is determined by the first network device for example only.
  • the first network device is a network device serving the first terminal device and the second terminal device. In an implementation manner, if the first device after the first network device serves both the first terminal device and the second terminal device during the location request process, the first moment may be determined by the first device.
  • the second device or the second device at the first moment can be used by the second device or the second device.
  • a device is ok.
  • the first moment may be determined by the last device that can serve both the first terminal device and the second terminal device during the location request process, or determined by the device before the last device.
  • LMF is the first device after AMF
  • the measurement device is the second device after AMF. If the LMF corresponding to the first terminal device is the same as the LMF corresponding to the second terminal device, and the measurement device corresponding to the first terminal device is different from the measurement device corresponding to the second terminal device, that is, the LMF can simultaneously serve the first terminal device during the location request process.
  • the last device of a terminal device and a second terminal device. At this time, the first moment may be determined by the LMF or the AMF.
  • Figure 4b A schematic diagram of the scene determined by the AMF at the first moment can be shown in Figure 4b. In Fig.
  • the AMF after the AMF determines the first time, it can send a location request 8 to the AMFs corresponding to the first terminal device and the second terminal device, where the location request 8 is used to request to obtain the location of the first terminal device and the second terminal device at the first position at the moment.
  • the LMF can send a location request 9 to the measurement device corresponding to the first terminal device, so as to request to obtain the location of the second terminal device at the first moment, and to the measurement device corresponding to the second terminal device.
  • the device sends a location request 10 to request to obtain the location of the second terminal device at the first moment.
  • location request 8, location request 9 and location request 10 may include the first moment.
  • the first network device may determine third time information, and the third time information may be used with to indicate a moment (eg, the first moment).
  • the third time information may include the first moment or a duration, and the duration is used to indicate the first moment.
  • the location request 8 the location request 9 and the location request 10 may include the third time information or the first time instant.
  • the first location request may further include at least one of the following: time precision requirement, second time information, and periodic time information.
  • time precision requirement the second time information and the periodic time information.
  • Step S402 Receive first location information from the first network device, where the first location information includes the locations of the first terminal device and the second terminal device at a first moment.
  • step S402 for the execution process of step S402, reference may be made to the specific description of step S302 in Fig. 3a, which will not be repeated here.
  • FIG. 5a is a schematic flowchart of another location acquisition method provided by an embodiment of the present application.
  • the method describes in detail how to acquire the first terminal device when the first location request includes the offset time information of the first terminal device. and the location of the second terminal device at the same time.
  • the execution subject of steps S501 to S503 is a management device, GMLC, NEF, AMF, LMF or other devices that can be used to obtain the positions of the first terminal device and the second terminal device at the same time.
  • the execution body may also be a chip in the management device, GMLC, NEF, AMF, or LMF.
  • the method may include but is not limited to the following steps:
  • Step S501 Determine the deviation time information of the first terminal device, the deviation time information is determined according to the time of locating the historical position of the first terminal device and the time of locating the historical position of the second terminal device; the deviation time information is used for Adjusting the time for locating the position of the first terminal device enables acquisition of the positions of the first terminal device and the second terminal device at the same time.
  • the deviation time information of the first terminal device or the second terminal device can be determined, and the deviation time can be determined by using the deviation time.
  • the information adjusts the time for locating the position of the first terminal device or the second terminal device, enabling acquisition of the positions of the first terminal device and the second terminal device at the same time.
  • the offset time information of the second terminal device is used to adjust the time for locating the position of the second terminal device.
  • the determination of the offset time information of the first terminal device is taken as an example for introduction.
  • the purpose of obtaining the positions of the first terminal device and the second terminal device at the same time can be achieved without adjusting the time for locating the two positions. , which helps to reduce overhead.
  • the offset time information may be determined by a certain device before the first network device during the location request process.
  • the first network device serves the first terminal device and the second terminal device.
  • the offset time information may be determined by the GMLC or the management device.
  • the device may determine the offset time information by: determining the offset time information according to the time of locating the historical position of the first terminal device and the time of locating the historical position of the second terminal device.
  • the difference between the time of locating the historical position of the second terminal device and the time of locating the historical position of the first terminal device may be determined as the deviation time information of the first terminal device. For example, when the time to locate the historical location of the first terminal device is 12:00:00 and the time to locate the historical location of the second terminal device is 12:02:00, the offset time information of the first terminal device may be 2 minute.
  • the first terminal device (or the second terminal device) may be located at different times, that is, there may be multiple times for locating the historical position of the first terminal device (or the second terminal device).
  • the aforementioned time for locating the historical position of the first terminal device may refer to the time when the position of the first terminal device (or the second terminal device) was last positioned.
  • the offset time information is used to adjust the time for locating the position of the first terminal device, and the adjusted time for locating the position of the first terminal device is the same as the (unadjusted) time for locating the second terminal device location at the same time. That is, by adjusting the time for locating the position of the first terminal device, the positions of the first terminal device and the second terminal device at the same time can be acquired.
  • the measuring device may determine the time to locate the position of the first terminal device this time according to the offset time information and the last time the position of the first terminal device was located.
  • the time for locating the position of the first terminal device this time may be 12:02:00. If the time for locating the position of the second terminal device this time is the same as the time for locating the position of the second terminal device last time, the time for locating the positions of the first terminal device and the second terminal device this time can be the same, that is, Obtain the positions of the first terminal device and the second terminal device at the same time.
  • Step S502 Send a first location request to the first network device, where the first location request includes the offset time information; the first location request is used to request to obtain the locations of the first terminal device and the second terminal device at the same time.
  • a first location request carrying the offset time information may be sent to the first network device.
  • the first location request includes the offset time information of the first terminal device, it may indicate that the time for locating the position of the first terminal device needs to be adjusted according to the offset time information, but the location of the second terminal device needs to be adjusted.
  • the time of the location of the terminal device does not change. In this way, the positions of the first terminal device and the second terminal device at the same time can be acquired.
  • the offset time information is determined according to the time when the position of the first terminal device was last positioned and the time when the position of the second terminal device was last positioned, then the position of the second terminal device is kept positioned. It means that the time for locating the position of the second terminal device is kept the same as the time for locating the position of the second terminal device last time.
  • the first location request may also include periodic time information (refer to the specific description in the embodiment of FIG. 3a ).
  • the first location request is used to request periodicity Obtain the positions of the first terminal device and the second terminal device at the same time.
  • the offset time information can be used to adjust the cycle start time for locating the position of the first terminal device. Keeping the time for locating the position of the second terminal device unchanged means: keeping the start time of the cycle for locating the position of the second terminal device unchanged.
  • the period for locating the first terminal device is the same as the period for locating the second terminal device, that is, the first terminal device and the second terminal device perform positioning at the same time interval.
  • Step S503 Receive first location information from the first network device, where the first location information includes the locations of the first terminal device and the second terminal device at the same time.
  • the first network device may request the measurement device corresponding to the first terminal device to request to adjust the time for locating the location of the first terminal device according to the offset time information, and feed back the first terminal device.
  • the location of an end device It should be noted that the position of the first terminal device fed back by the measurement device corresponding to the first terminal device and the position of the second terminal device fed back by the measurement device corresponding to the second terminal device are at the same time (the next The time is measured by taking the first moment as an example).
  • the first network device may request the measurement device corresponding to the second terminal device to locate the location of the second terminal device at the first moment.
  • the process of requesting to acquire the location of the first terminal device at the first moment may be independent of the process of requesting to acquire the location of the second terminal device at the first moment.
  • the first network device requests the measurement device corresponding to the second terminal device to periodically feed back the location of the second terminal device using the first time as the starting time.
  • the process of requesting to acquire the location of the second terminal device at the first moment reference may be made to the specific descriptions in the embodiments of FIG. 2 to FIG. 4a.
  • the location request sent may not carry the aforementioned first time information or the first moment.
  • the location request may implicitly instruct the measuring device corresponding to the second terminal device to acquire the location of the second terminal device according to the time when the location of the second terminal device was last located (ie, the first moment). In this way, the position of the second terminal device at the first moment can be acquired.
  • the first network device may directly initiate the above request to the measurement device (the measurement device corresponding to the first terminal device and the measurement device corresponding to the second terminal device), or may initiate the above request to the measurement device through other intermediate devices. ask.
  • the schematic flowchart of requesting to obtain the location of the first terminal device at the first moment may be as shown in Figure 5b: the first network device receives the first After a location request, a location request 11 may be sent to the LMF, where the location request 11 is used to request to obtain the location of the first terminal device at the first moment.
  • the LMF may send a location request 12 to the measurement device corresponding to the first terminal device.
  • the location request 11 and the location request 12 carry the offset time information.
  • the location request 12 is used for requesting to adjust the time for positioning the location of the first terminal device according to the offset time information, and to obtain the location of the first terminal device according to the adjusted time.
  • the adjusted time is the first moment. It can be understood that, after each device (measurement device, LMF, AMF) obtains the required position, it can feed back the obtained position to the previous device. For the specific process, reference may be made to FIG. 3b, which will not be repeated here.
  • the location request 12 in FIG. 5b carries the offset time information only for an example.
  • the LMF knows the time when the location of the first terminal device was last located, the LMF can adjust the location of the first terminal according to the time when the location of the first terminal device was last located and the offset time information The time of the location of the device. The adjusted time is the first moment. At this time, the location request 12 may carry the first moment.
  • step S503 reference may be made to the specific description of step S202 in FIG. 2, which will not be repeated here.
  • the time for locating the location of the first terminal device can be adjusted, enabling acquisition of the first terminal device and the second terminal device position at the same time, thereby helping to improve the accuracy of distance calculation between the first terminal device and the second terminal device.
  • FIG. 6 is a schematic flowchart of another method for obtaining a location provided by an embodiment of the present application.
  • the method describes in detail how to send requests to the network devices corresponding to the first terminal device and the second terminal device, respectively, to request Obtain the positions of the first terminal device and the second terminal device at the same time.
  • the execution subject of steps S601 to S602 is a management device, GMLC, NEF, AMF, LMF or other devices that can be used to obtain the positions of the first terminal device and the second terminal device at the same time.
  • the execution body may also be a chip in the management device, GMLC, NEF, AMF, or LMF.
  • the method may include but is not limited to the following steps:
  • Step S601 Send a second location request to the second network device, and send a third location request to the third network device; the second location request is used to request to obtain the location of the first terminal device at the first moment, the third location request The request is used to request to obtain the location of the second terminal device at the first moment.
  • the network corresponding to the first terminal device may request to obtain the location of the first terminal device at the first moment, and request the network corresponding to the second terminal device to obtain the location of the first terminal device at the first moment.
  • the device requests to obtain the location of the second terminal device at the first moment.
  • the requesting to the network device corresponding to the first terminal device to obtain the location of the first terminal device at the first moment may specifically refer to: requesting the second network device corresponding to the first terminal device to obtain the location of the first terminal device at the first moment .
  • the second network device may be used to obtain the location of the first terminal device at a specified moment (eg, the first moment).
  • the second network device may be a network device serving the first terminal device; or, the second network device may be a first measurement device that locates the first terminal device; or, the first terminal device
  • the second network device may be the first terminal device; or, the second network device may be an access network device serving the first terminal device.
  • the third network device may be a network device serving the second terminal device; or, the third network device may be a second measurement device that locates the second terminal device; or, the third network device may is the second terminal device; or, the third network device may be an access network device serving the second terminal device.
  • the access network device may be an evolved base station (evolved NodeB, eNB), a next generation NodeB (gNB) in an NR system, or a base station in other future mobile communication systems, and the like.
  • eNB evolved NodeB
  • gNB next generation NodeB
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the access network device.
  • a second network device that supports obtaining the location of the first terminal device at the first moment may also be determined from multiple network devices, and determined from multiple network devices A third network device that supports acquiring the location of the second terminal device at the first moment. For example, taking the execution subject that sends the second location request as an AMF and the second network device as an LMF, there may be multiple LMFs in the network corresponding to the first terminal device. The location at the time (eg, the first moment), the LMF of another department does not support obtaining the location of the first terminal device at the specified moment (eg, the first moment). At this time, the AMF may determine, from the plurality of LMFs, an LMF that supports obtaining the location of the first terminal device at the first moment, and sends a second location request to the LMF.
  • the first measurement device receives the The time required for locating the first terminal device determined after the second position request is the same as the time required for locating the second terminal device determined by the second measuring device after receiving the third position request.
  • the first measurement device and the second measurement device can determine the same time (eg, the first time) through the second position request and the third position request.
  • the first measurement device and the second measurement device can determine the first moment in a manner including but not limited to the following two:
  • both the second location request and the third location request include first time information, where the first time information is used to indicate the first moment.
  • the first time information may include the first moment or a first duration, where the first duration is used to indicate the first moment.
  • the second type includes the offset time information of the first terminal device, and the offset time information enables adjustment of the time for positioning the position of the first terminal device to the first moment; the offset time information is based on the positioning of the first terminal device.
  • the time of the historical position of the second terminal device and the time of locating the historical position of the second terminal device are determined.
  • the third location request is used to request to obtain the location of the second terminal device at the first moment.
  • the third location request may implicitly indicate a request to obtain the location of the second terminal device at the first moment.
  • the third location request may specifically be used to indicate that the second terminal is acquired according to the time (ie, the first moment) when the historical location of the second terminal device is located. The location of the device.
  • the above-mentioned second location request includes the offset time information of the first terminal device only for example, and in other embodiments, the third location request may also include the offset time information of the second terminal device. It should also be noted that, for the relevant content of the device for determining the offset time information of the first terminal device, reference may be made to the specific description in the embodiment of FIG. 5a, and details are not repeated here.
  • the second location request and the third location request may include at least one of the following: time precision requirement, second time information, and cycle time information. It should be noted that, if the second location request includes the time accuracy requirement, the third location request also includes the accuracy requirement. If the second location request includes the second time information, the third location request also includes the second time information. If the second location request includes cycle time information, then the third location request also includes cycle time information. For the specific description of the time precision requirement, the second time information and the periodic time information, reference may be made to the embodiment shown in FIG. 3a, and details are not repeated here.
  • Step S602 Receive second location information from a second network device, and receive third location information from a third network device; the second location information includes the location of the first terminal device at the first moment, and the third location information Including the position of the second terminal device at the first moment.
  • the second network device may request the first measurement device to obtain the location of the first terminal device at the first moment.
  • the third network device may request the second measurement device to obtain the location of the second terminal device at the first moment.
  • the second network device may feed back the second location information to the sender of the second location request.
  • the third network device may feed back third location information to the sender of the third location request.
  • the second location information when the second location request includes a time precision requirement, the second location information may also include a time precision result for each cycle.
  • the third location information when the third location request includes the time precision requirement, the third location information may also include the time precision result for each cycle.
  • execution process for the second network device to obtain the position of the first terminal device at the first moment is the same as the execution process for the first network device to obtain the position of the first terminal device at the first moment in the embodiments of FIGS. 3a and 5a. basically the same.
  • the management device may receive second indication information from the network, and the second indication information may be used with In order to indicate that the location of the first terminal device at the first moment cannot be obtained.
  • the second indication information is used to indicate that when the location of the first terminal device at the first moment cannot be obtained, it can also be used to indicate the reason why the location of the first terminal device at the first moment cannot be obtained. This can be indicated by a reason value.
  • the reason why the location of the first terminal device at the first moment cannot be acquired may be that the first terminal device is unreachable at the first moment.
  • the second indication information may be used to indicate that the location of the first terminal device at the first moment cannot be acquired, and the location of the first terminal device at the third moment may be acquired.
  • the third time is later than the first time. If the management device (or GMLC, NEF) can accept the position of the first terminal device at the third moment, the management device can wait for the network to feed back the position of the first terminal device at the third moment. At this time, the third time is earlier than the aforementioned second time.
  • the third moment may be the moment of adding N time intervals to the first moment, where the time interval is: in the case of periodically acquiring the location of the first terminal device, acquiring the first terminal twice adjacently The length of time between the times of the device's location.
  • N can be an integer greater than or equal to 1.
  • the second indication information may be used to indicate that the location of the first terminal device cannot be acquired before the second moment. That is, the location of the first terminal device cannot be acquired within the acceptable time.
  • the above-mentioned second indication information is used to indicate whether the location of the first terminal device at a certain time (eg, the first time, the second time, and the third time) can be obtained, and is only used for example.
  • the second indication information may also be used to indicate whether the position of the second terminal device at a certain moment (eg, the first moment, the second moment, and the third moment) can be obtained.
  • the methods provided in the embodiments of the present application are introduced from the perspective of different devices.
  • the communication device in the embodiments of the present application may include a hardware structure and a software module, and implement the above-mentioned various functions in the form of a hardware structure, a software module, or a hardware structure plus a software module.
  • Function A certain function among the above functions may be implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module.
  • FIG. 7 is a schematic structural diagram of a communication apparatus 70 according to an embodiment of the present application.
  • the communication device 70 shown in FIG. 7 may include a processing unit 701 and a communication unit 702.
  • the communication unit 702 may include a sending unit and a receiving unit, the sending unit is used to implement the sending function, the receiving unit is used to implement the receiving function, and the communication unit 702 may implement the sending function and the receiving function.
  • the communication unit may also be described as a transceiving unit.
  • the communication device 70 may be a device for performing the above steps S201 to S202, steps S301 to S302, steps S401 to S402, steps S501 to S503, or steps S601 to S602, or a device in the device, It can also be a device that can be matched with the device.
  • the communication apparatus 70 may be a first network device, a device in the first network device, or a device that can be matched and used with the first network device.
  • the communication apparatus 70 may be a second network device, a device in the second network device, or a device that can be matched and used with the second network device.
  • the communication apparatus 70 may be a third network device, may also be a device in the third network device, or may be a device that can be matched and used with the third network device.
  • the communication device 70 is a device for performing the above steps S201 to S202, steps S301 to S302, steps S401 to S402, steps S501 to S503, or steps S601 to S602: a processing unit 701 for calling the communication unit 702 Requesting the network to obtain the location of the first terminal device and the second terminal device at the same time; and calling the communication unit 702 to receive the location of the first terminal device and the second terminal device from the network at the same time.
  • the processing unit 701 may also be configured to call the communication unit 702 to send a first location request to a first network device, where the first network device serves the first terminal device and the second terminal device, the first location request A location request is used to request to obtain the location of the first terminal device and the second terminal device at the same time; the processing unit 701 can also be used to call the communication unit 702 to receive the first location information from the first network device, the first location The information includes the location of the first terminal device and the second terminal device at the same time.
  • the first location request includes first time information, where the first time information is used to indicate a first moment; the first location request is used to request to obtain the location of the first terminal device and the second terminal device in the The location of the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first location request includes first indication information, where the first indication information is used to instruct to acquire the locations of the first terminal device and the second terminal device at the same time.
  • the processing unit 701 may also be configured to determine offset time information of the first terminal device, where the offset time information is based on the time of locating the historical position of the first terminal device and the historical position of the second terminal device.
  • the first position request may include the offset time information, and the offset time information is used to adjust the time for locating the position of the first terminal device, enabling the acquisition of the first terminal device and the second terminal device at the same time time position.
  • the first location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time required for locating the location of the first terminal device and the time requirement for locating the location of the second terminal device Satisfactory time precision; second time information, where the second time information is used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the locations of the first terminal device and the second terminal device meet the aforementioned time precision requirements.
  • the processing unit 701 may also be configured to call the communication unit 702 to send the second location request to the second network device, and to send the third location request to the third network device; wherein the second location request is used for Request to obtain the position of the first terminal device at the first moment, and the third position request is used to request to obtain the position of the second terminal device at the first moment; the processing unit 701 can also be used to call the communication unit 702 to receive data from the second second location information of the network device, and receive third location information from the third network device; wherein the second location information includes the location of the first terminal device at the first moment, and the third location information includes the The position of the second terminal device at the first moment.
  • both the second location request and the third location request include first time information, where the first time information is used to indicate the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the processing unit 701 may also be configured to determine offset time information of the first terminal device, where the offset time information is based on the time of locating the historical position of the first terminal device and the historical position of the second terminal device
  • the second location request may include the offset time information, and the offset time information enables adjustment of the time for positioning the location of the first terminal device to the first moment.
  • the second location request and the third location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time for locating the location of the first terminal device and the time for locating the second terminal device.
  • the time of the location needs to meet the time precision;
  • the second time information the second time information is used to indicate the time to locate the location of the first terminal device and the time to locate the location of the second terminal device need to be earlier than the second moment.
  • the second location information may further include a time precision result, where the time precision result is used to indicate whether the location of the first terminal device satisfies the time precision requirement.
  • the aforementioned second network device may be: a network device serving the first terminal device; or, a first measurement device that locates the first terminal device; or, the first terminal device; or, a serving to the access network device of the first terminal device.
  • the communication device 70 is a first network device: the processing unit 701 is used to call the communication unit 702 to receive a first location request; the first location request is used to request to obtain the location of the first terminal device and the second terminal device at the same time; communication The apparatus 70 serves the first terminal device and the second terminal device; the processing unit 701 is further configured to call the communication unit 702 to send first location information, where the first location information includes location information at the same time.
  • the first location request includes first time information, where the first time information is used to indicate a first moment; the first location request is used to request to obtain the location of the first terminal device and the second terminal device in the The location of the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first location request includes first indication information, where the first indication information is used to instruct to obtain the locations of the first terminal device and the second terminal device at the same time; the processing unit 701 may also be used to determine the first moment, and acquire the positions of the first terminal device and the second terminal device at the first moment.
  • the first location request may include offset time information of the first terminal device, where the offset time information is based on the time when the historical location of the first terminal device is located and the historical location of the second terminal device is located. The time is determined; the offset time information is used to adjust the time for locating the position of the first terminal device, enabling acquisition of the positions of the first terminal device and the second terminal device at the same time.
  • the first location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time required for locating the location of the first terminal device and the time requirement for locating the location of the second terminal device Satisfactory time precision; second time information, where the second time information is used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the locations of the first terminal device and the second terminal device meet the aforementioned time precision requirements.
  • the communication device 70 is a second network device: the processing unit 701 is used to call the communication unit 702 to receive a second location request; the second location request is used to request to obtain the location of the first terminal device at the first moment; the processing unit 701 also uses Invoking the communication unit 702 to send second location information, where the second location information includes the location of the first terminal device at the first moment.
  • the second location request includes first time information, where the first time information is used to indicate the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the second location request may include offset time information of the first terminal device, where the offset time information is based on the time when the historical location of the first terminal device is located and the historical location of the second terminal device is located. The time is determined; the offset time information enables adjustment of the time for locating the position of the first terminal device to the first moment.
  • the second location request may include at least one of the following: a time precision requirement, where the time precision requirement is used to indicate a time precision that needs to be satisfied when locating the location of the first terminal device; the second time information, The second time information is used to indicate that the time for locating the position of the first terminal device needs to be earlier than the second time.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the location of the first terminal device satisfies the aforementioned time precision requirement.
  • FIG. 8 is a schematic structural diagram of another communication apparatus 80 provided by an embodiment of the present application.
  • the communication device 80 may be a device for performing the above steps S201 to S202, steps S301 to S302, steps S401 to S402, steps S501 to S503, or steps S601 to S602, or it may be a device that supports the device to implement the above methods chip, system-on-chip, or processor. It may also be the first network device, or may be a chip, a chip system, or a processor that supports the first network device to implement the above method. It may also be a second network device, or may be a chip, a chip system, or a processor that supports the second network device to implement the above method.
  • the apparatus can be used to implement the methods described in the foregoing method embodiments, and for details, reference may be made to the descriptions in the foregoing method embodiments.
  • the Communication device 80 may include one or more processors 801 .
  • the processor 801 may be a general-purpose processor or a special-purpose processor, or the like.
  • it may be a baseband processor or a central processing unit.
  • the baseband processor can be used to process communication protocols and communication data
  • the central processing unit can be used to control communication devices (such as base stations, baseband chips, terminals, terminal chips, DU or CU, etc.), execute computer programs, process computer program data.
  • the communication device 80 may further include a transceiver 802 and an antenna 803 .
  • the transceiver 802 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., and is used to implement a transceiver function.
  • the transceiver 803 may include a receiver and a transmitter, the receiver may be called a receiver or a receiving circuit, etc., for implementing a receiving function; the transmitter may be called a transmitter or a transmitting circuit, etc., for implementing a transmitting function.
  • the communication device 80 may include one or more memories 804, and a computer program 805 may be stored thereon, and the computer program may be executed on the communication device 80, so that the communication device 80 executes the methods described in the above method embodiments. method.
  • the memory 804 may also store data.
  • the communication device 80 and the memory 804 may be provided separately or integrated together.
  • the processor 801 in the communication device 80 is configured to execute the above steps S201-S202, S301-S302, S401-S402, S501-S503 or S601-S602. or,
  • the communication apparatus 80 is a first network device: in the embodiments shown in FIG. 2 to FIG. 5 a , the processor 801 is configured to call the transceiver 802 to receive the first location request and send the first location information.
  • the processor 801 may also be configured to determine the first moment, and obtain the positions of the first terminal device and the second terminal device at the first moment. or,
  • the communication apparatus 80 is a second network device: in the embodiment shown in FIG. 6 , the processor 801 is configured to invoke the transceiver 802 to receive the second location request and send the second location information. or,
  • the communication device 80 is a third network device: in the embodiment shown in FIG. 6 , the processor 801 is configured to call the transceiver 802 to receive a third location request and send third location information.
  • the processor 801 may include a transceiver for implementing receiving and transmitting functions.
  • the transceiver may be a transceiver circuit, or an interface, or an interface circuit.
  • Transceiver circuits, interfaces or interface circuits used to implement receiving and transmitting functions may be separate or integrated.
  • the above-mentioned transceiver circuit, interface or interface circuit can be used for reading and writing code/data, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transmission.
  • the processor 801 may store a computer program 806, and the computer program 806 runs on the processor 801 to enable the communication device 80 to execute the methods described in the above method embodiments.
  • the computer program 806 may be embodied in the processor 801, in which case the processor 801 may be implemented by hardware.
  • the communication apparatus 80 may include a circuit, and the circuit may implement the functions of sending or receiving or communicating in the foregoing method embodiments.
  • the processors and transceivers described in this application can be implemented in integrated circuits (ICs), analog ICs, radio frequency integrated circuits (RFICs), mixed-signal ICs, application specific integrated circuits (ASICs), printed circuit boards ( printed circuit board, PCB), electronic equipment, etc.
  • the processor and transceiver can also be fabricated using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS nMetal-oxide-semiconductor
  • PMOS P-type Metal oxide semiconductor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon germanium
  • GaAs gallium arsenide
  • the communication apparatus described in the above embodiments may be a device for performing the above steps S201 to S202, S301 to S302, S401 to S402, S501 to S503, or steps S601 to S602, and may also be the first A network device, a second network device or a third network device, but the scope of the communication device described in this application is not limited to this, and the structure of the communication device may not be limited by FIG. 8 .
  • the communication apparatus may be a stand-alone device or may be part of a larger device.
  • the communication means may be:
  • the IC set can also include a storage component for storing data and computer programs;
  • ASIC such as modem (Modem);
  • the communication device may be a chip or a chip system
  • the chip shown in FIG. 9 includes a processor 901 and an interface 902 .
  • the number of processors 901 may be one or more, and the number of interfaces 902 may be multiple.
  • steps S201 to S202 For the case where the chip is used to implement the functions of steps S201 to S202, steps S301 to S302, steps S401 to S402, steps S501 to S503, or steps S601 to S602 in the embodiments of the present application:
  • the processor 901 is used to call the interface 902 to request the network to obtain the location of the first terminal device and the second terminal device at the same time; also used to call the interface 902 to receive the first terminal device and the second terminal device from the network location at the same time.
  • the processor 901 may also be configured to call the interface 902 to send a first location request to a first network device, where the first network device serves the first terminal device and the second terminal device, the first The location request is used to request to obtain the location of the first terminal device and the second terminal device at the same time; the processor 901 can also be used to call the interface 902 to receive the first location information from the first network device, where the first location information includes The location of the first terminal device and the second terminal device at the same time.
  • the first location request includes first time information, where the first time information is used to indicate a first moment; the first location request is used to request to obtain the location of the first terminal device and the second terminal device in the The location of the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first location request includes first indication information, where the first indication information is used to instruct to acquire the locations of the first terminal device and the second terminal device at the same time.
  • the processor 901 may also be configured to determine offset time information of the first terminal device, where the offset time information is based on the time of locating the historical location of the first terminal device and the historical location of the second terminal device
  • the first position request may include the offset time information, and the offset time information is used to adjust the time for locating the position of the first terminal device, enabling the acquisition of the first terminal device and the second terminal device at the same time time position.
  • the first location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time required for locating the location of the first terminal device and the time requirement for locating the location of the second terminal device Satisfactory time precision; second time information, where the second time information is used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the locations of the first terminal device and the second terminal device meet the aforementioned time precision requirements.
  • the processor 901 may also be configured to call the interface 902 to send the second location request to the second network device, and to send the third location request to the third network device; wherein the second location request is used to request Obtain the position of the first terminal device at the first moment, and the third position request is used to request to obtain the position of the second terminal device at the first moment; the processor 901 can also be configured to call the interface 902 to receive data from the second network device the second location information of the device, and receive third location information from the third network device; wherein the second location information includes the location of the first terminal device at the first moment, and the third location information includes the second location information The position of the terminal device at the first moment.
  • both the second location request and the third location request include first time information, where the first time information is used to indicate the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the processor 901 may also be configured to determine offset time information of the first terminal device, where the offset time information is based on the time of locating the historical location of the first terminal device and the historical location of the second terminal device
  • the second location request may include the offset time information, and the offset time information enables adjustment of the time for locating the location of the first terminal device to the first moment.
  • the second location request and the third location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time for locating the location of the first terminal device and the time for locating the second terminal device.
  • the time of the location needs to meet the time precision;
  • the second time information the second time information is used to indicate the time to locate the location of the first terminal device and the time to locate the location of the second terminal device need to be earlier than the second moment.
  • the second location information may further include a time precision result, where the time precision result is used to indicate whether the location of the first terminal device satisfies the time precision requirement.
  • the aforementioned second network device may be: a network device serving the first terminal device; or, a first measurement device that locates the first terminal device; or, the first terminal device; or, a serving to the access network device of the first terminal device.
  • the processor 901 is used to call the interface 902 to receive a first location request; the first location request is used to request to obtain the location of the first terminal device and the second terminal device at the same time; the first network device serves the first terminal device and the second terminal device; the processor 901 is further configured to call the interface 902 to send first location information, where the first location information includes the location information of the first terminal device and the second terminal device at the same time.
  • the first location request includes first time information, where the first time information is used to indicate a first moment; the first location request is used to request to obtain the location of the first terminal device and the second terminal device in the The location of the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the first location request includes first indication information, where the first indication information is used to instruct to obtain the locations of the first terminal device and the second terminal device at the same time; the processor 901 may also be used to determine the first moment, and acquire the positions of the first terminal device and the second terminal device at the first moment.
  • the first location request may include offset time information of the first terminal device, where the offset time information is based on the time when the historical location of the first terminal device is located and the historical location of the second terminal device is located. The time is determined; the offset time information is used to adjust the time for locating the position of the first terminal device, enabling acquisition of the positions of the first terminal device and the second terminal device at the same time.
  • the first location request may include at least one of the following: a time accuracy requirement, where the time accuracy requirement is used to indicate the time required to locate the location of the first terminal device and the time required to locate the location of the second terminal device Satisfactory time precision; second time information, where the second time information is used to indicate that the time for locating the position of the first terminal device and the time for locating the position of the second terminal device need to be earlier than the second moment.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the locations of the first terminal device and the second terminal device meet the aforementioned time precision requirements.
  • the processor 901 is used to call the interface 902 to receive the second location request; the second location request is used to request to obtain the location of the first terminal device at the first moment; the processor 901 is also used to call the interface 902 to send the second location information, The second location information includes the location of the first terminal device at the first moment.
  • the second location request includes first time information, where the first time information is used to indicate the first moment.
  • the first time information includes the first moment or a first duration, and the first duration is used to indicate the first moment.
  • the second location request may include offset time information of the first terminal device, where the offset time information is based on the time when the historical location of the first terminal device is located and the historical location of the second terminal device is located. The time is determined; the offset time information enables adjustment of the time for locating the position of the first terminal device to the first moment.
  • the second location request may include at least one of the following: a time precision requirement, where the time precision requirement is used to indicate a time precision that needs to be satisfied when locating the location of the first terminal device; the second time information, The second time information is used to indicate that the time for locating the position of the first terminal device needs to be earlier than the second time.
  • the first location information further includes a time precision result, where the time precision result is used to indicate whether the location of the first terminal device satisfies the aforementioned time precision requirement.
  • the processor 901 is used to call the interface 902 to receive a third location request; the third location request is used to request to obtain the location of the second terminal device at the first moment; the processor 901 is also used to call the interface 902 to send the third location information,
  • the third location information includes the location of the first terminal device at the first moment.
  • the chip further includes a memory 903 for storing necessary computer programs and data.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by a computer, the functions of any of the foregoing method embodiments are implemented.
  • the above-mentioned computer-readable storage medium includes, but is not limited to, flash memory, hard disk, and solid-state disk.
  • the present application also provides a computer program product, which implements the functions of any of the above method embodiments when the computer program product is executed by a computer.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer program may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state disks, SSD)) etc.
  • At least one in this application may also be described as one or more, and the multiple may be two, three, four or more, which is not limited in this application.
  • the technical feature is distinguished by “first”, “second”, “third”, “A”, “B”, “C” and “D”, etc.
  • the technical features described in the “first”, “second”, “third”, “A”, “B”, “C” and “D” described technical features in no order or order of magnitude.
  • the corresponding relationships shown in each table in this application may be configured or predefined.
  • the values of the information in each table are only examples, and can be configured with other values, which are not limited in this application.
  • the corresponding relationships shown in some rows may not be configured.
  • appropriate deformation adjustments can be made based on the above table, for example, splitting, merging, and so on.
  • the names of the parameters shown in the headings in the above tables may also adopt other names that can be understood by the communication device, and the values or representations of the parameters may also be other values or representations that the communication device can understand.
  • other data structures can also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables, or hash tables. Wait.
  • Predefined in this application may be understood as defining, predefining, storing, pre-storing, pre-negotiating, pre-configuring, curing, or pre-firing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种位置获取方法及其装置,该方法包括:向网络请求获取第一终端设备和第二终端设备在同一时间的位置,并接收该网络反馈的第一终端设备和第二终端设备在同一时间的位置。在本申请实施例中,通过获取第一终端设备和第二终端设备在同一时间的位置,有利于提高第一终端设备与第二终端设备之间的距离计算的精度。

Description

一种位置获取方法及其装置
本申请要求于2020年8月12日提交中国专利局、申请号为202010817055.7、申请名称为“一种位置获取方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种位置获取方法及其装置。
背景技术
随着社会和科技的不断发展,人们对导航定位的需求已不仅局限于对一个终端设备进行定位。在很多场景下,需要对多个终端设备进行定位,以获取其中任意两设备之间的距离。例如,对无人机(unmanned aerial vehicle,UAV)和无人机控制器(unmanned aerial vehicle controller,UAVC)进行定位,以获取无人机与无人机控制器之间的距离,有利于更好地管理无人机。
但是,大部分终端设备均具有可移动性,在终端设备移动的过程中对其进行定位,会使得计算出的设备间的距离的精度较低。
发明内容
本申请实施例提供一种位置获取方法及其装置,通过获取第一终端设备和第二终端设备在同一时间的位置,有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
第一方面,本申请实施例提供一种位置获取方法,该方法包括:向网络请求获取第一终端设备和第二终端设备在同一时间的位置;并接收来自该网络的该第一终端设备和该第二终端设备在同一时间的位置。
在该技术方案中,通过获取第一终端设备和第二终端设备在同一时间的位置,进一步的,可以基于第一终端设备和第二终端设备在同一时间的位置,计算出该第一终端设备与该第二终端设备之间的距离。由于第一终端设备的位置和第二终端设备的位置是同一时间获取的,从而有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
在一种实现方式中,向网络请求获取第一终端设备和第二终端设备在同一时间的位置的具体实施方式可以为:发送第一位置请求至第一网络设备,该第一网络设备服务于该第一终端设备和该第二终端设备,该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置。接收来自该网络的第一终端设备和第二终端设备在同一时间的位置的具体实施方式可以为:接收来自该第一网络设备的第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置。
在该技术方案中,第一终端设备和第二终端设备对应的网络设备可以相同,也可以不同。在第一终端设备和第二终端设备对应的网络设备相同的情况下,通过向该网络设备发送一个位置请求(第一位置请求),可以获取第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第一位置请求包括第一指示信息,该第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该方法还可以包括:确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该第一位置请求可以包括该偏差时间信息,该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在该技术方案中,通过调整定位第一终端设备和第二终端设备中的一方(以第一终端设备为例)的时间,即可达到获取该第一终端设备和第二终端设备在同一时间的位置的目的,而无需调整定位两者的位置的时间,有利于减小开销。
在一种实现方式中,该第一位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备和该第二终端设备的位置是否满足前述时间精度要求。
在一种实现方式中,向网络请求获取第一终端设备和第二终端设备在同一时间的位置的具体实施方式可以为:发送第二位置请求至第二网络设备,并发送第三位置请求至第三网络设备;其中,该第二位置请求用于请求获取第一终端设备在第一时刻的位置,该第三位置请求用于请求获取第二终端设备在该第一时刻的位置。接收来自该网络的第一终端设备和第二终端设备在同一时间的位置的具体实施方式可以为:接收来自该第二网络设备的第二位置信息,并接收来自该第三网络设备的第三位置信息;其中,该第二位置信息包括该第一终端设备在该第一时刻的位置,该第三位置信息包括该第二终端设备在该第一时刻的位置。
在一种实现方式中,该第二位置请求和该第三位置请求均包括第一时间信息,该第一时间信息用于指示该第一时刻。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该方法还可以包括:确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该第二位置请求可以包括该偏差时间信息,该偏差时间信息使能调整定位该第一终端设备的位置的时间至该第一时刻。
在该技术方案中,通过调整定位第一终端设备和第二终端设备中的一方(以第一终端设备为例)的时间,即可达到获取该第一终端设备和第二终端设备在同一时间的位置的目的,而无需调整定位两者的位置的时间,有利于减小开销。
在一种实现方式中,第二位置请求和第三位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第二位置信息还可以包括时间精度结果,该时间精度结果用于指示该第一终端设备的位置是否满足该时间精度要求。
在一种实现方式中,前述第二网络设备可以为:服务于第一终端设备的网络设备;或者,定位该第一终端设备的第一测量设备;或者,该第一终端设备;或者,服务于该第一终端设备的接入网设备。
第二方面,本申请实施例提供另一种位置获取方法,可应用于第一网络设备,该第一网络设备服务于该第一终端设备和该第二终端设备。该方法包括:接收第一位置请求;该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;发送第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置信息。
在该技术方案中,第一终端设备和第二终端设备对应的网络设备可以相同,也可以不同。在第一终端设备和第二终端设备对应的网络设备(即第一网络设备)相同的情况下,第一网络设备接收到一个位置请求(第一位置请求),即可获取第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第一位置请求包括第一指示信息,该第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置;该方法还可以包括:确定第一时刻,并获取该第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一位置请求可以包括第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在该技术方案中,通过调整定位第一终端设备和第二终端设备中的一方(以第一终端设备为例)的时间,即可达到获取该第一终端设备和第二终端设备在同一时间的位置的目的,而无需调整定位两者的位置的时间,有利于减小开销。
在一种实现方式中,该第一位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备和该第二终端设备的位置是否满足前述时间精度要求。
第三方面,本申请实施例提供又一种位置获取方法,可应用于第二网络设备,该方法包括:接收第二位置请求;该第二位置请求用于请求获取第一终端设备在第一时刻的位置;发送第二位置信息,该第二位置信息包括该第一终端设备在该第一时刻的位置。
在一种实现方式中,该第二位置请求包括第一时间信息,该第一时间信息用于指示第一时刻。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第二位置请求可以包括第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息使能调整定位第一终端设备的位置的时间至该第一时刻。
在该技术方案中,通过调整定位第一终端设备和第二终端设备中的一方(以第一终端设备为例)的时间,即可达到获取该第一终端设备和第二终端设备在同一时间(第一时刻)的位置的目的,而无需调整定位两者的位置的时间,有利于减小开销。
在一种实现方式中,该第二位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备的位置是否满足前述时间精度要求。
第四方面,本申请实施例提供了一种通信装置,该通信装置具有实现上述第一方面所述的方法示例中执行主体的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。
在一种实现方式中,该通信装置的结构中可包括处理单元和通信单元。该处理单元被配置为支持通信装置执行上述方法中相应的功能。通信单元用于支持通信装置与其他设备之间的通信。该通信装置还可以包括存储单元,该存储单元用于与处理单元和通信单元耦合,其保存通信装置必要的计算机程序和数据。
在一种实现方式中,该通信装置包括:处理单元,用于调用通信单元向网络请求获取第一终端设备和第二终端设备在同一时间的位置;还用于调用该通信单元接收来自该网络的第一终端设备和第二终端设备在同一时间的位置。
作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。
在一种实现方式中,所述通信装置包括:处理器,用于调用收发器向网络请求获取第一终端设备和第二终端设备在同一时间的位置;还用于调用收发器接收来自该网络的第一终端设备和第二终端设备在同一时间的位置。
第五方面,本申请实施例提供了另一种通信装置,该通信装置具有实现上述第二方面所述的方法示例中第一网络设备的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。
在一种实现方式中,该通信装置的结构中可包括处理单元和通信单元。该处理单元被配置为支持通信装置执行上述方法中相应的功能。通信单元用于支持通信装置与其他设备之间的通信。该通信装置还可以包括存储单元,该存储单元用于与处理单元和通信单元耦合,其保存通信装置必要的计算机程序和数据。
在一种实现方式中,该通信装置包括:处理单元,用于调用通信单元接收第一位置请求;该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;该通信装置服务于该第一终端设备和该第二终端设备;还用于调用通信单元发送第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置信息。
作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。
在一种实现方式中,所述通信装置包括:处理器,用于调用收发器接收第一位置请求;该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;该通信装置服务于该第一终端设备和该第二终端设备;还用于调用收发器发送第一位置信息,该第一位 置信息包括该第一终端设备和该第二终端设备在同一时间的位置信息。
第六方面,本申请实施例提供了又一种通信装置,该通信装置具有实现上述第三方面所述的方法示例中第二网络设备的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。
在一种实现方式中,该通信装置的结构中可包括处理单元和通信单元。该处理单元被配置为支持通信装置执行上述方法中相应的功能。通信单元用于支持通信装置与其他设备之间的通信。该通信装置还可以包括存储单元,该存储单元用于与处理单元和通信单元耦合,其保存通信装置必要的计算机程序和数据。
在一种实现方式中,该通信装置包括:处理单元,用于调用通信单元接收第二位置请求;该第二位置请求用于请求获取第一终端设备在第一时刻的位置;还用于调用通信单元发送第二位置信息,该第二位置信息包括该第一终端设备在该第一时刻的位置。
作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。
在一种实现方式中,所述通信装置包括:处理器,用于调用收发器接收第二位置请求;该第二位置请求用于请求获取第一终端设备在第一时刻的位置;还用于调用收发器发送第二位置信息,该第二位置信息包括该第一终端设备在该第一时刻的位置。
第七方面,本申请实施例提供一种位置获取系统,该系统包括如第四方面至第六方面中的一个或多个通信装置。
第八方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被通信装置执行时使该通信装置执行上述第一方面的方法。
第九方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被通信装置执行时使该通信装置执行上述第二方面的方法。
第十方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被通信装置执行时使该通信装置执行上述第三方面的方法。
第十一方面,本申请还提供了一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。
第十二方面,本申请还提供了一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。
第十三方面,本申请还提供了一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第三方面所述的方法。
第十四方面,本申请提供了一种芯片系统,该芯片系统包括至少一个处理器和接口,用于实现第一方面所涉及的功能,例如,接收、发送或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。
第十五方面,本申请提供了一种芯片系统,该芯片系统包括至少一个处理器和接口,用于支持第一网络设备实现第二方面所涉及的功能,例如,接收、发送或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存 储器,用于保存第一网络设备必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。
第十六方面,本申请提供了一种芯片系统,该芯片系统包括至少一个处理器和接口,用于支持第二网络设备实现第二方面所涉及的功能,例如,接收、发送或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存第二网络设备必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。
附图说明
图1a是本申请实施例提供的一种通信系统的架构示意图;
图1b是本申请实施例提供的一种在请求获取终端设备在指定时刻的位置的过程中所涉及的设备的示意图;
图2是本申请实施例提供的一种位置获取方法的流程示意图;
图3a是本申请实施例提供的另一种位置获取方法的流程示意图;
图3b是本申请实施例提供的一种第一网络设备获取第一终端设备和第二终端设备在第一时刻的位置的场景示意图;
图3c是本申请实施例提供的另一种第一网络设备获取第一终端设备和第二终端设备在第一时刻的位置的场景示意图;
图3d是本申请实施例提供的一种周期位置请求流程的示意图;
图4a是本申请实施例提供的又一种位置获取方法的流程示意图;
图4b是本申请实施例提供的一种第一时刻由第一网络设备确定的场景示意图;
图5a是本申请实施例提供的又一种位置获取方法的流程示意图;
图5b是本申请实施例提供的一种请求获取第一终端设备在第一时刻的位置的流程示意图;
图6是本申请实施例提供的又一种位置获取方法的流程示意图;
图7是本申请实施例提供的一种通信装置的结构示意图;
图8是本申请实施例提供的另一种通信装置的结构示意图;
图9是本申请实施例提供的一种芯片的结构示意图。
具体实施方式
为了更好的理解本申请实施例公开的一种位置获取方法,下面首先对本申请实施例适用的通信系统进行描述。
请参见图1a,图1a为本申请实施例提供的一种通信系统的架构示意图。该通信系统可包括但不限于一个网络设备、一个第一终端设备和一个第二终端设备,图1a所示的设备数量和形态用于举例并不构成对本申请实施例的限定,实际应用中可以包括两个或两个以上的第一终端设备,两个或两个以上的第二终端设备。图1a所示的通信系统以包括一个网络设备101、一个第一终端设备102和一个第二终端设备103为例。
其中,网络设备101可以用于向网络请求获取第一终端设备102和第二终端设备103在同一时间的位置,并接收来自该网络的该第一终端设备102和第二终端设备103在同一时间的位置。在一种实现方式中,该网络中可以部署有可以用于获取终端设备(如第一终端设备 102和第二终端设备103)的位置的设备,且该设备可以按照指定时刻获取终端设备的位置。可以理解的是,网络设备101向网络请求获取第一终端设备102和第二终端设备103在同一时间的位置时,该网络可以通过前述部署的设备以获取第一终端设备102和第二终端设备103在同一时间的位置,并将所获取的位置反馈至前述网络设备101。需要说明的是,网络中可以部署有一个或多个设备。该网络可以通过其中部署的一个设备以获取第一终端设备102和第二终端设备103在同一时间的位置,或者,该网络可以通过其中部署的多个设备配合以获取第一终端设备102和第二终端设备103在同一时间的位置。本申请实施例对该网络中部署的用于获取第一终端设备102和第二终端设备103在同一时间的位置的网元的数量以及名称不做限定。在一种实现方式中,该网络中部署的设备可以包括测量设备,该测量设备可以用于测量第一终端设备102和/或第二终端设备103的位置。该测量设备可以为服务于第一终端设备102和/或第二终端设备103的接入网设备,或者该测量设备可以为第一终端设备102或第二终端设备103。
进一步的,网络设备101可以基于第一终端设备102和第二终端设备103在同一时间的位置,计算出该第一终端设备102与该第二终端设备103之间的距离。由于第一终端设备102的位置和第二终端设备103的位置是同一时间获取的,从而有利于提高第一终端设备102与第二终端设备103之间的距离计算的精度。
需要说明的是,本申请实施例除了可以应用于请求多个终端设备在同一时间的位置的场景,还可以应用于请求单个终端设备在特定时刻的位置的场景。还需要说明的是,本申请实施例的技术方案可以应用于各种通信系统。例如:长期演进(long term evolution,LTE)系统、第五代(5th generation,5G)移动通信系统、5G新空口(new radio,NR)系统。可选的,本申请实施例的方法还适用于未来的各种通信系统,例如6G系统或者其他通信网络等。
本申请实施例中的第一终端设备102和第二终端设备103是一种用于接收或发射信号的实体。第一终端设备102和第二终端设备103中的一方或者两方可发生移动,即第一终端设备102和第二终端设备103中的一方或者两方的位置可能发生变化。本申请实施例中的终端设备(即第一终端设备102或第二终端设备103)可以称为终端(terminal)、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等。终端设备可以是手机(mobile phone)、穿戴式设备、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self-driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本申请的实施例对终端设备所采用的具体技术和具体设备形态不做限定。
在一种实现方式中,第一终端设备102和第二终端设备103可以为不同类型的设备。例如,第一终端设备102和第二终端设备103中的一方可以为控制设备,另一方可以为被该控制设备所控制的设备。如图1a所示,第一终端设备102为无人机,第二终端设备103为无人机控制器。在另一种实现方式中,第一终端设备102和第二终端设备103可以为同类型的设备。例如,第一终端设备102和第二终端设备103均为被控制设备(如无人机、遥控车等)。
本申请实施例中的网络设备101可以是网络侧的一种用于发射或接收信号的实体。该网络设备101可以为管理设备、网关移动位置中心(gateway mobile location centre,GMLC)、网络开放功能网元(network exposure function,NEF)、接入和移动管理功能网元(access and  mobility management function,AMF)、位置管理功能网元(location management function,LMF)或者其他可以用于获取第一终端设备102和第二终端设备103在同一时间的位置的设备。
其中,管理设备可以用于管理第一终端设备102的位置和第二终端设备103的位置,还可以用于第一终端设备102和第二终端设备103的授权和认证工作。例如,该管理设备可以对第一终端设备102的位置和/或第二终端设备103的位置进行分析,以确定第一终端设备102的位置或第二终端设备103的位置是否异常。或者,可以确定两者之间的距离是否异常。在第一终端设备102为无人机,第二终端设备103为无人机控制器的情况下,该管理设备可以是与无人机和无人机控制器追踪相关的网元。此时,该管理设备可以为无人机系统流量管理(UAV system traffic management,UTM),UTM可以与无人机服务供应商(UAV system service provider,USS)部署在一起。需要说明的是,管理设备(如UTM)可以位于核心网内部,也可以位于核心网外部,本申请实施例对网元的名称以及所处的位置不做限定。
GMLC可以支持位置服务(location service,LCS)的功能。在一个公共陆地移动网络(public land mobile network,PLMN)中可以存在一个或多个GMLC。NEF可以用于提供从外部应用流程(如无人机系统)到3GPP网络的安全信息,还可以用于内部到外部信息的翻译。AMF可以用于管理终端设备的注册和连接等。LMF可以用于管理注册或接入5G核心网的终端设备的位置所需的资源的总体协调和调度。
在请求获取终端设备(如第一终端设备和/或第二终端设备)在指定时刻的位置的过程中所涉及的设备可以包括管理设备、一个或多个核心网设备以及测量设备,如图1b所示。以位置请求过程中所涉及的核心网设备包括GMLC、AMF和LMF为例,管理设备在需要获取终端设备在指定时刻的位置的情况下,可以向该终端设备对应的GMLC请求获取该终端设备在指定时刻的位置。该GMLC可以向终端设备对应的AMF请求获取该终端设备在指定时刻的位置。该AMF可以向该终端设备对应的LMF请求获取该终端设备在指定时刻的位置。该LMF可以向该终端设备对应的测量设备请求获取该终端设备在指定时刻的位置。该测量设备在获取到该终端设备在指定时刻的位置后,可以向该LMF反馈该位置。相应的,该LMF可以将该位置反馈给前述AMF。该AMF可以将该位置反馈给GMLC。然后,该GMLC将该位置反馈给前述管理设备。
需要说明的是,上述过程可以用于获取一个终端设备在指定时刻的位置,也可以用于获取多个终端设备在指定时刻的位置。还需要说明的是,上述管理设备通过该终端设备对应的GMLC以向该终端设备对应的AMF请求获取该终端设备在指定时刻的位置,仅用于举例。在其他可行的实现方式中,该管理设备还可以直接向该终端设备对应的AMF请求获取该终端设备在指定时刻的位置。或者,该管理设备可以通过该终端设备对应的NEF以向该终端设备对应的AMF请求获取该终端设备在指定时刻的位置,本申请实施例对在请求获取终端设备在指定时刻的位置的过程中所涉及的设备的数量和名称,以及设备之间的通信方式(如通过其他网元间接通信,或者直接通信)不做限定。
可以理解的是,本申请实施例描述的通信系统是为了更加清楚的说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
下面结合附图对本申请提供的位置获取方法及其装置进行详细地介绍。
请参见图2,图2是本申请实施例提供的一种位置获取方法的流程示意图。其中,步骤 S201~步骤S202的执行主体可以为管理设备、GMLC、NEF、AMF、LMF或者其他可以用于获取第一终端设备和第二终端设备在同一时间的位置的设备。或者,执行主体也可以为管理设备、GMLC、NEF、AMF或LMF中的芯片。如图2所示,该方法可以包括但不限于如下步骤:
步骤S201:向网络请求获取第一终端设备和第二终端设备在同一时间的位置。
第一终端设备和第二终端设备对应的网络可以相同,也可以不同。通过终端设备(如第一终端设备或第二终端设备)对应的网络可以获取该终端设备在指定时刻的位置。该终端设备对应的网络中可以部署有用于测量该终端设备在指定时刻的位置的测量设备。该网络在接收到关于获取该终端设备在指定时刻的位置的请求时,可以触发该测量设备对该终端设备进行定位,以获取该终端设备在指定时刻的位置。
在本申请实施例中,可以通过如下两种方式向网络请求获取第一终端设备和第二终端设备在同一时间的位置:
第一种,在第一终端设备和第二终端设备对应的网络设备相同的情况下,向该网络设备请求获取第一终端设备和第二终端设备在同一时间的位置。具体的,向该网络设备请求获取第一终端设备和第二终端设备在同一时间的位置的具体实施方式可以为:发送第一位置请求至第一网络设备,该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置。其中,该第一网络设备服务于该第一终端设备和该第二终端设备。在本申请实施例中,该第一网络设备可以为GMLC、NEF、AMF或者LMF。相应的,第一网络设备获取到第一终端设备和第二终端设备在同一时间的位置后,可以向该第一位置请求的发送方反馈第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置。在第一终端设备和第二终端设备对应的网络设备相同的情况下,通过向该网络设备发送一个位置请求(第一位置请求),可以获取第一终端设备和第二终端设备在同一时间的位置。在本申请实施例中,为了获取第一终端设备和该第二终端设备在同一时间的位置,该第一位置请求所包括的信息可以分为3种情况,具体可参见图3a-图5a实施例中的描述。
需要说明的是,在本申请实施例中,接收到位置请求(用于获取一个终端设备在指定时刻的位置,或者用于获取多个终端设备在同一时间的位置)的设备可以支持延时位置请求。支持延时位置请求表示:接收到位置请求后,该设备可以不用立即向该位置请求的发送方(即位置请求方)反馈所请求的位置信息,可以在获取到所需的位置信息后再反馈。可选的,该设备在接收到位置请求后,可以向该位置请求方发送位置响应,该位置响应可以用于指示该设备成功接收到该位置请求。该位置响应可以携带有位置请求方所需的位置信息,也可以未携带有位置请求方所需的位置信息。若该位置响应未携带有位置请求方所需的位置信息,该设备在发送位置响应之后,可以在获取到位置请求方所需的位置信息后,向该位置请求方反馈该位置信息。在本申请实施例中,位置信息可以携带于位置事件通知中发送给位置请求方。
还需要说明的是,在本申请实施例中,位置请求用于请求多个终端设备在同一时间的位置时,各个终端设备的位置可以携带于同一消息中反馈至位置请求方,也可以分别携带于不同的消息中反馈至位置请求方。例如,上述第一位置信息包括的第一终端设备的位置和第二终端设备的位置可以是分开发送的。
第二种,在第一终端设备和第二终端设备对应的网络设备不同的情况下,向第一终端设备对应的网络设备请求获取第一终端设备在第一时刻的位置,并向第二终端设备对应的网络设备请求获取第二终端设备在第一时刻的位置。
需要说明的是,在本申请实施例中,在向第一终端设备对应的网络设备和/或第二终端设 备对应的网络设备发送位置请求时,该位置请求表示期望在同一时刻(如第一时刻)下获取第一终端设备和第二终端设备的位置。但是在实际情况下,第一终端设备对应的测量设备可以是在该第一时刻左右对该第一终端设备的位置进行测量,即实际获取到的第一终端设备的位置可能不是在第一时刻下测量得到的,第二终端设备同理。但是由于实际测量终端设备(第一终端设备、第二终端设备)的位置时是按照该第一时刻测量的,所以按照该方式获取第一终端设备和第二终端设备的位置,有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
在一种实现方式中,当期望获取第一终端设备在第一时刻的位置时,第一终端设备对应的测量设备可以在该第一时刻到来之前开始进行测量。由于测量设备测量第一终端设备的位置需要花费一定时间,因此在第一时刻之前开始测量,可以使得测量得到的第一终端设备的位置对应的实际时刻与该第一时刻(期望时刻)之间的误差较小,甚至使得实际时刻与期望时刻相同。
步骤S202:接收来自该网络的该第一终端设备和该第二终端设备在同一时间的位置。
若采用上述第一种方式请求获取第一终端设备和第二终端设备在同一时间的位置,相应的,可以接收该第一终端设备和第二终端设备对应的网络所反馈的该第一终端设备和第二终端设备在同一时间的位置。
若采用上述第二种方式请求获取第一终端设备和第二终端设备在同一时间的位置,相应的,可以接收该第一终端设备对应的网络所反馈的该第一终端设备在第一时刻的位置,并接收该第二终端设备对应的网络所反馈的该第二终端设备在第一时刻的位置。
在本申请实施例中,由于第一终端设备的位置和第二终端设备的位置是同一时间获取的,从而有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
请参见图3a,图3a是本申请实施例提供的另一种位置获取方法的流程示意图,该方法详细描述了该第一位置请求包括第一时间信息时,如何获取第一终端设备和第二终端设备在同一时间的位置。其中,步骤S301~步骤S302的执行主体为管理设备、GMLC、NEF、AMF、LMF或者其他可以用于获取第一终端设备和第二终端设备在同一时间的位置的设备。或者,执行主体也可以为管理设备、GMLC、NEF、AMF或LMF中的芯片。该方法可以包括但不限于如下步骤:
步骤S301:发送第一位置请求至第一网络设备,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
第一位置请求包括第一时间信息时,第一网络设备在接收到该第一位置请求后,按照该第一位置请求中携带的第一时间信息所指示的第一时刻获取第一终端设备和第二终端设备的位置即可。
在本申请实施例中,第一网络设备可以为服务于该第一终端设备和第二终端设备的网络设备,如GMLC、NEF、AMF或者LMF。以第一网络设备为AMF为例,该第一网络设备可以通过如下方式获取第一终端设备和第二终端设备在第一时刻的位置,其场景示意图如图3b所示:在第一终端设备对应的LMF和第二终端设备对应的LMF相同的情况下,该第一网络设备向该LMF发送位置请求1,该位置请求1用于请求获取第一终端设备和第二终端设备在第一时刻的位置。相应的,该LMF在接收到该位置请求1之后,可以向第一终端设备对应的测量设备发送位置请求2,并向第二终端设备对应的测量设备发送位置请求3。其中,该位置 请求2用于请求获取第一终端设备在第一时刻的位置,该位置请求3用于请求获取第二终端设备在第一时刻的位置。
相应的,第一终端设备对应的测量设备在接收到该位置请求2之后,可以测量得到第一终端设备在第一时刻的位置,并将测量得到的位置反馈至该LMF。同理,第二终端设备对应的测量设备在接收到该位置请求3之后,可以测量得到第二终端设备在第一时刻的位置,并将测量得到的位置反馈至该LMF。该LMF在接收到第一终端设备和第二终端设备在第一时刻的位置之后,可以将接收到的位置反馈至该AMF。相应的,该AMF可以将接收到的位置携带于第一位置信息中反馈至管理设备。其中,位置请求1、位置请求2和位置请求3可以包括前述第一时间信息,或者可以包括第一时刻。本申请实施例对此不做限定。
在另一种实现方式中,以第一网络设备为AMF为例,该第一网络设备可以通过如下方式获取第一终端设备和第二终端设备在第一时刻的位置,其场景示意图如图3c所示:在第一终端设备对应的LMF和第二终端设备对应的LMF不同的情况下,该第一网络设备可以向该第一终端设备对应的LMF发送位置请求4,并向第二终端设备对应的LMF发送位置请求5。其中,该位置请求4用于请求获取第一终端设备在第一时刻的位置,该位置请求5用于请求获取第二终端设备在第一时刻的位置。相应的,该第一终端设备对应的LMF在接收到该位置请求4之后,可以向第一终端设备对应的测量设备发送位置请求6,以请求获取第一终端设备在第一时刻的位置。同理,该第二终端设备对应的LMF在接收到该位置请求5之后,可以向第二终端设备对应的测量设备发送位置请求7,以请求获取第二终端设备在第一时刻的位置。可以理解的是,各个设备(测量设备、LMF、AMF)在获取到所需的位置后,可以向上一个设备反馈所获取的位置。具体过程可参照图3b,此处不再赘述。
需要说明的是,图3b和图3c以管理设备为第一位置请求的发送方为例,并不构成对本申请实施例的限定。在其他实施例中,第一位置请求的发送方还可以为GMLC、NEF或者其他设备。还需要说明的是,图3b中第一终端设备对应的测量设备和第二终端设备对应的测量设备不同仅用于举例,在其他实施例中,第一终端设备对应的测量设备和第二终端设备对应的测量设备可以相同。在此情况下,LMF可以向一个测量设备请求获取第一终端设备和第二终端设备在第一时刻的位置。
可以理解的是,若第一网络设备为LMF,该第一网络设备在接收到第一位置请求后,可以向测量设备请求获取第一终端设备和第二终端设备在第一时刻的位置。参见上述,当第一终端设备对应的测量设备和第二终端设备对应的测量设备相同时,LMF可以仅向该测量设备请求获取第一终端设备和第二终端设备在第一时刻的位置。当第一终端设备对应的测量设备和第二终端设备对应的测量设备不同时,LMF可以向第一终端设备对应的测量设备请求获取第一终端设备在第一时刻的位置,并向第二终端设备对应的测量设备请求获取该第二终端设备在第一时刻的位置。
在一种实现方式中,第一网络设备可以为定位该第一终端设备和第二终端设备的测量设备。定位该第一终端设备和第二终端设备的测量设备可以为服务于该第一终端设备和第二终端设备的接入网设备。
在本申请实施例中,第一位置请求包括第一时间信息的情况下,该第一时间信息可以是由在位置请求过程中处于该第一网络设备之前的某个设备确定的。以在位置请求过程中所涉及的核心网设备包括GMLC、AMF和LMF,且第一网络设备为AMF为例,该第一时间信息可以是由GMLC或者管理设备确定的。
在一种实现方式中,该第一时间信息可以包括该第一时刻或者第一时长,该第一时长用 于指示该第一时刻。该第一时刻可以是协调统一时间(coordinated universal time,UTC)。该第一时长可以是距离时刻1的时长,该时刻1加上第一时长即为该第一时刻。其中,该时刻1可以是预设的某个时刻。或者,该时刻1也可以是发起位置请求之后的某个准点时刻。需要说明的是,该时刻1可以由网络配置(例如,在系统消息或专有信令中下发),或协议约定,或者可以由用户设置以及更改,本申请实施例对此不做限定。
在一种实现方式中,第一位置请求还可以包括以下至少一项:时间精度要求,第二时间信息。其中,该时间精度要求可以用于指示定位该第一终端设备的位置的时间与定位该第二终端设备的位置的时间需要满足的时间精度。定位该第一终端设备的位置的时间为定位第一终端设备的位置的实际时间,第一时刻为定位该第一终端设备的位置的期望时间。
在一种实现方式中,该时间精度要求可以包括一精度时间段或者精度时长。该时间精度要求包括精度时长时,定位第一终端设备的位置的时间满足时间精度可以指:定位第一终端设备的位置的时间(即实际时间)与第一时刻(即期望时间)之间的差值的绝对值小于该精度时长。该时间精度要求包括精度时间段时,定位第一终端设备的位置的时间满足时间精度可以指:定位第一终端设备的位置的时间位于该精度时间段内。该精度时间段的开始时刻和结束时刻与该第一时刻之间相距的时长均较小。
该第二时间信息可以用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。该第二时刻为可接受的最迟位置时间,即定位终端设备(第一终端设备、第二终端设备)的位置的时间(即实际时间)最迟为该第二时刻,若定位终端设备的位置的时间早于或等于该第二时刻,那么发起位置请求的设备(如管理设备)可以接受定位得到的该终端设备的位置。若定位终端设备的位置的时间晚于该第二时刻,那么发起位置请求的设备不能接受定位得到的该终端设备的位置。此时,可以不向发起位置请求的设备反馈定位得到的该终端设备的位置,这样有利于避免不必要的资源消耗。
在一种实现方式中,该第二时间信息可以包括该第二时刻或者包括用于指示该第二时刻的第二时长。该时长可以是距离时刻2的时长,该时刻2加上第二时长即为该第二时刻。其中,该时刻2可以是预设的某个时刻。或者,该时刻2也可以是发起位置请求之后的某个准点时刻。需要说明的是,该时刻2可以由网络配置(例如,在系统消息或专有信令中下发),或协议约定,或者可以由用户设置以及更改,本申请实施例对此不做限定。
在一种实现方式中,第一位置请求还可以包括周期时间信息,该周期时间信息用于指示周期时长。此时,该第一位置请求具体可以用于请求以该第一时刻作为起始时刻,且以该周期时长作为时间间隔周期性获取第一终端设备和第二终端设备的位置。
在一种实现方式中,当第一位置请求包括周期时间信息时,前述第二时刻可以是第一时刻(即起始时刻)后经过一个或多个时间间隔的时刻。例如,当第一时刻为2:00:00,时间间隔为5分钟时,若前述第二时间信息指示第3个时间间隔,那么第二时刻可以为2:15:00。
在一种实现方式中,当第一位置请求包括周期时间信息,且时间精度要求包括精度时长时,在某个周期定位第一终端设备的位置的时间满足时间精度可以指:在该周期定位第一终端设备的位置的时间(即实际时间)与该周期对应的期望时间之间的差值的绝对值小于该精度时长。每个周期均对应一个期望时间,例如,当周期的起始时间(即第一时刻)为2:00:00,时间间隔为5分钟时,第一个周期对应的期望时间即为该第一时刻,第二周期对应的期望时间为2:05:00,第三周期对应的期望时间为2:10:00。同理,在一种实现方式中,当第一位置请求包括周期时间信息时,每个周期可以对应一个精度时间段。在某个周期定位第一终端设备的位置的时间满足时间精度可以指:在该周期定位第一终端设备的位置的时间(即实际时间) 位于该周期对应的精度时间段内。
请参见图3d,为周期位置请求流程的示意图。图3d以第一终端设备和第二终端设备对应的AMF、LMF均相同为例,但并不构成本申请实施例的限定。图3d在图3b所示的场景下,第一位置请求还包括周期时间信息。相应的,位置请求1、位置请求2和位置请求3也包括周期时间信息。其中,第一位置请求和位置请求1用于请求以第一时刻作为起始时刻,且以周期时间信息所指示的周期时长作为时间间隔周期性获取第一终端设备和第二终端设备的位置。位置请求2用于请求以第一时刻作为起始时刻,且以周期时间信息所指示的周期时长作为时间间隔周期性获取第一终端设备的位置,同理,位置请求3用于请求以第一时刻作为起始时刻,且以周期时间信息所指示的周期时长作为时间间隔周期性获取第二终端设备的位置。
需要说明的是,图3d中位置请求2和位置请求3同时包括第一时间信息和周期时间信息仅用于举例,在其他实施例中,可以将第一时间信息和周期时间信息分开发送至测量设备(第一终端设备对应的测量设备、第二终端设备对应的测量设备)。例如,位置请求2包括第一时间信息,周期时间信息包括于周期调用请求1中由LMF发送给第一终端设备对应的测量设备。其中,位置请求2用于请求获取第一终端设备在第一时刻的位置,周期调用请求1用于请求以第一时刻作为起始时刻,且以该周期时长作为时间间隔周期性获取第一终端设备的位置。该周期调用请求1可以包括第一时间信息,也可以不包括第一时间信息。例如,由于位置请求2包括第一时间信息,第一终端设备对应的测量设备在接收到该位置请求2之后,可以存储该第一时间信息。当接收到周期调用请求1时,隐式地确定是基于第一时间信息所指示的第一时刻周期性上报第一终端设备的位置。
第一终端设备对应的测量设备在接收到图3d中的位置请求2(包括周期时间信息)或者周期调用请求1后,可以反馈周期调用结果1。该周期调用结果1可以用于指示该测量设备是否支持基于第一时刻周期性上报第一终端设备的位置。LMF在接收到周期调用结果1之后,可以将该周期调用结果1所指示的信息反馈至管理设备(图3d未示出)。若第一终端设备对应的测量设备支持基于第一时刻周期性上报第一终端设备的位置,则该测量设备可以每隔前述周期时长测量一次第一终端设备的位置,并反馈测量得到的位置。需要说明的是,周期性测量得到的第一终端设备的位置可以携带于事件通知中反馈至管理设备。
同理,周期时间信息可以包括于周期调用请求2中由LMF发送给第二终端设备对应的测量设备,此时,图3d中的位置请求3不包括周期时间信息。该位置请求3用于请求获取第二终端设备在第一时刻的位置,周期调用请求2用于请求以第一时刻作为起始时刻,且以该周期时长作为时间间隔周期性获取第二终端设备的位置。第二终端设备对应的测量设备在接收到图3d中的位置请求3(包括周期时间信息)或者周期调用请求2后,可以反馈周期调用结果2。该周期调用结果2可以用于指示该测量设备是否支持基于第一时刻周期性上报第二终端设备的位置。需要说明的是,第二终端设备对应的测量设备周期性测量该第二终端设备的位置,与第一终端设备对应的测量设备周期性测量该第一终端设备的位置类似。反馈周期性测量得到的该第二终端设备的位置的流程,与反馈周期性测量得到的该第二终端设备的位置的流程类似,此处不再赘述。还需要说明的是,在周期位置请求过程中,第一终端设备对应的测量设备可以将周期性测量得到的多个位置一起反馈至位置请求方,也可以每测量得到一个位置就反馈至位置请求方,本申请实施例对周期性测量得到的位置信息的反馈方式不做限定。
需要说明的是,在本申请实施例中,在发送第一位置请求至第一网络设备之前,可以查 询第一终端设备和第二终端设备的隐私设置,若第一终端设备和第二终端设备中的至少一个不允许被定位,后续步骤不再执行。本申请实施例是在假设第一终端设备和第二终端设备均允许被定位的前提下进行描述的。还需要说明的是,查询第一终端设备和第二终端设备的隐私设置的执行主体可以是GMLC或者其他设备,本申请实施例对此不作限定。
步骤S302:接收来自该第一网络设备的第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在第一时刻的位置。
当第一位置请求不包括周期时间信息时,该第一位置信息可以仅包括该第一终端设备和该第二终端设备在第一时刻的位置。在一种实现方式中,当第一位置请求包括时间精度要求时,该第一位置信息还可以包括时间精度结果,该时间精度结果可以用于指示第一终端设备和第二终端设备的位置是否满足时间精度要求。即用于指示定位该第一终端设备的位置的时间与定位该第二终端设备的位置的时间是否满足时间精度。需要说明的是,时间精度结果可以与终端设备的位置一同反馈。若该终端设备包括第一终端设备,则该时间精度结果可以用于指示第一终端设备的位置是否满足时间精度要求。还需要说明的是,本申请实施例对位置请求过程和位置反馈过程中涉及的信息或者消息的名称不做限定。例如,时间精度结果也可以称为精度满足指示。
当第一位置请求包括周期时间信息时,第一位置信息可以包括以该第一时刻作为起始时刻,周期性获取的第一终端设备和第二终端设备的位置。当第一位置请求包括时间精度要求时,该第一位置信息还可以包括对于每个周期的时间精度结果。对于某周期的时间精度结果可以用于指示在该周期定位该第一终端设备的位置的时间与定位该第二终端设备的位置的时间是否满足时间精度。
在一种实现方式中,若实际获取到的第一终端设备的位置和第二终端设备的位置不是在第一时刻下测量得到的,此时,第一位置信息还可以包括定位第一终端设备的位置的实际时间和定位第二终端设备的位置的实际时间。这样接收到第一位置信息的设备可以根据前述时间精度要求和定位第一终端设备的位置的实际时间,判断定位第一终端设备的位置的实际时间是否满足时间精度。以及根据前述时间精度要求和定位第二终端设备的位置的实际时间,判断定位第二终端设备的位置的实际时间是否满足时间精度。
需要说明的是,上述第一位置信息包括定位第一终端设备的位置的实际时间和定位第二终端设备的位置的实际时间仅用于举例,定位第一终端设备的位置的实际时间和定位第二终端设备的位置的实际时间可以包括于其他位置信息中。具体的,定位第一终端设备的位置的实际时间可以与第一终端设备的位置一同反馈,同理,定位第二终端设备的位置的实际时间可以与第二终端设备的位置一同反馈。
在本申请实施例中,由于第一终端设备的位置和第二终端设备的位置是同一时间获取的,从而有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
请参见图4a,图4a是本申请实施例提供的又一种位置获取方法的流程示意图,该方法详细描述了第一位置请求包括第一指示信息时,如何获取第一终端设备和第二终端设备在同一时间的位置。其中,步骤S401~步骤S402的执行主体为管理设备、GMLC、NEF、AMF、LMF或者其他可以用于获取第一终端设备和第二终端设备在同一时间的位置的设备。或者,执行主体也可以为管理设备、GMLC、NEF、AMF或LMF中的芯片。该方法可以包括但不限于如下步骤:
步骤S401:发送第一位置请求至第一网络设备,该第一位置请求包括第一指示信息,该 第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置。
第一位置请求包括第一指示信息时,该第一位置请求可以未指示获取位置的时刻。第一网络设备在接收到该第一位置请求后,可以确定一个时刻(如第一时刻),然后按照该第一时刻获取第一终端设备和第二终端设备的位置。需要说明的是,在第一网络设备确定第一时刻之后,按照该第一时刻获取第一终端设备和第二终端设备的位置的过程可以参见图3a中第一位置请求包括第一时间信息时,按照该第一时刻获取第一终端设备和第二终端设备的位置的过程,此处不再赘述。
在一种实现方式中,第一位置请求可以不包括该第一指示信息,该第一位置请求可以隐式指示期望获取第一终端设备和第二终端设备在同一时间的位置。在此情况下,第一网络设备在接收到该第一位置请求后,也需要确定第一时刻。
需要说明的是,在第一位置请求显式指示(即第一位置请求包括第一指示信息)或者隐式指示期望获取第一终端设备和第二终端设备在同一时间的位置的情况下,第一时刻由第一网络设备确定仅用于举例。该第一网络设备为服务于该第一终端设备和第二终端设备的网络设备。在一种实现方式中,在位置请求过程中该第一网络设备之后的第一个设备若同时服务于第一终端设备和第二终端设备,那么第一时刻可以由该第一个设备确定。可以理解的是,若该第一网络设备之后的第一个设备和第二个设备均能同时服务于第一终端设备和第二终端设备,那么第一时刻可以由该第二个设备或者第一个设备确定。以此类推,第一时刻可以由位置请求过程中能同时服务于第一终端设备和第二终端设备的最后一个设备确定,或者由该最后一个设备之前的设备确定。
以在位置请求过程中所涉及的核心网设备包括GMLC、AMF和LMF,且第一网络设备为AMF为例,LMF为AMF之后的第一个设备,测量设备为AMF之后的第二个设备。若第一终端设备对应的LMF与第二终端设备对应的LMF相同,且第一终端设备对应的测量设备与第二终端设备对应的测量设备不同,即LMF为位置请求过程中能同时服务于第一终端设备和第二终端设备的最后一个设备。此时,第一时刻可以由LMF或者AMF确定。第一时刻由AMF确定的场景示意图可以如图4b所示。图4b中,AMF确定第一时刻后,可以向第一终端设备和第二终端设备对应的AMF发送位置请求8,该位置请求8用于请求获取第一终端设备和第二终端设备在第一时刻的位置。相应的,该LMF接收到位置请求8后,可以向第一终端设备对应的测量设备发送位置请求9,以请求获取第二终端设备在第一时刻的位置,并向第二终端设备对应的测量设备发送位置请求10,以请求获取第二终端设备在第一时刻的位置。其中,位置请求8、位置请求9和位置请求10可以包括该第一时刻。
在一种实现方式中,在第一位置请求未指示获取位置的时刻的情况下,第一网络设备在接收到该第一位置请求后,可以确定第三时间信息,该第三时间信息可以用于指示一个时刻(如第一时刻)。该第三时间信息可以包括该第一时刻或者一个时长,该时长用于指示该第一时刻。此时,在图4b中,位置请求8、位置请求9和位置请求10可以包括该第三时间信息或者该第一时刻。
需要说明的是,第一位置请求还可以包括以下至少一项:时间精度要求,第二时间信息,周期时间信息。关于时间精度要求、第二时间信息和周期时间信息的具体描述可参见图3a所示实施例,此处不再赘述。
步骤S402:接收来自该第一网络设备的第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在第一时刻的位置。
需要说明的是,步骤S402的执行过程可参见图3a中步骤S302的具体描述,此处不再赘 述。
在本申请实施例中,由于第一终端设备的位置和第二终端设备的位置是同一时间获取的,从而有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
请参见图5a,图5a是本申请实施例提供的又一种位置获取方法的流程示意图,该方法详细描述了第一位置请求包括第一终端设备的偏差时间信息时,如何获取第一终端设备和第二终端设备在同一时间的位置。其中,步骤S501~步骤S503的执行主体为管理设备、GMLC、NEF、AMF、LMF或者其他可以用于获取第一终端设备和第二终端设备在同一时间的位置的设备。或者,执行主体也可以为管理设备、GMLC、NEF、AMF或LMF中的芯片。该方法可以包括但不限于如下步骤:
步骤S501:确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在本申请实施例中,若定位第一终端设备的位置的时间与定位第二终端设备的位置的时间不同,可以确定第一终端设备或第二终端设备的偏差时间信息,并通过该偏差时间信息调整定位该第一终端设备或者第二终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。可以理解的是,第二终端设备的偏差时间信息用于调整定位该第二终端设备的位置的时间。本申请实施例以确定第一终端设备的偏差时间信息为例进行介绍。通过调整定位第一终端设备和第二终端设备中的一方的时间,即可达到获取该第一终端设备和第二终端设备在同一时间的位置的目的,而无需调整定位两者的位置的时间,有利于减小开销。
其中,该偏差时间信息可以是在位置请求过程中处于第一网络设备之前的某个设备确定的。该第一网络设备服务于第一终端设备和第二终端设备。以在位置请求过程中所涉及的核心网设备包括GMLC、AMF和LMF,且第一网络设备为AMF为例,该偏差时间信息可以是由GMLC或者管理设备确定的。具体的,该设备可以通过以下方式确定该偏差时间信息:根据定位第一终端设备的历史位置的时间和定位该第二终端设备的历史位置的时间确定该偏差时间信息。
具体的,可以将定位第二终端设备的历史位置的时间,与定位该第一终端设备的历史位置的时间之间的差值,确定为该第一终端设备的偏差时间信息。例如,当定位第一终端设备的历史位置的时间为12:00:00,定位该第二终端设备的历史位置的时间为12:02:00时,第一终端设备的偏差时间信息可以为2分钟。
在本申请实施例中,可以在不同时间下对第一终端设备(或第二终端设备)进行定位,即定位第一终端设备(或第二终端设备)的历史位置的时间可以有多个。在一种实现方式中,前述定位第一终端设备(或第二终端设备)的历史位置的时间可以是指上一次定位该第一终端设备(或第二终端设备)的位置的时间。
在本申请实施例中,该偏差时间信息用于调整定位该第一终端设备的位置的时间,调整后的定位该第一终端设备的位置的时间与(未经调整的)定位第二终端设备的位置的时间相同。即通过调整定位该第一终端设备的位置的时间,可以获取该第一终端设备和第二终端设备在同一时间的位置。测量设备在获取该第一终端设备的偏差时间信息之后,可以根据该偏差时间信息以及上一次定位该第一终端设备的位置的时间,确定本次定位该第一终端设备的 位置的时间。例如,若上一次定位该第一终端设备的位置的时间为12:00:00,上一次定位第二终端设备的位置的时间为12:02:00,且该第一终端设备的偏差时间信息为2分钟,则本次定位该第一终端设备的位置的时间可以为12:02:00。若本次定位第二终端设备的位置的时间与上一次定位该第二终端设备的位置的时间不变,可以使得本次定位第一终端设备和第二终端设备的位置的时间相同,即可以获取该第一终端设备和第二终端设备在同一时间的位置。
步骤S502:发送第一位置请求至第一网络设备,该第一位置请求包括该偏差时间信息;该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置。
确定第一终端设备的偏差时间信息之后,可以发送携带有该偏差时间信息的第一位置请求至第一网络设备。需要说明的是,当该第一位置请求包括的是第一终端设备的偏差时间信息时,可以表示:需要根据该偏差时间信息调整定位该第一终端设备的位置的时间,但是保持定位第二终端设备的位置的时间不变。这样可以获取该第一终端设备和第二终端设备在同一时间的位置。在一种实现方式中,若该偏差时间信息是根据上一次定位第一终端设备的位置的时间和上一次定位第二终端设备的位置的时间确定的,那么,保持定位第二终端设备的位置的时间不变是指:保持定位第二终端设备的位置的时间与上一次定位第二终端设备的位置的时间相同。
在一种实现方式中,该第一位置请求除了包括偏差时间信息以外,还可以包括周期时间信息(参见图3a实施例中的具体描述),此时,该第一位置请求用于请求周期性获取第一终端设备和第二终端设备在同一时间的位置。在此情况下,该偏差时间信息可以用于调整定位该第一终端设备的位置的周期起始时间。保持定位第二终端设备的位置的时间不变是指:保持定位第二终端设备的位置的周期起始时间不变。需要说明的是,在本申请实施例中,定位第一终端设备的周期与定位第二终端设备的周期相同,即第一终端设备和第二终端设备每隔相同时长进行一次定位。
步骤S503:接收来自该第一网络设备的第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置。
在本申请实施例中,第一网络设备接收到第一位置请求后,可以请求第一终端设备对应的测量设备请求按照偏差时间信息调整定位该第一终端设备的位置的时间,并反馈该第一终端设备的位置。需要说明的是,第一终端设备对应的测量设备反馈的该第一终端设备的位置,与第二终端设备对应的测量设备反馈的该第二终端设备的位置,是同一时间(接下来以该时间为第一时刻为例进行说明)测量得到的。
其中,第一网络设备接收到第一位置请求之前,可以请求第二终端设备对应的测量设备定位该第二终端设备在第一时刻的位置。换言之,请求获取第一终端设备在第一时刻的位置的流程,与请求获取第二终端设备在第一时刻的位置的流程可以是独立的。例如,第一网络设备接收到第一位置请求之前,请求第二终端设备对应的测量设备以第一时刻为起始时刻,周期性反馈该第二终端设备的位置。请求获取第二终端设备在第一时刻的位置的流程可以参见图2~图4a实施例中的具体描述。需要说明的是,请求获取第二终端设备在第一时刻的位置的流程中,所发送的位置请求可以不携带前述第一时间信息或者第一时刻。该位置请求可以隐式指示第二终端设备对应的测量设备按照上一次定位第二终端设备的位置的时间(即第一时刻),获取该第二终端设备的位置。通过这种方式,可以获取第二终端设备在第一时刻的位置。还需要说明的是,第一网络设备可以直接向测量设备(第一终端设备对应的测量设备、第二终端设备对应的测量设备)发起上述请求,也可以通过其他中间设备向该测量设备发起上述请求。
以第一网络设备为AMF为例,请求获取第一终端设备在第一时刻的位置的流程示意图可以如图5b所示:第一网络设备接收到携带有第一终端设备的偏差时间信息的第一位置请求后,可以向LMF发送位置请求11,该位置请求11用于请求获取第一终端设备在第一时刻的位置。相应的,该LMF在接收到该位置请求11之后,可以向第一终端设备对应的测量设备发送位置请求12。其中,位置请求11和位置请求12携带有该偏差时间信息。该位置请求12用于请求根据偏差时间信息调整定位该第一终端设备的位置的时间,并按照调整后的时间获取第一终端设备的位置。调整后的时间为第一时刻。可以理解的是,各个设备(测量设备、LMF、AMF)在获取到所需的位置后,可以向上一个设备反馈所获取的位置。具体过程可参照图3b,此处不再赘述。
需要说明的是,图5b中位置请求12携带偏差时间信息仅用于举例。在一种实现方式中,若LMF已知上一次定位第一终端设备的位置的时间,则该LMF可以根据上一次定位第一终端设备的位置的时间以及偏差时间信息,调整定位该第一终端设备的位置的时间。调整后的时间为第一时刻。此时,该位置请求12可以携带该第一时刻。
需要说明的是,步骤S503的其余执行过程可参见图2中步骤S202的具体描述,此处不再赘述。
在本申请实施例中,通过在第一位置请求中携带第一终端设备的偏差时间信息,可以调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置,从而有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
请参见图6,图6是本申请实施例提供的又一种位置获取方法的流程示意图,该方法详细描述了如何分别向第一终端设备和第二终端设备对应的网络设备发送请求,以请求获取第一终端设备和第二终端设备在同一时间的位置。其中,步骤S601~步骤S602的执行主体为管理设备、GMLC、NEF、AMF、LMF或者其他可以用于获取第一终端设备和第二终端设备在同一时间的位置的设备。或者,执行主体也可以为管理设备、GMLC、NEF、AMF或LMF中的芯片。该方法可以包括但不限于如下步骤:
步骤S601:发送第二位置请求至第二网络设备,并发送第三位置请求至第三网络设备;该第二位置请求用于请求获取第一终端设备在第一时刻的位置,该第三位置请求用于请求获取第二终端设备在该第一时刻的位置。
在第一终端设备和第二终端设备对应的网络设备不同的情况下,可以向第一终端设备对应的网络请求获取第一终端设备在第一时刻的位置,并向第二终端设备对应的网络设备请求获取第二终端设备在第一时刻的位置。其中,向第一终端设备对应的网络设备请求获取第一终端设备在第一时刻的位置具体可以指:向第一终端设备对应的第二网络设备请求获取第一终端设备在第一时刻的位置。第二网络设备可以用于获取第一终端设备在指定时刻(如第一时刻)的位置。
在一种实现方式中,该第二网络设备可以为服务于该第一终端设备的网络设备;或者,该第二网络设备可以为定位该第一终端设备的第一测量设备;或者,该第二网络设备可以为该第一终端设备;或者,该第二网络设备可以为服务于该第一终端设备的接入网设备。同理,该第三网络设备可以为服务于该第二终端设备的网络设备;或者,该第三网络设备可以为定位该第二终端设备的第二测量设备;或者,该第三网络设备可以为该第二终端设备;或者,该第三网络设备可以为服务于该第二终端设备的接入网设备。在本申请实施例中,接入网设备可以为演进型基站(evolved NodeB,eNB)、NR系统中的下一代基站(next generation NodeB, gNB)或其他未来移动通信系统中的基站等。本申请的实施例对接入网设备所采用的具体技术和具体设备形态不做限定。
在一种实现方式中,在发送第二位置请求之前,还可以从多个网络设备中确定支持获取第一终端设备在第一时刻的位置的第二网络设备,并从多个网络设备中确定支持获取第二终端设备在第一时刻的位置的第三网络设备。例如,以发送第二位置请求的执行主体为AMF,第二网络设备为LMF为例,在第一终端设备对应的网络中可以存在多个LMF,其中,部分LMF支持获取第一终端设备在指定时刻(如第一时刻)的位置,另一部门LMF不支持获取第一终端设备在指定时刻(如第一时刻)的位置。此时,AMF可以从该多个LMF中确定支持获取第一终端设备在第一时刻的位置的LMF,并向该LMF发送第二位置请求。
在分别向第一终端设备对应的网络和第二终端设备对应的网络发送位置请求的情况下,为了获取第一终端设备和第二终端设备在同一时间的位置,第一测量设备在接收到第二位置请求后所确定的定位第一终端设备的时间,与第二测量设备在接收到第三位置请求后所确定的定位第二终端设备的时间需要相同。换言之,通过第二位置请求和第三位置请求可以使得第一测量设备和第二测量设备确定同一时刻(如第一时刻)。
通过第二位置请求和第三位置请求,使得第一测量设备和第二测量设备确定第一时刻的方式可以包括但不限于如下两种:
第一种:第二位置请求和第三位置请求均包括第一时间信息,该第一时间信息用于指示该第一时刻。该第一时间信息可以包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。关于第一指示信息的相关内容可参见图3a实施例中的具体描述,此处不再赘述。
第二种:第二位置请求包括第一终端设备的偏差时间信息,该偏差时间信息使能调整定位第一终端设备的位置的时间至该第一时刻;偏差时间信息是根据定位第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的。该第三位置请求用于请求获取第二终端设备在该第一时刻的位置。通过调整定位第一终端设备和第二终端设备中的一方(以第一终端设备为例)的时间,即可达到获取该第一终端设备和第二终端设备在同一时间(第一时刻)的位置的目的,而无需调整定位两者的位置的时间,有利于减小开销。
关于第一终端设备的偏差时间信息的相关内容可参见图5a实施例中的具体描述,此处不再赘述。需要说明的是,第二位置请求包括第一终端设备的偏差时间信息时,该第三位置请求可以隐式指示请求获取第二终端设备在第一时刻的位置。例如,当定位第二终端设备的历史位置的时间为第一时刻时,第三位置请求具体可以用于指示按照定位第二终端设备的历史位置的时间(即第一时刻),获取第二终端设备的位置。还需要说明的是,上述第二位置请求包括第一终端设备的偏差时间信息仅用于举例,在其他实施例中,也可以是第三位置请求包括第二终端设备的偏差时间信息。还需要说明的是,确定该第一终端设备的偏差时间信息的设备的相关内容可参见图5a实施例中的具体描述,此处不再赘述。
在一种实现方式中,第二位置请求和第三位置请求可以包括以下至少一项:时间精度要求、第二时间信息、周期时间信息。需要说明的是,若第二位置请求包括时间精度要求,那么第三位置请求也包括精度要求。若第二位置请求包括第二时间信息,那么第三位置请求也包括第二时间信息。若第二位置请求包括周期时间信息,那么第三位置请求也包括周期时间信息。关于时间精度要求、第二时间信息和周期时间信息的具体描述可参见图3a所示实施例,此处不再赘述。
步骤S602:接收来自第二网络设备的第二位置信息,并接收来自第三网络设备的第三位置信息;该第二位置信息包括该第一终端设备在第一时刻的位置,第三位置信息包括该第二 终端设备在第一时刻的位置。
第二网络设备接收到第二位置请求后,可以向第一测量设备请求获取第一终端设备在第一时刻的位置。同理,第三网络设备接收到第三位置请求后,可以向第二测量设备请求获取第二终端设备在第一时刻的位置。关于测量设备如何获取终端设备在指定时刻(如第一时刻)的位置可参见图2~图5a实施例中的具体描述,此处不再赘述。
第二网络设备获取到第一终端设备在第一时刻的位置后,可以向该第二位置请求的发送方反馈第二位置信息。同理,第三网络设备获取到第二终端设备在第一时刻的位置后,可以向该第三位置请求的发送方反馈第三位置信息。
在一种实现方式中,当第二位置请求包括时间精度要求时,该第二位置信息还可以包括对于每个周期的时间精度结果。同理,当第三位置请求包括时间精度要求时,该第三位置信息还可以包括对于每个周期的时间精度结果。
需要说明的是,第二网络设备获取第一终端设备在第一时刻的位置的执行过程与图3a、图5a实施例中第一网络设备获取第一终端设备在第一时刻的位置的执行过程基本相同。
在本申请实施例中,由于第一终端设备的位置和第二终端设备的位置均是第一时刻获取的,从而有利于提高第一终端设备与第二终端设备之间的距离计算的精度。
在一种实现方式中,管理设备(或者GMLC、NEF)在向网络请求获取第一终端设备在第一时刻的位置后,可以接收来自该网络的第二指示信息,该第二指示信息可以用于指示无法获取第一终端设备在第一时刻的位置。在一种实现方式中,该第二指示信息用于指示无法获取第一终端设备在第一时刻的位置时,还可以用于指示无法获取第一终端设备在第一时刻的位置的原因,具体可以通过原因值指示。无法获取第一终端设备在第一时刻的位置的原因可以为:第一终端设备在该第一时刻下不可达。
在另一种实现方式中,该第二指示信息可以用于指示无法获取第一终端设备在第一时刻的位置,且可以获取第一终端设备在第三时刻的位置。其中,该第三时刻晚于第一时刻。若管理设备(或者GMLC、NEF)可以接受第一终端设备在第三时刻的位置,则该管理设备可以等待网络反馈第一终端设备在第三时刻的位置。此时,该第三时刻早于前述第二时刻。
在一种实现方式中,第三时刻可以为第一时刻加N个时间间隔的时刻,其中,时间间隔为:周期性获取第一终端设备的位置的情况下,相邻两次获取第一终端设备的位置的时间之间间隔的时长。N可以为大于或等于1的整数。
在又一种实现方式中,该第二指示信息可以用于指示在第二时刻之前无法获取第一终端设备的位置。即在可接收的时间下无法获取第一终端设备的位置。
需要说明的是,上述第二指示信息用于指示是否能获取第一终端设备在某时刻(如第一时刻、第二时刻、第三时刻)的位置仅用于举例。第二指示信息也可以用于指示是否能获取第二终端设备在某时刻(如第一时刻、第二时刻、第三时刻)的位置。
上述本申请提供的实施例中,从不同设备的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,本申请实施例中的通信装置可以包括硬件结构、软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能可以以硬件结构、软件模块、或者硬件结构加软件模块的方式来执行。
请参见图7,为本申请实施例提供的一种通信装置70的结构示意图。图7所示的通信装 置70可包括处理单元701和通信单元702。通信单元702可包括发送单元和接收单元,发送单元用于实现发送功能,接收单元用于实现接收功能,通信单元702可以实现发送功能和接收功能。通信单元也可以描述为收发单元。
通信装置70可以是用于执行上述步骤S201~步骤S202、步骤S301~步骤S302、步骤S401~步骤S402、步骤S501~步骤S503或步骤S601~步骤S602的设备,也可以是该设备中的装置,还可以是能够与该设备匹配使用的装置。或者,通信装置70可以是第一网络设备,也可以第一网络设备中的装置,还可以是能够与第一网络设备匹配使用的装置。或者,通信装置70可以是第二网络设备,也可以第二网络设备中的装置,还可以是能够与第二网络设备匹配使用的装置。或者,通信装置70可以是第三网络设备,也可以第三网络设备中的装置,还可以是能够与第三网络设备匹配使用的装置。
通信装置70为用于执行上述步骤S201~步骤S202、步骤S301~步骤S302、步骤S401~步骤S402、步骤S501~步骤S503或步骤S601~步骤S602的设备:处理单元701,用于调用通信单元702向网络请求获取第一终端设备和第二终端设备在同一时间的位置;还用于调用通信单元702接收来自该网络的该第一终端设备和该第二终端设备在同一时间的位置。
在一种实现方式中,处理单元701还可以用于调用通信单元702发送第一位置请求至第一网络设备,该第一网络设备服务于该第一终端设备和该第二终端设备,该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;处理单元701还可以用于调用通信单元702接收来自该第一网络设备的第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第一位置请求包括第一指示信息,该第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,处理单元701还可以用于确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该第一位置请求可以包括该偏差时间信息,该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备和该第二终端设备的位置是否满足前述时间精度要求。
在一种实现方式中,处理单元701还可以用于调用通信单元702发送第二位置请求至第二网络设备,并发送第三位置请求至第三网络设备;其中,该第二位置请求用于请求获取第一终端设备在第一时刻的位置,该第三位置请求用于请求获取第二终端设备在该第一时刻的位置;处理单元701还可以用于调用通信单元702接收来自该第二网络设备的第二位置信息,并接收来自该第三网络设备的第三位置信息;其中,该第二位置信息包括该第一终端设备在该第一时刻的位置,该第三位置信息包括该第二终端设备在该第一时刻的位置。
在一种实现方式中,该第二位置请求和该第三位置请求均包括第一时间信息,该第一时间信息用于指示该第一时刻。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,处理单元701还可以用于确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该第二位置请求可以包括该偏差时间信息,该偏差时间信息使能调整定位该第一终端设备的位置的时间至该第一时刻。
在一种实现方式中,第二位置请求和第三位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第二位置信息还可以包括时间精度结果,该时间精度结果用于指示该第一终端设备的位置是否满足该时间精度要求。
在一种实现方式中,前述第二网络设备可以为:服务于第一终端设备的网络设备;或者,定位该第一终端设备的第一测量设备;或者,该第一终端设备;或者,服务于该第一终端设备的接入网设备。
通信装置70为第一网络设备:处理单元701,用于调用通信单元702接收第一位置请求;该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;通信装置70服务于该第一终端设备和该第二终端设备;处理单元701还用于调用通信单元702发送第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置信息。
在一种实现方式中,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第一位置请求包括第一指示信息,该第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置;处理单元701还可以用于确定第一时刻,并获取该第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一位置请求可以包括第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备和该第二终端设备的位置是否满足前述时间精度要求。
通信装置70为第二网络设备:处理单元701,用于调用通信单元702接收第二位置请求;该第二位置请求用于请求获取第一终端设备在第一时刻的位置;处理单元701还用于调用通信单元702发送第二位置信息,该第二位置信息包括该第一终端设备在该第一时刻的位置。
在一种实现方式中,该第二位置请求包括第一时间信息,该第一时间信息用于指示第一时刻。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第二位置请求可以包括第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息使能调整定位第一终端设备的位置的时间至该第一时刻。
在一种实现方式中,该第二位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备的位置是否满足前述时间精度要求。
请参见图8,图8是本申请实施例提供的另一种通信装置80的结构示意图。通信装置80可以是用于执行上述步骤S201~步骤S202、步骤S301~步骤S302、步骤S401~步骤S402、步骤S501~步骤S503或步骤S601~步骤S602的设备,也可以是支持该设备实现上述方法的芯片、芯片系统、或处理器等。也可以是第一网络设备,也可以是支持第一网络设备实现上述方法的芯片、芯片系统、或处理器等。也可以是第二网络设备,也可以是支持第二网络设备实现上述方法的芯片、芯片系统、或处理器等。也可以是第三网络设备,还可以是支持第三网络设备实现上述方法的芯片、芯片系统、或处理器等。该装置可用于实现上述方法实施例中描述的方法,具体可以参见上述方法实施例中的说明。
通信装置80可以包括一个或多个处理器801。处理器801可以是通用处理器或者专用处理器等。例如可以是基带处理器或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、基带芯片,终端、终端芯片,DU或CU等)进行控制,执行计算机程序,处理计算机程序的数据。
通信装置80还可以包括收发器802、天线803。收发器802可以称为收发单元、收发机、或收发电路等,用于实现收发功能。收发器803可以包括接收器和发送器,接收器可以称为接收机或接收电路等,用于实现接收功能;发送器可以称为发送机或发送电路等,用于实现发送功能。
可选的,通信装置80中可以包括一个或多个存储器804,其上可以存有计算机程序805,该计算机程序可在通信装置80上被运行,使得通信装置80执行上述方法实施例中描述的方法。可选的,该存储器804中还可以存储有数据。通信装置80和存储器804可以单独设置,也可以集成在一起。
通信装置80中的处理器801用于执行上述步骤S201~步骤S202、步骤S301~步骤S302、步骤S401~步骤S402、步骤S501~步骤S503或步骤S601~步骤S602。或者,
通信装置80为第一网络设备:在图2~图5a所示实施例中,处理器801用于调用收发器802接收第一位置请求以及发送第一位置信息。处理器801还可以用于确定第一时刻,并获取该第一终端设备和第二终端设备在该第一时刻的位置。或者,
通信装置80为第二网络设备:在图6所示实施例中,处理器801用于调用收发器802接收第二位置请求以及发送第二位置信息。或者,
通信装置80为第三网络设备:在图6所示实施例中,处理器801用于调用收发器802接 收第三位置请求以及发送第三位置信息。
在一种实现方式中,处理器801中可以包括用于实现接收和发送功能的收发器。例如该收发器可以是收发电路,或者是接口,或者是接口电路。用于实现接收和发送功能的收发电路、接口或接口电路可以是分开的,也可以集成在一起。上述收发电路、接口或接口电路可以用于代码/数据的读写,或者,上述收发电路、接口或接口电路可以用于信号的传输或传递。
在一种实现方式中,处理器801可以存有计算机程序806,计算机程序806在处理器801上运行,可使得通信装置80执行上述方法实施例中描述的方法。计算机程序806可能固化在处理器801中,该种情况下,处理器801可能由硬件实现。
在一种实现方式中,通信装置80可以包括电路,所述电路可以实现前述方法实施例中发送或接收或者通信的功能。本申请中描述的处理器和收发器可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路RFIC、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。该处理器和收发器也可以用各种IC工艺技术来制造,例如互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)、N型金属氧化物半导体(nMetal-oxide-semiconductor,NMOS)、P型金属氧化物半导体(positive channel metal oxide semiconductor,PMOS)、双极结型晶体管(bipolar junction transistor,BJT)、双极CMOS(BiCMOS)、硅锗(SiGe)、砷化镓(GaAs)等。
以上实施例描述中的通信装置可以是用于执行上述步骤S201~步骤S202、步骤S301~步骤S302、步骤S401~步骤S402、步骤S501~步骤S503或步骤S601~步骤S602的设备,还可以是第一网络设备、第二网络设备或者第三网络设备,但本申请中描述的通信装置的范围并不限于此,而且通信装置的结构可以不受图8的限制。通信装置可以是独立的设备或者可以是较大设备的一部分。例如所述通信装置可以是:
(1)独立的集成电路IC,或芯片,或,芯片系统或子系统;
(2)具有一个或多个IC的集合,可选的,该IC集合也可以包括用于存储数据,计算机程序的存储部件;
(3)ASIC,例如调制解调器(Modem);
(4)可嵌入在其他设备内的模块;
(5)接收机、终端、智能终端、蜂窝电话、无线设备、手持机、移动单元、车载设备、网络设备、云设备、人工智能设备等等;
(6)其他等等。
对于通信装置可以是芯片或芯片系统的情况,可参见图9所示的芯片的结构示意图。图9所示的芯片包括处理器901和接口902。其中,处理器901的数量可以是一个或多个,接口902的数量可以是多个。
对于芯片用于实现本申请实施例中步骤S201~步骤S202、步骤S301~步骤S302、步骤S401~步骤S402、步骤S501~步骤S503或步骤S601~步骤S602的功能的情况:
处理器901,用于调用接口902向网络请求获取第一终端设备和第二终端设备在同一时间的位置;还用于调用接口902接收来自该网络的该第一终端设备和该第二终端设备在同一时间的位置。
在一种实现方式中,处理器901还可以用于调用接口902发送第一位置请求至第一网络设备,该第一网络设备服务于该第一终端设备和该第二终端设备,该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;处理器901还可以用于调用接口902 接收来自该第一网络设备的第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第一位置请求包括第一指示信息,该第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,处理器901还可以用于确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该第一位置请求可以包括该偏差时间信息,该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备和该第二终端设备的位置是否满足前述时间精度要求。
在一种实现方式中,处理器901还可以用于调用接口902发送第二位置请求至第二网络设备,并发送第三位置请求至第三网络设备;其中,该第二位置请求用于请求获取第一终端设备在第一时刻的位置,该第三位置请求用于请求获取第二终端设备在该第一时刻的位置;处理器901还可以用于调用接口902接收来自该第二网络设备的第二位置信息,并接收来自该第三网络设备的第三位置信息;其中,该第二位置信息包括该第一终端设备在该第一时刻的位置,该第三位置信息包括该第二终端设备在该第一时刻的位置。
在一种实现方式中,该第二位置请求和该第三位置请求均包括第一时间信息,该第一时间信息用于指示该第一时刻。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,处理器901还可以用于确定第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该第二位置请求可以包括该偏差时间信息,该偏差时间信息使能调整定位该第一终端设备的位置的时间至该第一时刻。
在一种实现方式中,第二位置请求和第三位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第二位置信息还可以包括时间精度结果,该时间精度结果用于指示该第一终端设备的位置是否满足该时间精度要求。
在一种实现方式中,前述第二网络设备可以为:服务于第一终端设备的网络设备;或者,定位该第一终端设备的第一测量设备;或者,该第一终端设备;或者,服务于该第一终端设备的接入网设备。
对于芯片用于实现本申请实施例中第一网络设备的功能的情况:
处理器901,用于调用接口902接收第一位置请求;该第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;第一网络设备服务于该第一终端设备和该第二终端设备;处理器901还用于调用接口902发送第一位置信息,该第一位置信息包括该第一终端设备和该第二终端设备在同一时间的位置信息。
在一种实现方式中,该第一位置请求包括第一时间信息,该第一时间信息用于指示第一时刻;该第一位置请求用于请求获取第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第一位置请求包括第一指示信息,该第一指示信息用于指示获取第一终端设备和第二终端设备在同一时间的位置;处理器901还可以用于确定第一时刻,并获取该第一终端设备和第二终端设备在该第一时刻的位置。
在一种实现方式中,该第一位置请求可以包括第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息用于调整定位该第一终端设备的位置的时间,使能获取该第一终端设备和第二终端设备在同一时间的位置。
在一种实现方式中,该第一位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间与定位第二终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间和定位该第二终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备和该第二终端设备的位置是否满足前述时间精度要求。
对于芯片用于实现本申请实施例中第二网络设备的功能的情况:
处理器901,用于调用接口902接收第二位置请求;该第二位置请求用于请求获取第一终端设备在第一时刻的位置;处理器901还用于调用接口902发送第二位置信息,该第二位置信息包括该第一终端设备在该第一时刻的位置。
在一种实现方式中,该第二位置请求包括第一时间信息,该第一时间信息用于指示第一时刻。
在一种实现方式中,该第一时间信息包括该第一时刻或者第一时长,该第一时长用于指示该第一时刻。
在一种实现方式中,该第二位置请求可以包括第一终端设备的偏差时间信息,该偏差时间信息是根据定位该第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;该偏差时间信息使能调整定位第一终端设备的位置的时间至该第一时刻。
在一种实现方式中,该第二位置请求可以包括以下至少一项:时间精度要求,该时间精度要求用于指示定位第一终端设备的位置的时间需要满足的时间精度;第二时间信息,该第二时间信息用于指示定位该第一终端设备的位置的时间需要早于第二时刻。
在一种实现方式中,该第一位置信息还包括时间精度结果,该时间精度结果用于指示该第一终端设备的位置是否满足前述时间精度要求。
对于芯片用于实现本申请实施例中第三网络设备的功能的情况:
处理器901,用于调用接口902接收第三位置请求;该第三位置请求用于请求获取第二终端设备在第一时刻的位置;处理器901还用于调用接口902发送第三位置信息,该第三位 置信息包括该第一终端设备在该第一时刻的位置。
可选的,芯片还包括存储器903,存储器903用于存储必要的计算机程序和数据。
本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序包括程序指令,该程序指令被计算机执行时实现上述任一方法实施例的功能。
上述计算机可读存储介质包括但不限于快闪存储器、硬盘、固态硬盘。
本申请还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述任一方法实施例的功能。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序。在计算机上加载和执行所述计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机程序可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。
本领域普通技术人员可以理解:本申请中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。
本申请中的至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。在本申请实施例中,对于一种技术特征,通过“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”等区分该种技术特征中的技术特征,该“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”描述的技术特征间无先后顺序或者大小顺序。
本申请中各表所示的对应关系可以被配置,也可以是预定义的。各表中的信息的取值仅仅是举例,可以配置为其他值,本申请并不限定。在配置信息与各参数的对应关系时,并不一定要求必须配置各表中示意出的所有对应关系。例如,本申请中的表格中,某些行示出的对应关系也可以不配置。又例如,可以基于上述表格做适当的变形调整,例如,拆分,合并等等。上述各表中标题示出参数的名称也可以采用通信装置可理解的其他名称,其参数的取值或表示方式也可以通信装置可理解的其他取值或表示方式。上述各表在实现时,也可以采用其他的数据结构,例如可以采用数组、队列、容器、栈、线性表、指针、链表、树、图、结构体、类、堆、散列表或哈希表等。
本申请中的预定义可以理解为定义、预先定义、存储、预存储、预协商、预配置、固化、或预烧制。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算 法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (31)

  1. 一种位置获取方法,其特征在于,所述方法包括:
    向网络请求获取第一终端设备和第二终端设备在同一时间的位置;
    接收来自所述网络的所述第一终端设备和所述第二终端设备在同一时间的位置。
  2. 如权利要求1所述的方法,其中,所述向网络请求获取第一终端设备和第二终端设备在同一时间的位置,包括:
    发送第一位置请求至第一网络设备,所述第一网络设备服务于所述第一终端设备和所述第二终端设备,所述第一位置请求用于请求获取所述第一终端设备和所述第二终端设备在同一时间的位置;
    所述接收来自所述网络的所述第一终端设备和所述第二终端设备在同一时间的位置,包括:
    接收来自所述第一网络设备的第一位置信息,所述第一位置信息包括所述第一终端设备和所述第二终端设备在同一时间的位置。
  3. 如权利要求2所述的方法,其中,所述第一位置请求包括第一时间信息,所述第一时间信息用于指示第一时刻;
    所述第一位置请求用于请求获取所述第一终端设备和所述第二终端设备在所述第一时刻的位置。
  4. 如权利要求3所述的方法,其中,所述第一时间信息包括所述第一时刻或者第一时长,所述第一时长用于指示所述第一时刻。
  5. 如权利要求2所述的方法,其中,所述第一位置请求包括第一指示信息,所述第一指示信息用于指示获取所述第一终端设备和所述第二终端设备在同一时间的位置。
  6. 如权利要求2所述的方法,其中,所述方法还包括:
    确定所述第一终端设备的偏差时间信息,所述偏差时间信息是根据定位所述第一终端设备的历史位置的时间和定位所述第二终端设备的历史位置的时间确定的;
    所述第一位置请求包括所述偏差时间信息,所述偏差时间信息用于调整定位所述第一终端设备的位置的时间,使能获取所述第一终端设备和所述第二终端设备在同一时间的位置。
  7. 如权利要求2~6中任一项所述的方法,其中,所述第一位置请求包括以下至少一项:
    时间精度要求,所述时间精度要求用于指示定位所述第一终端设备的位置的时间与定位所述第二终端设备的位置的时间需要满足的时间精度;
    第二时间信息,所述第二时间信息用于指示定位所述第一终端设备的位置的时间和定位所述第二终端设备的位置的时间需要早于第二时刻。
  8. 如权利要求7所述的方法,其中,所述第一位置信息还包括时间精度结果,所述时间精度结果用于指示所述第一终端设备和所述第二终端设备的位置是否满足所述时间精度要求。
  9. 如权利要求1所述的方法,其中,所述向网络请求获取第一终端设备和第二终端设备在同一时间的位置,包括:
    发送第二位置请求至第二网络设备,所述第二位置请求用于请求获取所述第一终端设备在第一时刻的位置;
    发送第三位置请求至第三网络设备,所述第三位置请求用于请求获取所述第二终端设备 在所述第一时刻的位置;
    所述接收来自所述网络的所述第一终端设备和所述第二终端设备在同一时间的位置,包括:
    接收来自所述第二网络设备的第二位置信息,所述第二位置信息包括所述第一终端设备在所述第一时刻的位置;
    接收来自所述第三网络设备的第三位置信息,所述第三位置信息包括所述第二终端设备在所述第一时刻的位置。
  10. 如权利要求9所述的方法,其中,所述第二位置请求和所述第三位置请求均包括第一时间信息,所述第一时间信息用于指示所述第一时刻。
  11. 如权利要求10所述的方法,其中,所述第一时间信息包括所述第一时刻或者第一时长,所述第一时长用于指示所述第一时刻。
  12. 如权利要求9所述的方法,其中,所述方法还包括:
    确定所述第一终端设备的偏差时间信息,所述偏差时间信息是根据定位所述第一终端设备的历史位置的时间和定位所述第二终端设备的历史位置的时间确定的;
    所述第二位置请求包括所述偏差时间信息,所述偏差时间信息使能调整定位所述第一终端设备的位置的时间至所述第一时刻。
  13. 如权利要求9~12中任一项所述的方法,其中,所述第二位置请求和所述第三位置请求包括以下至少一项:
    时间精度要求,所述时间精度要求用于指示定位所述第一终端设备的位置的时间与定位所述第二终端设备的位置的时间需要满足的时间精度;
    第二时间信息,所述第二时间信息用于指示定位所述第一终端设备的位置的时间和定位所述第二终端设备的位置的时间需要早于第二时刻。
  14. 如权利要求13所述的方法,其中,所述第二位置信息还包括时间精度结果,所述时间精度结果用于指示所述第一终端设备的位置是否满足所述时间精度要求。
  15. 如权利要求9~14中任一项所述的方法,其中,所述第二网络设备为:
    服务于所述第一终端设备的网络设备;或者,
    定位所述第一终端设备的第一测量设备;或者,
    所述第一终端设备;或者,
    服务于所述第一终端设备的接入网设备。
  16. 一种位置获取方法,其特征在于,所述方法包括:
    第一网络设备接收第一位置请求;所述第一位置请求用于请求获取第一终端设备和第二终端设备在同一时间的位置;所述第一网络设备服务于所述第一终端设备和所述第二终端设备;
    所述第一网络设备发送第一位置信息,所述第一位置信息包括所述第一终端设备和所述第二终端设备在同一时间的位置信息。
  17. 如权利要求16所述的方法,其中,所述第一位置请求包括第一时间信息,所述第一时间信息用于指示第一时刻;
    所述第一位置请求用于请求获取所述第一终端设备和所述第二终端设备在所述第一时刻的位置。
  18. 如权利要求17所述的方法,其中,所述第一时间信息包括所述第一时刻或者第一时长,所述第一时长用于指示所述第一时刻。
  19. 如权利要求16所述的方法,其中,所述第一位置请求包括第一指示信息,所述第一指示信息用于指示获取所述第一终端设备和所述第二终端设备在同一时间的位置;所述方法还包括:
    所述第一网络设备确定第一时刻,并获取所述第一终端设备和第二终端设备在所述第一时刻的位置。
  20. 如权利要求16所述的方法,其中,所述第一位置请求包括所述第一终端设备的偏差时间信息,所述偏差时间信息是根据定位所述第一终端设备的历史位置的时间和定位所述第二终端设备的历史位置的时间确定的;所述偏差时间信息用于调整定位所述第一终端设备的位置的时间,使能获取所述第一终端设备和第二终端设备在同一时间的位置。
  21. 如权利要求16~20中任一项所述的方法,其中,所述第一位置请求包括以下至少一项:
    时间精度要求,所述时间精度要求用于指示定位所述第一终端设备的位置的时间与定位所述第二终端设备的位置的时间需要满足的时间精度;
    第二时间信息,所述第二时间信息用于指示定位所述第一终端设备的位置的时间和定位所述第二终端设备的位置的时间需要早于第二时刻。
  22. 如权利要求21所述的方法,其中,所述第一位置信息还包括时间精度结果,所述时间精度结果用于指示所述第一终端设备和所述第二终端设备的位置是否满足所述时间精度要求。
  23. 一种位置获取方法,其特征在于,所述方法包括:
    第二网络设备接收第二位置请求;所述第二位置请求用于请求获取第一终端设备在第一时刻的位置;
    所述第二网络设备发送第二位置信息,所述第二位置信息包括所述第一终端设备在所述第一时刻的位置。
  24. 如权利要求23所述的方法,其中,所述第二位置请求包括第一时间信息,所述第一时间信息用于指示所述第一时刻。
  25. 如权利要求24所述的方法,其中,所述第一时间信息包括所述第一时刻或者第一时长,所述第一时长用于指示所述第一时刻。
  26. 如权利要求23所述的方法,其中,所述第二位置请求包括所述第一终端设备的偏差时间信息,所述偏差时间信息是根据定位所述第一终端设备的历史位置的时间和定位第二终端设备的历史位置的时间确定的;所述偏差时间信息使能调整定位所述第一终端设备的位置的时间至所述第一时刻。
  27. 如权利要求23~26中任一项所述的方法,其中,所述第二位置请求包括以下至少一项:
    时间精度要求,所述时间精度要求用于指示定位所述第一终端设备的位置的时间需要满足的时间精度;
    第二时间信息,所述第二时间信息用于指示定位所述第一终端设备的位置的时间需要早于第二时刻。
  28. 一种通信装置,其特征在于,包括用于执行如权利要求1~15、16~22或23~27中任一项所述的方法的单元。
  29. 一种通信装置,其特征在于,所述装置包括处理器和存储器,所述存储器中存储有程序指令,所述处理器执行所述存储器中存储的程序指令,以使所述装置执行如权利要求1~15、16~22或23~27中任一项所述的方法。
  30. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序, 所述计算机程序包括程序指令,所述程序指令被通信装置执行时使所述通信装置执行如权利要求1~15、16~22或23~27中任一项所述的方法。
  31. 一种通信系统,其特征在于,包括用于执行如权利要求1~15中任一项所述方法的通信装置以及用于执行如权利要求16~22中任一项所述方法的第一网络设备。
PCT/CN2021/111008 2020-08-12 2021-08-05 一种位置获取方法及其装置 WO2022033390A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21855443.4A EP4184954A4 (en) 2020-08-12 2021-08-05 POSITION DETECTION METHOD AND DEVICE THEREFOR
US18/167,583 US20230189204A1 (en) 2020-08-12 2023-02-10 Location Obtaining Method and Apparatus Thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010817055.7A CN114079853B (zh) 2020-08-12 2020-08-12 一种位置获取方法及其装置
CN202010817055.7 2020-08-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/167,583 Continuation US20230189204A1 (en) 2020-08-12 2023-02-10 Location Obtaining Method and Apparatus Thereof

Publications (1)

Publication Number Publication Date
WO2022033390A1 true WO2022033390A1 (zh) 2022-02-17

Family

ID=80247679

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/111008 WO2022033390A1 (zh) 2020-08-12 2021-08-05 一种位置获取方法及其装置

Country Status (4)

Country Link
US (1) US20230189204A1 (zh)
EP (1) EP4184954A4 (zh)
CN (1) CN114079853B (zh)
WO (1) WO2022033390A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185364A1 (zh) * 2022-03-26 2023-10-05 华为技术有限公司 一种通信控制方法及通信装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790684A (zh) * 2017-02-13 2017-05-31 北京奇虎科技有限公司 信息推送方法、装置及相应的服务器
WO2019096328A1 (zh) * 2017-11-20 2019-05-23 华为技术有限公司 一种位置信息的上报方法和装置
CN111506104A (zh) * 2020-04-03 2020-08-07 北京邮电大学 一种规划无人机位置的方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8165605B2 (en) * 2008-10-30 2012-04-24 Sony Mobile Communications Ab Automatic detection of personal networks
US8150967B2 (en) * 2009-03-24 2012-04-03 Yahoo! Inc. System and method for verified presence tracking
EP2955941B1 (en) * 2011-10-24 2017-03-29 Huawei Device Co., Ltd. Method for sharing terminal location and terminal device
US9671791B1 (en) * 2015-06-10 2017-06-06 Amazon Technologies, Inc. Managing unmanned vehicles
CN106412827A (zh) * 2016-09-09 2017-02-15 北京小米移动软件有限公司 定位方法及装置
US9955319B2 (en) * 2016-09-12 2018-04-24 Zendrive, Inc. Method for mobile device-based cooperative data capture
CN109756837B (zh) * 2017-11-03 2020-11-24 滴图(北京)科技有限公司 定位方法及装置
US11388657B2 (en) * 2018-08-13 2022-07-12 Qualcomm Incorporated Methods and systems for supporting unified location of a mobile device in a 5G network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790684A (zh) * 2017-02-13 2017-05-31 北京奇虎科技有限公司 信息推送方法、装置及相应的服务器
WO2019096328A1 (zh) * 2017-11-20 2019-05-23 华为技术有限公司 一种位置信息的上报方法和装置
CN111506104A (zh) * 2020-04-03 2020-08-07 北京邮电大学 一种规划无人机位置的方法及装置

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CATT: "KI#4, New Sol: UAV and UAV Controller tracking based on LCS mechanism", 3GPP DRAFT; S2-2004081, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Elbonia; 20200601 - 20200612, 22 May 2020 (2020-05-22), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051890088 *
SAMSUNG: "KI #6, New Sol: UAV-UAVC association control", 3GPP DRAFT; S2-2004686, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. 20200601 - 20200612, 15 June 2020 (2020-06-15), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051898982 *
See also references of EP4184954A4

Also Published As

Publication number Publication date
CN114079853B (zh) 2023-03-28
EP4184954A4 (en) 2024-01-24
CN114079853A (zh) 2022-02-22
US20230189204A1 (en) 2023-06-15
EP4184954A1 (en) 2023-05-24

Similar Documents

Publication Publication Date Title
WO2023108656A1 (zh) 一种全球卫星导航系统gnss的测量方法及其装置
WO2023010471A1 (zh) 一种传输配置指示tci状态配置的方法及其装置
WO2022033390A1 (zh) 一种位置获取方法及其装置
WO2024092523A1 (zh) 侧行链路定位消息的发送方法、接收方法及其装置
WO2024021128A1 (zh) 同步参考源的确定方法及装置
WO2024077455A1 (zh) 一种非陆地网络的接入方法及装置
WO2023206034A1 (zh) 混合自动重传请求harq反馈的处理方法及其装置
WO2023245684A1 (zh) 全球导航卫星系统gnss定位测量方法及装置
CN116157706A (zh) 全球导航卫星系统gnss定位测量方法及装置
WO2023108506A1 (zh) 一种定位的方法及装置
WO2023077471A1 (zh) 位置信息更新方法和装置
WO2023010571A1 (zh) 一种定位测量的方法及其装置
WO2024138759A1 (zh) 全球导航卫星系统gnss定位测量方法及装置
WO2022236625A1 (zh) 一种定位方法及其装置
WO2022266926A1 (zh) 一种定时关系调整方法及其装置
WO2022205144A1 (zh) 一种定位参考信号配置信息的确定方法及其装置
WO2022205006A1 (zh) 一种确定功率参数的方法及其装置
WO2023102942A1 (zh) 测量间隔指示方法及装置
WO2024026795A1 (zh) 一种侧行链路sl定位参考信号prs的发送方法及装置
WO2024138461A1 (zh) 定位测量方法及装置
WO2024082143A1 (zh) 一种设备业务角色的验证方法/装置/设备及存储介质
WO2024138460A1 (zh) 定位方法及装置
WO2023184456A1 (zh) 测量时间的确定方法和装置
WO2023102945A1 (zh) 测量间隔配置方法及装置
WO2023193273A1 (zh) 一种控制源辅节点释放的方法及装置

Legal Events

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

Ref document number: 21855443

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021855443

Country of ref document: EP

Effective date: 20230217

NENP Non-entry into the national phase

Ref country code: DE