CN115696234A - NAS message sending method, terminal, core network element and storage medium - Google Patents

NAS message sending method, terminal, core network element and storage medium Download PDF

Info

Publication number
CN115696234A
CN115696234A CN202110874051.7A CN202110874051A CN115696234A CN 115696234 A CN115696234 A CN 115696234A CN 202110874051 A CN202110874051 A CN 202110874051A CN 115696234 A CN115696234 A CN 115696234A
Authority
CN
China
Prior art keywords
nas message
terminal
target cell
nas
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110874051.7A
Other languages
Chinese (zh)
Inventor
李健翔
梁靖
全海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202110874051.7A priority Critical patent/CN115696234A/en
Publication of CN115696234A publication Critical patent/CN115696234A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for sending an NAS message, a terminal, a core network element and a storage medium, wherein the method comprises the following steps: the terminal receives a switching command; and the terminal resends the NAS message to the target cell under the condition of switching to the target cell, wherein the NAS message is an NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, and the NAS message contains data related to the positioning service. The embodiment of the invention can reduce the positioning time delay.

Description

NAS message sending method, terminal, core network element and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a Non-Access-Stratum (NAS) message sending method, a terminal, a core network element, and a storage medium.
Background
In some communication systems the NAS messages are carried over Signaling Radio Bearer (SRB). However, the SRB needs to be reset during the cell handover process, which results in some NAS messages being discarded, and for the positioning service, the loss of the NAS messages causes the loss of the positioning data, which further increases the processing time of the positioning service, resulting in a larger positioning delay.
Disclosure of Invention
The embodiment of the invention provides an NAS message sending method, a terminal, a core network element and a storage medium, which aim to solve the problem of large positioning delay.
An embodiment of the present invention provides a method for sending an NAS message, including:
the terminal receives a switching command;
and the terminal resends the NAS message to the target cell under the condition of switching to the target cell, wherein the NAS message is an NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, and the NAS message contains data related to the positioning service.
Optionally, before retransmitting the NAS message to the target cell, the method further includes:
the terminal stores an NAS message transmitted by a radio resource control, RRC, layer during the execution of the handover command, where the NAS message is an NAS message that is sent by the RRC layer after the terminal receives the handover command and before the terminal switches to the target cell, and the NAS message includes (LTE Positioning Protocol, LPP) data and/or Location Service (LCS) data.
Optionally, the NAS message further includes:
NAS news sent to the source cell after receiving the switching command;
and/or the presence of a gas in the atmosphere,
and the terminal sends the NAS message within N time units before or when the terminal is switched to the target cell, wherein N is an integer greater than or equal to 1.
Optionally, the receiving, by the terminal, the handover command includes:
the terminal receives a Radio Resource Control (RRC) reconfiguration message or an RRC connection reconfiguration message, wherein the RRC reconfiguration message or the RRC connection reconfiguration message carries a switching command.
Optionally, the method further includes:
if the terminal receives the switching command, the RRC layer of the terminal transmits NAS information to a Packet Data Convergence Protocol (PDCP) layer in sequence;
the terminal stores the NAS message transmitted by the RRC layer during the execution of the handover command, and specifically includes:
and the terminal stores the NAS message which is transmitted to the PDCP layer by the RRC layer in sequence.
An embodiment of the present invention further provides a method for sending an NAS message, including:
the method comprises the steps that a core network element stores NAS information which is planned to be sent to source network equipment under the condition that a switching command is sent to the source network equipment, wherein the NAS information comprises LTE Positioning Protocol (LPP) data;
and under the condition that the terminal is determined to be switched to the target cell, the core network element sends the NAS message to target network equipment corresponding to the target cell.
Optionally, the method further includes:
and before determining that the terminal is switched to the target cell, the core network element sends the NAS message to the source network device.
An embodiment of the present invention further provides a terminal, including: a memory, a transceiver, and a processor, wherein:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following:
receiving a switching command;
and in case of switching to a target cell, resending the NAS message to the target cell, wherein the NAS message is a NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, and the NAS message contains data related to positioning service.
Optionally, before retransmitting the NAS message to the target cell, the processor further performs:
and instructing a storage to store a NAS message transmitted by a radio resource control RRC layer during execution of the handover command, wherein the NAS message is a NAS message sent by the RRC layer after the handover command is received and before the terminal switches to the target cell, and the NAS message includes LTE positioning protocol LPP data and/or LCS data.
Optionally, the NAS message further includes:
NAS news sent to the source cell after receiving the switching command;
and/or the presence of a gas in the gas,
and the NAS message is sent in N time units before or when the target cell is switched to, wherein N is an integer greater than or equal to 1.
Optionally, the receiving a handover command includes:
receiving a Radio Resource Control (RRC) reconfiguration message or an RRC connection reconfiguration message, wherein the RRC reconfiguration message or the RRC connection reconfiguration message carries a switching command.
Optionally, the processor is further configured to read the computer program in the memory and perform the following operations:
if receiving a switching command, the RRC layer of the terminal transmits NAS information to a packet data convergence protocol PDCP layer in sequence;
the storing the NAS message transmitted by the RRC layer during the execution of the handover command specifically includes:
and storing the NAS message which is transmitted to the PDCP layer by the RRC layer in sequence.
An embodiment of the present invention further provides a core network element, including: a memory, a transceiver, and a processor, wherein:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following:
storing an NAS message scheduled to be sent to a source network device under the condition of sending a switching command to the source network device, wherein the NAS message comprises LTE Positioning Protocol (LPP) data;
and sending the NAS message to target network equipment corresponding to the target cell under the condition that the terminal is determined to be switched to the target cell.
Optionally, the processor is further configured to read the computer program in the memory and perform the following operations:
sending the NAS message to the source network device before determining that the terminal is switched to the target cell.
An embodiment of the present invention further provides a terminal, including:
a receiving unit for receiving a handover command;
a first sending unit, configured to, in case of handover to a target cell, send the NAS message to a radio resource control, RRC, layer during execution of the handover command, where the NAS message includes data related to a location service.
Optionally, the terminal further includes: a storage unit, wherein:
the storage unit is configured to store a NAS message transmitted by a radio resource control, RRC, layer during execution of the handover command before the NAS message is retransmitted to the target cell, where the NAS message is a NAS message that has been sent by the RRC layer after the terminal receives the handover command and before the terminal switches to the target cell, and the NAS message includes LTE positioning protocol, LPP, data and/or LCS data.
Optionally, the NAS message includes: a NAS message sent to the source cell after receiving the handover command;
and/or the presence of a gas in the atmosphere,
and the NAS message is sent in N time units before or when the target cell is switched to, wherein N is an integer greater than or equal to 1.
Optionally, the receiving unit is specifically configured to receive a radio resource control RRC reconfiguration message or an RRC connection reconfiguration message, where the radio resource control RRC reconfiguration message or the RRC connection reconfiguration message carries the handover command.
Optionally, the terminal further includes:
a second sending unit, configured to transmit, if a handover command is received, an NAS message to a packet data convergence protocol PDCP layer in sequence by an RRC layer of the terminal;
the storage unit is specifically configured to store that the RRC layer sequentially transmits NAS messages to the PDCP layer.
An embodiment of the present invention further provides a core network element, including:
a storage unit, configured to store an NAS message that is scheduled to be sent to a source network device when a handover command is sent to the source network device, where the NAS message includes LTE positioning protocol LPP data;
and the first sending unit is used for sending the NAS message to the target network equipment corresponding to the target cell under the condition that the terminal is determined to be switched to the target cell.
Optionally, the core network element further includes:
a second sending unit, configured to send, by the core network element, the NAS message to the source network device before determining that the terminal is switched to the target cell.
An embodiment of the present invention further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to enable the processor to execute the NAS message sending method on the terminal side provided in the embodiment of the present invention, or the computer program is configured to enable the processor to execute the NAS message sending method on the core network element side provided in the embodiment of the present invention.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program is configured to enable the processor to execute the method for sending the NAS message at the terminal side provided in the embodiment of the present invention, or the computer program is configured to enable the processor to execute the method for sending the NAS message at the core network element side provided in the embodiment of the present invention.
In the embodiment of the invention, a terminal receives a switching command; and the terminal resends the NAS message to the target cell under the condition of switching to the target cell, wherein the NAS message is an NAS message transmitted by an RRC layer during the execution of the switching command, and the NAS message contains data related to positioning service. In this way, the timing delay can be reduced by actively sending the NAS message transmitted by the RRC layer during the execution of the handover command in the target cell.
Drawings
FIG. 1 is a schematic diagram of a network architecture in which the present invention may be implemented;
FIG. 2 is a schematic diagram of another network architecture in which the present invention may be practiced;
fig. 3 is a flowchart of a NAS message sending method according to an embodiment of the present invention;
fig. 4 is a flowchart of another NAS message sending method according to an embodiment of the present invention;
fig. 5 is a structural diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a structural diagram of a network element of a core network according to an embodiment of the present invention;
fig. 7 is a block diagram of another terminal according to an embodiment of the present invention;
fig. 8 is a structural diagram of another core network element according to an embodiment of the present invention.
Detailed Description
To make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The term "plurality" in the embodiments of the present invention means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The embodiment of the invention provides a method for sending an NAS message, a terminal, a core network element and a storage medium, which aim to solve the problem of poor reliability of NAS message transmission.
The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
The technical scheme provided by the embodiment of the invention can be suitable for various systems, particularly 6G systems. For example, the applicable system may be a global system for mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) General Packet Radio Service (GPRS) system, a long term evolution (long term evolution, LTE) system, an LTE Frequency Division Duplex (FDD) system, an LTE Time Division Duplex (TDD) system, an LTE-a (long term evolution) system, a universal mobile system (universal mobile telecommunications system, UMTS), a universal internet Access (WiMAX) system, a New Radio Access (WiMAX) system, a Radio Access (NR 5, new NR 6, etc. These various systems include terminal devices and network devices. The System may further include a core network portion, such as an Evolved Packet System (EPS), a 5G System (5 GS), and the like.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a network architecture to which the present invention is applicable, and as shown in fig. 1, includes a terminal 11, a source network device 12, a target network device 13, and a core network element 14.
The terminal according to the embodiments of the present invention may be a device providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or another processing device connected to a wireless modem. In different systems, the names of the terminal devices may be different, for example, in a 5G system, the terminal device may be referred to as a User Equipment (UE). A wireless terminal device, which may be a mobile terminal device such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal device, e.g., a portable, pocket, hand-held, computer-included or vehicle-mounted mobile device, may communicate with one or more Core Networks (CNs) via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. Examples of the Wireless Communication devices include Personal Communication Service (PCS) phones, cordless phones, session Initiation Protocol (SIP) phones, wireless Local Loop (WLL) stations, personal Digital Assistants (PDAs), redcap terminals, and Low Power Wide Area (LPWA) terminals. The wireless terminal device may also be referred to as a system, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile), a remote station (remote station), an access point (access point), a remote terminal device (remote terminal), an access terminal device (access terminal), a user terminal device (user terminal), a user agent (user agent), and a user device (user device), which are not limited in the embodiments of the present invention.
The source network device 12 and the target network device 13 according to the embodiment of the present invention may be base stations, and the base stations may include a plurality of cells for providing services to terminals. A base station may also be called an access point, or may be a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminal devices, or by other names, depending on the particular application. The network device may be configured to exchange received air frames with Internet Protocol (IP) packets as a router between the wireless terminal device and the rest of the access network, which may include an Internet Protocol (IP) communication network. The network device may also coordinate attribute management for the air interface. For example, the network device according to the embodiment of the present invention may be a Base Transceiver Station (BTS) in a Global System for Mobile communications (GSM) or a Code Division Multiple Access (CDMA), may be a network device (NodeB) in a Wideband Code Division Multiple Access (WCDMA), may be an evolved Node B (eNB) or an e-NodeB) in a Long Term Evolution (LTE) System, may be a Base Station in a 5G Base Station (gNB) or a 6G Base Station in a 5G network architecture (next generation System), may be a Home evolved Node B (Home evolved Node B, heNB), a relay Node (relay Node), a Home Base Station (pico) or a pico Base Station (pico) in the embodiment of the present invention, and is not limited. In some network architectures, a network device may include a Centralized Unit (CU) node and a Distributed Unit (DU) node, which may also be geographically separated.
Multiple Input Multiple Output (MIMO) transmission may be performed between the network device and the terminal by using one or more antennas, where the MIMO transmission may be Single User MIMO (SU-MIMO) or Multi-User MIMO (MU-MIMO). The MIMO transmission may be 2D-MIMO, 3D-MIMO, FD-MIMO, or massive-MIMO, or may be diversity transmission, precoding transmission, beamforming transmission, or the like, depending on the form and number of root antenna combinations.
The core network element 13 may include: mobility Management Entity (MME), access Mobility Management Function (AMF), session Management Function (SMF), user Plane Function (User Plane Function, UPF), serving GateWay (SGW ), PDN GateWay (PDN GateWay), policy Control Function (Policy Control Function, PCF), policy and Charging Rules Function (Policy and Charging Rules Function, PCRF), serving GPRS Support Node (SGSN), gateWay GPRS Support Node (PCF), and wireless Access network device.
Further, the embodiment of the present invention may also be applied to a positioning service of a terminal, and a system architecture for the positioning service may be as shown in fig. 2, where as shown in fig. 2, the system architecture includes: the Mobile terminal comprises a terminal, an NG Radio Access Network (NG-RAN), an AMF, a Location server (LMF), a Service Location Protocol (SLP) entity and an Evolved Service Mobile Location Center (E-SMLC), wherein:
the NG-RAN may include: the system comprises a gNB for communicating with a terminal through an NR Uu interface, and an eNB for communicating with the terminal through an LTE Uu interface, wherein the gNB communicates with an AMF through an NG-C interface, and the eNB communicates with the AMF through the NG-C interface; the AMF communicates with the LMF through the NLs interface, and the LMF can communicate with the SLP and the E-SMLC.
The LMF can be responsible for selecting a positioning method and triggering corresponding positioning measurement, and can calculate a final positioning result and accuracy; the NG-RAN may send positioning reference signals or make positioning measurements based on assistance information; the terminal can send a positioning reference signal or perform positioning measurement based on auxiliary information; positioning end results and accuracy may also be calculated based on the measurements.
Referring to fig. 3, fig. 3 is a flowchart of a NAS message sending method according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step 301, the terminal receives a switching command;
step 303, the terminal resends a NAS message to the target cell when switching to the target cell, where the NAS message is a NAS message transmitted by an RRC layer during executing the handover command, and the NAS message includes data related to a positioning service.
Optionally, before the terminal sends the NAS message to the target cell, the method further includes:
step 302, the terminal stores the NAS message transmitted by the RRC layer during the execution of the handover command.
Wherein the NAS message comprises data related to a positioning service. The data related to location services here comprise LPP data and/or LCS data.
The handover command may be a handover command sent by a core network element received by the terminal, and certainly, in some embodiments or scenarios, the handover command may also be a handover command sent by a source network device received by the terminal, which is not limited herein.
The NAS message transmitted by the RRC layer during the execution of the handover command may be a NAS message transmitted by the RRC layer during the handover to the target cell in response to the handover command, and specifically may be a NAS message transmitted to the source cell during the handover.
The NAS message that the terminal stores in the RRC layer during execution of the handover command may be a NAS message that the RRC layer transmits during execution of the handover command from when the handover command is received.
In this embodiment of the present invention, the NAS message may be an uplink information transfer (ulInformationTransfer) message, but this is not limited in this embodiment of the present invention, and specifically may be an uplink NAS message sent by any terminal.
In the embodiment of the present invention, the NAS message transmitted by the RRC layer during the execution of the handover command may be actively sent by the target cell through the above steps.
It should be noted that, in the embodiment of the present invention, the NAS message may also be referred to as NAS signaling.
As an optional implementation manner, the NAS message is: and the terminal sends a NAS message which is sent by the RRC layer after receiving the switching command and before switching to the target cell, wherein the NAS message comprises LTE Positioning Protocol (LPP) data and/or location service (LCS) data.
The NAS message may be a NAS message that is sent by the RRC layer to the source cell after the handover command is received and before the handover to the target cell.
As an optional implementation manner, the NAS message further includes:
NAS news sent to the source cell after receiving the switching command;
and/or the presence of a gas in the gas,
and the terminal sends the NAS message in N time units before or when the terminal is switched to the target cell, wherein N is an integer greater than or equal to 1.
The NAS message sent by the terminal to the source cell may be one or more NAS messages that are sequentially transmitted by the terminal in the source cell.
The N time units before or during the handover to the target cell may be the last N time units for executing the handover command. For example: and executing the NAS message sent in the last 1 or more time units of the switching command.
The time unit may be a time unit such as a second, a time slot, a sub-time slot, etc., and N may be defined by a protocol or configured in advance by the network side.
In this embodiment, the NAS message is actively retransmitted in the target cell, so that the probability of signaling loss in handover is reduced through active retransmission, and the timing delay possibly caused by handover is reduced. The method can also ensure the lossless transmission of the positioning signaling so as to improve the reliability of the transmission of the positioning signaling.
As an optional implementation manner, the receiving, by the terminal, a handover command includes:
the terminal receives a Radio Resource Control (RRC) reconfiguration message (RRCRECONFITTION) or an RRC connection reconfiguration message (RRCConnectionReconfiguration), wherein the RRC reconfiguration message or the RRC connection reconfiguration message carries a switching command.
Further, the RRC reconfiguration message may include a synchronization reconfiguration (synchronization reconfiguration sync), and the RRC connection reconfiguration message may include mobility control information (mobility control info).
In this embodiment, it can be realized that the NAS message is retransmitted in the target cell in the handover process based on the RRC reconfiguration message or the RRC connection reconfiguration message, so as to reduce the timing delay.
For example:
when the terminal receives a handover command including, but not limited to, rrcreeconfiguration message with reconfigurationWithSync or RRCConnectionReconfiguration message with mobilityControlInfo, the terminal stores the received NAS message, such as an ulInformationTransfer message;
the RRC layer of the terminal still transmits the NAS information in sequence, such as sending NAS signaling to the PDCP layer;
and after the terminal is switched to the target cell, resending the NAS message, such as an ulInformationTransfer message, sent after receiving the switching command so as to ensure that the important NAS message is not lost in the switching process. For example: when the terminal is switched to the target cell, after sending an RRC RECONFIGURATION COMPLETE (RRC RECONFIGURATION COMPLETE) message to the target cell, the terminal retransmits the NAS message (which may also be referred to as NAS signaling) sent from the reception of the rrcconfiguration message.
Another example is:
when the terminal receives a handover command including but not limited to rrcconnectionconfiguration message with reconfigurationwithync or RRCConnectionReconfiguration message with mobilityControlInfo, the terminal starts handover preparation;
when the terminal finishes the random access process with the switched target cell, displaying that the terminal is successfully switched to the target cell; if the terminal sends NAS signaling, such as an ulInformationTransfer message, for the last second during the handover, and the terminal continues to send the message in the target cell,
the terminal retransmits the NAS signaling, such as transmitting an ulInformationTransfer message, that was transmitted within the last one second to the target cell.
As an optional implementation, the method further comprises:
if the terminal receives the switching command, the RRC layer of the terminal transmits NAS information to the PDCP layer in sequence;
the terminal stores the NAS message transmitted by the RRC layer during the execution of the handover command, and specifically includes:
and the terminal stores the NAS message which is transmitted to the PDCP layer by the RRC layer in sequence.
In this embodiment, it may be implemented that the RRC layer sequentially transfers the NAS message to the PDCP layer, so that the terminal quickly sends the NAS message to the target cell when switching to the target cell, so as to further reduce the timing delay.
In the embodiment of the invention, a terminal receives a switching command; the terminal stores NAS information transmitted by an RRC layer during the execution of the switching command, wherein the NAS information contains LPP data; and the terminal sends the NAS message to a target cell under the condition of switching to the target cell. In this way, the timing delay can be reduced by actively sending the NAS message transmitted by the RRC layer during the execution of the handover command in the target cell.
Referring to fig. 4, fig. 4 is a flowchart of another NAS message sending method according to an embodiment of the present invention, and as shown in fig. 4, the method includes the following steps:
step 401, when sending a handover command to a source network device, a core network element stores an NAS message that is scheduled to be sent to the source network device, where the NAS message includes LPP data;
step 402, the core network element sends the NAS message to a target network device corresponding to a target cell under the condition that it is determined that the terminal is switched to the target cell.
The terminal may switch to the target cell, where the core network element receives the handover success notification.
In this embodiment, when it is determined that the terminal is switched to the target cell, the core network element actively sends the NAS message to the target network side device, so that the timing delay can be reduced.
Further, when it is determined that the terminal is switched to the target cell, the core network element may further forward the user plane data to the target network side device for distribution. Namely, when the user plane data is issued, the stored NAS message is also sent to the target network side equipment.
As an optional implementation, the method further comprises:
and before determining that the terminal is switched to the target cell, the core network element sends the NAS message to the source network device.
In this embodiment, after sending the NAS message to the source network side device, the core network element may send the NAS message to the target network side device again when the terminal is switched to the target cell, so as to further reduce the timing delay.
For example: when the core network element initiates a switching command to the source network side device, the core network element AMF stores the NAS signaling LPP signaling to be sent to the source base station. And after the terminal is successfully switched, the core network element receives the successful switching notice and forwards the user plane data to the target base station for distribution. At this time, the core network element also sends the previously saved LPP signaling to the target network side device again. Therefore, the LPP signaling is repeatedly sent, and the LPP signaling is not lost in the switching process.
The embodiment of the invention can ensure the lossless transmission of the uplink and downlink LPP data in the switching process through the NAS message sending method at the terminal side and the core network element side, thereby ensuring the normal flow of the positioning process, reducing the positioning time delay caused by the switching loss of the LPP data and improving the time delay performance of the positioning service in the switching process of the cellular network.
Referring to fig. 5, fig. 5 is a block diagram of a terminal according to an embodiment of the present invention, as shown in fig. 5, including a memory 520, a transceiver 500, and a processor 510:
a memory 520 for storing a computer program; a transceiver 500 for transceiving data under the control of the processor 510; a processor 510 for reading the computer program in the memory 520 and performing the following operations:
receiving a switching command;
and in case of switching to a target cell, retransmitting the NAS message to the target cell, wherein the NAS message is a NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, and the NAS message contains data related to positioning service.
Wherein in fig. 5 the bus architecture may comprise any number of interconnected buses and bridges, with one or more processors, represented by processor 510, and various circuits, represented by memory 520, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 500 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over transmission media including wireless channels, wired channels, fiber optic cables, and the like. For different user devices, the user interface 530 may also be an interface capable of interfacing externally to a desired device, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 510 is responsible for managing the bus architecture and general processing, and the memory 520 may store data used by the processor 500 in performing operations.
Alternatively, the processor 510 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device), and the processor may also have a multi-core architecture.
The processor is used for executing any method provided by the embodiment of the invention according to the obtained executable instructions by calling the computer program stored in the memory. The processor and memory may also be physically separated.
Optionally, before retransmitting the NAS message to the target cell, the processor further performs:
and instructing a storage to store a NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the handover command, wherein the NAS message is a NAS message sent by the RRC layer after the terminal receives the handover command and before the terminal switches to the target cell, and the NAS message comprises LTE Positioning Protocol (LPP) data and/or LCS data.
Optionally, the NAS message further includes:
a NAS message sent to the source cell after receiving the handover command;
and/or the presence of a gas in the gas,
and the terminal sends the NAS message in N time units before or when the terminal is switched to the target cell, wherein N is an integer greater than or equal to 1.
Optionally, the receiving a handover command includes:
receiving a Radio Resource Control (RRC) reconfiguration message or an RRC connection reconfiguration message, wherein the RRC reconfiguration message or the RRC connection reconfiguration message carries a switching command.
Optionally, the processor is further configured to read the computer program in the memory and perform the following operations:
if receiving a switching command, the RRC layer of the terminal transmits NAS information to the PDCP layer in sequence;
the storing the NAS message transmitted by the RRC layer during the execution of the handover command specifically includes:
and storing the NAS message which is transmitted to the PDCP layer by the RRC layer in sequence.
It should be noted that, the terminal provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
Referring to fig. 6, fig. 6 is a block diagram of a core network element according to an embodiment of the present invention, as shown in fig. 6, including a memory 620, a transceiver 600, and a processor 610:
a memory 620 for storing a computer program; a transceiver 600 for transceiving data under the control of the processor 610; a processor 610 for reading the computer program in the memory 620 and performing the following operations:
storing an NAS message scheduled to be sent to a source network device under the condition of sending a switching command to the source network device, wherein the NAS message comprises LTE Positioning Protocol (LPP) data;
and sending the NAS message to target network equipment corresponding to the target cell under the condition that the terminal is determined to be switched to the target cell.
Wherein in fig. 6, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 610, and various circuits, represented by memory 620, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 600 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over transmission media including wireless channels, wired channels, fiber optic cables, and the like. For different user devices, the user interface 630 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 610 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
Alternatively, the processor 610 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.
The processor is used for executing any method provided by the embodiment of the invention according to the obtained executable instructions by calling the computer program stored in the memory. The processor and memory may also be physically separated.
Optionally, the processor is further configured to read the computer program in the memory and perform the following operations:
sending the NAS message to the source network device before determining that the terminal is switched to the target cell.
It should be noted that, the core network element provided in the embodiment of the present invention can implement all the method steps implemented by the foregoing method embodiment, and can achieve the same technical effect, and details of the same parts and beneficial effects as those of the method embodiment in this embodiment are not described herein again.
Referring to fig. 7, fig. 7 is a structural diagram of another terminal according to an embodiment of the present invention, and as shown in fig. 7, a terminal 700 includes:
a receiving unit 701, configured to receive a handover command;
a first sending unit 703 is configured to, in a case of handover to a target cell, resend the NAS message to the target cell, where the NAS message is an NAS message transmitted by a radio resource control RRC layer during execution of the handover command, and the NAS message includes data related to a positioning service.
Optionally, the terminal further includes:
a storage unit, configured to store an NAS message transmitted by a radio resource control RRC layer during execution of the handover command, where the NAS message is an NAS message that has been sent by the RRC layer after the terminal receives the handover command and before the terminal switches to the target cell, and the NAS message includes LTE positioning protocol LPP data and/or location service LCS data.
Optionally, the NAS message further includes:
NAS news sent to the source cell after receiving the switching command;
and/or the presence of a gas in the gas,
and the terminal sends the NAS message in N time units before or when the terminal is switched to the target cell, wherein N is an integer greater than or equal to 1.
Optionally, the receiving unit is specifically configured to receive a radio resource control RRC reconfiguration message or an RRC connection reconfiguration message, where the radio resource control RRC reconfiguration message or the RRC connection reconfiguration message carries the handover command.
Optionally, the terminal further includes:
a second sending unit, configured to, if the terminal receives the handover command, sequentially transmit an NAS message to a packet data convergence protocol PDCP layer by an RRC layer of the terminal;
the storage unit is specifically configured to store that the RRC layer sequentially transmits NAS messages to the PDCP layer.
It should be noted that, the terminal provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
Referring to fig. 8, fig. 8 is a structural diagram of another core network element according to an embodiment of the present invention, and as shown in fig. 8, a core network element 800 includes:
a storage unit 801, configured to store a NAS message that is scheduled to be sent to a source network device when a handover command is sent to the source network device, where the NAS message includes LTE positioning protocol LPP data;
a first sending unit 802, configured to send the NAS message to a target network device corresponding to a target cell when it is determined that the terminal is switched to the target cell.
Optionally, the core network element further includes:
a second sending unit, configured to send, by the core network element, the NAS message to the source network device before determining that the terminal is switched to the target cell.
It should be noted that, the network side device provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are not repeated herein.
It should be noted that, the division of the cells in the embodiment of the present invention is schematic, and is only one logic function division, and another division manner may be available in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
An embodiment of the present invention further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to enable the processor to execute the NAS message sending method on the terminal side provided in the embodiment of the present invention, or the computer program is configured to enable the processor to execute the NAS message sending method on the core network element side provided in the embodiment of the present invention.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memories (NAND FLASH), solid State Disks (SSDs)), etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (14)

1. A method for sending a non-access stratum (NAS) message is characterized by comprising the following steps:
the terminal receives a switching command;
and the terminal resends the NAS message to the target cell under the condition of switching to the target cell, wherein the NAS message is an NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, and the NAS message contains data related to the positioning service.
2. The method of claim 1, wherein prior to resending the NAS message to the target cell, the method further comprises:
the terminal stores a NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, wherein the NAS message is a NAS message sent by the RRC layer after the terminal receives the switching command and before the terminal switches to the target cell, and the NAS message comprises LTE Positioning Protocol (LPP) data and/or location service (LCS) data.
3. The method of claim 1 or 2, wherein the NAS message further comprises:
NAS news sent to the source cell after receiving the switching command;
and/or the presence of a gas in the atmosphere,
and the terminal sends the NAS message in N time units before or when the terminal is switched to the target cell, wherein N is an integer greater than or equal to 1.
4. A method according to any one of claims 1 to 3, wherein the terminal receives a handover command comprising:
the terminal receives a Radio Resource Control (RRC) reconfiguration message or an RRC connection reconfiguration message, wherein the RRC reconfiguration message or the RRC connection reconfiguration message carries a switching command.
5. The method of claim 2, wherein the method further comprises:
if the terminal receives the switching command, the RRC layer of the terminal transmits NAS information to a packet data convergence protocol PDCP layer in sequence;
the terminal stores the NAS message transmitted by the RRC layer during the execution of the handover command, and specifically includes:
and the terminal stores the NAS message which is transmitted to the PDCP layer by the RRC layer in sequence.
6. A method for sending a non-access stratum (NAS) message is characterized by comprising the following steps:
the method comprises the steps that a core network element stores NAS information which is planned to be sent to source network equipment under the condition that a switching command is sent to the source network equipment, wherein the NAS information comprises LTE Positioning Protocol (LPP) data;
and under the condition that the terminal is determined to be switched to the target cell, the core network element sends the NAS message to target network equipment corresponding to the target cell.
7. The method of claim 6, wherein the method further comprises:
and before determining that the terminal is switched to the target cell, the core network element sends the NAS message to the source network device.
8. A terminal, comprising: a memory, a transceiver, and a processor, wherein:
a memory for storing a computer program; a transceiver for transceiving data under the control of the processor; a processor for reading the computer program in the memory and performing the following operations:
receiving a switching command;
and in case of switching to a target cell, retransmitting the NAS message to the target cell, wherein the NAS message is a NAS message transmitted by a Radio Resource Control (RRC) layer during the execution of the switching command, and the NAS message contains data related to positioning service.
9. The terminal of claim 8, wherein the processor, prior to resending the NAS message to the target cell, further performs:
and instructing a storage to store a NAS message transmitted by a radio resource control RRC layer during execution of the handover command, wherein the NAS message is a NAS message sent by the RRC layer after the handover command is received and before the terminal switches to the target cell, and the NAS message includes LTE positioning protocol LPP data and/or LCS data.
10. The terminal of claim 9, wherein the processor is further configured to read the computer program in the memory and perform the following:
if receiving a switching command, the RRC layer of the terminal transmits NAS information to the PDCP layer in sequence;
the storing the NAS message transmitted by the RRC layer during the execution of the handover command specifically includes:
and storing the NAS message which is transmitted to the PDCP layer by the RRC layer in sequence.
11. A core network element, comprising: a memory, a transceiver, and a processor, wherein:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
storing an NAS message which is scheduled to be sent to a source network device under the condition of sending a switching command to the source network device, wherein the NAS message comprises LTE Positioning Protocol (LPP) data;
and sending the NAS message to target network equipment corresponding to the target cell under the condition that the terminal is determined to be switched to the target cell.
12. A terminal, comprising:
a receiving unit for receiving a handover command;
a first sending unit, configured to resend the NAS message to a target cell when the handover is performed to the target cell, where the NAS message is a NAS message transmitted by a radio resource control RRC layer during execution of the handover command, and the NAS message includes data related to a positioning service.
13. A core network element, comprising:
a storage unit, configured to store an NAS message that is scheduled to be sent to a source network device when a handover command is sent to the source network device, where the NAS message includes LTE positioning protocol LPP data;
a first sending unit, configured to send the NAS message to a target network device corresponding to a target cell when it is determined that a terminal is switched to the target cell.
14. A computer-readable storage medium, characterized in that it stores a computer program for causing a processor to execute the NAS message transmission method of any one of claims 1 to 5, or the computer program for causing the processor to execute the NAS message transmission method of any one of claims 6 to 7.
CN202110874051.7A 2021-07-30 2021-07-30 NAS message sending method, terminal, core network element and storage medium Pending CN115696234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110874051.7A CN115696234A (en) 2021-07-30 2021-07-30 NAS message sending method, terminal, core network element and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110874051.7A CN115696234A (en) 2021-07-30 2021-07-30 NAS message sending method, terminal, core network element and storage medium

Publications (1)

Publication Number Publication Date
CN115696234A true CN115696234A (en) 2023-02-03

Family

ID=85057974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110874051.7A Pending CN115696234A (en) 2021-07-30 2021-07-30 NAS message sending method, terminal, core network element and storage medium

Country Status (1)

Country Link
CN (1) CN115696234A (en)

Similar Documents

Publication Publication Date Title
US11051215B2 (en) Switching method, terminal device, and network device
CN114402545A (en) Method and equipment for cell switching
CN114339925A (en) Switching method, device, terminal equipment, network equipment and storage medium
CN114258092A (en) Timing advance compensation method, base station, terminal and storage medium
CN114828158B (en) Information transmission method, device, base station and medium
CN117135705A (en) Xn switching method, device, apparatus and storage medium
WO2021063175A1 (en) Beam switching method, apparatus, and communication device
CN115706645A (en) Method, device, terminal and network side equipment for activating UL positioning reference signal
CN115696234A (en) NAS message sending method, terminal, core network element and storage medium
CN114071796A (en) Relay link connection control method and device
CN115086981A (en) Information processing method, device and storage medium
CN114390622A (en) Information transmission method and device and communication equipment
CN111356205A (en) Method and device for processing configuration information of public land mobile network
CN114666860B (en) Backhaul path switching method, base station, device and storage medium
CN114501558B (en) Information transmission and acquisition method and device
WO2023005919A1 (en) Method, device, and apparatus for sending packet data convergence protocol status report
CN115707151A (en) State transition method, device, equipment and storage medium
CN114599120A (en) Method and device for recovering RRC (radio resource control) connection of terminal
CN115701173A (en) Data retransmission method, equipment, device and storage medium
CN117998478A (en) Communication method and device
CN114585110A (en) Method and device for controlling terminal to enter inactive state
CN115604770A (en) Switching method, device, network equipment and relay terminal
CN115915490A (en) Method, device, equipment and storage medium for establishing data transmission path
CN115988585A (en) Information processing method and device and readable storage medium
CN117560728A (en) Method and device for keeping auxiliary node unchanged

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination