Positioning methods and network-side equipment

By sending a failure message or a response message carrying indication information to the positioning server when the access network device receives a terminal context retrieval request message, the problem of the positioning server not receiving failure messages in a timely manner is solved, and the positioning process can be resumed in a timely manner when the terminal is in the RRC deactivation state, thus reducing positioning latency.

CN116367299BActive Publication Date: 2026-03-10VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

When the terminal is in the RRC deactivated state, the location server cannot receive the failure message of the location protocol message in time, which makes it impossible to re-initiate the location process in time.

Method used

When the access network device receives a terminal context retrieval request message, it sends a failure message or a response message carrying indication information to the positioning server to ensure that the positioning server can re-initiate the positioning process.

Benefits of technology

It enables timely re-initiation of location services even when the terminal's RRC is deactivated, thus reducing location latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116367299B_ABST
    Figure CN116367299B_ABST
Patent Text Reader

Abstract

This application discloses a positioning method and a network-side device, belonging to the field of communication technology. The positioning method of this application includes: a first access network device receiving a first positioning protocol message related to a terminal from a positioning server; wherein the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal; when the first access network device receives a terminal context retrieval request message from a second access network device, the first access network device sends a failure message corresponding to the first positioning protocol message to the positioning server, and / or the first access network device sends a terminal context retrieval response message to the second access network device, the terminal context retrieval response message including first indication information, the first indication information being used to indicate that the first access network device has received the first positioning protocol message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to a positioning method and a network-side device, which includes access network equipment and core network equipment. Background Technology

[0002] For location services, when the terminal is in the Radio Resource Control (RRC) deactivated state, the core network will not trigger the terminal to enter the RRC connected state. When the location protocol message associated with the terminal for the location process is sent to the terminal's anchor base station, the terminal may be out of the anchor base station due to movement, which will prevent the location process from being executed and thus cause the location to fail.

[0003] Related technologies propose that after receiving a positioning protocol message, the first base station (source base station) triggers the terminal to return from the RRC deactivation state to the RRC connected state. When the first base station receives an RRC context release message from the second base station (target base station), it sends a failure message corresponding to the positioning protocol message to the positioning server. However, this scheme has some problems. Specifically, from the perspective of the core network, the terminal's serving base station has become the second base station. Therefore, when the failure message passes through the core network, the core network will discard the failure message received from the first base station, so the positioning server cannot receive the failure message, resulting in the inability to re-initiate positioning in a timely manner. Summary of the Invention

[0004] This application provides a positioning method and a network-side device that can solve the problem that the positioning server cannot receive the failure message corresponding to the positioning protocol message, resulting in the inability to re-initiate positioning in a timely manner.

[0005] In a first aspect, a positioning method is provided, comprising: a first access network device receiving a first positioning protocol message related to a terminal from a positioning server; wherein the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal; upon receiving a terminal context retrieval request message from a second access network device, the first access network device sends a failure message corresponding to the first positioning protocol message to the positioning server, and / or the first access network device sends a terminal context retrieval response message to the second access network device, the terminal context retrieval response message including first indication information, the first indication information being used to indicate that the first access network device has received the first positioning protocol message.

[0006] Secondly, a positioning method is provided, comprising: a second access network device receiving an RRC recovery request message from a terminal; the second access network device sending a terminal context retrieval request message to a first access network device; wherein the first access network device is an access network device that stores the RRC context information of the terminal; the second access network device receiving a terminal context retrieval response message from the first access network device, the terminal context retrieval response message including first indication information, the first indication information being used to indicate that the first access network device has received a first positioning protocol message; wherein the first positioning protocol message is a communication protocol message between a positioning server and an access network device.

[0007] Thirdly, a positioning method is provided, comprising: a positioning server sending a first positioning protocol message related to a terminal to a first access network device; wherein the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal; the positioning server receiving a failure message corresponding to the first positioning protocol message; wherein the failure message is sent by the first access network device upon receiving a terminal context retrieval request message from a second access network device, and / or, the positioning server receiving a second positioning protocol message sent by the second access network device, the second positioning protocol message including second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device; wherein the second access network device is the target access network device for the terminal to initiate RRC recovery, and the second positioning protocol message is sent by the second access network device upon receiving a path switching request confirmation message from a core network device.

[0008] Fourthly, a first access network device is provided, comprising: a receiving module, configured to receive a first positioning protocol message related to a terminal from a positioning server; wherein the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal; and a sending module, configured to, upon receiving a terminal context retrieval request message from a second access network device, send a failure message corresponding to the first positioning protocol message to the positioning server, and / or send a terminal context retrieval response message to the second access network device, wherein the terminal context retrieval response message includes first indication information, the first indication information being used to indicate that the first access network device has received the first positioning protocol message.

[0009] Fifthly, a second access network device is provided, comprising: a receiving module for receiving an RRC recovery request message from a terminal; and a sending module for sending a terminal context retrieval request message to a first access network device; wherein the first access network device is an access network device that stores the RRC context information of the terminal; the receiving module is further configured to receive a terminal context retrieval response message from the first access network device, the terminal context retrieval response message including first indication information, the first indication information being used to indicate that the first access network device has received a first positioning protocol message; wherein the first positioning protocol message is a communication protocol message between a positioning server and the access network device.

[0010] A sixth aspect provides a positioning server, characterized in that it comprises: a sending module, configured to send a first positioning protocol message related to a terminal to a first access network device; wherein the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal; and a receiving module, configured to receive a failure message corresponding to the first positioning protocol message; wherein the failure message is sent by the first access network device upon receiving a terminal context retrieval request message from a second access network device, and / or, receiving a second positioning protocol message sent by the second access network device, the second positioning protocol message including second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device; wherein the second access network device is the target access network device for the terminal to initiate RRC recovery, and the second positioning protocol message is sent by the second access network device upon receiving a path switching request confirmation message from a core network device.

[0011] A seventh aspect provides a network-side device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in any one of the first to third aspects.

[0012] Eighthly, a network-side device is provided, including a processor and a communication interface, wherein the communication interface is used to implement the steps of the method as described in any one of the first to third aspects.

[0013] A ninth aspect provides a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method as described in any one of the first to third aspects.

[0014] In a tenth aspect, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the method as described in any one of the first to third aspects.

[0015] Eleventhly, a computer program / program product is provided, the computer program / program product being stored in a storage medium, the computer program / program product being executed by at least one processor to implement the steps of the method as described in any one of the first to third aspects.

[0016] In this embodiment, when the first access network device receives a first positioning protocol message related to the terminal from the positioning server, and the terminal is in an RRC deactivated state, the first access network device sends a failure message corresponding to the first positioning protocol message to the positioning server when it receives a retrieval terminal context request message from the second access network device. Upon receiving this failure message, the positioning server can send a third positioning protocol message to the second access network device. Alternatively, the retrieval terminal context response message sent by the first access network device to the second access network device carries first indication information, which indicates that the first access network device has received the first positioning protocol message. After a path switch, the second access network device can send a second positioning protocol message carrying second indication information to the positioning server based on the first indication information, thereby triggering the positioning server to send a third positioning protocol message to the second access network device. This allows for timely re-initiation of the positioning process and reduces positioning latency. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of a wireless communication system according to an embodiment of this application;

[0018] Figure 2 This is a schematic flowchart of a positioning method according to an embodiment of this application;

[0019] Figure 3 This is a schematic flowchart of a positioning method according to an embodiment of this application;

[0020] Figure 4 This is a schematic flowchart of a positioning method according to an embodiment of this application;

[0021] Figure 5 This is a schematic flowchart of a positioning method according to an embodiment of this application;

[0022] Figure 6 This is a schematic flowchart of a positioning method according to an embodiment of this application;

[0023] Figure 7This is a schematic diagram of the structure of a first access network device according to an embodiment of this application;

[0024] Figure 8 This is a schematic diagram of the structure of a second access network device according to an embodiment of this application;

[0025] Figure 9 This is a schematic diagram of the structure of a positioning server according to an embodiment of this application;

[0026] Figure 10 This is a schematic diagram of the structure of a communication device according to an embodiment of this application;

[0027] Figure 11 This is a schematic diagram of the structure of a network-side device according to an embodiment of this application;

[0028] Figure 12 This is a schematic diagram of the structure of a network-side device according to an embodiment of this application. Detailed Implementation

[0029] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0030] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0031] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used with the systems and radio technologies mentioned above, as well as with other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and NR terminology is used in most of the following description; however, these technologies can also be applied to applications beyond NR systems, such as 6th generation (6G) radio systems. th Generation 6G communication system.

[0032] Figure 1This diagram illustrates a block diagram of a wireless communication system applicable to embodiments of this application. The wireless communication system includes a terminal 11 and a network-side device 12. Terminal 11 can be a mobile phone, tablet computer, laptop computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, vehicle-mounted device (VUE), pedestrian terminal (PUE), smart home (home devices with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game console, personal computer (PC), ATM, or self-service machine, etc. Wearable devices include: smartwatches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the specific type of terminal 11 is not limited in this embodiment. Network-side equipment 12 may include access network equipment or core network equipment. Access network equipment may also be referred to as radio access network equipment, radio access network (RAN), radio access network function, or radio access network unit. Access network equipment may include base stations, WLAN access points, or WiFi nodes, etc. Base stations may be referred to as Node B, evolved Node B (eNB), access point, base transceiver station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), home B node, home evolved B node, Transmitting Receiving Point (TRP), or any other suitable term in the field, as long as the same technical effect is achieved. The base station is not limited to specific technical terms. It should be noted that in this embodiment, only a base station in an NR system is used as an example for description, and the specific type of base station is not limited.Core network equipment may include, but is not limited to, at least one of the following: core network node, core network function, Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (or L-NEF), Binding Support Function (BSF), and Application Function. Function (AF), etc. It should be noted that the embodiments of this application only use the core network equipment in the NR system as an example for introduction, and do not limit the specific type of core network equipment.

[0033] The positioning method provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.

[0034] like Figure 2 As shown, this application embodiment provides a positioning method 200, which can be executed by a first access network device. In other words, the method can be executed by software or hardware installed on the first access network device, and the method includes the following steps.

[0035] S202: The first access network device receives a first positioning protocol message related to the terminal from the positioning server; wherein, the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in a Radio Resource Control (RRC) deactivated state, and the first access network device is an access network device that stores the RRC context information of the terminal.

[0036] The positioning protocol messages mentioned in the various embodiments of this application, such as the first positioning protocol message, the second positioning protocol message, and the third positioning protocol message, can all be New Radio Positioning Protocol a (NRPPa) messages.

[0037] In this embodiment, the terminal in RRC connected state enters RRC deactivation state under the first access network device. The first access network device can be the anchor access network device of the terminal, which stores the terminal's RRC context information and maintains the terminal connection with the core network. The terminal moves in RRC deactivation state to the coverage area of ​​the second access network device and performs cell reselection to the first cell under the second access network device. That is, the first cell is the terminal's current serving cell, and the second access network device is the terminal's current serving access network device. Since the first cell under the second access network device is located within the Radio Access Network Notification Area (RNA) configured for the terminal, the terminal does not need to initiate an RRC recovery process within the second access network device.

[0038] The core network sends a location request to a location server, either triggered by the core network itself or received by the core network in response to a location request for the terminal. This location server can be a Location Management Function (LMF). If the location server needs to interact with access network devices, such as requesting Sounding Reference Signal (SRS) resources or initiating cell identifier (ID) location method measurements, it generates a first location protocol message and sends it to the first access network device. For example, the location server transmits an NRPPa Protocol Data Unit (PDU) to the core network. The core network discovers that the NRPPa PDU is associated with the terminal and generates an NG Application Protocol (NGAP) message, namely a downlink UE ASSOCIATED NRPPA TRANSPORT message. This message includes the terminal's AMF UE NGAP ID and RAN UE NGAP ID, the routing ID addressing the location server, and the NRPPa PDU. Then, the core network sends the DOWNLINK UE ASSOCIATED NRPPA TRANSPORT message to the terminal's serving access network device (from the core network's perspective, the first access network device is the terminal's serving access network device; therefore, the serving access network device here refers to the first access network device).

[0039] After receiving the first positioning protocol message, the first access network device determines that the terminal is in the RRC deactivated state and that the first positioning protocol message is a terminal-associated message. For example, if the first positioning protocol message is an NRPPa message, and an NRPPa message is a terminal-associated message, it could mean that the NRPPa message was sent to the access network device via a DOWNLINK UE ASSOCIATED NRPPATRANSPORT message. In this case, the device proceeds to the next steps. In other embodiments, if the first positioning protocol message is not a terminal-associated message, the first access network device parses the NRPPa PDU, processes the first positioning protocol message, and returns a response message.

[0040] The first access network device sends a paging message to the cell under its jurisdiction; the first access network device also sends RAN paging messages to other access network devices within the RNA range, such as the second access network device. The second access network device sends paging messages to the cell under its jurisdiction. After receiving the paging message, the terminal sends an RRC Resume Request message to the second access network device in the first cell; the second access network device sends a Retrieve Terminal Context Request message to the first access network device to request the acquisition of the terminal's context. The first access network device can also send a Retrieve Terminal Context Response message to the second access network device.

[0041] S204: When the first access network device receives a terminal context retrieval request message from the second access network device, it sends a failure message corresponding to the first positioning protocol message to the positioning server, and / or the first access network device sends a terminal context retrieval response message to the second access network device. The terminal context retrieval response message includes first indication information, which indicates that the first access network device has received the first positioning protocol message.

[0042] It is understood that S204 includes two schemes: Scheme 1: Upon receiving a terminal context retrieval request message from the second access network device, the first access network device sends a failure message corresponding to the first positioning protocol message to the positioning server. That is, receiving the terminal context retrieval request message from the second access network device triggers the first access network device to send a failure message corresponding to the first positioning protocol message to the positioning server. Scheme 2: The first access network device sends a terminal context retrieval response message to the second access network device. The terminal context retrieval response message includes first indication information, which indicates that the first access network device has received the first positioning protocol message. Scheme 1 and Scheme 2 can be executed individually, or both can be executed.

[0043] In this embodiment, after the first access network device sends a terminal context retrieval response message to the second access network device, the second access network device can also send an RRC resume message to the terminal. Subsequently, the terminal sends an RRC resume complete message to the second access network device, and the second access network device sends a path switch request message to the core network. The core network sends a path switch request acknowledgment message to the second access network device. The first access network device receives an RRC context release message from the second access network device. At this point, the first access network device can know that the terminal has successfully restored the RRC connection on the second access network device.

[0044] In Scheme 1, the first access network device generates a failure message corresponding to the first positioning protocol message and sends it to the positioning server. The failure message may include a reason value, which is used to indicate that the serving RAN node has changed.

[0045] The first access network device sends a failure message to the positioning server. Specifically, the first access network device generates an NGAP message, namely Uplink UE ASSOCIATE NRPPA TRANSPORT, which includes the terminal's AMF UE NGAP ID, RAN UE NGAP ID, RoutingID, and the NRPPA PDU of the failure message. Then, it sends the UPLINK UE ASSOCIATED NRPPATRANSPORT message to the core network. After receiving the message, since the first access network device is still the serving access network device of the terminal, the core network device will not discard the message. Instead, it will find the positioning server based on the RoutingID and pass the NRPPA PDU to the positioning server, so that the positioning server can re-initiate the positioning process.

[0046] In Scheme 2, the second access network device can also send a path switching request message to the core network device; upon receiving a path switching request confirmation message from the core network device (at this time, from the perspective of the core network, the second access network device is the serving access network device of the terminal), the second access network device sends a second positioning protocol message to the positioning server based on the first indication information. The second positioning protocol message includes second indication information, which is used to trigger the positioning server to send a third positioning protocol message to the second access network device; the second access network device receives the third positioning protocol message from the positioning server.

[0047] For a detailed description of the steps performed by the second access network device and the positioning server in Scheme 1 and Scheme 2, please refer to the following description of the embodiments.

[0048] The positioning method provided in this application embodiment, when a first access network device receives a first positioning protocol message related to a terminal from a positioning server, and the terminal is in an RRC deactivated state, when the first access network device receives a retrieval terminal context request message from a second access network device, sends a failure message corresponding to the first positioning protocol message to the positioning server. Thus, after receiving the failure message, the positioning server can send a third positioning protocol message to the second access network device. Alternatively, the retrieval terminal context response message sent by the first access network device to the second access network device carries first indication information, which indicates that the first access network device has received the first positioning protocol message. Thus, after a path switch, the second access network device can send a second positioning protocol message carrying second indication information to the positioning server based on the first indication information, thereby triggering the positioning server to send a third positioning protocol message to the second access network device. This allows for timely re-initiation of the positioning process, reducing positioning latency.

[0049] Optionally, in Scheme 1, the failure message may include delay time information. This delay time information is used by the positioning server to delay sending the third positioning protocol message to the second access network device upon receiving the failure message. In this embodiment, the positioning server only sends the third positioning protocol message to the second access network device after the terminal's RRC recovery process is completed, that is, after the second access network device becomes the terminal's serving access network device.

[0050] Optionally, in Scheme 2, the first indication information includes at least one of the following 1) and 2):

[0051] 1) Routing identifier, which is used to locate the positioning server.

[0052] 2) Transaction identifier, the transaction identifier includes the transaction identifier of the first positioning protocol message, that is, the transaction identifier is the transaction identifier of the first positioning protocol message, which is used by the positioning server to know that the first positioning protocol message has failed based on the first indication information.

[0053] Optionally, in Scheme 1, the failure message includes a reason value. For example, the reason value indicates that the serving RAN node has changed, so the positioning server can send a third positioning protocol message to the second access network device based on the reason value.

[0054] It should be noted that in various embodiments of this application, the third positioning protocol message and the first positioning protocol message can be the same message, that is, a resent message; the third positioning protocol message can also be a message with updated content based on the first positioning protocol message, for example, an update based on the target cell (first cell).

[0055] The above combination Figure 2 The positioning method according to embodiments of this application is described in detail. The following will combine... Figure 3 A positioning method according to another embodiment of this application is described in detail. It will be understood that... Figure 3 and Figure 2 The descriptions of the methods shown are the same or correspond to each other; to avoid repetition, relevant descriptions have been omitted as appropriate.

[0056] Figure 3 This is a schematic diagram illustrating the implementation process of the positioning method according to an embodiment of this application, which can be applied to a second access network device. For example... Figure 3 As shown, the method 300 includes the following steps.

[0057] S302: The second access network device receives an RRC recovery request message from the terminal.

[0058] S304: The second access network device sends a terminal context retrieval request message to the first access network device; wherein, the first access network device is the access network device that stores the RRC context information of the terminal.

[0059] S306: The second access network device receives a retrieval terminal context response message from the first access network device. The retrieval terminal context response message includes first indication information, which indicates that the first access network device has received a first positioning protocol message. The first positioning protocol message is a communication protocol message between the positioning server and the access network device.

[0060] The positioning method provided in this application embodiment involves a second access network device receiving an RRC recovery request message from a terminal and then sending a terminal context retrieval request message to a first access network device. The terminal context retrieval response message received by the second access network device carries first indication information, which indicates that the first access network device has received the first positioning protocol message. Thus, after a path switch, the second access network device can send a second positioning protocol message carrying second indication information to the positioning server based on the first indication information, thereby triggering the positioning server to send a third positioning protocol message to the second access network device. This allows for timely re-initiation of the positioning process and reduces positioning latency.

[0061] Optionally, as an embodiment, after the second access network device receives the terminal context retrieval response message from the first access network device, the method further includes: 1) the second access network device sending a path switching request message to the core network device; 2) upon receiving a path switching request confirmation message from the core network device, the second access network device sending a second positioning protocol message to the positioning server based on the first indication information, the second positioning protocol message including second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device; 3) the second access network device receiving the third positioning protocol message from the positioning server.

[0062] Optionally, as an embodiment, the second indication information is used to indicate at least one of the following: the service access network device has changed, the terminal is in the RRC deactivation state, and the first positioning protocol message needs to be resent.

[0063] Optionally, in Scheme 2, the first indication information includes at least one of the following 1) and 2):

[0064] 1) Routing identifier, which is used to locate the positioning server.

[0065] 2) Transaction identifier, wherein the transaction identifier includes the transaction identifier of the first location protocol message.

[0066] Optionally, as an embodiment, the second location protocol message includes the transaction identifier.

[0067] Optionally, as an embodiment, the second location protocol message includes the identifier of the terminal's current serving cell.

[0068] Optionally, as an embodiment, the second positioning protocol message is an error indication message.

[0069] The following will combine Figure 4 A positioning method according to another embodiment of this application is described in detail. It will be understood that... Figure 4 and Figure 2 or Figure 3 The descriptions of the methods shown are the same or correspond to each other; to avoid repetition, relevant descriptions have been omitted as appropriate.

[0070] Figure 4 This is a schematic diagram illustrating the implementation flow of the positioning method according to an embodiment of this application, which can be applied to a positioning server. For example... Figure 4 As shown, the method 400 includes the following steps.

[0071] S402: The positioning server sends a first positioning protocol message related to the terminal to the first access network device; wherein, the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal.

[0072] S404: The positioning server receives a failure message corresponding to the first positioning protocol message; wherein the failure message is sent by the first access network device upon receiving a retrieval terminal context request message from the second access network device, and / or, the positioning server receives a second positioning protocol message sent by the second access network device, the second positioning protocol message including second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device.

[0073] Wherein, the second access network device is the target access network device for which the terminal initiates RRC recovery, and the second location protocol message is sent by the second access network device upon receiving a path switching request confirmation message from the core network device.

[0074] The positioning method provided in this application embodiment involves a positioning server sending a first positioning protocol message related to a terminal to a first access network device. The terminal is in an RRC deactivation state, and the positioning server receives a failure message corresponding to the first positioning protocol message. The failure message is sent by the first access network device upon receiving a terminal context retrieval request message from a second access network device. Alternatively, the positioning server receives a second positioning protocol message sent by the second access network device. The second positioning protocol message includes second indication information, which triggers the positioning server to send a third positioning protocol message to the second access network device. This application embodiment can promptly re-initiate the positioning process, reducing positioning latency.

[0075] Optionally, as an embodiment, the failure message includes delay time information. After the positioning server receives the failure message corresponding to the first positioning protocol message, the method further includes: the positioning server delays sending a third positioning protocol message to the second access network device based on the delay time information.

[0076] Optionally, as an embodiment, after the positioning server receives the failure message corresponding to the first positioning protocol message, the method further includes: the positioning server delays sending the third positioning protocol message to the second access network device based on predefined delay time information.

[0077] Optionally, as an embodiment, the delay in sending the third positioning protocol message to the second access network device includes: sending the third positioning protocol message to the second access network device when the timer times out; wherein, the method further includes: when the positioning server receives the failure message, it starts the timer, the duration of the timer being related to the delay time information, for example, the duration indicated by the delay time information is equal to the duration of the timer.

[0078] Optionally, as an embodiment, the failure message includes a failure reason value indicating a change in the serving access network device.

[0079] Optionally, as an embodiment, the second indication information is used to indicate at least one of the following: the service access network device has changed, the terminal is in the RRC deactivation state, and the first positioning protocol message needs to be resent.

[0080] Optionally, as an embodiment, the second positioning protocol message satisfies at least one of the following:

[0081] 1) The second location protocol message includes a transaction identifier, which includes the transaction identifier of the first location protocol message.

[0082] 2) The second location protocol message includes the identifier of the current serving cell of the terminal.

[0083] 3) The second location protocol message is an error indication message.

[0084] To illustrate the positioning method provided in the embodiments of this application in detail, the following description will be based on two specific embodiments.

[0085] In this embodiment, when the first base station receives the UE context retrieval response message, it returns the corresponding failure message with a reason value, and the LMF delays the retransmission of the NRPPa message.

[0086] In related technologies, after receiving an RRC context release message from a second base station, the first base station sends an NRPPa failure message. However, by this time, the serving base station has become the second base station, and the core network discards the failure message. The main idea of ​​this embodiment is: when the first base station (corresponding to the first access network device in the previous embodiment) receives a terminal context retrieval request message from the second base station (corresponding to the second access network device in the previous embodiment), it sends a failure message corresponding to the NRPPa to the positioning server. Since the terminal has not yet completed the RRC recovery process at the second base station, the core network does not discard the failure message. Optionally, the NRPPa failure message carries a suggested delay time. After receiving the NRPPa failure message, the positioning server delays for a period of time (e.g., the suggested delay time carried in the failure message, or a delay time determined by the positioning server itself), and then, after the RRC recovery process is completed and the second base station becomes the terminal's serving base station, sends an NRPPa message (corresponding to the third positioning protocol message in the previous embodiment) to the second base station.

[0087] like Figure 5 As shown, this embodiment includes the following steps:

[0088] Step 1: The terminal in RRC connected state enters RRC deactivation state under the first base station. The first base station is the anchor base station of the terminal, and the anchor base station is the base station that currently stores the RRC context information of the terminal. The first base station maintains the terminal connection with the core network.

[0089] Step 2: The terminal moves while in RRC deactivated state. Upon reaching the coverage area of ​​the second base station, the terminal performs cell reselection to the first cell under the second base station. That is, the first cell is the terminal's current serving cell, and the second base station is the terminal's current base station. Since this cell under the second base station is within the RNA range configured for the terminal, the terminal does not need to initiate the RRC recovery process at the second base station.

[0090] Step 3: The core network itself triggers or receives a location request for the terminal, and sends the location request to the Location Server (LMF).

[0091] Step 4: The positioning server determines the positioning method. If interaction with the base station is required, such as requesting SRS resources or initiating cell ID positioning method measurement, an NRPPa message is generated and sent to the first base station. Specifically, the positioning server transmits the NRPPa PDU to the core network. The core network discovers that the NRPPa PDU is associated with the UE and generates an NGAP message, DOWNLINK UE ASSOCIATED NRPPA TRANSPORT. This message includes the terminal's AMF UE NGAP ID and RAN UE NGAP ID, the Routing ID of the positioning server, and the NRPPa PDU. Then, the core network sends the DOWNLINK UE ASSOCIATED NRPPA TRANSPORT message to the terminal's serving base station (from the core network's perspective, the first base station is the terminal's serving base station, therefore, the serving base station here refers to the first base station).

[0092] Step 5: After receiving the DOWNLINK UE ASSOCIATED NRPPA TRANSPORT message, the first base station determines that the terminal is in the RRC deactivated state and that the NRPPA message is a UE-associated message (meaning the NRPPA message is sent to the base station via the DOWNLINK UE ASSOCIATED NRPPA TRANSPORT message). If so, it executes the following steps. If it is not a UE-associated message, the first base station parses the NRPPA PDU, processes the NRPPA message, and returns an NRPPA response message.

[0093] Step 6: The first base station sends a paging message to the cell under its jurisdiction.

[0094] Step 7: The first base station sends a RAN paging message to other base stations within the RNA range, such as the second base station.

[0095] Step 8: The second base station sends a paging message to the cell under that base station.

[0096] Step 9: After receiving the paging message, the terminal sends an RRC recovery request message to the second base station in the first cell.

[0097] Step 10: The second base station sends a UE context retrieval request message to the first base station to request the UE context.

[0098] Step 11: The first base station sends a UE context retrieval response message to the second base station.

[0099] Step 12: After receiving the UE context retrieval request message, the first base station can know that the terminal has moved out of the current base station. Then, the first base station generates an NRPPa failure message corresponding to the NRPPa message and sends it to the positioning server. The NRPPa failure message includes a reason value, which is used to indicate that the terminal's serving RAN node has changed. This reason value can be used to trigger the LMF to retransmit the NRPPa message. Here, the NRPPa failure message corresponding to the NRPPa message refers to, for example, if the NRPPa message is E-CID MEASUREMENT INITIATION REQUEST, then the NRPPa response message is E-CID MEASUREMENT INITIATION FAILURE; if the NRPPa message is POSITIONING INFORMATION REQUEST, then the NRPPa response message is POSITIONING INFORMATION FAILURE; if the NRPPa message is POSITIONING ACTIVATION REQUEST, then the NRPPa response message is POSITIONING ACTIVATION FAILURE; if the NRPPa message is MEASUREMENT REQUEST, then the NRPPa response message is MEASUREMENT FAILURE.

[0100] The first base station sends an NRPPa failure message to the positioning server. Specifically, the first base station generates an NGAP message UPLINK UE ASSOCIATED NRPPA TRANSPORT, which includes the terminal's AMF UE NGAP ID, RAN UE NGAP ID, Routing ID (Routing ID in step 4), and the NRPPa PDU of the NRPPa failure message. Then, it sends the UPLINK UE ASSOCIATED NRPPA TRANSPORT message to the core network. After receiving the message, the core network finds the positioning server based on the Routing ID and passes the NRPPa PDU to the positioning server.

[0101] Optionally, the NRPPa failure message carries a (suggested) delay time length to instruct the location server to retransmit the NRPPa message after the delay time length, so that the location server retransmits the NRPPa message only after step 17.

[0102] It should be noted that the order of this step and step 11 can be reversed.

[0103] Step 13: Based on the cause value, the location server learns that it needs to delay retransmitting the NRPPa message (to the new serving base station, i.e., the second base station), and starts a delay timer. The duration of the delay timer can be determined by the location server itself, or it can be the delay time length received in step 12.

[0104] Step 14: The second base station sends an RRC recovery message to the terminal.

[0105] Step 15: The terminal sends an RRC recovery complete message to the second base station.

[0106] Step 16: The second base station sends a Path Switch Request message to the core network.

[0107] Step 17: The core network sends a Path Switch Request Ack message to the second base station.

[0108] Step 18: The first base station receives the RRC context release message sent by the second base station.

[0109] Step 19: The location server learns from the NRPPa failure message that the NRPPa process has failed, and further learns from the cause value that the failure is because the terminal is in an inactive state. Unlike other cause values, the location server determines, based on the cause value in the NRPPa failure message, that the NRPPa message needs to be resent (to the serving base station after the terminal has performed RRC connection restoration).

[0110] Optionally, the location server can update the content of the NRPPa message based on the target cell ID.

[0111] Step 20: The delay timer times out, triggering the positioning server to send an NRPPa message to the second base station. Specifically, the positioning server transmits the NRPPa PDU to the core network. The core network detects that the NRPPa PDU is associated with the UE and generates an NGAP message, DOWNLINK UE ASSOCIATED NRPPA TRANSPORT. This message includes the terminal's AMF UE NGAP ID and RAN UE NGAP ID, the routing ID of the positioning server, and the NRPPa PDU. Then, the core network sends the DOWNLINK UE ASSOCIATED NRPPA TRANSPORT message to the terminal's serving base station (from the core network's perspective, after executing steps 16 and 17, the second base station is the terminal's serving base station; therefore, the serving base station here refers to the second base station).

[0112] This embodiment enables NRPPa messages to be sent to the terminal's serving base station through the above method, thereby avoiding location failure.

[0113] See Figure 6 In the embodiment shown, the second base station sends a second NRPPa message carrying second indication information to the LMF, and the LMF retransmits the NRPPa message.

[0114] exist Figure 5 In the illustrated embodiment, the first base station sends an NRPPa failure message to the positioning server. In this embodiment, the first base station carries first indication information in its context retrieval response message, indicating that the first base station has received an NRPPa message (associated with the UE), and the second base station, during path switching (subsequent steps)... Figure 6 After step 15), an NRPPa message is sent to the positioning server based on the first indication information, such as deactivation recovery indication information, thereby triggering the positioning server to send an NRPPa message to the second base station.

[0115] like Figure 6 As shown, this embodiment includes the following steps:

[0116] Steps 1-10 of this embodiment can be found in [reference]. Figure 5 The embodiments shown are not described in detail here to avoid repetition.

[0117] Step 11: The first base station sends a UE context retrieval response message to the second base station. If the NRPPa message is a UE-associated message (an NRPPa message being UE-associated can mean that the NRPPa message was sent to the base station via a DOWNLINK UEASSOCIATED NRPPA TRANSPORT message), then the response message carries first indication information to indicate that the first base station has received the (UE-associated) NRPPa message (but cannot process it).

[0118] Optionally, the response message carries the Routing ID received in step 4, which is carried in the UPLINK UE ASSOCIATED NRPPA TRANSPORT when the second base station sends a response message to the positioning server in step 18, so that the core network can find the positioning server based on the Routing ID.

[0119] Optionally, the response message carries the transaction ID (Transaction DI, which is carried in the NRPPa message in step 4) for use in subsequent step 18.

[0120] Step 12: The second base station sends an RRC recovery message to the terminal.

[0121] Step 13: The terminal sends an RRC recovery complete message to the second base station.

[0122] Step 14: The second base station sends a path switching request message to the core network.

[0123] Step 15: The core network sends a path switching request confirmation message to the second base station.

[0124] Step 16: The first base station receives the RRC context release message sent by the second base station.

[0125] Step 17: The second base station determines, based on the first indication information, that it needs to send an NRPPa message to the positioning server. This NRPPa message carries second indication information, which indicates at least one of the following: the serving node has changed, the terminal is in a deactivated state, or the NRPPa message needs to be retransmitted. This NRPPa message can be a newly introduced message or an error indication message.

[0126] The first base station sends the NRPPa message to the positioning server. Specifically, the first base station generates an NGAP message UPLINK UE ASSOCIATED NRPPA TRANSPORT, which includes the terminal's AMF UE NGAP ID, RAN UE NGAP ID, Routing ID (Routing ID in step 4), and the NRPPa PDU of the NRPPa message. Then, it sends the UPLINK UE ASSOCIATED NRPPA TRANSPORT message to the core network. After receiving the message, the core network finds the positioning server based on the Routing ID and passes the NRPPa PDU to the positioning server.

[0127] Optionally, the NRPPa message carries the terminal's current serving cell ID.

[0128] Optionally, the NRPPa message carries the Transaction ID received in step 11, which is used to locate which NRPPa message the server can determine needs to be retransmitted.

[0129] Step 18: The second base station sends an NRPPa message to the positioning server, which carries the second indication information.

[0130] Step 19: Based on the received NRPPa message, the positioning server determines that it needs to resend the NRPPa message from step 4 to the terminal's current serving base station. Optionally, the positioning server can update the content of the NRPPa message based on the current serving cell ID.

[0131] Step 20: The positioning server sends the NRPPa message to the second base station, thereby continuing the positioning process at the second base station.

[0132] This embodiment enables NRPPa messages to be sent to the terminal's serving base station through the above method, thereby avoiding location failure.

[0133] Figure 7 This is a schematic diagram of the structure of a first access network device according to an embodiment of this application, as shown below. Figure 7 As shown, the first access network device 700 includes the following modules.

[0134] The receiving module 702 is used to receive a first positioning protocol message related to the terminal from the positioning server; wherein the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal.

[0135] The sending module 704 is configured to, upon receiving a retrieval terminal context request message from the second access network device, send a failure message corresponding to the first positioning protocol message to the positioning server, and / or send a retrieval terminal context response message to the second access network device, wherein the retrieval terminal context response message includes first indication information, the first indication information being used to indicate that the first access network device has received the first positioning protocol message.

[0136] The first access network device provided in this application embodiment, when receiving a first positioning protocol message related to a terminal from a positioning server and the terminal is in an RRC deactivated state, sends a failure message corresponding to the first positioning protocol message to the positioning server when receiving a retrieval terminal context request message from a second access network device. Upon receiving this failure message, the positioning server can send a third positioning protocol message to the second access network device. Alternatively, the retrieval terminal context response message sent by the first access network device to the second access network device carries first indication information, which indicates that the first access network device has received the first positioning protocol message. After a path switch, the second access network device can send a second positioning protocol message carrying second indication information to the positioning server based on the first indication information, thereby triggering the positioning server to send a third positioning protocol message to the second access network device. This allows for timely re-initiation of the positioning process and reduces positioning latency.

[0137] Optionally, as an embodiment, the failure message includes delay time information, which is used by the positioning server to delay sending a third positioning protocol message to the second access network device based on the delay time information when it receives the failure message.

[0138] Optionally, as an embodiment, the first indication information includes at least one of the following 1) and 2):

[0139] 1) Routing identifier, which is used to locate the positioning server.

[0140] 2) Transaction identifier, wherein the transaction identifier includes the transaction identifier of the first location protocol message.

[0141] Optionally, as an embodiment, the failure message includes a failure reason value indicating a change in the serving access network device.

[0142] The first access network device 700 according to the embodiments of this application can refer to the process of the method 200 corresponding to the embodiments of this application. Furthermore, each unit / module in the first access network device 700 and the other operations and / or functions mentioned above are respectively implemented to implement the corresponding process in the method 200 and can achieve the same or equivalent technical effects. For the sake of brevity, they will not be described in detail here.

[0143] Figure 8 This is a schematic diagram of the structure of a second access network device according to an embodiment of this application, as shown below. Figure 8 As shown, the second access network device 800 includes the following modules.

[0144] The receiving module 802 is used to receive RRC recovery request messages from the terminal.

[0145] The sending module 804 is used to send a terminal context retrieval request message to the first access network device; wherein the first access network device is an access network device that stores the RRC context information of the terminal.

[0146] The receiving module 802 is further configured to receive a retrieval terminal context response message from the first access network device. The retrieval terminal context response message includes first indication information, which indicates that the first access network device has received a first positioning protocol message. The first positioning protocol message is a communication protocol message between the positioning server and the access network device.

[0147] The second access network device provided in this application embodiment receives an RRC recovery request message from a terminal and then sends a terminal context retrieval request message to a first access network device. The terminal context retrieval response message received by the second access network device carries first indication information. The first indication information is used to indicate that the first access network device has received the first positioning protocol message. In this way, after path switching, the second access network device can send a second positioning protocol message carrying second indication information to the positioning server based on the first indication information, thereby triggering the positioning server to send a third positioning protocol message to the second access network device, so as to promptly re-initiate the positioning process and reduce positioning latency.

[0148] Optionally, as an embodiment, the sending module 804 is further configured to send a path switching request message to the core network device; upon receiving a path switching request confirmation message from the core network device, it sends a second positioning protocol message to the positioning server based on the first indication information, the second positioning protocol message including second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device; the receiving module 802 is further configured to receive the third positioning protocol message from the positioning server.

[0149] Optionally, as an embodiment, the second indication information is used to indicate at least one of the following: the service access network device has changed, the terminal is in the RRC deactivation state, and the first positioning protocol message needs to be resent.

[0150] Optionally, as an embodiment, the first indication information includes at least one of the following 1) and 2):

[0151] 1) Routing identifier, which is used to locate the positioning server.

[0152] 2) Transaction identifier, wherein the transaction identifier includes the transaction identifier of the first location protocol message.

[0153] Optionally, as an embodiment, the second location protocol message includes the transaction identifier.

[0154] Optionally, as an embodiment, the second location protocol message includes the identifier of the terminal's current serving cell.

[0155] Optionally, as an embodiment, the second positioning protocol message is an error indication message.

[0156] The second access network device 800 according to the embodiments of this application can refer to the process of the method 300 corresponding to the embodiments of this application. Furthermore, each unit / module and the other operations and / or functions in the second access network device 800 are respectively implemented to realize the corresponding process in the method 300 and can achieve the same or equivalent technical effects. For the sake of brevity, they will not be described in detail here.

[0157] Figure 9 This is a schematic diagram of the structure of a positioning server according to an embodiment of this application, as shown below. Figure 9 As shown, the positioning server 900 includes the following modules.

[0158] The sending module 902 is used to send a first positioning protocol message related to the terminal to the first access network device; wherein, the first positioning protocol message is a communication protocol message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores the RRC context information of the terminal.

[0159] The receiving module 904 is configured to receive a failure message corresponding to the first positioning protocol message; wherein the failure message is sent by the first access network device upon receiving a terminal context retrieval request message from the second access network device, and / or, to receive a second positioning protocol message sent by the second access network device, the second positioning protocol message including second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device; wherein the second access network device is the target access network device for the terminal to initiate RRC recovery, and the second positioning protocol message is sent by the second access network device upon receiving a path switching request confirmation message from the core network device.

[0160] The positioning server provided in this application embodiment sends a first positioning protocol message related to a terminal to a first access network device. The terminal is in an RRC deactivation state. The positioning server receives a failure message corresponding to the first positioning protocol message. The failure message is sent by the first access network device when it receives a terminal context retrieval request message from a second access network device. And / or, the positioning server receives a second positioning protocol message sent by the second access network device. The second positioning protocol message includes second indication information, which is used to trigger the positioning server to send a third positioning protocol message to the second access network device. This application embodiment can promptly re-initiate the positioning process and reduce positioning latency.

[0161] Optionally, as an embodiment, the failure message includes delay time information, and the sending module 902 is further configured to delay sending the third positioning protocol message to the second access network device based on the delay time information.

[0162] Optionally, as an embodiment, the sending module 902 is further configured to delay sending the third positioning protocol message to the second access network device based on predefined delay time information.

[0163] Optionally, as an embodiment, the sending module 902 is used to send a third positioning protocol message to the second access network device when the timer times out; wherein, the positioning server further includes a startup module, used to start the timer when the failure message is received, the duration of the timer being related to the delay time information.

[0164] Optionally, as an embodiment, the failure message includes a failure reason value indicating a change in the serving access network device.

[0165] Optionally, as an embodiment, the second indication information is used to indicate at least one of the following: the service access network device has changed, the terminal is in the RRC deactivation state, and the first positioning protocol message needs to be resent.

[0166] Optionally, as an embodiment, the second positioning protocol message satisfies at least one of the following 1) to 3):

[0167] 1) The second location protocol message includes a transaction identifier, which includes the transaction identifier of the first location protocol message.

[0168] 2) The second location protocol message includes the identifier of the current serving cell of the terminal.

[0169] 3) The second location protocol message is an error indication message.

[0170] The second access network device 900 according to the embodiments of this application can refer to the process of the method 400 corresponding to the embodiments of this application. Furthermore, each unit / module in the second access network device 900 and the other operations and / or functions mentioned above are respectively implemented to realize the corresponding process in the method 400 and can achieve the same or equivalent technical effects. For the sake of brevity, they will not be described in detail here.

[0171] Optional, such as Figure 10 As shown, this application embodiment also provides a communication device 1000, including a processor 1001 and a memory 1002. The memory 1002 stores a program or instructions that can run on the processor 1001. For example, when the communication device 1000 is a network-side device, when the program or instructions are executed by the processor 1001, they implement the various steps of the above-described positioning method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0172] This application also provides a network-side device, including a processor and a communication interface, the communication interface being used to execute... Figure 2 or Figure 3 The steps of the method in the illustrated embodiment are shown. This network-side device embodiment corresponds to the network-side device method embodiment described above. All implementation processes and methods of the above method embodiments can be applied to this network-side device embodiment and achieve the same technical effects.

[0173] Specifically, embodiments of this application also provide a network-side device (such as a first access network device and a second access network device). Figure 11 As shown, the network-side device 1100 includes: an antenna 111, a radio frequency (RF) device 112, a baseband device 113, a processor 114, and a memory 115. The antenna 111 is connected to the RF device 112. In the uplink direction, the RF device 112 receives information through the antenna 111 and transmits the received information to the baseband device 113 for processing. In the downlink direction, the baseband device 113 processes the information to be transmitted and sends it to the RF device 112. The RF device 112 processes the received information and transmits it through the antenna 111.

[0174] The method executed by the network-side device in the above embodiments can be implemented in the baseband device 113, which includes a baseband processor.

[0175] Baseband device 113 may include, for example, at least one baseband board on which multiple chips are disposed, such as Figure 11 As shown, one of the chips is, for example, a baseband processor, which is connected to the memory 115 via a bus interface to call the program in the memory 115 and execute the network device operation shown in the above method embodiment.

[0176] The network-side device may also include a network interface 116, such as a common public radio interface (CPRI).

[0177] Specifically, the network-side device 1100 of this embodiment further includes: instructions or programs stored in memory 115 and executable on processor 114, wherein processor 114 calls the instructions or programs in memory 115 to execute. Figure 7 or Figure 8 The methods executed by each module shown achieve the same technical effect, and to avoid repetition, they will not be described in detail here.

[0178] This application also provides a network-side device (such as a positioning server). Figure 12 As shown, the network-side device 1200 includes a processor 1201, a network interface 1202, and a memory 1203. The network interface 1202 is, for example, a common public radio interface (CPRI).

[0179] Specifically, the network-side device 1200 of this embodiment further includes: instructions or programs stored in memory 1203 and executable on processor 1201, wherein processor 1201 calls the instructions or programs in memory 1203 to execute. Figure 9 The methods executed by each module shown achieve the same technical effect, and to avoid repetition, they will not be described in detail here.

[0180] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described positioning method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0181] The processor is the processor in the terminal described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0182] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described positioning method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0183] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0184] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described positioning method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0185] This application also provides a positioning system, including a terminal and a network-side device, wherein the network-side device can be used to perform the steps of the positioning method described above.

[0186] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0187] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0188] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A positioning method, characterized by, The method comprises: A first access network device receives a first positioning protocol message related to a terminal from a positioning server; wherein the first positioning protocol message is a new radio positioning protocol A message between the positioning server and the access network device, the terminal is in a radio resource control (RRC) deactivation state, and the first access network device is an access network device that saves RRC context information of the terminal; In a case where the first access network device receives a terminal context retrieval request message from a second access network device, the first access network device sends a failure message corresponding to the first positioning protocol message to the positioning server, or the first access network device sends a terminal context retrieval response message to the second access network device, and the terminal context retrieval response message includes first indication information, which is used to indicate that the first access network device has received the first positioning protocol message.

2. The positioning method according to claim 1, characterized in that, The failure message includes delay time information, which is used for the positioning server to delay sending a third positioning protocol message to the second access network device based on the delay time information in a case where the failure message is received.

3. The positioning method of claim 1, wherein, The first indication information includes at least one of the following: a routing identifier, which is used to find the positioning server; a transaction identifier, which includes a transaction identifier of the first positioning protocol message.

4. The positioning method of claim 1, wherein, The failure message includes a failure cause value used to indicate that a service access network device has changed.

5. A positioning method characterized by, The method comprises: A second access network device receives an RRC resume request message from a terminal; The second access network device sends a terminal context retrieval request message to a first access network device; wherein the first access network device is an access network device that saves RRC context information of the terminal; The second access network device receives a terminal context retrieval response message from the first access network device, and the terminal context retrieval response message includes first indication information, which is used to indicate that the first access network device has received a first positioning protocol message; wherein the first positioning protocol message is a new radio positioning protocol A message between a positioning server and an access network device.

6. The positioning method of claim 5, wherein, After the second access network device receives the terminal context retrieval response message from the first access network device, the method further comprises: The second access network device sends a path switching request message to a core network device; In a case where the second access network device receives a path switching request confirmation message from the core network device, the second access network device sends a second positioning protocol message to a positioning server based on the first indication information, and the second positioning protocol message includes second indication information, which is used to trigger the positioning server to send a third positioning protocol message to the second access network device; The second access network device receives the third positioning protocol message from the positioning server.

7. The positioning method according to claim 6, characterized in that, The second indication information is used to indicate at least one of the following: a service access network device has changed, the terminal is in an RRC deactivation state, and the first positioning protocol message needs to be resent.

8. The positioning method of claim 6, wherein, The first indication information includes at least one of the following: a routing identity for finding the positioning server; a transaction identity comprising a transaction identity of the first positioning protocol message.

9. The positioning method according to claim 8, characterized in that, the second positioning protocol message comprises the transaction identity.

10. The positioning method of claim 6, wherein, the second positioning protocol message comprises an identity of a current serving cell of the terminal.

11. The positioning method of claim 6, wherein, the second positioning protocol message is an error indication message.

12. A positioning method characterized by, comprising: sending, by a positioning server, a first positioning protocol message related to a terminal to a first access network device; wherein the first positioning protocol message is a new radio positioning protocol A message between the positioning server and the access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that saves RRC context information of the terminal; receiving, by the positioning server, a failure message corresponding to the first positioning protocol message; wherein the failure message is sent by the first access network device in a case where a retrieve terminal context request message from a second access network device is received, or the positioning server receives a second positioning protocol message sent by a second access network device, the second positioning protocol message comprising second indication information for triggering the positioning server to send a third positioning protocol message to the second access network device; wherein the second access network device is a target access network device of the terminal initiating RRC resume, and the second positioning protocol message is sent by the second access network device in a case where a path switch request acknowledgement message from a core network device is received.

13. The positioning method of claim 12, wherein, the failure message comprises delay time information, and after the positioning server receives the failure message corresponding to the first positioning protocol message, the method further comprises: delaying, by the positioning server, sending the third positioning protocol message to the second access network device based on the delay time information.

14. The positioning method of claim 12, wherein, after the positioning server receives the failure message corresponding to the first positioning protocol message, the method further comprises: delaying, by the positioning server, sending the third positioning protocol message to the second access network device based on predefined delay time information.

15. The positioning method according to claim 13 or 14, characterized in that, the delaying of sending the third positioning protocol message to the second access network device comprises: sending the third positioning protocol message to the second access network device in a case where a timer expires; wherein the method further comprises: starting, by the positioning server, the timer in a case where the failure message is received, and a duration of the timer is related to the delay time information.

16. The positioning method of claim 12, wherein, the failure message comprises a failure cause value for indicating that a serving access network device changes.

17. The positioning method of claim 12, wherein, the second indication information is for indicating at least one of the following: a serving access network device changes, the terminal is in an RRC deactivation state, and the first positioning protocol message needs to be resent.

18. The positioning method of claim 12, wherein, the second positioning protocol message satisfies at least one of the following: the second positioning protocol message comprises a transaction identity, and the transaction identity comprises a transaction identity of the first positioning protocol message; the second positioning protocol message comprises an identity of a current serving cell of the terminal; the second positioning protocol message is an error indication message.

19. A first access network device, comprising: comprising: The receiving module is configured to receive a first positioning protocol message related to the terminal from a positioning server, wherein the first positioning protocol message is a new radio positioning protocol A message between the positioning server and an access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores RRC context information of the terminal. The sending module is configured to, in a case where a terminal context retrieval request message is received from a second access network device, send a failure message corresponding to the first positioning protocol message to the positioning server or send a terminal context retrieval response message to the second access network device, wherein the terminal context retrieval response message includes first indication information, and the first indication information is used to indicate that the first access network device has received the first positioning protocol message.

20. The first access network device according to claim 19, wherein, The failure message includes delay time information, and the delay time information is used for the positioning server to delay sending a third positioning protocol message to the second access network device based on the delay time information in a case where the failure message is received.

21. The first access network device according to claim 19, wherein, The first indication information includes at least one of the following: a routing identifier used to find the positioning server, and a transaction identifier including a transaction identifier of the first positioning protocol message.

22. The first access network device according to claim 19, wherein, The failure message includes a failure cause value used to indicate that a service access network device has changed.

23. A second access network device, comprising: The receiving module is configured to receive an RRC resume request message from a terminal. The sending module is configured to send a terminal context retrieval request message to a first access network device, wherein the first access network device is an access network device that stores RRC context information of the terminal. The receiving module is further configured to receive a terminal context retrieval response message from the first access network device, wherein the terminal context retrieval response message includes first indication information, and the first indication information is used to indicate that the first access network device has received a first positioning protocol message, and the first positioning protocol message is a new radio positioning protocol A message between a positioning server and an access network device. The sending module is further configured to send a path switching request message to a core network device, and in a case where a path switching request confirmation message is received from the core network device, send a second positioning protocol message to the positioning server based on the first indication information, wherein the second positioning protocol message includes second indication information, and the second indication information is used to trigger the positioning server to send a third positioning protocol message to the second access network device.

24. The second access network device according to claim 23, wherein, The receiving module is further configured to receive the third positioning protocol message from the positioning server. The second indication information is used to indicate at least one of the following: a service access network device has changed, the terminal is in an RRC deactivation state, and the first positioning protocol message needs to be resent.

25. The second access network device according to claim 24, wherein, The first indication information includes at least one of the following:

26. The second access network device according to claim 24, wherein, a routing identifier used to find the positioning server, and a transaction identifier including a transaction identifier of the first positioning protocol message. The second positioning protocol message includes the transaction identifier.

27. The second access network device according to claim 26, wherein, ​ 28. The second access network device according to claim 26, wherein, The second positioning protocol message comprises an identity of a current serving cell of the terminal.

29. The second access network device according to claim 26, wherein, The second positioning protocol message is an error indication message.

30. A positioning server, characterized by Comprising: a sending module, configured to send a first positioning protocol message related to a terminal to a first access network device; wherein the first positioning protocol message is a new radio positioning protocol a message between a positioning server and an access network device, the terminal is in an RRC deactivation state, and the first access network device is an access network device that stores RRC context information of the terminal; a receiving module, configured to receive a failure message corresponding to the first positioning protocol message; wherein the failure message is sent by the first access network device in a case where a retrieve terminal context request message from a second access network device is received, or a second positioning protocol message sent by the second access network device, the second positioning protocol message comprising second indication information, the second indication information being used to trigger the positioning server to send a third positioning protocol message to the second access network device; wherein the second access network device is a target access network device of the terminal initiating RRC recovery, and the second positioning protocol message is sent by the second access network device in a case where a path switching request acknowledgement message from a core network device is received.

31. The positioning server of claim 30, wherein, The failure message comprises delay time information, and the sending module is further configured to delay sending the third positioning protocol message to the second access network device based on the delay time information.

32. The positioning server of claim 30, wherein, The sending module is further configured to delay sending the third positioning protocol message to the second access network device based on predefined delay time information.

33. The positioning server of claim 31 or 32, wherein, The sending module is configured to send the third positioning protocol message to the second access network device in a case where a timer expires. The positioning server further comprises a starting module, configured to start the timer in a case where the failure message is received, a time length of the timer being related to the delay time information.

34. The location server of claim 30, wherein, The failure message comprises a failure cause value used to indicate that a serving access network device changes.

35. The positioning server of claim 30, wherein, The second indication information is used to indicate at least one of the following: a serving access network device changes, the terminal is in an RRC deactivation state, and the first positioning protocol message needs to be resent.

36. The location server of claim 30, wherein, The second positioning protocol message satisfies at least one of the following: The second positioning protocol message comprises a transaction identity, and the transaction identity comprises a transaction identity of the first positioning protocol message. The second positioning protocol message comprises an identity of a current serving cell of the terminal. The second positioning protocol message is an error indication message.

37. A network-side device, comprising: The apparatus comprises a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the positioning method according to any one of claims 1 to 18.

38. A readable storage medium characterized by, The readable storage medium stores programs or instructions, and the programs or instructions are executed by the processor to implement the steps of the positioning method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • A position information reporting method and device

    CN109819392A