WO2022242434A1 - 一种定位方法和装置 - Google Patents

一种定位方法和装置 Download PDF

Info

Publication number
WO2022242434A1
WO2022242434A1 PCT/CN2022/089314 CN2022089314W WO2022242434A1 WO 2022242434 A1 WO2022242434 A1 WO 2022242434A1 CN 2022089314 W CN2022089314 W CN 2022089314W WO 2022242434 A1 WO2022242434 A1 WO 2022242434A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
message
terminal device
identifier
network
Prior art date
Application number
PCT/CN2022/089314
Other languages
English (en)
French (fr)
Other versions
WO2022242434A9 (zh
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 EP22803758.6A priority Critical patent/EP4340401A1/en
Publication of WO2022242434A1 publication Critical patent/WO2022242434A1/zh
Publication of WO2022242434A9 publication Critical patent/WO2022242434A9/zh
Priority to US18/512,808 priority patent/US20240089899A1/en

Links

Images

Classifications

    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • 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/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communication technologies, and in particular to a positioning method and device.
  • the application of the fifth generation communication technology (5th generation, 5G) to the campus network (such as enterprise network, campus network, etc.) Positioning of indoor terminal equipment.
  • the common terminal devices in campus networks are IoT terminals (such as electric meters, sensors, etc.).
  • IoT terminals such as electric meters, sensors, etc.
  • the general characteristics of IoT terminals are low power consumption and low cost. Usually, they do not have complete communication functions, so the positioning process of terminal devices in 5G networks cannot be applied to campus networks.
  • Embodiments of the present application provide a positioning method and device for positioning a terminal device in a campus network.
  • a positioning method is provided, and the method may be executed by a first network element or a chip on the first network element.
  • the method includes: the first network element receives a first message from the second network element, and the first message includes a first correspondence between the identifier of the first terminal device and the identifier of the second network element relationship; the first network element stores the first corresponding relationship; the first network element receives the second message from one or more access network devices, wherein the second message includes the identifier of the first terminal device and the information sent to the first terminal device
  • the measurement result of the positioning signal the first network element forwards the second message to the second network element according to the first correspondence and the identifier of the first terminal device included in the second message.
  • a fixed second network element is configured for the first terminal device in the campus network, and the configuration information (that is, the first and second information between the identifier of the first terminal device and the identifier of the second network element) is saved on the first network element.
  • the first network element can route the positioning message of the first terminal device to the second terminal corresponding to the first terminal device according to the first corresponding relationship. Network elements, and then can locate terminal devices in the campus network.
  • the second message also includes positioning parameters of the first terminal device.
  • the second message may carry the positioning capability of the first terminal device, the positioning method of the first terminal device, the positioning accuracy of the first terminal device, the positioning frequency of the first terminal device, and the notification address of the positioning result of the first terminal device. one or more of .
  • the network can be assisted in locating the first terminal device, and the positioning requirements of the first terminal device can be satisfied as much as possible.
  • the positioning parameter is an encrypted and/or integrity protected parameter.
  • the first network element establishes a signaling connection with each of the one or more access network devices.
  • the signaling connection is a signaling connection with device granularity (such as an NG-AP connection), that is, the establishment of the connection has nothing to do with the terminal device (user).
  • the first network element and the access network device can communicate without being aware of the terminal device (user).
  • the network element type of the first network element is AMF
  • the network element type of the second network element is AMF
  • the network element type of the third network element is LMF.
  • the first network element and the second network element are of the same type, but not the same network element.
  • the first network element is a default AMF.
  • a positioning method is provided, and the method may be executed by a second network element or a chip on the second network element.
  • the method includes: the second network element establishes a context of the first terminal device, wherein the context includes an identifier of the first terminal device; the second network element sends a first message to the first network element , the first message contains the first corresponding relationship between the identifier of the first terminal device and the identifier of the second network element; the second network element receives the second message from the first network element, and the second message is the first network element according to the first The corresponding relationship is sent to the second network element, wherein the second message includes the identification of the first terminal device and the measurement result of the positioning signal sent by the first terminal device; the second network element sends the measurement result in the second message to The third network element is configured to determine the location information of the first terminal device according to the measurement result.
  • a positioning method is provided, and the method may be executed by an access network device or a chip on the access network device.
  • the method includes: the access network device receives a positioning signal sent by the first terminal device, and performs measurement on the positioning signal to obtain a measurement result; and, receiving the third positioning signal sent by the first terminal device message, the third message includes the identifier of the first terminal device; the access network device generates a second message based on the measurement result and the third message, and sends the second message to the first network element, wherein the second message includes the identifier of the first terminal device identification and measurement results.
  • a positioning method is provided, and the method may be executed by a first terminal device or a chip on the first terminal device. Taking the method executed by the first terminal device as an example, the method includes: the first terminal device sends a positioning signal; the first terminal device sends a third message, and the third message includes the identifier of the first terminal device.
  • the first terminal device sends the positioning signal and the third message in a broadcast manner.
  • a positioning method is provided, and the method may be executed by an access network device or a chip on the access network device. Taking the method executed by the second network element as an example, the method includes: the access network device receives a fourth message from the second network element, where the fourth message includes a second message containing the address of the second network element and the identity of the second network element.
  • the access network device receives the positioning signal sent by the first terminal device, and performs measurement on the positioning signal to obtain the measurement result; and receives the eighth message sent by the first terminal device, and the eighth message includes the first terminal device The identifier of the second network element, the identifier of the second network element; the access network device sends the sixth message to the second network element according to the identifier of the second network element in the eighth message and the second corresponding relationship, wherein the sixth message contains the first Identification of end devices and measurement results.
  • a fixed second network element is configured for the first terminal device in the campus network.
  • the first terminal device reports a positioning message (referring to a message related to The message carries the identifier of the second network element corresponding to the first terminal device, and then the access network device can route the positioning message to the second network element corresponding to the first terminal device based on the identifier of the second network element, thereby realizing the Terminal devices on the campus network are located.
  • the eighth message also includes positioning parameters of the first terminal device.
  • the eighth message carries the positioning capability of the first terminal device, the positioning method of the first terminal device, the positioning accuracy of the first terminal device, the positioning frequency of the first terminal device, and the notification address of the positioning result of the first terminal device. one or more.
  • the network can be assisted in locating the first terminal device, and the positioning requirements of the first terminal device can be satisfied as much as possible.
  • the positioning parameter is an encrypted and/or integrity protected parameter.
  • the second network element has a signaling connection with each of the one or more access network devices.
  • the signaling connection is a device granular signaling connection (NG-AP connection), that is, the establishment of the connection has nothing to do with the terminal device (user).
  • NG-AP connection device granular signaling connection
  • the second network element can communicate with the access network device without being aware of the terminal device (user).
  • the second network element is an AMF
  • the third network element is an LMF
  • a positioning method is provided, and the method may be executed by a second network element or a chip on the second network element.
  • the method includes: the second network element sends a fourth message to one or more access network devices, where the fourth message includes the address of the second network element and the address of the second network element The second corresponding relationship of the identification; the second network element receives the fifth message from the third network element, and the fifth message includes the third corresponding relationship between the identification of the first terminal device and the identification of the third network element; the second network element saves The third corresponding relationship: the second network element receives a sixth message from one or more access network devices, the sixth message includes the identifier of the first terminal device and the measurement result of the positioning signal sent by the first terminal device, the sixth The message is sent by the access network device to the second network element according to the second correspondence; the second network element sends the seventh message to the third network element according to the third correspondence and the identifier of the first terminal device in the sixth message
  • a positioning method is provided, and the method may be executed by a third network element or a chip on the third network element.
  • the method includes: the third network element establishes a context of the first terminal device, and the context includes an identifier of the first terminal device; the third network element sends a fifth message to the second network element, The fifth message includes a third corresponding relationship between the identifier of the first terminal device and the identifier of the third network element; the third network element receives the seventh message from the second network element, and the seventh message includes the information sent to the first terminal device
  • the measurement result of the positioning signal the seventh message is sent by the second network element to the third network element according to the third correspondence; the third network element determines the location information of the first terminal device according to the measurement result.
  • a positioning method is provided, and the method may be executed by a first terminal device or a chip on the first terminal device. Taking the method executed by the first terminal device as an example, the method includes: the first terminal device sends a positioning signal; the first terminal device sends an eighth message, and the eighth message includes the identifier of the first terminal device and the identifier of the second network element.
  • the first terminal device sends the positioning signal and the eighth message in a broadcast manner.
  • a positioning device the device is located in a first network element, and the device includes a module/unit for performing the method steps described in the first aspect or any possible design of the first aspect;
  • the device includes a communication module and a processing module; wherein the communication module is used for the first network element to communicate with other network elements; the processing module is used for: receiving the first message from the second network element through the communication module, the first The message includes a first correspondence between the identifier of the first terminal device and the identifier of the second network element; save the first correspondence; receive a second message from one or more access network devices through the communication module, wherein the second message contains Including the identification of the first terminal device and the measurement result of the positioning signal sent by the first terminal device; according to the first correspondence and the identification of the first terminal device contained in the second message, the second message is forwarded to the second message through the communication module Two network elements.
  • a positioning device is provided, the device is located in a second network element, and the device includes a module/unit for performing the method steps described in the second aspect or any possible design of the second aspect;
  • the apparatus includes a communication module and a processing module; the communication module is used for the second network element to communicate with other network elements; the processing module is used for: establishing a context of the first terminal device, wherein the context includes the first terminal The identification of the device; sending a first message to the first network element through the communication module, and the first message includes the first corresponding relationship between the identification of the first terminal device and the identification of the second network element; receiving from the first network element through the communication module The second message, the second message is sent by the first network element to the second network element according to the first correspondence, where the second message includes the identifier of the first terminal device and the measurement result of the positioning signal sent by the first terminal device ; Send the measurement result in the second message to the third network element through the communication module, and the third network element is used to determine the location information of the first terminal device according to the measurement result.
  • a positioning device is provided, the device is located in an access network device, and the device includes a module/unit for performing the method steps described in the third aspect or any possible design of the third aspect;
  • the apparatus includes a communication module and a processing module; wherein the communication module is used for the access network device to communicate with other network elements or devices; the processing module is used for: receiving the positioning signal sent by the first terminal device through the communication module; Perform measurement on the positioning signal to obtain measurement results; receive a third message sent by the first terminal device through the communication module, and the third message includes the identity of the first terminal device; generate a second message based on the measurement result and the third message; The module sends a second message to the first network element, where the second message includes the identifier of the first terminal device and the measurement result of the first terminal device.
  • a positioning device the device is located in the first terminal device, and the device includes a module/unit for performing the method steps described in the fourth aspect or any possible design of the fourth aspect;
  • the apparatus includes a communication module and a processing module; wherein the communication module is used for the first terminal device to communicate with other network elements or devices; the processing module is used for: generating a positioning signal and a third message; sending a positioning signal through the communication module signal and a third message, where the third message includes the identifier of the first terminal device.
  • a positioning device the device is located in an access network device, and the device includes a module/unit for performing the method steps described in the fifth aspect or any possible design of the fifth aspect;
  • the apparatus includes a communication module and a processing module; wherein the communication module is used for the access network device to communicate with other network elements or devices; the processing module is used for: receiving the fourth message from the second network element through the communication module, Wherein the fourth message includes the second corresponding relationship between the address of the second network element and the identity of the second network element; receiving the positioning signal sent by the first terminal device through the communication module; performing measurement on the positioning signal to obtain the measurement result;
  • the module receives the eighth message sent by the first terminal device, the eighth message includes the identifier of the first terminal device and the identifier of the second network element; according to the identifier of the second network element in the eighth message and the second corresponding relationship, through
  • the communication module sends a sixth message to the second network element, where the sixth message includes the identifier of the first terminal device and the measurement result.
  • a positioning device the device is located in a second network element, and the device includes a module/unit for performing the method steps described in the sixth aspect or any possible design of the sixth aspect;
  • the apparatus includes a communication module and a processing module; wherein the communication module is used for the second network element to communicate with other network elements; the processing module is used for: sending the fourth network element to one or more access network devices through the communication module message, wherein the fourth message includes a second corresponding relationship between the address of the second network element and the identifier of the second network element; the fifth message is received from the third network element through the communication module, and the fifth message includes the address of the first terminal device A third corresponding relationship between the identifier and the identifier of the third network element; saving the third corresponding relationship; receiving a sixth message from one or more access network devices through the communication module, where the sixth message includes the identifier of the first terminal device and at least An access network device measures the positioning signal sent by the first terminal device, and the sixth message is sent by the access network device to the second network element according to the second correspondence; according to the third correspondence, the sixth message The identifier of the first terminal device sends a seventh message to the third network element through the communication module, the seventh message includes
  • a fifteenth aspect provides a positioning device, the device is located in a third network element, and the device includes a module/unit for performing the method steps described in the seventh aspect or any possible design of the seventh aspect;
  • the apparatus includes a communication module and a processing module; the communication module is used for the third network element to communicate with other network elements; the processing module is used for: establishing a context of the first terminal device, and the context includes the first terminal device the identification of the second network element; send the fifth message to the second network element through the communication module, and the fifth message includes the third corresponding relationship between the identification of the first terminal device and the identification of the third network element; receive the third corresponding relationship between the identification of the first terminal device and the identification of the third network element through the communication module.
  • the seventh message includes the first terminal device and the measurement result of the positioning signal sent by the first terminal device, the seventh message is sent by the second network element to the third network element according to the third correspondence; according to the measurement As a result, location information of the first terminal device is determined.
  • a positioning device the device is located in the first terminal device, and the device includes a module/unit for performing the method steps described in the eighth aspect or any possible design of the eighth aspect;
  • the apparatus includes a communication module and a processing module; wherein the communication module is used for the first terminal device to communicate with other network elements or devices; the processing module is used for: generating a positioning signal and an eighth message; sending a positioning signal through the communication module signal and an eighth message, where the eighth message includes the identifier of the first terminal device and the identifier of the second network element.
  • a positioning device including: at least one processor; and a memory and a communication interface connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and at least one The processor executes the instructions stored in the memory, so that the device executes the method described in any one of the first aspect to the eighth aspect through the communication interface.
  • a computer-readable storage medium including a program or an instruction.
  • the program or instruction When the program or instruction is run on a computer, the method described in any one of the first to eighth aspects above is executed.
  • a computer program product including instructions, which, when run on a computer, cause the method described in any one of the first to eighth aspects above to be executed.
  • a chip the chip is coupled with a memory, and is used to read and execute program instructions stored in the memory, so that the method described in any one of the first to eighth aspects above is implemented implement.
  • a communication system including:
  • a first network element configured to execute the method described in the first aspect above;
  • a second network element configured to execute the method described in the second aspect above;
  • An access network device configured to execute the method described in the third aspect above;
  • a terminal device configured to execute the method described in the fourth aspect above.
  • a communication system including:
  • An access network device configured to execute the method described in the fifth aspect above;
  • the second network element is configured to execute the method described in the sixth aspect above;
  • a third network element configured to execute the method described in the seventh aspect above;
  • a terminal device configured to execute the method described in the eighth aspect above.
  • FIG. 1 is a schematic diagram of a communication protocol stack between a UE and a network device in a 5G network;
  • FIG. 2 is a schematic diagram of a process for a UE in a 5G network to access a 5G network based on the protocol stack shown in FIG. 1;
  • FIG. 3 is a schematic diagram of a process for positioning a UE by a 5G network
  • FIG. 4 is a schematic diagram of a network architecture applicable to an embodiment of the present application.
  • FIG. 5 is a flow chart of a positioning method provided in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a positioning technology based on a triangular relationship
  • FIG. 7 is a flowchart of another positioning method provided by the embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a positioning device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a positioning device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • system and “network” in the embodiments of the present application may be used interchangeably.
  • At least one means one or more, and “plurality” means two or more.
  • And/or describes the association relationship of associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an "or” relationship.
  • At least one of the following or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items, such as at least one of a, b or c (a), can represent: a, or b, or c, or a and b, or b and c, or a and c, or a and b and c.
  • first and second are used to distinguish multiple objects, and are not used to limit the order, timing, priority or priority of multiple objects. Importance.
  • first priority criterion and the second priority criterion are only for distinguishing different criteria, but do not represent the difference in content, priority or importance of the two criteria.
  • FIG. 1 it is a schematic diagram of a communication protocol stack between a user equipment (User Equement, UE) and a network device in a fifth generation communication technology (5th generation, 5G) network.
  • the communication protocol stack of UE includes Non-Access Stratum (Non-Access Stratum, NAS), Radio Resource Control (Radio Resource Control, RRC) layer, Packet Data Convergence Protocol (Packet Data Convergence Protocol, PDCP) successively from top to bottom communication layer, radio link control (Radio Link Control, RLC) layer, media access control (Media Access Control, MAC) layer, physical layer (physical, PHY), etc., radio access network (Radio Access Network, RAN) equipment
  • the protocol stack includes RRC layer, PDCP layer, RLC layer, MAC layer, PHY layer, etc. from top to bottom, and the communication protocol stack of Access and Mobility Management Function (AMF) includes NAS layer, etc.
  • AMF Access and Mobility Management Function
  • FIG 2 it is a schematic diagram of the process of UE accessing the 5G network based on the protocol stack shown in Figure 1 in the 5G network, including:
  • the UE sends an attach request message (NAS message) to the AMF, and the AMF receives the attach request message.
  • NAS message attach request message
  • the UE first sends an attach request message to the RAN (such as next generation node B (next generation node B, gNB) or next generation evolved base station (next generation evolved nodeB, ng-eNB)), the message type of the attach request message It is a NAS message, and the attach request message carries information such as UE identity, request type, and UE capability.
  • the RAN receives the attach request message sent by the UE, the RAN adds the current location information of the UE, that is, the cell ID. Afterwards, the RAN forwards the attach request message to the AMF, and provides the current location information of the UE to the AMF.
  • the AMF judges whether to obtain subscription data of the UE based on the request type carried in the attach request message.
  • the AMF receives the attach request message and the location information (ie cell ID) provided by the RAN, it also creates a context for the UE, and the UE context stores information such as the UE identity, UE location, and UE capabilities;
  • the AMF requests the subscription data of the UE from Unified Data Management (UDM), and the request message carries the UE identifier.
  • UDM Unified Data Management
  • the UDM determines UE subscription data according to the UE identifier.
  • the UDM sends a subscription data response message to the AMF, and the message carries the UE subscription data.
  • the AMF judges whether to accept the attach request of the UE based on the subscription data of the UE.
  • the AMF sends an attach response message to the UE, carrying an attach request result.
  • the AMF will send the UE's attached tracking area in the attach response message sent to the UE.
  • the tracking area is a range that allows the UE to move within the area without notifying the network of its specific location. Once the UE leaves the area, it will re-initiate a registration request to the network.
  • LCS Location Service
  • the positioning capability of the 5G network is to measure the transmitted signal of the UE through a mobile communication base station (such as gNB or NG-RAN) and calculate the position of the UE.
  • a UE such as a smart phone
  • a 5G network supports multiple positioning scenarios such as emergency services (such as 110 alarm) and commercial services (such as an application (APP) wants to know the user's location).
  • emergency services such as 110 alarm
  • APP application
  • FIG. 3 it is a schematic diagram of the process of positioning the UE by the 5G network after the UE accesses the 5G network, including:
  • the LCS client sends a location request message to the Gateway Mobile Location Center (GMLC), where the location request message carries the UE's user ID, location accuracy, and the like.
  • GMLC Gateway Mobile Location Center
  • the GMLC authorizes the positioning request of the LCS client, and forwards the positioning request message to the AMF.
  • the AMF checks the subscription data of the UE, and after determining that the UE can be located, the AMF sends a location request to a location management function (Location Management Function, LMF).
  • LMF Location Management Function
  • the LMF determines a positioning method according to the positioning accuracy.
  • the LMF executes a positioning process, and the positioning process involves interaction with the UE, the RAN, and the like.
  • the LMF sends its own identity or address and the identity of the UE to the AMF, and the AMF further sends the identity or address of the LMF and the identity of the UE to the RAN. Because the RAN locally saves the context of the UE, the RAN can determine the positioned UE based on the UE identifier, and then measure the uplink signal or downlink signal of the UE. After the RAN collects the measurement signal of the UE, it reports the measurement signal to the address configured by the LMF.
  • the LMF calculates the location of the UE based on the measurement signal.
  • the LMF sends a location response message to the AMF, where the location response message carries the user identifier of the UE and the location of the UE.
  • the AMF sends a location response message to the GMLC, where the location response message carries the user identifier of the UE and the location of the terminal UE.
  • the GMLC sends a location response message to the GMLC, where the location response message carries the user identifier of the UE and the location of the UE.
  • the protocol stack of the UE in the 5G network is based on the full set of protocol stacks defined by the 3rd Generation Partnership Project (3GPP), so the UE can communicate with the AMF directly
  • 3GPP 3rd Generation Partnership Project
  • the application of 5G technology to the campus network is one of the current hot directions.
  • the campus network refers to the network covering a specific local area, such as covering enterprise parks, campuses, airports, railway stations, large shopping malls or stadiums, etc. network of places.
  • the UE can access the local gateway through the wireless access network, thereby directly accessing the corresponding local network, avoiding the detour to the external data network, thereby reducing the delay of accessing applications and the bandwidth of the backbone network.
  • stadiums provide live VR live broadcasts
  • campuses provide park communications to access learning resources on campus
  • enterprise parks provide industrial control communications
  • shopping malls provide local shopping discount push and real-time location navigation.
  • One of the 5G technologies used by the campus network is to track the location of terminal devices in the campus, especially for indoor terminal devices.
  • indoor environments there are many businesses in indoor scenarios. For example, commercial indoor products are best applied to the customer's one-stop process from parking, navigation, payment, shopping, and car pickup. In some commercial scenarios, they are also responsible for playing the role of consumption guide; Indoor applications involve user functions from navigation, registration, queuing, and business handling. This requires that the indoor map application has a high integration capability or the system itself covers more functions than traditional applications. Therefore, the product needs to be closer to the direction of intelligence, the data presentation form is more flexible, and the data delivery is more accurate.
  • the common terminals that need to be positioned are not necessarily the common UEs in the 5G network (such as the user's smart phone).
  • the Internet of Things (IoT) terminal Such as electric meters, sensors, etc.
  • the general feature of IoT terminals is that their functions are very simple, and some even have no communication power consumption but only positioning capabilities, which can reduce the power consumption of terminals and increase their service life.
  • the communication protocol stack of the IoT terminal lacks at least the NAS layer and the RRC layer, so the IoT terminal cannot communicate directly with the AMF. Therefore, in the campus network, it is impossible to follow the network access process in 5G technology (the process shown in Figure 2) to connect the terminal to the network.
  • the network naturally cannot configure positioning service parameters for the terminal. For example, the terminal cannot establish a connection with the RAN side to send directional data, and the RAN does not have the terminal's network management device information, UE context, etc. , when the LMF needs to locate the terminal, the RAN cannot route to the terminal. Therefore, in the campus network, it is also impossible to follow the positioning process in the 5G technology (the process shown in Figure 3) to locate the terminal.
  • the embodiments of the present application provide a positioning method and device, so as to realize accessing a PUE in a campus network to a network and positioning it.
  • the embodiments of this application can be applied to scenarios where the campus network needs to locate terminal devices, such as real-time tracking and positioning of terminal devices, historical track tracking of terminal devices, warnings in restricted areas, and proactive help-seeking, etc.
  • FIG. 4 it is a schematic diagram of a network architecture applicable to this embodiment of the present application.
  • the network includes: terminal equipment, RAN, AMF, LMF, GMLC, network exposure function (Network Exposure Function, NEF), application function (Application Function, AF) and UDM, etc.
  • NEF Network Exposure Function
  • AF Application Function
  • UDM User Data Management Function
  • Terminal equipment including the above-mentioned terminals that do not have complete communication functions (that is, terminals that do not have a full set of protocol stacks defined by 3GPP), such as PUE that does not support the NAS protocol and the RRC protocol.
  • PUE that does not support the NAS protocol and the RRC protocol.
  • IoT devices such as electricity meters, sensors, barcodes, radio frequency identification (RFID), laser scanners, and global positioning systems (GPS).
  • RFID radio frequency identification
  • GPS global positioning systems
  • the terminal device may also include a terminal with a complete communication function (that is, a terminal with a complete set of protocol stacks defined by 3GPP).
  • a terminal with a complete communication function that is, a terminal with a complete set of protocol stacks defined by 3GPP.
  • it includes devices that provide voice and/or data connectivity to users, specifically, devices that provide voice to users, or devices that provide data connectivity to users, or devices that provide voice and data connectivity to users .
  • it can be a mobile phone (or called a "cellular" phone), a computer with a mobile terminal device, a portable, pocket, hand-held, computer built-in mobile device, etc.
  • the terminal equipment in this article can also be collectively referred to as a positioning terminal (Positioning UE, PUE).
  • PUE Positioning UE
  • the PUE can be a terminal with a SIM card issued by an operator. After starting up, it needs to access the operator's network.
  • the operator's network senses device information, such as device identification, device location, and device capabilities, to manage the PUE.
  • PUE can include the above-mentioned terminals that do not have complete communication functions (or terminals that do not have a full set of protocol stacks defined by 3GPP) (such as IoT terminals), and the above-mentioned terminals that have complete communication functions (or terminals that have a full set of protocol stacks defined by 3GPP) terminal) (such as a mobile phone).
  • 3GPP 3rd Generation Partnership Project
  • terminal equipment and "PUE” appearing in the following text can be replaced with each other.
  • RAN is mainly responsible for collecting the reference signal (Sounding Reference Signal, SRS) of the terminal equipment and reporting it to the LMF.
  • SRS Sounding Reference Signal
  • the RAN includes, for example, base stations (eg, access points), and may refer to devices in the access network that communicate with wireless terminal devices through one or more cells on the air interface.
  • Network devices may be used to convert received over-the-air frames to and from Internet Protocol (IP) packets, acting as routers between the terminal device and the rest of the access network, which may include the IP network.
  • IP Internet Protocol
  • Network devices may also coordinate attribute management for the air interface.
  • the network equipment may include an evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) in a long term evolution (long term evolution, LTE) system or an evolved LTE system (LTE-Advanced, LTE-A), or It may also include a next generation node B (next generation node B, gNB) in a fifth generation mobile communication technology (fifth generation, 5G) new radio (new radio, NR) system, which is not limited in this embodiment of the present application.
  • NodeB or eNB or e-NodeB, evolutional Node B in a long term evolution (long term evolution, LTE) system or an evolved LTE system (LTE-Advanced, LTE-A), or It may also include a next generation node B (next generation node B, gNB) in a fifth generation mobile communication technology (fifth generation, 5G) new radio (new radio, NR) system, which is not limited in this embodiment of the present application.
  • 5G fifth
  • the base station may be composed of two parts: a base band processing unit (base band unit, BBU) and an active antenna unit (active antenna unit, AAU).
  • BBU provides external interfaces connected with transmission equipment, radio frequency modules, base station signal sources, external clock sources, and network management equipment to realize functions such as signal transmission, base station software automatic upgrade, and clock reception; it centrally manages the entire base station system and completes the processing of uplink and downlink data , signaling processing, resource management and operation and maintenance functions.
  • one BBU is connected to at least one AAU.
  • AAU is a collection of radio frequency units and antennas, providing signal transmission and conversion between BBU and antennas, providing antenna functions, ESC functions, installation slots and interfaces, etc.
  • TRPs on an AAU.
  • a network device may include a centralized unit (central unit, CU), or a distributed unit (distributed unit, DU), or a radio access network device including a CU and a DU.
  • a base station architecture in which CUs and DUs are separated, one base station may include one CU and one or more DUs.
  • a CU may include a centralized unit control plane (central unit control plane, CU-CP) and one or more centralized unit user planes (central unit user plane, CU-UP).
  • the function division of CU and DU may include but not limited to division according to the protocol stack.
  • radio resource control radio resource control
  • packet data convergence protocol packet data convergence protocol
  • SDAP service data adaptation protocol
  • the radio link layer control protocol radio link control, RLC
  • media access control media access control
  • PHY physical layer
  • the CU has the processing capability of RRC, PDCP and SDAP
  • the DU has the processing capability of RLC, MAC, and PHY. It is worth noting that the above function segmentation is just an example, and there may be other segmentation methods.
  • the CU includes RRC, PDCP, RLC and SDAP processing capabilities, and the DU has MAC and PHY processing capabilities.
  • the CU includes the processing capabilities of RRC, PDCP, RLC, SDAP, and part of the MAC (for example, adding a MAC header), and the DU has the processing capabilities of the PHY and part of the MAC (for example, scheduling).
  • the names of CU and DU may change, as long as the access network nodes that can realize the above functions can be regarded as CU and DU in this application.
  • the CU-CP has the control plane functions of the CU, for example, the processing capability of the RRC, and the control plane processing capability of the PDCP.
  • the CU-UP has the user plane functions of the CU, for example, the processing capability of the SDAP, and the user plane processing capability of the PDCP.
  • the CU and DU are connected through the F1 interface.
  • the CU-CP and CU-UP can be connected through the E1 interface, the CU-CP and the DU can be connected through the F1 control plane interface (F1-C), and the CU-UP and DU can be connected through the F1 user interface (F1-U) for connection.
  • LMF mainly used to calculate the position of the terminal equipment.
  • GMLC mainly used to connect LMF and LCS client.
  • NEF is mainly used to provide network functions to third-party applications.
  • AF is mainly used to request specific capabilities from the network.
  • UDM is mainly used to save the subscription data of the terminal equipment.
  • AMF is mainly used for context management of terminal devices.
  • the network elements (such as RAN, LMF, GMLC, NEF, AF, UDM, AMF, etc.) introduced above are only examples rather than limitations, and the actual communication system may also include other types of network elements.
  • this embodiment of the present application does not set a limit.
  • the names of the foregoing network elements may change, and the functions performed by each network element may be further split or combined, which is not limited in this embodiment of the present application.
  • a positioning method provided in the embodiment of the present application includes:
  • the second network element establishes a context of the first terminal device, where the context includes at least an identifier of the first terminal device.
  • the second network element is used to be responsible for the context management of the first terminal device.
  • the second network element is an AMF.
  • this embodiment of the present application assigns a fixed second network element to each terminal device in the campus network, that is, each second network element serves a fixed terminal device, for example, each second network element is located in the The terminal devices within the preset range of the second network element provide the positioning service. Further, the user may manually configure the context of the terminal device on the second network element to which each terminal device belongs.
  • the second network element may receive the context of the first terminal device manually input by the technician, and save the context of the first terminal device; or, the second network element may receive the configuration information input by the technician, and create and save the context based on the configuration information.
  • the context of the first end device In this way, the second network element can achieve the effect of establishing a context for the first terminal device without directly communicating with the first terminal device, and then complete the access of the first terminal device to the campus network. It should be understood that this is just an example where a second network element establishes a context of a terminal device (that is, a first terminal device). In practical applications, there may be multiple second network elements in the campus network, and each The number of terminal devices served by a second network element may be multiple, and each second network element may establish a context for each terminal device it serves in the above manner.
  • the context of the first terminal device may also include decryption parameters and/or integrity parameters.
  • the second network element may use the encryption parameter in the context to decrypt the message, and/or may use the integrity parameter in the context to verify the integrity of the message.
  • the identifier of the first terminal device may be a temporary identifier (Tempore Identity, TID).
  • TID Tempore Identity
  • the campus always uses a fixed identifier for the first terminal device, that is, a fixed identifier
  • the movement track of the first terminal device will be tracked. Therefore, in this embodiment of the present application, for each positioning of the first terminal device, the second network element will generate a unique temporary identifier for the first terminal device, and the temporary identifier will become invalid after the positioning procedure ends. In this way, the location privacy of the first terminal device can be protected.
  • the context of the first terminal device further includes a freshness parameter of the first terminal device, and the freshness parameter is used to update the temporary identifier in the context of the first terminal device.
  • the first terminal device also stores the freshness parameter, which ensures that the first terminal device and the second network element update the temporary identifier of the first terminal device synchronously.
  • the context of the first terminal device may also include the mobility management area of the first terminal device.
  • the mobility management area is composed of a tracking area (Tracking Area, TA) list, indicating that when the first terminal device moves within the area indicated by the list, the first terminal device may not notify the network of the current specific TA of the first terminal device Which one is it.
  • TA Tracking Area
  • the second network element sends a first message to the first network element, and the first network element receives the first message from the second network element, and the first message includes an identifier of the first terminal device and an identifier of the second network element. first correspondence.
  • the first corresponding relationship between the identifier of the first terminal device and the identifier of the second network element herein may also be described as “the first corresponding relationship between the first terminal device and the second network element”.
  • the identifier of the second network element may be the device identifier of the AMF itself, such as the MAC address, or it may be specially used to route the positioning message reported by the terminal device (the positioning message refers to a message related to positioning) to the second network element.
  • Identifier such as AMF Routing ID (AMF Routing ID).
  • AMF Routing ID AMF Routing ID
  • the first network element may receive from the second network element the correspondence between each terminal device and the second network element among the multiple terminal devices.
  • the first network element may also receive correspondences between different second network elements and different terminal devices from different second network elements.
  • the second network element corresponding to the terminal device sends a message to the first network element separately.
  • the first message may only carry the identifier of the first terminal device and the identifier of the second network element.
  • the second network element may send the corresponding relationship with multiple terminal devices to the first network element.
  • the first message may also carry the identity of the second terminal device, the identity of the third terminal device, etc., wherein the second terminal device, the third The terminal device and the first terminal device belong to the same second network element, that is, the second terminal device, the third terminal device, and the first terminal device have a corresponding relationship with the same second network element.
  • the first network element After receiving the first correspondence, the first network element saves the first correspondence. According to the first correspondence relationship, the first network element may determine that the first terminal device belongs to the second network element, or that the second network element provides positioning services for the first terminal device.
  • the first network element may store the correspondence between multiple different terminal devices and their corresponding second network elements in the form of a mapping table.
  • the second network element as an AMF as an example, refer to Table 1 for multiple corresponding relationships. It can be seen from Table 1 that the AMF to which the terminal equipment UE1 belongs is AMF1, the AMF to which the terminal equipment UE2 belongs is AMF2, and the AMF to which the terminal equipment UE3 belongs The belonging AMF is AMF3, and the AMF belonging to the terminal equipment UE4 is AMF3...
  • Terminal Equipment The second network element (taking AMF as an example) UE1 AMF1 UE2 AMF2 ... ... UE3 AMF3
  • the first network element in the embodiment of this application can communicate with all the second network elements in the campus network (that is, the first network element can communicate with all the second network elements in the campus network, for example, the first network element receives The first corresponding relationship sent by the second network element); the first network element can also communicate with all RANs in the campus network (that is, the first network element can communicate with all RANs in the campus network, for example, receive RAN reported measurement results), the first network element can receive a positioning message sent by any terminal device in the campus network via the RAN (the positioning message refers to a message related to positioning). After receiving a message from any terminal device, the first network element may route the message to the second network element corresponding to the terminal device based on the stored correspondence between the terminal device and its corresponding second network element.
  • first network elements in the campus network there may be one or more first network elements in the campus network, which is not limited in this application. If there is one, the first network element can receive messages sent by all terminal devices in the campus network; if there are multiple first network elements, multiple first network elements can communicate with each other, and each first network element knows the campus network topological structure, when a first network element receives a message from a first terminal device, if the first network element cannot directly communicate with the second network element corresponding to the first terminal device, it can be based on the topology of Xiaoyuan campus network The structure routes the message of the first terminal device to another first network element, and then the other first network element sends the message of the first terminal device to the second network element corresponding to the first terminal device. When the number of first network elements can be multiple, the multiple first network elements can be regarded as a whole, that is, the multiple first network elements as a whole route the message of the first terminal device to the The second network element corresponding to the first terminal device.
  • the first network element is an AMF designated among multiple AMFs in the campus network, for example, a default AMF.
  • the AMF can communicate with all other AMFs in the campus network, and can communicate with all RANs in the campus network.
  • the first network element is a network element configured separately in the campus network, and is dedicated to performing the functions performed by the first network element described in the embodiments of the present application.
  • the first terminal device sends the positioning signal and the third message.
  • the first terminal device sends the positioning signal and the third message in a broadcast manner.
  • the first terminal device sends the positioning signal first, and then sends the third message, where the third message includes the identifier of the first terminal device.
  • the third message also includes positioning parameters of the first terminal device.
  • the positioning signal may be a sounding reference signal (Sounding Reference Signal, SRS), and the third message may be a long term evolution positioning protocol (Long Term Evolution Positioning Protocol, LPP) message.
  • SRS Sounding Reference Signal
  • LPP Long Term Evolution Positioning Protocol
  • the positioning parameters may include the positioning capability of the first terminal device, the positioning method of the first terminal device, the positioning accuracy of the first terminal device, the positioning frequency of the first terminal device, the notification address of the positioning result of the first terminal device (for example, LCS customer One or more of the address of the terminal), etc.
  • the first terminal device may also use an encryption parameter to encrypt the third message and/or use an integrity parameter to perform integrity protection on the third message.
  • Each access network device among the one or more access network devices receives the positioning signal and the third message sent by the first terminal device; each access network device performs measurement on the positioning signal, and obtains a measurement result.
  • the number of access network devices performing measurements is related to the positioning calculation method used by the campus network.
  • the positioning technology based on the triangular relationship requires three access network devices with known positions to measure the positioning signal of the terminal device.
  • Figure 6 it is a schematic diagram of a positioning technology based on a triangular relationship. This positioning method requires the cooperation of three base stations with known positions at the same time.
  • the access network devices located at three different azimuths of the first terminal device respectively perform measurements on the positioning signals sent by the first terminal device.
  • three access network devices are illustrated, but the actual number of access network devices is not limited to three.
  • Each access network device generates a second message based on the measurement result and the third message, and sends the second message to the first network element; the first network element receives the second message from the one or more access network devices.
  • the second message generated by each access network device carries the measurement result obtained by the access network device and the identifier of the first terminal device.
  • the second message also carries positioning parameters of the first terminal device.
  • the first network element may also establish a signaling connection with each of the one or more access network devices.
  • the signaling connection is a device granular signaling connection (NG-AP connection), that is, the establishment of the connection has nothing to do with the terminal device (user).
  • NG-AP connection device granular signaling connection
  • the establishment process of the signaling connection may be initiated by the access network device, or initiated by the first network element, which is not limited in this application.
  • the access network device sends a request message to the first network element, the request message carries the identifier (RAN ID) of the access network device, cell information (such as cell ID) covered by the access network device, etc., the first network element After receiving the request message, return a response message to the access network device, and the response message carries the identifier of the first network element (such as a default AMF ID); or for example, the first network element sends a request message to the access network device, the The request message carries the identifier of the first network element (such as the default AMF ID), and the access network device returns a response message to the first network element after receiving the request message, and the response message carries the identifier of the access network device (RAN ID ), cell information (such as Cell ID) covered by access network equipment, etc.
  • RAN ID the identifier of the access network device
  • cell information such as cell ID covered by access network equipment
  • the first network element forwards the second message to the second network element according to the first correspondence and the identifier of the first terminal device included in the second message; the second network element receives the second message from the first network element.
  • the first network element forwards the second message to the second network element; if multiple access network devices all send the second message to the first network element If there is one network element, the first network element may respectively forward the second message sent by each access network device to the second network element, or the first network element may, after receiving multiple second messages, A message is generated and forwarded to the second network element, which is not limited in this application.
  • the second network element sends the measurement result in the second message to the third network element, and the third network element receives the measurement result.
  • the third network element is used to calculate the position of the terminal equipment.
  • the third network element is an LMF
  • the second network element carries the location parameter and the measurement result in the LMF service message and sends it to the third network element.
  • the second message also carries the positioning parameters of the first terminal device, and the second network element also sends the positioning parameters of the first terminal device to the third network element.
  • the second network element may use the encryption parameters in the context of the first terminal device to decrypt the second message; if the second message is an integrity-protected message, after receiving the second message, the second network element verifies the integrity of the second message by using the integrity parameters in the context of the first terminal device. After the decryption and/or after the integrity verification is passed, the second network element sends the positioning parameters and measurement results in the second message to the third network element.
  • the third network element calculates the position information of the first terminal device according to the positioning parameter and the measurement result.
  • the positioning parameter may be reported by the first terminal device (for example, the third message in S503 carries the positioning parameter), or it may be pre-saved by the third network element, or it may be obtained by the third network element from other network elements, or the network It is pre-agreed with the first terminal device, which is not limited in this application.
  • the positioning method that includes the first terminal device in the positioning parameters is a time difference of arrival (Time Difference of Arrival, TDOA) positioning method.
  • TDOA Time Difference of Arrival
  • the third network element compares the absolute time difference between the arrival of the positioning signal at any two access network devices , the hyperbola with the two access network devices as the focus and the distance difference as the major axis can be drawn.
  • the third network element can draw at least two distances between the first terminal device and at least three access network devices. curves, and by calculating the intersection point of at least two hyperbolas, the position information of the first terminal device can be obtained.
  • the third network element sends the location information of the first terminal device to the LCS client, and the LCS client receives the location information of the first terminal device.
  • the location information of the first terminal device is carried in a multi-access edge computing (Multi-access Edge Computing, MEC) interface message and sent to the LCS client.
  • MEC Multi-access Edge Computing
  • the second network element and the first terminal device respectively update the temporary identifier of the first terminal device according to the freshness parameter saved locally, so as to protect the location privacy of the first terminal device.
  • the first network element when the capabilities of the positioned terminal (such as the first terminal device) need to be simplified (for example, the complete protocol stack defined by 3GPP is not supported), a fixed second network element is configured for each terminal device, In addition, the first network element is configured in the campus network.
  • the first network element may, according to the corresponding relationship between the terminal device and its corresponding second network element, send the The positioning message of the terminal device is routed to the second network element corresponding to the terminal device, so as to realize positioning of the terminal device.
  • FIG. 7 it is a flow chart of another positioning method provided by the embodiment of the present application. Different from the method shown in FIG. 5 , in this embodiment, the first network element does not need to be set, and the user context is configured on the third network element.
  • the specific process of this method includes:
  • the second network element sends a fourth message to one or more access network devices, and each of the one or more access network devices receives a fourth message from the second network element, where the fourth The message includes a second corresponding relationship between the address of the second network element and the identifier of the second network element.
  • the second network element is a network element capable of establishing a communication connection with the access network device.
  • the second network element is an AMF.
  • the identifier of the second network element may be the device identifier of the AMF itself, such as the MAC address, or it may be specially used to route the positioning message reported by the terminal device (the positioning message refers to a message related to positioning) to the second network element.
  • Identifier such as AMF Routing ID (AMF Routing ID).
  • AMF Routing ID AMF Routing ID
  • each network element establishes a signaling connection with at least one access network device.
  • the signaling connection is a signaling connection with device granularity (NG-AP connection), that is, it has nothing to do with terminal devices (users).
  • NG-AP connection device granularity
  • the establishment process of the signaling connection may be initiated by the access network device or initiated by the second network element, which is not limited in this application.
  • the access network device may save the second correspondence, and subsequently determine the second correspondence corresponding to the identifier of the second network element according to the second correspondence.
  • the address of the second network element, or the identifier of the second network element corresponding to the address of the second network element is determined according to the second correspondence.
  • the third network element establishes a context of the first terminal device, where the context includes an identifier of the first terminal device;
  • the third network element is used to calculate the position of the first terminal device.
  • the third network element is an LMF.
  • the embodiment of this application assigns a fixed third network element to each terminal equipment in the campus network, that is, each third network element
  • each third network element For terminal devices with fixed services, for example, each third network element provides positioning services for terminal devices located within the preset range of the second network element.
  • the user may manually configure the context of the terminal device on the third network element to which each terminal device belongs.
  • the method for the user to configure the context on the third network element refer to the method for the user to configure the context on the second network element in S501 above.
  • the identifier of the first terminal device may be a temporary identifier.
  • the context of the first terminal device may also include decryption parameters, integrity parameters, or freshness parameters.
  • decryption parameters integrity parameters, or freshness parameters.
  • integrity parameters integrity parameters
  • freshness parameters freshness parameters.
  • the third network element sends a fifth message to the second network element, and the second network element receives the fifth message from the third network element, where the fifth message includes the identifier of the first terminal device and the identifier of the third network element.
  • the third correspondence between the identifier of the first terminal device and the identifier of the third network element herein may also be described as “the third correspondence between the first terminal device and the third network element”.
  • the second network element may receive the corresponding relationship between each terminal device and the second network element among the multiple terminal devices from the first network element. If there are multiple third network elements in the campus network, the second network element may also receive correspondences between different third network elements and different terminal devices from different third network elements.
  • the third network element corresponding to the terminal device sends a message to the second network element separately.
  • the fifth message may only carry the identifier of the first terminal device and the identifier of the third network element.
  • the third network element may send the corresponding relationship with multiple terminal devices to the second network element.
  • the fifth message may also carry the identifier of the second terminal device, the identifier of the third terminal device, etc., wherein the second terminal device, the third The terminal device and the first terminal device belong to the same third network element, that is, the second terminal device, the third terminal device, and the first terminal device have a corresponding relationship with the same third network element.
  • the second network element After receiving the third correspondence, the second network element saves the third correspondence. According to the third corresponding relationship, the second network element may determine that the first terminal device belongs to the third network element, or that the third network element provides the positioning service for the first terminal device.
  • the second network element may store the corresponding relationship between multiple different terminal devices and their corresponding third network elements in the form of a mapping table.
  • the third network element as an LMF as an example, multiple corresponding relationships are shown in Table 2. It can be seen from Table 1 that the LMF to which the terminal equipment UE1 belongs is LMF1, the LMF to which the terminal equipment UE2 belongs is LMF2, and the LMF to which the terminal equipment UE3 belongs The belonging LMF is LMF3, and the belonging LMF of the terminal equipment UE4 is LMF4...
  • Terminal Equipment The second network element (taking AMF as an example) UE1 LMF1 UE2 LMF2 UE3 LMF3 UE4 LMF4 ... ...
  • LMF there may be only one LMF serving a terminal device at each moment, but a terminal device may be configured with multiple LMFs at the same time, and different LMFs may provide services for the terminal device at different times.
  • S701 may be executed before S702 is executed, or after S703 is executed, or when S702-S703 is executed.
  • the first terminal device sends the positioning signal and the eighth message.
  • the first terminal device broadcasts the positioning signal and the eighth message.
  • the first terminal device broadcasts the positioning signal first, and then broadcasts the eighth message.
  • the eighth message includes the identifier of the first terminal device and the identifier of the second network element providing the service for the first terminal device.
  • the eighth message also carries positioning parameters of the first terminal device.
  • the positioning signal may be an SRS
  • the eighth message may be a Long Term Evolution Positioning Protocol (LPP) message.
  • LPP Long Term Evolution Positioning Protocol
  • the positioning parameter may include one of the positioning capability of the first terminal device, the positioning method of the first terminal device, the positioning accuracy of the first terminal device, the positioning frequency of the first terminal device, the notification address of the positioning result of the first terminal device, etc. item or items.
  • the first terminal device when it generates the third message, it may also use an encryption parameter to encrypt the third message and/or use an integrity parameter to perform integrity protection on the third message.
  • Each access network device among the one or more access network devices receives the positioning signal and the eighth message sent by the first terminal device; each access network device performs measurement on the positioning signal, and obtains a measurement result.
  • Each access network device sends the sixth message to the second network element according to the identity of the second network element and the second correspondence in the eighth message, and the second network element receives from one or more access network devices Sixth message.
  • each access network device according to the measurement result and the identity of the first terminal device in the eighth message, the sixth message contains the identity of the first terminal device and the measurement result; then, according to the second terminal device carried in the eighth message
  • the identifier of the network element and the second corresponding relationship find the address of the second network element, and send the sixth message to the second network element.
  • the eighth message and the sixth message also include positioning parameters of the first terminal device.
  • the second network element sends a seventh message to the third network element according to the third correspondence and the identifier of the first terminal device in the sixth message, and the third network element receives the seventh message from the second network element; seventh
  • the message contains the measurement result.
  • the second network element can directly forward the sixth message to the third network element (the seventh message is the sixth message); if there are multiple access network elements All the network access devices send the sixth message to the second network element, and the second network element can respectively forward the sixth message (the seventh message is the sixth message) sent by each access network device to the second network element, or After receiving multiple sixth messages, the second network element may generate a seventh message based on the multiple sixth messages and forward it to the second network element, which is not limited in this application.
  • the third network element determines the location information of the first terminal device according to the location parameter and the measurement result.
  • the third network element uses the encryption parameters in the context of the first terminal device to decrypt the seventh message; if the seventh message is integrity-protected After receiving the last message, the third network element verifies the integrity of the seventh message by using the integrity parameter in the context of the first terminal device after receiving the seventh message. After the decryption and/or after the integrity verification is passed, the third network element determines the location information of the first terminal device according to the positioning parameters and measurement results of the first terminal device.
  • the positioning parameter may be reported by the first terminal device (for example, the eighth message in S704 carries the positioning parameter), or may be pre-saved by the third network element, or obtained by the third network element from other network elements, or the network It is pre-agreed with the first terminal device, which is not limited in this application.
  • the third network element sends the location information of the first terminal device to the LCS client, and the LCS client receives the location information of the first terminal device.
  • the third network element and the first terminal device respectively update the temporary identifier of the first terminal device according to the freshness parameter saved locally, so as to protect the location privacy of the first terminal device.
  • a fixed second network element is configured for each terminal device.
  • any terminal device reports a positioning message (referring to a message related to terminal device positioning, such as the eighth message)
  • it will carry the identification of the second network element corresponding to the terminal device in the positioning message, and then the access network device can
  • the identifier of the second network element in the locating message routes the locating message to the second network element corresponding to the terminal device, thereby realizing locating the terminal device.
  • this embodiment of the present application also provides a positioning device 800, the device 800 includes a communication module 801 and a processing module 802; wherein the communication module 801 can communicate with other network elements or devices, and the processing module 802 can
  • the control communication module 801 may execute the method steps executed by any network element or device in the embodiment shown in FIG. 5 or FIG. 7 .
  • the communication module 801 is used for the first network element to communicate with other network elements;
  • the processing module 802 is used for:
  • the second network element receives the first message, and the first message includes the first corresponding relationship between the identifier of the first terminal device and the identifier of the second network element; saves the first corresponding relationship;
  • the network device receives the second message, wherein the second message includes the identifier of the first terminal device and the measurement result of the positioning signal sent by the first terminal device; according to the first correspondence, the information of the first terminal device contained in the second message ID, and forward the second message to the second network element through the communication module 801.
  • the communication module 801 is used for the second network element to communicate with other network elements; the processing module 802 is used for: establishing the context of the first terminal device, wherein The context includes the identifier of the first terminal device; sending a first message to the first network element through the communication module 801, and the first message includes a first corresponding relationship between the identifier of the first terminal device and the identifier of the second network element; through communication Module 801 receives a second message from the first network element, the second message is sent by the first network element to the second network element according to the first correspondence, wherein the second message includes the identifier of the first terminal device and the The measurement result of the positioning signal sent by the device; the measurement result in the second message is sent to the third network element through the communication module 801, and the third network element is used to determine the location information of the first terminal device according to the measurement result.
  • the communication module 801 is used for the access network device to communicate with other network elements or devices;
  • the message generates a second message; and sends the second message to the first network element through the communication module 801, wherein the second message includes the identifier of the first terminal device and the measurement result of the first terminal device.
  • the communication module 801 is used for the first terminal device to communicate with other network elements or devices; the processing module 802 is used for: generating a positioning signal and a third message ; Send the positioning signal and the third message through the communication module 801, where the third message includes the identifier of the first terminal device.
  • the communication module 801 is used for the access network device to communicate with other network elements or devices;
  • the network element receives the fourth message, wherein the fourth message includes the second corresponding relationship between the address of the second network element and the identifier of the second network element; receives the positioning signal sent by the first terminal device through the communication module 801; executes on the positioning signal Measure and obtain a measurement result; receive an eighth message sent by the first terminal device through the communication module 801, the eighth message includes the identifier of the first terminal device and the identifier of the second network element; according to the second network element in the eighth message The identifier of the first terminal device and the second corresponding relationship, and send a sixth message to the second network element through the communication module 801, where the sixth message includes the identifier of the first terminal device and the measurement result.
  • the communication module 801 is used for the second network element to communicate with other network elements;
  • the access network device sends a fourth message, where the fourth message includes a second correspondence between the address of the second network element and the identifier of the second network element; receives a fifth message from the third network element through the communication module 801, and the fifth
  • the message includes a third correspondence between the identifier of the first terminal device and the identifier of the third network element; save the third correspondence; receive a sixth message from one or more access network devices through the communication module 801, and the sixth message Including the identification of the first terminal device and the measurement result of the positioning signal sent by the first terminal device by at least one access network device, the sixth message is sent by the access network device to the second network element according to the second correspondence; according to the first Three corresponding relationships, the identifier of the first terminal device in the sixth message, the seventh message is sent to the third network element through the communication module 801, the seventh message contains the measurement result, and the
  • the communication module 801 is used for the third network element to communicate with other network elements; the processing module 802 is used for: establishing the context of the first terminal device, the context contains the identifier of the first terminal device; sends the fifth message to the second network element through the communication module 801, and the fifth message includes the third corresponding relationship between the identifier of the first terminal device and the identifier of the third network element; through the communication module 801 Receive a seventh message from the second network element, where the seventh message includes the measurement result of the positioning signal sent by the first terminal device, and the seventh message is sent by the second network element to the third network element according to the third correspondence; The location information of the first terminal device is determined according to the measurement result.
  • the communication module 801 is used for the first terminal device to communicate with other network elements or devices; the processing module 802 is used for: generating a positioning signal and an eighth message ; Send the positioning signal and the eighth message through the communication module 801, where the eighth message includes the identifier of the first terminal device and the identifier of the second network element.
  • the embodiment of the present application also provides a positioning device 900, including: at least one processor 901; and a communication interface 903 connected to the at least one processor 901; the at least one processing
  • the device 901 executes the instructions stored in the memory 902, so that the device executes the method steps performed by any network element or device in the embodiment shown in FIG. 5 or FIG. 7 through the communication interface 903.
  • the memory 902 is located outside the device 900 .
  • the apparatus 900 includes the memory 902, the memory 902 is connected to the at least one processor 901, and the memory 902 stores instructions executable by the at least one processor 901.
  • the memory 902 is located outside the device 900 .
  • the apparatus 900 includes the memory 902, the memory 902 is connected to the at least one processor 901, and the memory 902 stores instructions executable by the at least one processor 901.
  • FIG. 9 shows with dashed lines that memory 902 is optional for device 900 .
  • processor 901 and the memory 902 may be coupled through an interface circuit, or may be integrated together, which is not limited here.
  • the specific connection medium among the processor 901, the memory 902, and the communication interface 903 is not limited in the embodiment of the present application.
  • the processor 901, the memory 902, and the communication interface 903 are connected through a bus 904.
  • the bus is represented by a thick line in FIG. 9, and the connection mode between other components is only for schematic illustration , is not limited.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 9 , but it does not mean that there is only one bus or one type of bus.
  • the processor mentioned in the embodiments of the present application may be implemented by hardware or by software.
  • the processor When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor When implemented by software, the processor may be a general-purpose processor implemented by reading software codes stored in a memory.
  • the processor can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) , off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile memory and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
  • the volatile memory can be Random Access Memory (RAM), which acts as external cache memory.
  • RAM Static Random Access Memory
  • SRAM Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • Synchronous Dynamic Random Access Memory Synchronous Dynamic Random Access Memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Eate SDRAM, DDR SDRAM enhanced synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM synchronous connection dynamic random access memory
  • Synchlink DRAM, SLDRAM Direct Memory Bus Random Access Memory
  • Direct Rambus RAM Direct Rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module may be integrated in the processor.
  • this embodiment of the present application also provides a chip 1000 that can be used to execute the method steps performed by any network element or device in the embodiment shown in FIG. 5 or FIG. 7 .
  • Chip 1000 including:
  • the above-mentioned logic circuit 1002 may be a chip, an encoder, an encoding circuit or other integrated circuits that can implement the method of the present application.
  • the embodiment of the present application also provides a computer-readable storage medium, including programs or instructions, when the programs or instructions are run on the computer, any network element or The method steps performed by the device are performed.
  • an embodiment of the present application also provides a computer program product, including instructions, which, when run on a computer, enable any network element or device in the embodiment shown in Figure 5 or Figure 7 to execute the method steps be executed.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Landscapes

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

Abstract

本申请实施例提供一种定位方法和装置,用于实现对园区网络中的终端设备进行定位。本申请实施例在园区网络中设置第一网元,并为每个终端设备确定第二网元,第一网元保存每个终端设备与其对应的第二网元的对应关系,当第一网元收到第一终端设备上报的定位消息后,可根据预先保存的对应关系,将该定位消息路由至第一终端设备对应的第二网元,进而可实现对园区网络中的终端设备进行定位。

Description

一种定位方法和装置
相关申请的交叉引用
本申请要求在2021年05月18日提交中国专利局、申请号为202110540425.1、申请名称为“一种定位方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种定位方法和装置。
背景技术
第五代通信技术(5th generation,5G)应用于园区网络(如企业网、校园网等)是当前的热门方向,园区网络利用5G技术之一就是对园区中的终端设备进行定位追踪,尤其是对室内终端设备的定位。
但是,与5G网络中常见的终端设备(如智能手机)不同,园区网络中常见的终端设备是物联网终端(例如电表、传感器等),物联网终端的普遍特点是低功耗、低成本,通常不具备完整的通信功能,导致5G网络中终端设备的定位流程无法适用于园区网络。
因此,如何对园区网络中的终端设备进行定位,是亟需解决的技术问题。
发明内容
本申请实施例提供一种定位方法和装置,用于实现对园区网络中的终端设备进行定位。
第一方面,提供一种定位方法,该方法可以由第一网元或第一网元上的芯片执行。以方法由第一网元执行为例,方法包括:第一网元从第二网元接收第一消息,第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系;第一网元保存第一对应关系;第一网元从一个或多个接入网设备接收第二消息,其中第二消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果;第一网元根据第一对应关系、第二消息中包含的第一终端设备的标识,将第二消息转发至第二网元。
本申请实施例在园区网络中为第一终端设备配置固定的第二网元,在第一网元上保存该配置信息(即第一终端设备的标识与该第二网元的标识的第一对应关系),当第一终端设备上报定位消息(如第二消息)时,第一网元就可根据第一对应关系,将第一终端设备的定位消息路由至第一终端设备对应的第二网元,进而可实现对园区网络中的终端设备进行定位。
一种可能的设计中,第二消息中还包含第一终端设备的定位参数。例如,第二消息可以携带第一终端设备的定位能力、第一终端设备的定位方法、第一终端设备的定位精度、第一终端设备的定位频率、第一终端设备的定位结果的通知地址中的一项或多项。
如此,可以协助网络对第一终端设备进行定位,尽可能地满足第一终端设备对定位需求。
一种可能的设计中,该定位参数为经加密和/或完整性保护后的参数。
如此,只有具有解密参数和/或完保性参数的网元(例如第二网元)才能获取到定位参数,避免定位参数在网络传输的过程中被泄露或篡改,提高定位的安全性。
一种可能的设计中,第一网元与一个或多个接入网设备中的每个接入网设备建立信令连接。应理解,该信令连接为设备粒度的信令连接(如NG-AP连接),即该连接的建立与终端设备(用户)无关。
如此,第一网元与接入网设备可以在不感知终端设备(用户)的情况下通信。
一种可能的设计中,第一网元的网元类型为AMF、第二网元的网元类型为AMF、第三网元的网元类型为LMF。应理解,第一网元和第二网元只是类型相同,但不是同一个网元,可选的,第一网元是缺省AMF。
第二方面,提供一种定位方法,该方法可以由第二网元或第二网元上的芯片执行。以方法由第二网元执行为例,方法包括:第二网元建立第一终端设备的上下文,其中上下文中包含第一终端设备的标识;第二网元向第一网元发送第一消息,第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系;第二网元从第一网元接收第二消息,第二消息是第一网元根据第一对应关系发送给第二网元的,其中第二消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果;第二网元将第二消息中的测量结果发送给第三网元,第三网元用于根据测量结果确定第一终端设备的位置信息。
第三方面,提供一种定位方法,该方法可以由接入网设备或接入网设备上的芯片执行。以方法由接入网设备执行为例,方法包括:接入网设备接收第一终端设备发送的定位信号,并对定位信号执行测量,获得测量结果;以及,接收第一终端设备发送的第三消息,第三消息中包含第一终端设备的标识;接入网设备基于测量结果和第三消息生成第二消息,向第一网元发送第二消息,其中第二消息中包含第一终端设备的标识以及测量结果。
第四方面,提供一种定位方法,该方法可以由第一终端设备或第一终端设备上的芯片执行。以方法由第一终端设备执行为例,方法包括:第一终端设备发送定位信号;第一终端设备发送第三消息,第三消息中包含第一终端设备的标识。
可选的,第一终端设备以广播的方式发送定位信号和第三消息。
上述第二方面至第四方面的各种实现方式及有益效果,可以参见上述第一方面的各种实现方式及有益效果,此处不再赘述。
第五方面,提供一种定位方法,该方法可以由接入网设备或接入网设备上的芯片执行。以方法由第二网元执行为例,方法包括:接入网设备从第二网元接收第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系;接入网设备接收第一终端设备发送的定位信号,并对定位信号执行测量,获得测量结果;以及,接收第一终端设备发送的第八消息,第八消息中包含第一终端设备的标识、第二网元的标识;接入网设备根据第八消息中的第二网元的标识、第二对应关系,向第二网元发送第六消息,其中第六消息中包含第一终端设备的标识以及测量结果。
本申请实施例在园区网络中为第一终端设备配置固定的第二网元,当第一终端设备在上报定位消息(指与终端设备定位相关的消息,例如第八消息)时,会在定位消息中携带第一终端设备对应第二网元的标识,进而接入网设备可以基于该第二网元的标识将该定位消息路由至第一终端设备对应的第二网元,进而可实现对园区网络中的终端设备进行定位。
一种可能的设计中,第八消息中还包含第一终端设备的定位参数。例如,第八消息携 带第一终端设备的定位能力、第一终端设备的定位方法、第一终端设备的定位精度、第一终端设备的定位频率、第一终端设备的定位结果的通知地址中的一项或多项。
如此,可以协助网络对第一终端设备进行定位,尽可能地满足第一终端设备对定位需求。
一种可能的设计中,该定位参数为经加密和/或完整性保护后的参数。
如此,只有具有解密参数和/或完保性参数的网元(例如第三网元)才能获取到定位参数,避免定位参数在网络传输的过程中被泄露或篡改,提高定位的安全性。
一种可能的设计中,第二网元与一个或多个接入网设备中的每个接入网设备具有信令连接。应理解,该信令连接为设备粒度的信令连接(NG-AP连接),即该连接的建立与终端设备(用户)无关。
如此,第二网元可以与接入网设备可以在不感知终端设备(用户)的情况下通信。
一种可能的设计中,第二网元为AMF、第三网元为LMF。
第六方面,提供一种定位方法,该方法可以由第二网元或第二网元上的芯片执行。以方法由第二网元执行为例,方法包括:第二网元向一个或多个接入网设备发送第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系;第二网元从第三网元接收第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系;第二网元保存第三对应关系;第二网元从一个或多个接入网设备接收第六消息,第六消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果,第六消息是接入网设备根据第二对应关系发送给第二网元的;第二网元根据第三对应关系、第六消息中的第一终端设备的标识,向第三网元发送第七消息,第七消息中包含测量结果,第三网元用于根据测量结果确定第一终端设备的位置信息。
第七方面,提供一种定位方法,该方法可以由第三网元或第三网元上的芯片执行。以方法由第三网元执行为例,方法包括:第三网元建立第一终端设备的上下文,上下文中包含第一终端设备的标识;第三网元向第二网元发送第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系;第三网元从第二网元接收第七消息,第七消息中包含对第一终端设备发送的定位信号的测量结果,第七消息是第二网元根据第三对应关系发送给第三网元的;第三网元根据测量结果确定第一终端设备的位置信息。
第八方面,提供一种定位方法,该方法可以由第一终端设备或第一终端设备上的芯片执行。以方法由第一终端设备执行为例,方法包括:第一终端设备发送定位信号;第一终端设备发送第八消息,第八消息中包含第一终端设备的标识、第二网元的标识。
可选的,第一终端设备以广播的方式发送定位信号和第八消息。
上述第六方面至第八方面的各种实现方式及有益效果,可以参见上述第五方面的各种实现方式及有益效果,此处不再赘述。
第九方面,提供一种定位装置,该装置位于第一网元,该装置包括用于执行上述第一方面或第一方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于第一网元与其他网元通信;处理模块,用于:通过通信模块从第二网元接收第一消息,第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系;保存第一对应关系;通过通信模块从一个或多个接入网设备接收第二消息,其中第二消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果;根据第一对应关系、第二消息中包含的第一终端 设备的标识,将第二消息通过通信模块转发至第二网元。
第十方面,提供一种定位装置,该装置位于第二网元,该装置包括用于执行上述第二方面或第二方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于第二网元与其他网元通信;处理模块,用于:建立第一终端设备的上下文,其中上下文中包含第一终端设备的标识;通过通信模块向第一网元发送第一消息,第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系;通过通信模块从第一网元接收第二消息,第二消息是第一网元根据第一对应关系发送给第二网元的,其中第二消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果;将第二消息中的测量结果通过通信模块发送给第三网元,第三网元用于根据测量结果确定第一终端设备的位置信息。
第十一方面,提供一种定位装置,该装置位于接入网设备,该装置包括用于执行上述第三方面或第三方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于接入网设备与其他网元或设备通信;处理模块,用于:通过通信模块接收第一终端设备发送的定位信号;对定位信号执行测量,获得测量结果;通过通信模块接收第一终端设备发送的第三消息,第三消息中包含第一终端设备的标识;基于测量结果和第三消息生成第二消息;通过通信模块向第一网元发送第二消息,其中第二消息中包含第一终端设备的标识、第一终端设备的测量结果。
第十二方面,提供一种定位装置,该装置位于第一终端设备,该装置包括用于执行上述第四方面或第四方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于第一终端设备与其他网元或设备通信;处理模块,用于:生成定位信号和第三消息;通过通信模块发送定位信号和第三消息,第三消息中包含第一终端设备的标识。
第十三方面,提供一种定位装置,该装置位于接入网设备,该装置包括用于执行上述第五方面或第五方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于接入网设备与其他网元或设备通信;处理模块,用于:通过通信模块从第二网元接收第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系;通过通信模块接收第一终端设备发送的定位信号;对定位信号执行测量,获得测量结果;通过通信模块接收第一终端设备发送的第八消息,第八消息中包含第一终端设备的标识、第二网元的标识;根据第八消息中的第二网元的标识、第二对应关系,通过通信模块向第二网元发送第六消息,其中第六消息中包含第一终端设备的标识以及测量结果。
第十四方面,提供一种定位装置,该装置位于第二网元,该装置包括用于执行上述第六方面或第六方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于第二网元与其他网元通信;处理模块,用于:通过通信模块向一个或多个接入网设备发送第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系;通过通信模块从第三网元接收第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系;保存第三对应关系;通过通信模块从一个或多个接入网设备接收第六消息,第六消息中包含第一终端设备的标识以及至少一个接入网设备对第一终端设备发送的定位信号的测量 结果,第六消息是接入网设备根据第二对应关系发送给第二网元的;根据第三对应关系、第六消息中的第一终端设备的标识,通过通信模块向第三网元发送第七消息,第七消息中包含测量结果,第三网元用于根据测量结果确定第一终端设备的位置信息。
第十五方面,提供一种定位装置,该装置位于第三网元,该装置包括用于执行上述第七方面或第七方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于第三网元与其他网元通信;处理模块,用于:建立第一终端设备的上下文,上下文中包含第一终端设备的标识;通过通信模块向第二网元发送第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系;通过通信模块从第二网元接收第七消息,第七消息中包含第一终端设备的以及对第一终端设备发送的定位信号的测量结果,第七消息是第二网元根据第三对应关系发送给第三网元的;根据测量结果确定第一终端设备的位置信息。
第十六方面,提供一种定位装置,该装置位于第一终端设备,该装置包括用于执行上述第八方面或第八方面任一可能的设计中所述方法步骤的模块/单元;
示例性的,该装置包括通信模块和处理模块;其中通信模块,用于第一终端设备与其他网元或设备通信;处理模块,用于:生成定位信号和第八消息;通过通信模块发送定位信号和第八消息,第八消息中包含第一终端设备的标识、第二网元的标识。
第十七方面,提供一种定位装置,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器和通信接口;其中,存储器存储有可被至少一个处理器执行的指令,至少一个处理器通过执行存储器存储的指令,使得装置通过通信接口执行上述第一方面至第八方面中任一方面所述的方法。
第十八方面,提供一种计算机可读存储介质,包括程序或指令,当程序或指令在计算机上运行时,使得上述第一方面至第八方面中任一方面所述的方法被执行。
第十九方面,提供一种计算机程序产品,包括指令,当其在计算机上运行时,使得上述第一方面至第八方面中任一方面所述的方法被执行。
第二十方面,提供一种芯片,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,使得上述第一方面至第八方面中任一方面所述的方法被执行。
第二十一方面,提供一种通信系统,包括:
第一网元,用于执行上述第一方面所述的方法;
第二网元,用于执行上述第二方面所述的方法;
接入网设备,用于执行上述第三方面所述的方法;
终端设备,用于执行上述第四方面所述的方法。
第二十二方面,提供一种通信系统,包括:
接入网设备,用于执行上述第五方面所述的方法;
第二网元,用于执行上述第六方面所述的方法;
第三网元,用于执行上述第七方面所述的方法;
终端设备,用于执行上述第八方面所述的方法。
附图说明
图1为5G网络中的UE与网络设备的通信协议栈的示意图;
图2为5G网络中UE基于图1所示的协议栈接入5G网络的流程示意图;
图3为5G网络对UE进行定位的流程示意图;
图4为本申请实施例适用的一种网络架构示意图;
图5为本申请实施例提供的一种定位方法的流程图;
图6为基于三角关系的定位技术的示意图;
图7为本申请实施例提供的另一种定位方法的流程图;
图8为本申请实施例提供的一种定位装置的结构示意图;
图9为本申请实施例提供的一种定位装置的结构示意图;
图10为本申请实施例提供的一种芯片的结构示意图。
具体实施方式
本申请实施例中的术语“系统”和“网络”可被互换使用。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合,例如a、b或c中的至少一项(个),可以表示:a,或b,或c,或a和b,或b和c,或a和c,或a和b和c。
以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一优先级准则和第二优先级准则,只是为了区分不同的准则,而并不是表示这两种准则的内容、优先级或者重要程度等的不同。
此外,本申请实施例和权利要求书及附图中的术语“包括”和“具有”不是排他的。例如,包括了一系列步骤或模块的过程、方法、系统、产品或设备,不限定于已列出的步骤或模块,还可以包括没有列出的步骤或模块。
参见图1,为第五代通信技术(5th generation,5G)网络中的用户设备(User Equement,UE)与网络设备的通信协议栈的示意图。其中,UE的通信协议栈从上至下依次包括非接入层(Non-Access Stratum,NAS)、无线资源控制(Radio Resource Control,RRC)层、分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层、无线链路控制(Radio Link Control,RLC)层、介质访问控制(Media Access Control,MAC)层、物理层(physical,PHY)等,无线接入网(Radio Access Network,RAN)设备的通信协议栈从上至下依次包括RRC层、PDCP层、RLC层、MAC层、PHY层等,接入和移动性管理功能(Access and Mobility Management Function,AMF)的通信协议栈包括NAS层等。为了便于描述,下文中“RAN设备”可简称为“RAN”。
参见图2,为5G网络中UE基于图1所示的协议栈接入5G网络的流程示意图,包括:
S201、UE发送附着请求消息(NAS消息)给AMF,AMF接收该附着请求消息。
具体的,UE先向RAN(如下一代节点B(next generation node B,gNB)或者下一代演进型基站(next generation evolved nodeB,ng-eNB))发送附着请求消息,该附着请求消息的消息类型为NAS消息,该附着请求消息中携带UE标识、请求类型以及UE的能力等信息。RAN收到UE发送的附着请求消息之后,RAN添加UE当前的位置信息即小区标识(cell ID)。之后,RAN向AMF转发该附着请求消息,并将UE当前的位置信息提供给 AMF。
S202、AMF收到附着请求消息后,基于附着请求消息中携带的请求类型,判断是否要获取UE的签约数据。
应理解,AMF收到附着请求消息,以及RAN提供的位置信息(即cell ID)之后,还为UE创建上下文,UE上下文中保存着UE标识,UE位置,UE能力等信息;
S203、AMF向统一数据管理(Unified Data Management,UDM)请求UE的签约数据,该请求消息中携带UE标识。
S204、UDM根据UE标识确定UE签约数据。
S205、UDM发送签约数据响应消息给AMF,该消息中携带UE签约数据。
S206、AMF基于UE签约数据,判断是否接受UE的附着请求。
S207、AMF发送附着响应消息给UE,携带附着请求结果。
如果AMF接受UE的附着请求,则AMF在发送给UE的附着响应消息中,会携带为UE分配的跟踪区,跟踪区是一个允许UE在该区域内移动而不需要通知网络具体位置的范围,一旦UE离开该区域,就会重新向网络发起注册请求。
UE接入网络之后,网络就可以为UE提供各类业务服务,例如定位业务(Location Service,LCS)。LCS是5G网络的一种能力,5G网络定位能力是通过移动通信基站(例如gNB或NG-RAN)测量UE的发射信号,计算UE的位置。5G网络中的UE(如智能手机)支持对于紧急业务(如110报警)和商用业务(如某个应用程序(application,APP)想知道用户位置)等多种定位场景。
参见图3,为UE接入5G网络后,5G网络对UE进行定位的流程示意图,包括:
S301、LCS客户端(client)发送定位请求消息给网关移动定位中心(Gateway Mobile Location Center,GMLC),定位请求消息中携带UE的用户标识、定位精度等。
S302、GMLC授权LCS client的定位请求,并将定位请求消息转发至AMF。
S303、AMF检查UE的签约数据,确定可以执行对该UE的定位后,AMF将定位请求发送至位置管理功能(Location Management Function,LMF)。
S304、LMF根据定位精度确定定位方法。
S305、LMF执行定位流程,定位流程涉及与UE、RAN等的交互。
具体的,LMF将自身的标识或者地址以及UE的标识发送给AMF,AMF进一步将LMF的标识或地址以及UE的标识发给RAN。因为RAN本地保存有UE的上下文,因此RAN可以基于UE标识确定被定位的UE,进而对该UE的上行信号或下行信号进行测量。当RAN收集到UE的测量信号后,将测量信号上报至LMF配置的地址。
S306、LMF基于测量信号计算UE的位置。
S307、LMF发送定位响应消息给AMF,该定位响应消息中携带UE的用户标识和UE的位置。
S308、AMF发送定位响应消息给GMLC,该定位响应消息中携带UE的用户标识和终UE的位置。
S309、GMLC发送定位响应消息给GMLC,该定位响应消息中携带UE的用户标识和UE的位置。
从上述图2和图3的流程中可以看出,5G网络中UE的协议栈是基于第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)定义的全套协议栈,因此UE可以通过与AMF 直接通信的方式,实现接入网络和定位。
5G技术应用于园区网络(或称为本地网络)是当前的热门方向之一,园区网络是指覆盖特定局部区域的网络,如覆盖企业园区、校园、机场、火车站、大型购物中心或体育馆等场所的网络。UE可通过无线接入网访问本地网关,从而直接访问对应的本地网络,避免绕到外部数据网络,从而减少了访问应用的时延和对骨干网络的带宽。如体育馆提供现场VR直播,校园内提供园区通信,访问校园内学习资源,企业园区提供工业控制通信,商场提供本地购物优惠推送和实时位置导航等。
园区网络利用5G技术之一是对园区中的终端设备进行定位追踪,尤其是对室内终端设备的定位。但室内场景业务纷繁,例如商业室内产品最好能应用于客户从停车,导航,付费,购物,取车的一条龙流程,在某些商业场景里还要负责扮演消费引导的角色;医疗场景的室内应用要涉及到用户从导航、挂号、排队、办理业务的功能。这就要求室内地图应用具有很高的集成能力或者系统自身涵盖的功能要比传统应用的功能广,因此要求产品需向智能化的方向靠拢,数据呈现形式更加灵活,数据投放更加精准。
在园区网络中,常见的需要被定位的终端,并不一定是5G网络中的常见的UE(如用户的智能手机),例如园区网络中常见的是物联网(Internet of Things,IoT)终端(如电表、传感器等)。而IoT终端的普遍特点是功能很简单,有些甚至没有通信功耗而只有定位能力,如此可以降低终端的功耗,增加使用寿命。比如,IoT终端的通信协议栈至少缺少NAS层和RRC层,所以IoT终端无法与AMF直接通信。因此,在园区网络中,无法沿用5G技术中的网络接入流程(如图2所示的流程)将终端接入网络。进一步的,由于终端无法接入网络,网络自然也无法为该终端配置定位业务参数,例如该终端不能和RAN侧建立连接以发送定向数据,RAN也没有该终端的网络管理设备信息、UE上下文等,当LMF需要对该终端进行定位时,RAN无法路由到该终端。因此,在园区网络中,也无法沿用5G技术中的定位流程(如图3所示的流程)对终端进行定位。
鉴于此,本申请实施例提供一种定位方法和装置,用以实现将园区网络中的PUE接入网络并对其进行定位。
以下,结合附图对本申请实施例技术方案进行详细描述。
本申请实施例,可以应用于园区网络需要对终端设备进行定位的场景,例如对终端设备实时跟踪和定位、终端设备历史轨迹跟踪、限行区域警告、主动求助等。
参见图4,为本申请实施例适用的一种网络架构示意图。该网络中包括:终端设备、RAN、AMF、LMF、GMLC、网络开放功能(Network Exposure Function,NEF)、应用功能(Application Function,AF)以及UDM等。
1)、终端设备(或简称为终端),包括上述的不具备完整通信功能的终端(即不具备3GPP定义的全套协议栈的终端),例如不支持NAS协议和RRC协议的PUE。具体例举俩说,可以是电表、传感器、条码、射频识别(radio frequency identification,RFID)、激光扫描器、全球定位系统(global positioning system,GPS)等IoT设备。
需要说明的是,虽然本申请实施例是用于解决园区网络中不具备完整通信功能的终端接入网络和定位的问题,但是同样的技术方案,也可以适用于普通UE(如智能手机)。因此,该终端设备还可以包括具备完整通信功能的终端(即具备3GPP定义的全套协议栈的终端)。例如,包括向用户提供语音和/或数据连通性的设备,具体的,包括向用户提供语音的设备,或包括向用户提供数据连通性的设备,或包括向用户提供语音和数据连通性的 设备。举例来说,可以是移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的移动装置等。
由于本文主要涉及需要被定位的终端设备,因此本文中的终端设备还可以被统一称为定位终端(Positioning UE,PUE)。PUE可以具有运营商颁发的SIM卡的终端,开机后需要接入运营商网络,运营商网络感知设备的信息,如设备标识,设备位置,设备能力,用于对PUE进行管理。PUE可以包括上述不具备完整通信功能的终端(或者说不具备3GPP定义的全套协议栈的终端)(如IoT终端),和上述具备完整通信功能的终端(或者说具备3GPP定义的全套协议栈的终端)(如手机)。应理解,后文中出现的“终端设备”可以与“PUE”相互替换。
2)、RAN,主要负责收集终端设备的参考信号(Sounding Reference Signal,SRS),并上报至LMF。
RAN例如包括基站(例如,接入点),可以是指接入网中在空中接口上通过一个或多个小区与无线终端设备通信的设备。网络设备可用于将收到的空中帧与网际协议(IP)分组进行相互转换,作为终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括IP网络。网络设备还可协调对空中接口的属性管理。例如,网络设备可以包括长期演进(long term evolution,LTE)系统或演进的LTE系统(LTE-Advanced,LTE-A)中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B),或者也可以包括第五代移动通信技术(fifth generation,5G)新无线(new radio,NR)系统中的下一代节点B(next generation node B,gNB),本申请实施例并不限定。
在一些实施方式中,基站可以由基带处理单元(base band unit,BBU)和有源天线单元(active antenna unit,AAU)两部分构成。BBU提供与传输设备、射频模块、基站信源、外部时钟源、网管设备连接的外部接口,实现信号传输、基站软件自动升级、接收时钟等功能;集中管理整个基站系统,完成上下行数据的处理、信令处理、资源管理和操作维护等功能。其中,一个BBU至少和一个AAU相连。AAU为射频单元和天线的集合,提供BBU与天线之间信号的传递和转换,提供天线功能、电调功能、安装槽位和接口等。一个AAU上有一个或多个TRP。
在一种网络架构中,网络设备可以包括集中式单元(central unit,CU)、或分布式单元(distributed unit,DU)、或包括CU和DU的无线接入网设备。在CU和DU分离的基站架构中,一个基站可以包括一个CU和一个或多个DU。进一步的,一个CU可以包括一个集中式单元控制面(central unit control plane,CU-CP)和一个或多个集中式单元用户面(central unit user plane,CU-UP)。CU和DU的功能切分可以包括但不限于按照协议栈进行切分。一种可能的方式是将无线资源控制(radio resource control,RRC)以及分组数据汇聚协议(packet data convergence protocol,PDCP)层和业务数据适应(service data adaptation protocol,SDAP)层部署在CU。无线链路层控制协议(radio link control,RLC)、媒体接入控制(media access control,MAC)、物理层(physical layer,PHY)部署在DU。相应地,CU具有RRC、PDCP和SDAP的处理能力,DU具有RLC、MAC、和PHY的处理能力。值得注意的是,上述功能切分只是一个例子,还有可能有其他切分的方式。例如,CU包括RRC、PDCP、RLC和SDAP的处理能力,DU具有MAC、和PHY的处理能力。又例如CU包括RRC、PDCP、RLC、SDAP和部分MAC(例如加MAC包头)的处理能力,DU具有PHY和部分MAC(例如调度)的处理能力。CU、DU的名字可能会发生变化,只要能实现上述功能的接 入网节点都可以看做是本申请中的CU、DU。CU-CP具有CU的控制面功能,例如,RRC的处理能力,和PDCP中的控制面处理能力。CU-UP具有CU的用户面功能,例如,SDAP的处理能力,和PDCP中的用户面处理能力。CU和DU之间通过F1接口进行连接。CU-CP和CU-UP之间可以通过E1接口进行连接,CU-CP和DU之间可以通过F1的控制面接口(F1-C)进行连接,CU-UP和DU之间可以通过F1的用户面接口(F1-U)进行连接。
3)、LMF,主要用于计算终端设备的位置。
4)、GMLC,主要用于连接LMF和LCS client。
5)、NEF,主要用于将网络的功能提供给第三方应用。
6)、AF,主要用于向网络请求特定的能力。
7)、UDM,主要用于保存终端设备的签约数据。
8)、AMF,主要用于负责终端设备的上下文管理。
应理解,如上介绍各网元(如RAN、LMF、GMLC、NEF、AF、UDM、AMF等)仅为示例而非限定,实际通信系统还可以包括其它类型的网元。针对每种网元的数量,本申请实施例不做限制。另外,在标准演进的过程中,上述各网元的名称可以发生变化,各网元执行的功能可以被进一步地拆分或组合,本申请实施例不做限制。
如图5所示,为本申请实施例提供的一种定位方法,包括:
S501、第二网元建立第一终端设备的上下文,该上下文中至少包含第一终端设备的标识。
其中,第二网元用于负责第一终端设备的上下文管理。例如第二网元是AMF。
由于园区网络的覆盖范围没有5G网络的覆盖范围广,而园区网络中的终端设备(如机器人)的活动范围相对5G网络中的终端设备(如手机)的活动范围小得多,甚至园区网络中的大多数的终端设备几乎不具有移动性(如电表、传感器等)。鉴于园区网络的上述特性,本申请实施例为园区网络中每个终端设备分配固定的第二网元,即每个第二网元服务固定的终端设备,例如每个第二网元为位于该第二网元预设范围内的终端设备提供定位服务。进一步的,用户可以通过手工的方式在每个终端设备归属的第二网元上配置该终端设备的上下文。
例如,第二网元可以接收技术人员手工输入的第一终端设备的上下文,并保存第一终端设备的上下文;或者,第二网元接收技术人员输入的配置信息,基于该配置信息创建并保存第一终端设备的上下文。如此,第二网元可以在不需要与第一终端设备直接通信的情况下,实现为第一终端设备建立上下文的效果,进而完成将第一终端设备接入园区网络。应理解,这里仅仅是以一个第二网元建立一个终端设备(即第一终端设备)的上下文为例,在实际应用中,园区网络中的第二网元的数量可以有多个,而每个第二网元服务的终端设备的数量可以有多个,每个第二网元都可以采用上述方式为其服务的每个终端设备建立上下文。
可选的,第一终端设备的上下文中还可以包含解密参数和/或完保性参数。第二网元接收来自第一终端设备的消息之后,可以采用上下文中的加密参数对消息中进行解密,和/或,可以采用上下文中的完保性参数验证消息的完整性。
可选的,第一终端设备的标识可以是临时标识(Tempore Identity,TID)。
如果园区针对第一终端设备始终使用一个固定的标识,即固定标识,会导致第一终端设备的运动轨迹被跟踪。所以,本申请实施例针对第一终端设备的每一次定位,第二网元 会为第一终端设备生成唯一的一个临时标识,在该次定位流程结束之后,该临时标识将失效。如此,可以保护第一终端设备的位置隐私。
进一步可选的,第一终端设备的上下文中还包含第一终端设备的新鲜性参数,该新鲜性参数用于更新第一终端设备的上下文中的临时标识。相应的,第一终端设备也保存有该新鲜性参数,如此可保证第一终端设备和第二网元同步更新第一终端设备的临时标识。
进一步可选的,第一终端设备的上下文中还可以包含第一终端设备的移动性管理区域。移动性管理区域是由一个跟踪区域(Tracking Area,TA)列表组成,表示第一终端设备在该列表指示的区域内移动时,第一终端设备可以不通知网络第一终端设备当前的具体的TA是哪一个。
S502、第二网元向第一网元发送第一消息,第一网元从第二网元接收第一消息,该第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系。
为了便于描述,本文中“第一终端设备的标识与第二网元的标识的第一对应关系”还可描述为“第一终端设备与第二网元的第一对应关系”。
这里第二网元的标识,可以是AMF自身的设备标识,例如MAC地址,也可以是专门用于将终端设备的上报定位消息(定位消息指与定位相关的消息)路由到第二网元的标识,例如为AMF路由标识(AMF Routing ID)。园区网络中每个第二网元的标识唯一。
应理解,如果一个第二网元服务可以同时为多个终端设备提供定位服务,第一网元可以从第二网元接收该多个终端设备中每个终端设备与第二网元对应关系。另外,如果园区网络中有多个第二网元,则第一网元还可以从不同的第二网元接收不同的第二网元与不同终端设备的对应关系。
一种可能的设计中,针对每个终端设备和其对应的第二网元的对应关系,该终端设备对应的第二网元都单独向第一网元发送一条消息。例如,第一消息中可仅携带第一终端设备的标识、第二网元的标识。
另一种可能的设计中,第二网元可以将其与多个终端设备的对应关系一起发送给第一网元。例如,第一消息中除了携带第二网元的标识、第一终端设备的标识之外,还可以携带第二终端设备的标识、第三终端设备的标识等,其中第二终端设备、第三终端设备、第一终端设备归属于同一个第二网元,即第二终端设备、第三终端设备、第一终端设备与同一个第二网元有对应关系。
第一网元接收到第一对应关系后,保存第一对应关系。第一网元根据第一对应关系,可以确定第一终端设备归属于第二网元,或者说第二网元为第一终端设备提供定位服务。
一种可能的设计中,第一网元可以采用映射表的方式保存多个不同终端设备和其对应的第二网元的对应关系。以第二网元是AMF为例,参见表1中示出了多个对应关系,从表1可以看出,终端设备UE1归属的AMF为AMF1、终端设备UE2归属的AMF为AMF2、终端设备UE3归属的AMF为AMF3、终端设备UE4归属的AMF为AMF3……
表1
终端设备 第二网元(以AMF为例)
UE1 AMF1
UE2 AMF2
UE3 AMF3
UE4 AMF3
以下对第一网元进行详细介绍:
本申请实施例中的第一网元,能够与园区网络中的所有第二网元通信连接(即第一网元能够与园区网络中的所有的第二网元通信,例如第一网元接收第二网元发送的第一对应关系);第一网元还能够与园区网络中的所有的RAN通信连接(即第一网元能够与园区网络中的所有的RAN通信,例如接收RAN上报的测量结果),第一网元能够经由RAN接收园区网络中任意终端设备发送的定位消息(定位消息指与定位相关的消息)。第一网元接收到来自任一终端设备的消息后,可以基于之前保存的该终端设备和其对应的第二网元的对应关系,将消息路由到该终端设备对应的第二网元。
应理解,园区网络中的第一网元的数量可以是一个或者多个,本申请不做限制。如果是一个,则该第一网元可以接收园区网络中所有终端设备发送的消息;如果是多个,则多个第一网元之间可以相互通信,且每个第一网元知晓园区网络的拓扑结构,当某个第一网元接收到第一终端设备的消息之后,如果该第一网元与第一终端设备对应的第二网元无法直接通信,则可以根据晓园区网络的拓扑结构将第一终端设备的消息路由至另一个第一网元,进而由另一个第一网元将第一终端设备的消息发送给第一终端设备对应的第二网元。第一网元的数量可以是多个的情况下,该多个第一网元可以看成一个整体,也即多个第一网元整体根据第一对应关系将第一终端设备的消息路由至第一终端设备对应的第二网元。
一种可能的设计中,第一网元是园区网络中的多个AMF中指定的一个AMF,例如是缺省AMF。缺省AMF能够与园区网络中的其它所有AMF通信,且能够与园区网络中的所有的RAN通信。
另一种可能的设计中,第一网元是园区网络中单独配置的一种网元,专用于执行本申请实施例中描述的第一网元所执行的功能。
S503、第一终端设备发送定位信号和第三消息。
可选的,第一终端设备以广播的方式发送定位信号和第三消息。
应理解,第一终端设备先发送定位信号,之后发送第三消息,第三消息中包含第一终端设备的标识。可选的,第三消息中还包含第一终端设备的定位参数。
示例性的,定位信号可以为探测参考信号(Sounding Reference Signal,SRS),第三消息可以为长期演进定位协议(Long Term Evolution Positioning Protocol,LPP)消息。
定位参数可以包括第一终端设备的定位能力、第一终端设备的定位方法、第一终端设备的定位精度、第一终端设备的定位频率、第一终端设备的定位结果的通知地址(例如LCS客户端的地址)等中的一项或多项。
当然,第一终端设备在生成第三消息时,还可以采用加密参数对第三消息进行加密和/或采用完保性参数对第三消息进行完整性保护。
S504、一个或多个接入网设备中的每个接入网设备接收第一终端设备发送的定位信号和第三消息;每个接入网设备对定位信号执行测量,获得测量结果。
执行测量的接入网设备的数量与园区网络使用的定位计算方法相关,比如基于三角关系的定位技术需要三个位置已知的接入网设备对终端设备的定位信号进行测量。如图6所示,为基于三角关系的定位技术的示意图,该定位方法需要同时有三个位置已知的基站合 作才能进行。在图6中,位于第一终端设备三个不同方位上的接入网设备分别对第一终端设备发送的定位信号执行测量。在图5中所示的流程图中,示意了三个接入网设备,但并不限制实际的接入网设备的数量一定是三个。
S505、每个接入网设备基于测量结果和第三消息生成第二消息,并向第一网元发送第二消息;第一网元从该一个或多个接入网设备接收第二消息。
具体的,每个接入网设备生成的第二消息中携带该接入网设备获得的测量结果、第一终端设备的标识。可选的,第二消息中还携带第一终端设备的定位参数。
可选的,在S505之前,第一网元还可以与该一个或多个接入网设备中的每个接入网设备建立信令连接。该信令连接为设备粒度的信令连接(NG-AP连接),即该连接的建立与终端设备(用户)无关。该信令连接的建立过程,可以是接入网设备主动发起建立过程,也可以是第一网元主动发起建立过程,本申请不做限制。例如,接入网设备向第一网元发送请求消息,该请求消息中携带接入网设备的标识(RAN ID),接入网设备覆盖的小区信息(如cell ID)等,第一网元收到请求消息后,返回响应消息给接入网设备,响应消息中携带第一网元的标识(例如缺省AMF ID);或者例如,第一网元向接入网设备发送请求消息,该请求消息中携带第一网元的标识(例如缺省AMF ID),接入网设备收到请求消息后,返回响应消息给第一网元,响应消息中携带接入网设备的标识(RAN ID),接入网设备覆盖的小区信息(如Cell ID)等。具体实现方式参考3GPP技术规范(Technical Specification,TS)38.413协议。
S506、第一网元根据第一对应关系、第二消息中包含的第一终端设备的标识,将第二消息转发至第二网元;第二网元从第一网元接收第二消息。
应理解,如果只有一个接入网设备发送第二消息给第一网元,则第一网元转发第二消息给第二网元;如果有多个接入网设备都发送第二消息给第一网元,则第一网元可以分别转发每个接入网设备发送的第二消息给第二网元,或者第一网元可以在接收多个第二消息后,基于多个第二消息生成一个消息转发给第二网元,本申请不做限制。
S507、第二网元将第二消息中的测量结果发送给第三网元,第三网元接收测量结果。
其中,第三网元用于计算终端设备的位置。例如第三网元是LMF,第二网元将定位参数、测量结果承载在LMF服务消息中发送给第三网元。
可选的,第二消息中还携带第一终端设备的定位参数,第二网元还将第一终端设备的定位参数发送给第三网元。
可选的,如果第二消息是加密后的消息,则第二网元在收到第二消息之后,可采用第一终端设备的上下文中的加密参数对第二消息进行解密;如果第二消息是经完整性保护后的消息,则第二网元在收到第二消息之后,采用第一终端设备的上下文中的完保性参数验证第二消息的完整性。在解密之后和/或完整性验证通过之后,第二网元将第二消息中的定位参数、测量结果等发送给第三网元。
S508、第三网元根据定位参数、测量结果计算第一终端设备的位置信息。
其中,定位参数可以由第一终端设备上报(如S503中第三消息携带定位参数),也可以是第三网元预先保存的,还可以是第三网元从其它网元获取,或者是网络和第一终端设备预先约定,本申请不做限制。
示例性的,定位参数中包括第一终端设备的定位方法是到达时间差((Time Difference of Arrival,TDOA)定位方法。则第三网元通过比较定位信号到达任意两个接入网设备的绝 对时间差,就能作出以这两个接入网设备为焦点,距离差为长轴的双曲线,第三网元根据第一终端设备与至少三个接入网设备的距离差,可以做出至少两条曲线,通过计算至少两条双曲线的交点,就能得出第一终端设备的位置信息。
S509、第三网元将第一终端设备的位置信息发送到LCS客户端,LCS客户端接收第一终端设备的位置信息。
例如,将第一终端设备的位置信息承载在多接入边缘计算(Multi-access Edge Computing,MEC)接口消息中发送到LCS客户端。
可选的,在S509之后,第二网元和第一终端设备分别根据本地保存的新鲜性参数更新第一终端设备的临时标识,以保护第一终端设备位置隐私。
通过以上可知,本申请实施例在需要被定位的终端(如第一终端设备)的能力简化(比如不支持3GPP定义的完整协议栈)时,为每个终端设备配置固定的第二网元,且园区网络中配置第一网元,当任一终端设备在上报定位消息(例如第三消息)时,可由第一网元根据该终端设备和其对应的第二网元的对应关系,将该终端设备的定位消息路由至该终端设备对应的第二网元,进而实现对终端设备进行定位。
参见图7,为本申请实施例提供的另一种定位方法的流程图。与图5所示的方法不同的是,本实施例中无需设置第一网元,用户上下文配置在第三网元上。该方法的具体流程包括:
S701、第二网元向一个或多个接入网设备发送第四消息,该一个或多个接入网设备中的每个接入网设备从第二网元接收第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系。
其中,第二网元是可以与接入网设备建立通信连接的网元。例如,第二网元是AMF。
这里第二网元的标识,可以是AMF自身的设备标识,例如MAC地址,也可以是专门用于将终端设备的上报定位消息(定位消息指与定位相关的消息)路由到第二网元的标识,例如为AMF路由标识(AMF Routing ID)。园区网络中每个第二网元的标识唯一。
应理解,在园区网络中可以部署多个第二网元和多个接入网设备,在S701之前,每个网元与至少一个接入网设备建立信令连接。该信令连接为设备粒度的信令连接(NG-AP连接),即与终端设备(用户)无关。该信令连接的建立过程,可以是接入网设备主动发起建立过程,也可以是第二网元主动发起建立过程,本申请不做限制。具体实现方式可以参考3GPP技术规范(Technical Specification,TS)38.413协议。
接入网设备接收到第二网元的地址与第二网元的标识的第二对应关系之后,可以保存第二对应关系,后续可以根据第二对应关系确定第二网元的标识对应的第二网元的地址,或者根据第二对应关系确定第二网元的地址对应的第二网元的标识。
S702、第三网元建立第一终端设备的上下文,上下文中包含第一终端设备的标识;
其中,第三网元用于计算第一终端设备的位置。例如第三网元是LMF。
基于园区网络的特性(覆盖范围比5G网络的覆盖范围小、终端设备活动范围小),本申请实施例为园区网络中每个终端设备分配固定的第三网元,即每个第三网元服务固定的终端设备,例如每个第三网元为位于该第二网元预设范围内的终端设备提供定位服务。进一步的,用户可以通过手工的方式在每个终端设备归属的第三网元上配置该终端设备的上下文。用户在第三网元上配置上下文的方法可以参考上文S501中用户在第二网元上配置上下文的方法。
可选的,第一终端设备的标识可以是临时标识。
进一步可选的,第一终端设备的上下文中还可以包含解密参数、完保性参数或新鲜性参数等。各参数的具体含义可以参考上文相关介绍,这里不再赘述。
S703、第三网元向第二网元发送第五消息,第二网元从第三网元接收第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系。
为了便于描述,本文中“第一终端设备的标识与第三网元的标识的第三对应关系”还可描述为“第一终端设备与第三网元的第三对应关系”。
应理解,如果一个第三网元服务可以同时为多个终端设备提供定位服务,第二网元可以从第一网元接收多个终端设备中每个终端设备与第二网元对应关系。如果园区网络中有多个第三网元,则第二网元还可以从不同的第三网元接收不同的第三网元与不同终端设备的对应关系。
一种可能的设计中,针对每个终端设备和其对应的第三网元的对应关系,该终端设备对应的第三网元都单独向第二网元发送一条消息。例如,第五消息中可仅携带第一终端设备的标识、第三网元的标识。
另一种可能的设计中,第三网元可以将其与多个终端设备的对应关系一起发送给第二网元。例如,第五消息中除了携带第三网元的标识、第一终端设备的标识之外,还可以携带第二终端设备的标识、第三终端设备的标识等,其中第二终端设备、第三终端设备、第一终端设备归属于同一个第三网元,即第二终端设备、第三终端设备、第一终端设备与同一个第三网元有对应关系。
第二网元接收到第三对应关系后,保存第三对应关系。第二网元根据第三对应关系,可以确定第一终端设备归属于第三网元,或者说第三网元为第一终端设备提供定位服务。
一种可能的设计中,第二网元可以采用映射表的方式保存多个不同终端设备和其对应的第三网元的对应关系。以第三网元是LMF为例,参见表2中示出了多个对应关系,从表1可以看出,终端设备UE1归属的LMF为LMF1、终端设备UE2归属的LMF为LMF2、终端设备UE3归属的LMF为LMF3、终端设备UE4归属的LMF为LMF4……
表2
终端设备 第二网元(以AMF为例)
UE1 LMF1
UE2 LMF2
UE3 LMF3
UE4 LMF4
应理解,每一时刻为一个终端设备服务的LMF可以只有一个,但是一个终端设备可以同时配置多个LMF,在不同时刻可以由不同的LMF为终端设备提供服务。
需要说明的是,本申请对S701与S702~S703的先后顺序不做限定。换而言之,执行S701可以在执行S702之前,或者执行S703之后,或者执行S702~S703之时。
S704、第一终端设备发送定位信号和第八消息。
可选的,第一终端设备广播定位信号和第八消息。
应理解,第一终端设备先广播定位信号,之后广播第八消息。第八消息中包含第一终 端设备的标识以及为第一终端设备提供服务的第二网元的标识。可选的,第八消息中还携带第一终端设备的定位参数。
示例性的,定位信号可以为SRS,第八消息可以为长期演进定位协议LPP消息。
定位参数可以包括第一终端设备的定位能力、第一终端设备的定位方法、第一终端设备的定位精度、第一终端设备的定位频率、第一终端设备的定位结果的通知地址等中的一项或多项。
可选的,第一终端设备在生成第三消息时,还可以采用加密参数对第三消息进行加密和/或采用完保性参数对第三消息进行完整性保护。
S705、该一个或多个接入网设备中的每个接入网设备接收第一终端设备发送的定位信号和第八消息;每个接入网设备对定位信号执行测量,获得测量结果。
接入网设备执行测量过程可以参考上文S504中的相关描述,这里不再赘述。
S706、每个接入网设备根据第八消息中的第二网元的标识、第二对应关系,向第二网元发送第六消息,第二网元从一个或多个接入网设备接收第六消息。
具体的,每个接入网设备根据测量结果、第八消息中的第一终端设备的标识,第六消息包含第一终端设备的标识以及测量结果;之后,根据第八消息中携带的第二网元的标识、第二对应关系找到第二网元的地址,将第六消息发送到第二网元。可选的,第八消息和第六消息中还包含第一终端设备的定位参数。
S707、第二网元根据第三对应关系、第六消息中的第一终端设备的标识,向第三网元发送第七消息,第三网元从第二网元接收第七消息;第七消息中包含测量结果。
如果只有一个接入网设备发送第六消息给第二网元,则第二网元可以直接将第六消息转发给第三网元(第七消息即为第六消息);如果有多个接入网设备都发送第六消息给第二网元,则第二网元可以分别转发每个接入网设备发送的第六消息(第七消息即为第六消息)给第二网元,或者第二网元可以在接收多个第六消息后,基于多个第六消息生成一个第七消息后转发给第二网元,本申请不做限制。
S708、第三网元根据定位参数、测量结果确定第一终端设备的位置信息。
如果第七消息是加密后的消息,则第三网元在收到第七消息之后,采用第一终端设备的上下文中的加密参数对第七消息进行解密;如果第七消息是经完整性保护后的消息,则第三网元在收到第七消息之后,采用第一终端设备的上下文中的完保性参数验证第七消息的完整性。在解密之后和/或完整性验证通过之后,第三网元再根据第一终端设备的定位参数、测量结果等确定第一终端设备的位置信息。
其中,定位参数可以由第一终端设备上报(如S704中第八消息携带定位参数),也可以是第三网元预先保存的,还可以是第三网元从其它网元获取,或者是网络和第一终端设备预先约定,本申请不做限制。
第三网元根据定位参数、测量结果确定第一终端设备的位置信息可以参考上文S509的相关描述,这里不再赘述。
S709、第三网元将第一终端设备的位置信息发送到LCS客户端,LCS客户端接收第一终端设备的位置信息。
S709的具体实现方法可以参考上述S510的具体实现方法,此处不再赘述。
可选的,在S709之后,第三网元和第一终端设备分别根据本地保存的新鲜性参数更新第一终端设备的临时标识,以保护第一终端设备位置隐私。
通过以上可知,本申请实施例在需要被定位的终端(如第一终端设备)的能力简化(比如不支持3GPP定义的完整协议栈)时,为每个终端设备配置固定的第二网元,任一终端设备在上报定位消息(指与终端设备定位相关的消息,例如第八消息)时,会在定位消息中携带该终端设备对应第二网元的标识,进而接入网设备可以基于该定位消息中的第二网元的标识将该定位消息路由至该终端设备对应的第二网元,进而实现对终端设备进行定位。
参见图8,基于同一技术构思,本申请实施例还提供一种定位装置800,该装置800包括通信模块801和处理模块802;其中通信模块801可以与其他网元或设备通信,处理模块802通过控制通信模块801可以执行图5或图7所示实施例中任一网元或设备所执行的方法步骤。
示例性的,当装置800位于图5所示实施例中的第一网元上时,通信模块801用于第一网元与其它网元通信;处理模块802,用于:通过通信模块801从第二网元接收第一消息,第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系;保存第一对应关系;通过通信模块801从一个或多个接入网设备接收第二消息,其中第二消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果;根据第一对应关系、第二消息中包含的第一终端设备的标识,将第二消息通过通信模块801转发至第二网元。
示例性的,当装置800位于图5所示第二网元上时,通信模块801用于第二网元与其他网元通信;处理模块802,用于:建立第一终端设备的上下文,其中上下文中包含第一终端设备的标识;通过通信模块801向第一网元发送第一消息,第一消息中包含第一终端设备的标识与第二网元的标识的第一对应关系;通过通信模块801从第一网元接收第二消息,第二消息是第一网元根据第一对应关系发送给第二网元的,其中第二消息中包含第一终端设备的标识以及对第一终端设备发送的定位信号的测量结果;将第二消息中的测量结果通过通信模块801发送给第三网元,第三网元用于根据测量结果确定第一终端设备的位置信息。
示例性的,当装置800位于图5所示接入网设备上时,通信模块801用于接入网设备与其他网元或设备通信;处理模块802,用于:通过通信模块801接收第一终端设备发送的定位信号;对定位信号执行测量,获得测量结果;通过通信模块801接收第一终端设备发送的第三消息,第三消息中包含第一终端设备的标识;基于测量结果和第三消息生成第二消息;通过通信模块801向第一网元发送第二消息,其中第二消息中包含第一终端设备的标识、第一终端设备的测量结果。
示例性的,当装置800位于图5所示第一终端设备上时,通信模块801用于第一终端设备与其他网元或设备通信;处理模块802,用于:生成定位信号和第三消息;通过通信模块801发送定位信号和第三消息,第三消息中包含第一终端设备的标识。
示例性的,当装置800位于图7所示接入网设备上时,通信模块801用于接入网设备与其他网元或设备通信;处理模块802,用于:通过通信模块801从第二网元接收第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系;通过通信模块801接收第一终端设备发送的定位信号;对定位信号执行测量,获得测量结果;通过通信模块801接收第一终端设备发送的第八消息,第八消息中包含第一终端设备的标识、第二网元的标识;根据第八消息中的第二网元的标识、第二对应关系,通过通信模块801向第二网元发送第六消息,其中第六消息中包含第一终端设备的标识以及测量结果。
示例性的,当装置800位于图7所示第二网元上时,通信模块801用于第二网元与其 他网元通信;处理模块802,用于:通过通信模块801向一个或多个接入网设备发送第四消息,其中第四消息中包含第二网元的地址与第二网元的标识的第二对应关系;通过通信模块801从第三网元接收第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系;保存第三对应关系;通过通信模块801从一个或多个接入网设备接收第六消息,第六消息中包含第一终端设备的标识以及至少一个接入网设备对第一终端设备发送的定位信号的测量结果,第六消息是接入网设备根据第二对应关系发送给第二网元的;根据第三对应关系、第六消息中的第一终端设备的标识,通过通信模块801向第三网元发送第七消息,第七消息中包含测量结果,第三网元用于根据测量结果确定第一终端设备的位置信息。
示例性的,当装置800位于图7所示第三网元上时,通信模块801用于第三网元与其他网元通信;处理模块802,用于:建立第一终端设备的上下文,上下文中包含第一终端设备的标识;通过通信模块801向第二网元发送第五消息,第五消息中包含第一终端设备的标识与第三网元的标识的第三对应关系;通过通信模块801从第二网元接收第七消息,第七消息中包含对第一终端设备发送的定位信号的测量结果,第七消息是第二网元根据第三对应关系发送给第三网元的;根据测量结果确定第一终端设备的位置信息。
示例性的,当装置800位于图7所示第一终端设备上时,通信模块801用于第一终端设备与其他网元或设备通信;处理模块802,用于:生成定位信号和第八消息;通过通信模块801发送定位信号和第八消息,第八消息中包含第一终端设备的标识、第二网元的标识。
应理解,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
参见图9,基于同一技术构思,本申请实施例还提供一种定位装置900,包括:至少一个处理器901;以及与所述至少一个处理器901通信连接的通信接口903;所述至少一个处理器901通过执行存储器902存储的指令,使得所述装置通过所述通信接口903执行图5或图7所示实施例中任一网元或设备所执行的方法步骤。
可选的,所述存储器902位于所述装置900之外。
可选的,所述装置900包括所述存储器902,所述存储器902与所述至少一个处理器901相连,所述存储器902存储有可被所述至少一个处理器901执行的指令。
可选的,所述存储器902位于所述装置900之外。
可选的,所述装置900包括所述存储器902,所述存储器902与所述至少一个处理器901相连,所述存储器902存储有可被所述至少一个处理器901执行的指令。附图9用虚线表示存储器902对于装置900是可选的。
其中,所述处理器901和所述存储器902可以通过接口电路耦合,也可以集成在一起,这里不做限制。
本申请实施例中不限定上述处理器901、存储器902以及通信接口903之间的具体连接介质。本申请实施例在图9中以处理器901、存储器902以及通信接口903之间通过总线904连接,总线在图9中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
应理解,本申请实施例中提及的处理器可以通过硬件实现也可以通过软件实现。当通 过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。
示例性的,处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Eate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
参见图10,基于同一技术构思,本申请实施例还提供一种芯片1000,可以用于执行图5或图7所示实施例中任一网元或设备所执行的方法步骤。芯片1000,包括:
至少一个输入接口(Input(s))1001,逻辑电路1002,至少一个输出接口(Output(s))1003。
可选的,上述的逻辑电路1002可以是芯片,编码器,编码电路或其他可以实现本申请方法的集成电路。
基于同一技术构思,本申请实施例还提供一种计算机可读存储介质,包括程序或指令,当程序或指令在计算机上运行时,使得图5或图7所示实施例中任一网元或设备所执行的方法步骤被执行。
基于同一技术构思,本申请实施例还提供一种计算机程序产品,包括指令,当其在计算机上运行时,使得图5或图7所示实施例中任一网元或设备所执行的方法步骤被执行。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/ 或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (30)

  1. 一种定位方法,其特征在于,所述方法包括:
    第一网元从第二网元接收第一消息,所述第一消息中包含第一终端设备的标识与所述第二网元的标识的第一对应关系;所述第一网元保存所述第一对应关系;
    所述第一网元从一个或多个接入网设备接收第二消息,其中所述第二消息中包含所述第一终端设备的标识以及对所述第一终端设备发送的定位信号的测量结果;
    所述第一网元根据所述第一对应关系、所述第二消息中包含的所述第一终端设备的标识,将所述第二消息转发至所述第二网元。
  2. 一种定位方法,其特征在于,所述方法包括:
    第二网元建立第一终端设备的上下文,其中所述上下文中包含所述第一终端设备的标识;
    所述第二网元向第一网元发送第一消息,所述第一消息中包含所述第一终端设备的标识与所述第二网元的标识的第一对应关系;
    所述第二网元从所述第一网元接收第二消息,所述第二消息是所述第一网元根据所述第一对应关系发送给所述第二网元的,其中所述第二消息中包含所述第一终端设备的标识以及对所述第一终端设备发送的定位信号的测量结果;
    所述第二网元将所述第二消息中的所述测量结果发送给第三网元,所述第三网元用于根据所述测量结果确定所述第一终端设备的位置信息。
  3. 一种定位方法,其特征在于,所述方法包括:
    接入网设备接收第一终端设备发送的定位信号,并对所述定位信号执行测量,获得测量结果;以及,接收所述第一终端设备发送的第三消息,所述第三消息中包含所述第一终端设备的标识;
    所述接入网设备基于所述测量结果和所述第三消息生成第二消息,向第一网元发送所述第二消息,其中所述第二消息中包含所述第一终端设备的标识以及所述测量结果。
  4. 一种定位方法,其特征在于,所述方法包括:
    第一终端设备发送定位信号;
    所述第一终端设备发送第三消息,所述第三消息中包含所述第一终端设备的标识。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述第二消息中还包含所述第一终端设备的定位参数。
  6. 根据权利要求3或4所述的方法,其特征在于,所述第三消息中还包含所述第一终端设备的定位参数。
  7. 根据权利要求1所述的方法,其特征在于,所述第一网元与所述一个或多个接入网设备中的每个接入网设备具有信令连接。
  8. 一种定位方法,其特征在于,所述方法包括:
    第二网元向一个或多个接入网设备发送第四消息,其中所述第四消息中包含所述第二网元的地址与所述第二网元的标识的第二对应关系;
    所述第二网元从第三网元接收第五消息,所述第五消息中包含第一终端设备的标识与所述第三网元的标识的第三对应关系;所述第二网元保存所述第三对应关系;
    所述第二网元从所述一个或多个接入网设备接收第六消息,所述第六消息中包含所述 第一终端设备的标识以及对所述第一终端设备发送的定位信号的测量结果,所述第六消息是所述接入网设备根据所述第二对应关系发送给所述第二网元的;
    所述第二网元根据所述第三对应关系、所述第六消息中的所述第一终端设备的标识,向所述第三网元发送第七消息,所述第七消息中包含所述测量结果,所述第三网元用于根据所述测量结果确定所述第一终端设备的位置信息。
  9. 一种定位方法,其特征在于,所述方法包括:
    第三网元建立第一终端设备的上下文,所述上下文中包含所述第一终端设备的标识;
    所述第三网元向第二网元发送第五消息,所述第五消息中包含所述第一终端设备的标识与所述第三网元的标识的第三对应关系;
    所述第三网元从所述第二网元接收第七消息,所述第七消息中包含以及对所述第一终端设备发送的定位信号的测量结果,所述第七消息是所述第二网元根据所述第三对应关系发送给所述第三网元的;
    所述第三网元根据所述测量结果确定所述第一终端设备的位置信息。
  10. 一种定位方法,其特征在于,所述方法包括:
    接入网设备从所述第二网元接收第四消息,其中所述第四消息中包含第二网元的地址与所述第二网元的标识的第二对应关系;
    所述接入网设备接收第一终端设备发送的定位信号,并对所述定位信号执行测量,获得测量结果;以及,接收所述第一终端设备发送的第八消息,所述第八消息中包含所述第一终端设备的标识、所述第二网元的标识;
    所述接入网设备根据所述第八消息中的所述第二网元的标识、所述第二对应关系,向所述第二网元发送第六消息,其中所述第六消息中包含所述第一终端设备的标识以及所述测量结果。
  11. 一种定位方法,其特征在于,所述方法包括:
    第一终端设备发送定位信号;
    所述第一终端设备发送第八消息,所述第八消息中包含所述第一终端设备的标识、第二网元的标识。
  12. 根据权利要求8或9所述的方法,其特征在于,所述第七消息中还包含所述第一终端设备的定位参数。
  13. 根据权利要求8或10所述的方法,其特征在于,所述第六消息中还包含所述第一终端设备的定位参数。
  14. 根据权利要求10或11所述的方法,其特征在于,所述第八消息中还包含所述第一终端设备的定位参数。
  15. 根据权利要求8所述的方法,其特征在于,所述第二网元与所述一个或多个接入网设备中的每个接入网设备具有信令连接。
  16. 根据权利要求5-6或12-14中任一项所述的方法,其特征在于,所述定位参数为经加密和/或完整性保护后的参数。
  17. 根据权利要求5-6或12-14中任一项所述的方法,其特征在于,所述定位参数包括所述第一终端设备的定位能力、所述第一终端设备的定位方法、所述第一终端设备的定位精度、所述第一终端设备的定位频率、所述第一终端设备的定位结果的通知地址中的一项或多项。
  18. 根据权利要求1-3中任一项所述的方法,其特征在于,所述第一网元为接入和移动性管理功能AMF。
  19. 根据权利要求1-2或8-11中任一项所述的方法,其特征在于,所述第二网元为AMF。
  20. 根据权利要求2或8-9中任一项所述的方法,其特征在于,所述第三网元为定位管理功能LMF。
  21. 一种定位装置,其特征在于,所述装置位于第一网元,所述装置包括通信模块和处理模块;
    所述通信模块,用于所述第一网元与其他网元通信;
    所述处理模块,用于:
    通过所述通信模块从第二网元接收第一消息,所述第一消息中包含第一终端设备的标识与所述第二网元的标识的第一对应关系;
    保存所述第一对应关系;
    通过所述通信模块从一个或多个接入网设备接收第二消息,其中所述第二消息中包含所述第一终端设备的标识以及对所述第一终端设备发送的定位信号的测量结果;根据所述第一对应关系、所述第二消息中包含的所述第一终端设备的标识,将所述第二消息通过所述通信模块转发至所述第二网元。
  22. 一种定位装置,其特征在于,所述装置位于第二网元,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述第二网元与其他网元通信;
    所述处理模块,用于:
    建立第一终端设备的上下文,其中所述上下文中包含所述第一终端设备的标识;
    通过所述通信模块向第一网元发送第一消息,所述第一消息中包含所述第一终端设备的标识与所述第二网元的标识的第一对应关系;通过所述通信模块从所述第一网元接收第二消息,所述第二消息是所述第一网元根据所述第一对应关系发送给所述第二网元的,其中所述第二消息中包含所述第一终端设备的标识以及对所述第一终端设备发送的定位信号的测量结果;将所述第二消息中的所述测量结果通过所述通信模块发送给第三网元,所述第三网元用于根据所述测量结果确定所述第一终端设备的位置信息。
  23. 一种定位装置,其特征在于,所述装置位于接入网设备,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述接入网设备与其他网元或设备通信;
    所述处理模块,用于:
    通过所述通信模块接收第一终端设备发送的定位信号;
    对所述定位信号执行测量,获得测量结果;
    通过所述通信模块接收所述第一终端设备发送的第三消息,所述第三消息中包含所述第一终端设备的标识;
    基于所述测量结果和所述第三消息生成第二消息;
    通过所述通信模块向第一网元发送所述第二消息,其中所述第二消息中包含所述第一终端设备的标识以及所述测量结果。
  24. 一种定位装置,其特征在于,所述装置位于第一终端设备,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述第一终端设备与其他网元或设备通信;
    所述处理模块,用于:
    生成定位信号和第三消息;
    通过所述通信模块发送所述定位信号和所述第三消息,所述第三消息中包含所述第一终端设备的标识。
  25. 一种定位装置,其特征在于,所述装置位于第二网元,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述第二网元与其他网元通信;
    所述处理模块,用于:
    通过所述通信模块向一个或多个接入网设备发送第四消息,其中所述第四消息中包含所述第二网元的地址与所述第二网元的标识的第二对应关系;通过所述通信模块从第三网元接收第五消息,所述第五消息中包含所述第一终端设备的标识与所述第三网元的标识的第三对应关系;
    保存所述第三对应关系;
    通过所述通信模块从所述一个或多个接入网设备接收第六消息,所述第六消息中包含所述第一终端设备的标识以及所述至少一个接入网设备对所述第一终端设备发送的定位信号的测量结果,所述第六消息是所述接入网设备根据所述第二对应关系发送给所述第二网元的;根据所述第三对应关系、所述第六消息中的所述第一终端设备的标识,通过所述通信模块向所述第三网元发送第七消息,所述第七消息中包含所述测量结果,所述第三网元用于根据所述测量结果确定所述第一终端设备的位置信息。
  26. 一种定位装置,其特征在于,所述装置位于第三网元,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述第三网元与其他网元通信;
    所述处理模块,用于:
    建立第一终端设备的上下文,所述上下文中包含所述第一终端设备的标识;
    通过所述通信模块向第二网元发送第五消息,所述第五消息中包含所述第一终端设备的标识与所述第三网元的标识的第三对应关系;通过所述通信模块从所述第二网元接收第七消息,所述第七消息中包含对所述第一终端设备发送的定位信号的测量结果,所述第七消息是所述第二网元根据所述第三对应关系发送给所述第三网元的;
    根据所述测量结果确定所述第一终端设备的位置信息。
  27. 一种定位装置,其特征在于,所述装置位于接入网设备,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述接入网设备与其他网元或设备通信;
    所述处理模块,用于:
    通过所述通信模块从所述第二网元接收第四消息,其中所述第四消息中包含第二网元的地址与所述第二网元的标识的第二对应关系;通过所述通信模块接收第一终端设备发送的定位信号;
    对所述定位信号执行测量,获得测量结果;
    通过所述通信模块接收所述第一终端设备发送的第八消息,所述第八消息中包含所述第一终端设备的标识、所述第二网元的标识;根据所述第八消息中的所述第二网元的标识、 所述第二对应关系,通过所述通信模块向所述第二网元发送第六消息,其中所述第六消息中包含所述第一终端设备的标识以及所述测量结果。
  28. 一种定位装置,其特征在于,所述装置位于第一终端设备,所述装置包括通信模块和处理模块:
    所述通信模块,用于所述第一终端设备与其他网元或设备通信;
    所述处理模块,用于:
    生成定位信号和第八消息;
    通过所述通信模块发送所述定位信号和所述第八消息,所述第八消息中包含所述第一终端设备的标识、第二网元的标识。
  29. 一种定位装置,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器和通信接口;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,使得所述装置通过所述通信接口执行如权利要求1-20中任一项所述的方法。
  30. 一种计算机可读存储介质,其特征在于,包括程序或指令,当所述程序或指令在计算机上运行时,使得如权利要求1-20中任一项所述的方法被执行。
PCT/CN2022/089314 2021-05-18 2022-04-26 一种定位方法和装置 WO2022242434A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22803758.6A EP4340401A1 (en) 2021-05-18 2022-04-26 Positioning method and apparatus
US18/512,808 US20240089899A1 (en) 2021-05-18 2023-11-17 Positioning method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110540425.1 2021-05-18
CN202110540425.1A CN115379392A (zh) 2021-05-18 2021-05-18 一种定位方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/512,808 Continuation US20240089899A1 (en) 2021-05-18 2023-11-17 Positioning method and apparatus

Publications (2)

Publication Number Publication Date
WO2022242434A1 true WO2022242434A1 (zh) 2022-11-24
WO2022242434A9 WO2022242434A9 (zh) 2023-02-09

Family

ID=84058569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/089314 WO2022242434A1 (zh) 2021-05-18 2022-04-26 一种定位方法和装置

Country Status (4)

Country Link
US (1) US20240089899A1 (zh)
EP (1) EP4340401A1 (zh)
CN (1) CN115379392A (zh)
WO (1) WO2022242434A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130057435A1 (en) * 2011-09-05 2013-03-07 Lsis Co., Ltd. Auxiliary ap tag and positioning system using the same
CN104980889A (zh) * 2015-06-30 2015-10-14 北京奇虎科技有限公司 一种基于定位设备的位置获取方法、代理服务器及系统
US20200130988A1 (en) * 2018-10-24 2020-04-30 Otis Elevator Company Communication under elevator communication system environment in building
CN111436019A (zh) * 2019-01-14 2020-07-21 华为技术有限公司 一种定位业务的管理方法及装置
CN112272254A (zh) * 2020-10-22 2021-01-26 北京百度网讯科技有限公司 终端设备的定位方法、终端设备、系统以及服务器

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130057435A1 (en) * 2011-09-05 2013-03-07 Lsis Co., Ltd. Auxiliary ap tag and positioning system using the same
CN104980889A (zh) * 2015-06-30 2015-10-14 北京奇虎科技有限公司 一种基于定位设备的位置获取方法、代理服务器及系统
US20200130988A1 (en) * 2018-10-24 2020-04-30 Otis Elevator Company Communication under elevator communication system environment in building
CN111436019A (zh) * 2019-01-14 2020-07-21 华为技术有限公司 一种定位业务的管理方法及装置
CN112272254A (zh) * 2020-10-22 2021-01-26 北京百度网讯科技有限公司 终端设备的定位方法、终端设备、系统以及服务器

Also Published As

Publication number Publication date
CN115379392A (zh) 2022-11-22
US20240089899A1 (en) 2024-03-14
WO2022242434A9 (zh) 2023-02-09
EP4340401A1 (en) 2024-03-20

Similar Documents

Publication Publication Date Title
US12004105B2 (en) Time synchronization method and apparatus
US20230104211A1 (en) Positioning reference signal processing
CN108351421A (zh) 移动网络中的定位方法、基站和移动终端
US20210176738A1 (en) Data Transmission Method and Apparatus
TW202131712A (zh) 多下行鏈路定位技術能力
TW202147891A (zh) Ue接收-發送時間差量測報告
EP4320453A1 (en) Signaling timing error group updates for positioning
KR20140086321A (ko) 애드혹 망을 이용한 위치 추적 장치 및 방법과 그를 위한 이동통신 시스템
US11032790B2 (en) Wireless communications system, control station, and terminal
EP4013081A1 (en) Broadcasting method, apparatus and system
WO2022242434A1 (zh) 一种定位方法和装置
US11971499B2 (en) Distributed device management for positioning
US20220353843A1 (en) Positioning with geographically-similar anchors including a mobile anchor
TW202239222A (zh) 上行鏈路和下行鏈路的ris輔助訊號傳遞
TW202241165A (zh) Ris輔助和非ris輔助訊號傳遞
TW202201980A (zh) 定位測量報告
WO2022237529A1 (zh) 一种定位方法和装置
CN115150937B (zh) 一种通信方法和装置
WO2023208141A1 (zh) 获取位置信息的方法、通信装置及系统
WO2024000586A1 (zh) 无线通信方法、装置、设备、存储介质、芯片及程序产品
WO2022110246A1 (zh) 一种用户设备的定位方法及装置
US20240049168A1 (en) Prs measurement sharing for virtual ue
US20240129085A1 (en) Embedding timing group information in reference signals for positioning
TW202243497A (zh) Prs測量共用
WO2022184242A1 (en) Association of coverage area of a network slice providing a service with radio coverage area

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: 22803758

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022803758

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022803758

Country of ref document: EP

Effective date: 20231211

NENP Non-entry into the national phase

Ref country code: DE