A communication method and apparatus
By reusing the address information and timer management of released sessions in the wireless communication system, the problem of service lag caused by the network side's inability to obtain the context information of the terminal device was solved, and fast session recovery and improved user experience were achieved.
Patent Information
- Application Number
- CN202510682157.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2026-11-27
AI Technical Summary
In wireless communication systems, the network side's inability to obtain the context information of the terminal device in a timely manner can lead to session release, resulting in excessively long service delays and impacting user experience.
By receiving and sending specific information to reuse address information from released sessions, the time required to establish new sessions can be reduced. This includes carrying address information in session establishment request messages or directly instructing terminal devices to re-register or reactivate sessions, and using timers to manage the storage and release of address information.
It shortened the time to establish new sessions, reduced service interruptions, and improved the user experience.
Smart Images

Figure CN123185693A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology
[0002] In wireless communication systems, the network side communicates with terminal devices through sessions to implement services. Due to various reasons such as core network element maintenance, the network side may temporarily be unable to obtain the context information of the terminal device. Therefore, both the network side and the terminal device will release the context information of the session. In this case, the terminal device needs to re-register with the network side. The network side can re-establish the session for the terminal device, assign a new address to the new session, and establish a connection through the new address. However, these processes take a long time, which can lead to prolonged service interruptions. Summary of the Invention
[0003] This application provides a communication method and apparatus for reducing service downtime and improving user experience.
[0004] Firstly, embodiments of this application provide a communication method. This method can be applied to a first communication device. The first communication device can be the first communication device itself, a module within the first communication device, or a logic module or software capable of implementing all or part of the functions of the first communication device. Modules within the first communication device can be, for example, software modules, hardware modules, or a combination of both. Specific hardware modules within the first communication device include processors, communication modules, or circuits or chips responsible for communication functions. Chips can be, for example, modem chips (also known as baseband chips), system-on-a-chip (SoC) chips containing modem cores, or system-in-package (SIP) chips. The first communication device is, for example, a core network element (or core network entity, core network function, core network device, or core network equipment) in the core network, specifically such as mobility management elements (e.g., access and mobility management function (AMF)), session management elements (e.g., session management function (SMF)), unified data management elements (e.g., unified data management (UDM)), or AMF and SMF. As communication standards evolve, the names and / or functions of these core network elements may change, and this is not limited. The following description uses the application of this method to the first communication device as an example. The method includes: receiving first information, the first information indicating at least one parameter, the at least one parameter being a parameter for a session requested by the terminal device to be established or activated; sending first address information, the first address information satisfying at least one parameter, the first address information being the address information of a first session, and the first address information being used as the address information for a session requested by the terminal device to be established or activated, the first session being a session that the terminal device has released.
[0005] Optionally, the first information may be included or carried in an existing message or a newly defined message, without limitation. The first information indicates at least one parameter used to determine or select appropriate address information, and the at least one parameter may include at least one of the following: the data network name of the session (such as the first session), the identifier of the slice corresponding to the session, or the address type corresponding to the first address information.
[0006] A session can be understood as a logical transmission channel for communication between a terminal device and the network side. A session provides address information for communication between the terminal device and the network side, and this address information can be used to establish one or more connections. That is, the one or more connections are established based on the address information of the session, or in other words, the one or more connections are bound to or associated with the session. When the terminal device and the network side actually communicate, data transmission is achieved based on one or more connections. Optionally, any one of these one or more connections can be, for example, a Transmission Control Protocol (TCP) connection. Here, a "session" can be likened to a lane, and the one or more connections can be likened to one or more vehicles traveling on that lane. In this embodiment, if the address information (such as the first address information) of a session released by the terminal device (such as the first session) meets at least one parameter, the address information of the first session (i.e., the first address information) can be assigned to the terminal device as the address information of the session requested by the terminal device. In this way, the address information of the new session is the same as that of the first session. Therefore, the connection corresponding to the new session can use the connection corresponding to the first session, without the need to establish a separate connection for the new session. This shortens the time required to communicate using the new session, reduces the time of business lag, and helps improve the user experience.
[0007] In one possible implementation, the first information is included in a first session establishment request message, which is used by the terminal device to request the establishment or activation of a session; or, the first information is included in a first message, which is used to request address information that meets at least one parameter. Optionally, the first information is included in the first session establishment request message, which can be applied when the first communication device is a session management network element. The first information is included in the first message, which can be applied when the first communication device is a unified data management system. The first message can also be called a session address acquisition message or a session address information acquisition message, etc., and its name is not limited.
[0008] This implementation provides multiple possible messages to carry the first information. If the first information is carried in a first session establishment request message, which is an existing message, there is no need to add a new message, which is beneficial for compatibility with existing technologies. If the first information is carried in a first message, it is beneficial for the first communication device to directly and explicitly request the first address information based on the first message.
[0009] In one possible implementation, before receiving the first information, the method further includes: releasing the context information of the first session; and sending second information, the second information being used to instruct the terminal device to perform re-registration or to instruct the terminal device to reactivate the first session. Optionally, the order in which the first communication device sends the second information and releases the context information of the first session can be arbitrary, for example, the first communication device can send the second information first and then release the context information of the first session, or the first communication device can release the context information of the first session first and then release the context information of the first session.
[0010] For example, the first communication device can promptly instruct the terminal device to perform re-registration or reactivation, so that the terminal device can promptly initiate the re-registration or reactivation process, establish a new session or promptly activate the first session, and avoid situations where the network cannot provide services to the terminal device for a long time.
[0011] In one possible implementation, sending the first address information includes: sending the first address information if the first timer has not expired, wherein the first timer is started at a first time, and the first time is determined based on the time when the second information is sent. In another possible implementation, if the first timer expires, the first communication device may delete the first address information.
[0012] In this way, the time difference between sending the first address information and sending the second information can be minimized, avoiding situations where the first address information is stored for a long time without the terminal device requesting to establish a session. This reduces the likelihood of storing the first address information ineffectively for an extended period, thus reducing the resource overhead required for such long-term storage. If the first timer expires, the first communication device can delete the first address information, thereby releasing it promptly to save storage space and improve the reuse rate of the address information.
[0013] In one possible implementation, the method further includes: receiving eighth information, which instructs the terminal device to perform re-registration or instructs the terminal device to reactivate the first session. Optionally, this implementation can be applied to cases where the first communication device is a UDM.
[0014] In one possible implementation, sending the first address information includes: sending the first address information if the first timer has not expired, wherein the first timer is started at a first time, which is determined based on the time of receiving the eighth information. In another possible implementation, if the first timer expires, the first communication device can delete the first address information. For example, if the first communication device is a UDM, the UDM can determine to start the first timer based on receiving the eighth information from the AMF or SMF.
[0015] In one possible implementation, before releasing the context information of the first session, the method further includes: receiving a second session establishment request message, the second session establishment request message being used to request the establishment or activation of the first session; establishing the first session and storing first address information and at least one parameter; and / or, establishing the first session and sending third information, the third information indicating the storage of the first address information and at least one parameter.
[0016] Thus, multiple possible methods are provided for the first communication device to obtain the first address information and at least one parameter. If the first communication device stores the first address information and at least one parameter, then the first communication device does not need to obtain the first address information from other devices subsequently, which helps reduce the number of information interactions in the system. Alternatively, if the first communication device instructs other devices (such as a UDM) to store the first address information and at least one parameter, then the first communication device does not need to store it, which helps reduce storage overhead and the processing overhead required to manage and maintain this information, and facilitates the unified management and maintenance of multiple address information and the parameters corresponding to these address information by other devices (such as a UDM). Alternatively, if the first communication device stores the first address information and at least one parameter, and also instructs other devices to store the first address information and at least one parameter, then the reliability of storing the first address information and at least one parameter can be improved.
[0017] In one possible implementation, the second session establishment request message is also used to request the storage of the address information of the first session. In another possible implementation, the second session establishment request message does not request the storage of the address information of the first session, but the first communication device can determine on its own whether to store the first address information and at least one parameter.
[0018] Thus, the first communication device is provided with triggering conditions for storing or instructing the storage of the first address information and at least one parameter, which is beneficial for the first communication device to store the first address information and at least one parameter in a timely manner.
[0019] In one possible implementation, before sending the first address information, the method further includes: sending a fourth message, the fourth message requesting to obtain address information of a session that satisfies at least one parameter; and receiving a fifth message, the fifth message indicating the first address information.
[0020] This implementation can be applied to situations where the first communication device does not store the first address information and at least one parameter. In this case, the first communication device can request the first address information from other devices (such as a UDM). While accurately obtaining the first address information, it also helps reduce the storage requirements of the first communication device. Furthermore, it facilitates unified management and maintenance of multiple address information items and their corresponding parameters by other devices (such as a UDM).
[0021] In one possible implementation, before receiving the first information, the method further includes: receiving a sixth message, the sixth message indicating the storage of first address information and at least one parameter; and storing the first address information and at least one parameter. Optionally, the sixth message and the third message may be the same message.
[0022] This implementation can be applied to the case where the first communication device is a unified data management network element. In this case, the unified data management network element can store the first address information and at least one parameter in a timely manner based on the instructions of other network elements (such as SMF).
[0023] In one possible implementation, after sending the first address information, the method further includes: if the slice subscribed to by the terminal device changes from the first slice to the second slice, deleting the first address information, wherein the first slice is the slice corresponding to the first session.
[0024] When the slice subscribed to by a terminal device changes, it indicates that the terminal device no longer supports the previously subscribed slice. For example, the slice subscription may have expired, or the user may have canceled their subscription to a service associated with a certain slice. In these cases, the terminal device is less likely to request to establish a session with the session management network element associated with that slice, and / or the network side may not support the terminal device initiating session establishment or activation with the session management network element associated with an unsubscribed slice. Therefore, the first address information is no longer applicable to the terminal device, and it can be deleted promptly to avoid storing the first address information invalidly for an extended period.
[0025] In one possible implementation, releasing the context information of the first session includes: releasing the context information of the first session in the event of an abnormal communication with the terminal device; after sending the first address information, the method further includes: communicating with the terminal device based on the first address information; and deleting the first address information if the terminal device requests to deactivate the first session or requests to register.
[0026] If the terminal device actively requests to deactivate or register, it means that the terminal device may need to re-establish a new session. This means that the first address information may no longer be applicable to the terminal device. Therefore, the first address information can be deleted in a timely manner to avoid the situation of storing the first address information ineffectively for a long time.
[0027] In one possible implementation, after sending the first address information, the method further includes: communicating with a terminal device based on the first address information; determining a communication anomaly with the terminal device, releasing the context information of the first session, and sending a seventh message, the seventh message being used to instruct the terminal device to perform re-registration or instruct the terminal device to reactivate the first session; if no third session establishment request message is received from the terminal device within the timing duration of a second timer, deleting the first address information, wherein the second timer is started at a second time, the second time being determined based on the time of sending the seventh message, the third session establishment request message being used to request the establishment or activation of the first session, and the third session establishment request message indicating at least one parameter.
[0028] If the terminal device does not initiate a session establishment request within the duration of the second timer, the first address information can be deleted, thus avoiding the situation of storing the first address information invalidly for a long time.
[0029] Secondly, embodiments of this application provide a communication method. This method can be applied to a second communication device. The second communication device can be the second communication device itself, a module within the second communication device, or a logic module or software capable of implementing all or part of the functions of the second communication device. Modules within the second communication device can be, for example, software modules, hardware modules, or a combination of software and hardware. Specific hardware modules within the second communication device include processors, communication modules, or circuits or chips responsible for communication functions. Chips can be, for example, modem chips (also known as baseband chips), or SoC chips or SIP chips containing modem cores. The second communication device can be, for example, a core network element in a core network, specifically an SMF, or an AMF and an SMF. The second communication device can also be a terminal device. If the first communication device is an SMF, then the second communication device can be a terminal device; or, if the first communication device is a UDM, the second communication device can be an SMF. The following description uses the application of this method to a second communication device as an example.
[0030] The method includes: sending first information, the first information indicating at least one parameter, the at least one parameter being a parameter for a terminal device to request the establishment or activation of a session; receiving first address information, the first address information satisfying at least one parameter, the first address information being address information for a first session, the first address information being used as address information for a session requested by the terminal device to establish or activate, and the first session being a session that the terminal device has released.
[0031] In one possible implementation, the first information is included in the first message. This applies when the second communication device is a core network element (such as an SMF).
[0032] In one possible implementation, the method further includes: releasing the context information of the first session; and sending second information to instruct the terminal device to perform re-registration or to instruct the terminal device to reactivate the first session. This is applicable when the second communication device is a core network element (such as an SMF).
[0033] In one possible implementation, before releasing the context information of the first session, the method further includes: receiving a second session establishment request message, the second session establishment request message being used to request the establishment or activation of the first session; and sending third information, the third information indicating the storage of first address information and at least one parameter. This is applicable when the second communication device is a core network element (such as an SMF).
[0034] In one possible implementation, the second session establishment request message is also used to request the storage of the address information of the established first session. This is applicable when the second communication device is a core network element (such as an SMF).
[0035] In one possible implementation, after receiving the first address information, the method further includes: if the slice subscribed to by the terminal device changes from the first slice to the second slice, deleting the address information of the first session, where the first slice is the slice corresponding to the first session. This applies to cases where the second communication device is a core network element (such as an SMF).
[0036] In one possible implementation, releasing the context information of the first session is performed upon detecting a communication anomaly with the terminal device; after receiving the first address information, the method further includes: communicating with the terminal device via the first address information; and deleting the address information of the first session if the terminal device requests to deactivate the first session or requests to register. This applies when the second communication device is a core network element (such as an SMF).
[0037] In one possible implementation, after sending the first address information, the method further includes: communicating with a terminal device through a first session; if communication with the terminal device is abnormal, releasing the context information of the first session and sending a seventh message, the seventh message being used to instruct the terminal device to perform re-registration or instruct the terminal device to reactivate the first session; if no third session establishment request message is received from the terminal device within the timing period of a second timer, deleting the address information of the first session, wherein the second timer is started at a second time determined based on the time of sending the seventh message, and the third session establishment request message is used to request the establishment or activation of the first session, the third session establishment request message indicating at least one parameter. This is applicable when the second communication device is a core network element (such as an SMF).
[0038] In one possible implementation, the first information is included in the first session establishment request message. This applies when the second communication device is a terminal device.
[0039] In one possible implementation, before sending the first session establishment request message, the method further includes: receiving second information, the second information being used to instruct the terminal device to perform re-registration, or to instruct the terminal device to reactivate the first session; and releasing the context information of the first session. This applies when the second communication device is a terminal device.
[0040] In one possible implementation, before receiving the second information, the method further includes: sending a second session establishment request message, which is used to request the establishment or activation of the first session, and also to request the storage of address information of the established first session. This applies when the second communication device is a terminal device.
[0041] In one possible implementation, at least one parameter includes at least one of the following: the data network name corresponding to the first session; the identifier of the slice corresponding to the first session; or, the type of address corresponding to the first address information.
[0042] Thirdly, this application provides a communication method. This method can be applied to a terminal device. The terminal device can be the terminal device itself, a module within the terminal device, or a logic module or software capable of implementing all or part of the terminal device's functions. Modules within the terminal device can be, for example, software modules, hardware modules, or a combination of both. Hardware modules within the terminal device can specifically include processors, communication modules, or circuits or chips responsible for communication functions. Chips can be, for example, modem chips (also known as baseband chips), or SoC chips or SIP chips containing modem cores. Terminal devices can be, for example, mobile phones or in-vehicle devices. The method includes: sending a first session establishment request message, the first session establishment request message being used to request the establishment or activation of a session, wherein the first session establishment request message indicates at least one parameter, the at least one parameter being a parameter satisfied by the session requested by the terminal device to establish or activate; receiving first address information, wherein the first address information satisfies the at least one parameter, and the first address information is used as address information for the session requested by the terminal device to establish, the first address information being address information for a first session, and the first session being a session released by the terminal device.
[0043] In one possible implementation, before sending the first session establishment request message, the method further includes: receiving second information, the second information being used to instruct the terminal device to perform re-registration or instruct the terminal device to reactivate the first session; and releasing the context information of the first session.
[0044] In one possible implementation, before receiving the second information, the method further includes: sending a second session establishment request message, the second session establishment request message being used to request the establishment or activation of the first session, and the second session establishment request message also being used to request the storage of the address information of the established first session.
[0045] In one possible implementation, at least one parameter includes at least one of the following: the data network name corresponding to the first session; the identifier of the slice corresponding to the first session; or, the type of address corresponding to the first address information.
[0046] The third aspect described above can serve as an example of the method executed by the terminal device side when the second communication device side in the second aspect is the terminal device side.
[0047] Fourthly, embodiments of this application provide a communication method. This method can be applied to the session management network element side. The session management network element side can be the session management network element itself, a module within the session management network element, or a logic module or software capable of implementing all or part of the functions of the session management network element. Modules within the session management network element can be, for example, software modules, hardware modules, or a combination of software and hardware modules within the session management network element. Specific hardware modules within the session management network element include processors, communication modules, or circuits or chips responsible for communication functions. Chips can be, for example, modem chips, also known as baseband chips, or SoC chips or SIP chips containing modem cores. The session management network element can be, for example, an SMF (Session Management Element). The method includes: sending a first message, wherein the first message indicates at least one parameter, the at least one parameter being a parameter for a session requested by a terminal device; receiving first address information, the first address information satisfying at least one parameter, and the first address information being used as address information for a session requested by the terminal device, the first address information being address information for a first session, and the first session being a session released by the terminal device.
[0048] In one possible implementation, the method further includes: releasing the context information of the first session; sending a second message, the second message being used to instruct the terminal device to perform re-registration, or to instruct the terminal device to reactivate the first session.
[0049] In one possible implementation, before releasing the context information of the first session, the method further includes: receiving a second session establishment request message, the second session establishment request message being used to request the establishment or activation of the first session; and sending third information, the third information indicating the storage of first address information and at least one parameter.
[0050] In one possible implementation, the second session establishment request message is also used to request the storage of the address information of the established first session.
[0051] In one possible implementation, after receiving the first address information, the method further includes: if the slice subscribed to by the terminal device changes from the first slice to the second slice, deleting the address information of the first session, where the first slice is the slice corresponding to the first session.
[0052] In one possible implementation, releasing the context information of the first session is performed upon detecting an anomaly in communication with the terminal device; after receiving the first address information, the method further includes: communicating with the terminal device via the first address information; and deleting the address information of the first session if the terminal device requests to deactivate the first session or requests to register.
[0053] In one possible implementation, after sending the first address information, the method further includes: communicating with a terminal device through a first session; if communication with the terminal device is abnormal, releasing the context information of the first session and sending a seventh message, the seventh message being used to instruct the terminal device to perform registration or instruct the terminal device to reactivate the first session; if no third session establishment request message is received from the terminal device within the timing duration of a second timer, deleting the address information of the first session, wherein the second timer is started at a second time, the second time being determined based on the time of sending the seventh message, the third session establishment request message being used to request the establishment or activation of the first session, and the third session establishment request message indicating at least one parameter.
[0054] In one possible implementation, the method further includes sending an eighth message, which instructs the terminal device to perform re-registration or to reactivate the first session. For example, sending a second message to a unified data management network element (such as a UDM).
[0055] The third aspect described above can serve as an example of the method executed by the session management network element side when the second communication device side in the second aspect is the session management network element side.
[0056] Fifthly, embodiments of this application provide a communication device. The communication device can be the first communication device side described in the first aspect above, or a module (e.g., a chip system) configured in the first communication device side. The communication device includes corresponding means or modules for performing any possible implementation of the first aspect above. For example, the communication device includes a communication unit (sometimes also called a communication module). Optionally, the communication device further includes a processing unit (sometimes also called a processing module). The communication unit is used to perform transmit and receive operations, such as functions related to sending and receiving; the communication unit can be called a transceiver unit; optionally, the communication unit includes a receiving unit and a sending unit. The processing unit is used to perform processing operations. Alternatively, the communication unit can be a transmitter and a receiver, or the communication unit can be a transmitter and a receiver. Optionally, the communication device further includes a storage unit (sometimes also called a storage module). For example, the communication unit is used to receive first information and send first address information.
[0057] In one possible implementation, the communication device may also implement the contents of any of the possible implementations in the first aspect described above, which will not be listed here.
[0058] In a sixth aspect, embodiments of this application provide a communication device. The communication device can be the second communication device side described in the second aspect above, or a module (e.g., a chip system) configured in the second communication device side. The communication device includes corresponding means or modules for performing any possible implementation of the second aspect above. For example, the communication device includes a communication unit (sometimes also called a communication module). Optionally, the communication device further includes a processing unit (sometimes also called a processing module). The communication unit is used to perform transmit and receive operations, such as functions related to sending and receiving; the communication unit can be called a transceiver unit; optionally, the communication unit includes a receiving unit and a sending unit. The processing unit is used to perform processing operations. Alternatively, the communication unit can be a transmitter and a receiver, or the communication unit can be a transmitter and a receiver. Optionally, the communication device further includes a storage unit (sometimes also called a storage module). For example, the communication unit is used to send first information and receive first address information.
[0059] In one possible implementation, the communication device may also implement any of the possible implementations in the second aspect described above, which will not be listed here.
[0060] In a seventh aspect, embodiments of this application provide a communication device. The communication device can be the terminal device side described in the third aspect above, or a module (e.g., a chip system) configured in the terminal device side. The communication device includes corresponding means or modules for performing any possible implementation of the third aspect above. For example, the communication device includes a communication unit (sometimes also called a communication module). Optionally, the communication device further includes a processing unit (sometimes also called a processing module). The communication unit is used to perform transmit and receive operations, such as functions related to sending and receiving; the communication unit can be called a transceiver unit; optionally, the communication unit includes a receiving unit and a sending unit. The processing unit is used to perform processing operations. Alternatively, the communication unit can be a transmitter and a receiver, or the communication unit can be a transmitter and a receiver. Optionally, the communication device further includes a storage unit (sometimes also called a storage module). For example, the communication unit is used to send first information and receive first address information.
[0061] In one possible implementation, the communication device may also implement the contents of any of the possible implementations in the third aspect described above, which will not be listed here.
[0062] Eighthly, embodiments of this application provide a communication device. The communication device can be a session management network element as described in the fourth aspect above, or a module (e.g., a chip system) configured in the session management network element. The communication device includes corresponding means or modules for performing any possible implementation of the fourth aspect above. For example, the communication device includes a communication unit (sometimes also called a communication module). Optionally, the communication device further includes a processing unit (sometimes also called a processing module). The communication unit is used to perform transmit and receive operations, such as functions related to sending and receiving; the communication unit can be called a transceiver unit; optionally, the communication unit includes a receiving unit and a sending unit. The processing unit is used to perform processing operations. Alternatively, the communication unit can be a transmitter and a receiver, or the communication unit can be a transmitter and a receiver. Optionally, the communication device further includes a storage unit (sometimes also called a storage module). For example, the communication unit is used to send first information and receive first address information.
[0063] In one possible implementation, the communication device may also implement the contents of any of the possible implementations in the fourth aspect described above, which will not be listed here.
[0064] Ninthly, embodiments of this application provide a communication device. The communication device includes one or more processors. The one or more processors are capable of executing computer programs or instructions stored in a memory, which, when executed, cause the communication device to implement the methods described in any of the first to fourth aspects above.
[0065] Optionally, the communication device may include a memory, in which case the memory may be coupled to one or more processors, or the memory may be configured relatively independently of one or more processors. Alternatively, the memory may exist independently of the communication device.
[0066] In one possible design, the communication device may further include an interface circuit, through which the processor communicates with other devices or components.
[0067] In the specific implementation process, the communication device can be a chip, and the processor can be a transistor, gate circuit, flip-flop, and various logic circuits, etc. The specific implementation method of the processor is not limited in the embodiments of this application.
[0068] In one implementation, the communication device can be a wireless communication device, i.e., a computer device that supports wireless communication functionality. Specifically, the wireless communication device can be a network device such as a wireless access network device (e.g., a base station).
[0069] In another implementation, the communication device can be a component of a wireless communication device, such as a system-on-a-chip (SoC) or communication chip, which are integrated circuit products. A SoC can also be called a System-on-a-Chip (SoC). A communication chip may include a baseband processing chip and a radio frequency (RF) processing chip. A baseband processing chip is sometimes called a modem or baseband chip. An RF processing chip is sometimes called an RF transceiver or RF chip. In physical implementation, some or all of the communication chip may be integrated within the SoC. For example, the baseband processing chip may be integrated into the SoC, while the RF processing chip may not be integrated. The interface circuit can be the RF processing chip in the wireless communication device, and the processor can be the baseband processing chip in the wireless communication device. The interface circuit can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip or chip system. The processor can also be a processing circuit or a logic circuit.
[0070] In another implementation, the communication device can be a chip system, which may consist of chips or include chips and other discrete devices. Chip systems may include, for example, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), system-on-a-chip (SoCs), central processing units (CPUs), network processors (NPs), digital signal processors (DSPs), microcontroller units (MCUs), programmable logic devices (PLDs), or other integrated chips.
[0071] Tenthly, embodiments of this application provide a communication system. This communication system includes any of the communication devices discussed in the fifth aspect and any of the communication devices discussed in the sixth aspect. For example, the communication device includes any of the communication devices discussed in the fifth aspect, any of the communication devices described in the seventh aspect, and any of the communication devices described in the eighth aspect.
[0072] Eleventhly, embodiments of this application provide a chip system. The chip system includes a processor. Optionally, the chip system may further include an interface (such as a communication interface). The processor can be used to implement the methods discussed in any of the first to fourth aspects above.
[0073] Optionally, the chip system also includes a memory. The memory is used to store computer programs (also called code or instructions). The processor is used to retrieve and run the computer programs from the memory, causing the device on which the chip system is installed to perform the methods described in either the first or second aspect above. Implementation methods for the chip system can be found in the preceding sections on chip systems, and will not be repeated here.
[0074] In a twelfth aspect, embodiments of this application provide a computer-readable storage medium. This computer-readable storage medium is used to store a computer program or instructions that, when executed, implement the methods described in any of the first to fourth aspects above.
[0075] In a thirteenth aspect, embodiments of this application provide a computer program product. When the computer program product is executed, it causes a processor to perform the methods described in any of the first to fourth aspects above. The computer program product includes computer programs and / or instructions, etc.
[0076] Regarding the beneficial effects of any of the technical solutions in the second to thirteenth aspects mentioned above, please refer to the content of the beneficial effects of the corresponding technical solutions in the first aspect, which will not be listed here again. Attached Figure Description
[0077] Figure 1 This is a schematic diagram of the structure of a communication system applicable to the embodiments of this application;
[0078] Figure 2 This is a schematic diagram of the structure of a fifth-generation communication system applicable to the embodiments of this application;
[0079] Figure 3 A schematic diagram of the user plane protocol stack between the terminal device and the data network;
[0080] Figure 4 This application provides a schematic diagram of the structure of a communication system according to an embodiment of the present application.
[0081] Figure 5 A flowchart illustrating a communication method provided in an embodiment of this application;
[0082] Figure 6 A flowchart illustrating another communication method provided in an embodiment of this application;
[0083] Figure 7 A flowchart illustrating yet another communication method is provided for embodiments of this application;
[0084] Figure 8 A flowchart illustrating yet another communication method is provided for embodiments of this application;
[0085] Figure 9 This is a schematic diagram of a method for deleting first address information provided in an embodiment of this application;
[0086] Figure 10 and Figure 11 The diagram shows the structure of two communication devices provided in the embodiments of this application. Detailed Implementation
[0087] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0088] The various embodiments of this application can be applied to a variety of communication systems. These systems include, for example, satellite communication systems, 5th generation (5G) communication systems or new radio (NR) communication systems, future evolution communication systems, device-to-device (D2D) communication systems, machine-to-machine (M2M) communication systems, Internet of Things (IoT) communication systems, other communication systems, or converged communication systems of at least two of the above. 5G communication systems include non-standalone (NSA) 5G communication systems and / or standalone (SA) 5G communication systems. Converged communication systems can be, for example, a system that integrates satellite communication systems and 5G communication systems.
[0089] The following is combined Figure 1 The schematic diagram of the communication system shown illustrates the communication system applicable to the embodiments of this application. Figure 1 As shown, the communication system 1000 includes an access network (AN) 100. Optionally, the communication system may also include a core network (CN) 200 and an Internet 300. Terminal devices can access the Internet 300 through the access network 100 and the core network 200.
[0090] Access network 100 may include at least one network device (or network apparatus, or network-side device), such as Figure 1 The system includes 110a and 110b. 110a is a base station, and 110b is a microstation. The communication system 1000 may also include at least one terminal device (or terminal equipment), such as... Figure 1 The numbers 120a to 120j are listed below. 120a, 120e, 120f, and 120j are mobile phones; 120b is a car; 120c is a fuel dispenser; 120d is a home access point (HAP) located indoors or outdoors; 120g is a laptop computer; 120h is a printer; and 120i is a drone.
[0091] The same terminal device or the same network device can provide different functions in different application scenarios. For example, Figure 1The mobile phones included are 120a, 120e, 120f, and 120j. Mobile phone 120a can access base station 110a, connect to car 120b, communicate directly with mobile phone 120e, and access HAP. Car 120b can access HAP and communicate directly with mobile phone 120a. Mobile phone 120f can connect to micro-station 110b, connect to laptop 120g, and connect to printer 120h. Mobile phone 120j can control drone 120i.
[0092] A network device is a network-side device with wireless transceiver capabilities. A network device can be a device, equipment, or module located on the network side of a communication system and possessing corresponding communication functions. Network devices typically contain communication modules, circuits, or chips that perform the corresponding communication functions. They also contain program instructions for performing these functions, as well as corresponding program instructions. Network devices can include core network equipment and / or access network equipment. Access network equipment (or access network devices) can be devices in a radio access network (RAN) that provide wireless communication functions for terminal devices; these can be referred to as RAN equipment. The RAN can be an access network in the 3rd Generation Partnership Project (3GPP), such as 4G, 5G, or future-oriented communication networks. The RAN can also be an open RAN (O-RAN or ORAN), a cloud radio access network (CRAN), or a communication network combining two or more of these networks.
[0093] RAN equipment can also be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next-generation NodeB (gNB) in a 5G mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system, etc.
[0094] RAN equipment can also be a module or unit that performs some of the functions of a base station. For example, it can be a central unit / control unit (CU), a distributed unit (DU), or a radio unit (RU). The CU and DU can be set up separately or included in the same network element, such as in a baseband unit (BBU). The RU can be included in radio frequency equipment or radio frequency units, such as in a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH). The embodiments of this application do not limit the specific technology or equipment form used in the network equipment.
[0095] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an open (O)-RAN system, CU can also be called an O-RAN central unit (O-CU), DU can also be called an O-RAN distributed unit (O-DU), CU-CP can also be called an O-RAN central unit control plane (O-CU-CP), CU-UP can also be called an O-RAN central unit user plane (O-CU-UP), and RU can also be called O-RU. Any of the units CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software and hardware modules. RA equipment can be a macro base station, a micro base station, an indoor station, a relay node, or a donor node, etc.
[0096] In various embodiments of this application, the functions of the network device can be implemented by the network device itself, or by modules (such as chips) within the network device, or by logic modules or software capable of implementing all or part of the functions, or by a control subsystem that includes network device functions. This control subsystem, including network device functions, can be a control center in the aforementioned application scenarios such as smart grids, industrial control, intelligent transportation, and smart cities.
[0097] A terminal device is a user-side device with wireless transceiver capabilities. Terminal devices can also be called terminal units, terminals, user interfaces (UEs), mobile stations, mobile terminals, etc. Terminal devices can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), the Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, intelligent transportation, and smart cities. Terminal devices can be mobile phones, tablets, computers with wireless transceiver capabilities, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home devices, mobile stations (MS), subscriber units, cellular phones, smartphones, wireless data cards, personal digital assistant (PDA) computers, tablet computers, wireless modems, handsets, laptop computers, or machine-type communication (MTC) terminals, etc. Terminal devices typically contain communication modules, circuits, or chips that perform the corresponding communication functions. They may also be configured with program instructions for performing these functions.
[0098] In various embodiments of this application, the means for implementing the functions of the terminal device may be implemented by the terminal device itself, or by a module (such as a chip or modem) in the terminal device, or by a logic module or software that can implement all or part of the functions.
[0099] Network devices and terminal devices can be fixed in location or mobile. They can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; and they can also be deployed in the air on airplanes, balloons, and artificial satellites. The embodiments of this application do not limit the application scenarios of the network devices and terminal devices.
[0100] The roles of network devices and terminal devices can be relative, for example, Figure 1The helicopter or drone 120i can be configured as a mobile network device. For terminal devices 120j that access the wireless access network 100 via 120i, terminal device 120i is a network device; however, for network device 110a, 120i is a terminal device, meaning that 110a and 120i communicate via a wireless air interface protocol. Of course, 110a and 120i can also communicate via a network device-to-network device interface protocol; in this case, 120i is also a network device relative to 110a. Therefore, both network devices and terminal devices can be collectively referred to as communication devices. Figure 1 110a and 110b can be referred to as communication devices with network equipment functions. Figure 1 The 120a-120j in the text can be referred to as communication devices with terminal equipment functions.
[0101] The following is based on Figure 1 Taking the network equipment and core network in the 5G communication network as an example, combined with Figure 2 This diagram illustrates the architecture of a 5G communication system and provides an example. Figure 2 This diagram illustrates terminal equipment, (R)AN, some network elements, and DN. Network elements include, for example, core network elements within the core network; core network elements can also be referred to as core network entities, core network equipment, or core network devices, etc.
[0102] Core network elements include network capability exposure elements (such as network exposure function (NEF)), policy control elements (such as policy control function (PCF)), unified data storage elements (such as UDR), application elements (such as AF), mobility management elements (such as AMF), and session management elements (such as session management function (SMF)). AFs can be deployed by the operator's own network or third-party AFs; there is no limitation on this.
[0103] Optionally, core network elements also include network slice selection elements (such as the network slice selection function (NSSF)), unified data management elements (such as unified data management (UDM)), network repository elements (such as the network repository function (NRF)), network slice-specific authentication and authorization elements (such as the network slice-specific authentication and authorization function (NSSAAF)), authentication service elements (such as the authentication server function (AUSF)), service communication proxy elements (such as the service communication proxy (SCP)), network slice admission control elements (such as the network slice admission control function (NSACF)), and user plane function elements (such as the user plane function (UPF)). The following uses the above-mentioned network elements as examples. Figure 2 Taking the network elements in the 5G communication network shown as an example, the basic functions of the core network elements mentioned above will be introduced.
[0104] The NEF (Network Element) is responsible for managing network data exposed to the outside world. For example, it converts information received from the AF (Agency Element) into information to be sent to internal core network elements, and vice versa; it also securely exposes network capabilities and events provided by core network elements to the AF.
[0105] PCF primarily provides policy control related to terminal device access and mobility, and policy control related to session management.
[0106] UDR is used to support the storage and retrieval of user data by other network elements, including subscription data, policy data, structured data, or application data.
[0107] UDM is responsible for managing and storing information about user devices, such as user identity, device configuration, and user preferences.
[0108] AF stands for Application Server, which provides a certain type of service to users. Therefore, it can also be called an application server or business server.
[0109] AMF is responsible for providing mobility management, lawful monitoring, access authorization, and authentication.
[0110] SMF is used to implement session and bearer management, address allocation, etc.
[0111] The aforementioned UPF can be used as a core network element in the user plane, while other core network elements besides the UPF can be used as core network elements in the control plane.
[0112] Each of the above network elements can provide corresponding services through service-oriented interfaces. Terminal devices and the AMF can communicate via the N1 interface; (R)AN and the AMF can communicate via the N2 interface; (R)AN and the UPF can communicate via the N3 interface; the SMF and the UPF can communicate via the N4 interface; the UPF and the DN can communicate via the N6 interface; and the UPFs can communicate with each other via the N9 interface.
[0113] The above Figure 2 This example illustrates the architecture of a 5G communication system. A communication system may include many more network elements, and this is not a limitation. Furthermore, as standards evolve, the functions and names of these network elements may change, and even more network elements may emerge; this is not specifically limited.
[0114] Please refer to Figure 3 This is a schematic diagram of a user plane protocol stack between a terminal device and a DN. For example... Figure 3 As shown, the DN can provide services to terminal devices through applications, such as data transmission services. For example, data can sequentially pass through the UE, access network equipment, UPF, and DN. And / or, data can sequentially pass through the DN, UPF, access network equipment, and UE.
[0115] like Figure 3 As shown, the UE includes an application layer, a PDU layer, and a radio transmission protocol stack. The contents of the protocol stack can be referred to in the previous discussion of the protocol stack, and will not be listed here again.
[0116] The content of the application layer can be referred to in the previous discussion of the application layer, and will not be listed here again. The PDU layer refers to the protocol layer that uses PDUs to transmit data. A PDU can be understood as the smallest data unit transmitted in different layers of protocols, used to transmit data in the network. The size and result of a PDU depend on the requirements of the protocol used. The PDU layer may include at least one protocol layer in the network protocol stack other than the application layer. The network protocol stack may be, for example, the Open Systems Interconnection (OSI) protocol stack. For example, the network protocol stack includes the application layer, transport layer, network layer, link layer (or data link layer), and application layer. Optionally, the network protocol stack may also include the session layer, presentation layer, and physical layer (PHY), etc. In another possible design, the application layer may not be part of the network protocol stack. Optionally, the UE's PDU layer may be deployed in the UE's operating system.
[0117] The transport layer's main functions include establishing, maintaining, and terminating sessions. Transport layer protocols, such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), provide different services. TCP provides reliable, connection-oriented service, while UDP provides unreliable, connectionless service. The network layer is responsible for transmitting data packets between different networks, such as handling packet routing, i.e., determining the best path for data packets from source to destination. The link layer's main functions include frame synchronization, error control, flow control, and physical addressing. The session layer is used for establishing, managing, and terminating sessions. The presentation layer is responsible for data representation, encoding, and conversion. The physical layer defines the transmission medium within the device; physical layer components include network interface cards (NICs) and / or virtual NICs.
[0118] The wireless transport protocol stack can be, for example, a 3GPP protocol stack, specifically a 5G wireless transport protocol stack. The UE's wireless transport protocol stack can be deployed in the UE's modem. The wireless transport protocol stack includes the Service Data Adaptation Protocol (SDAP) layer, the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, the Medium Access Control (MAC) layer, and the physical layer.
[0119] The SDAP layer is responsible for mapping between Quality of Service (QoS) flows and radio bearers, adding QoS flow identifiers (QFI) to data packets. The PDCP layer ensures secure, reliable, and efficient packet data transmission, including functions such as compression, encryption, and integrity protection. The RLC layer is responsible for data segmentation and reassembly, error detection and correction, and data retransmission. The MAC layer is responsible for mapping between logical and transport channels, data multiplexing and demultiplexing, reporting scheduling information, error correction (HARQ), inter-user priority management, logical channel priority management, and data padding. The PHY layer provides the actual wireless signal transmission, including modulation, demodulation, signal coding, and signal transmission.
[0120] Access network elements include a wireless transmission protocol stack, a General Packet Radio Service Tunneling Protocol (GTP) user layer (GTP-U), an Internet Protocol (IP) layer, and layers L2 and L1. GTP-U is used for data transmission. Layer 1 includes, for example, the physical layer, and layer 2 includes, for example, the MAC layer.
[0121] For ease of distinction, a UPF that communicates with access network elements can be called a relay UPF. A relay UPF includes the GTP-U layer, UDP / IP layer, L2, and L1. The user plane device (such as the UPF) that communicates with this user plane device includes the PDU layer, GTP-U layer, UDP / IP layer, L2, and L1. The relay UPF primarily implements relaying, handling data forwarding.
[0122] The relay UPF can communicate with the anchor UPF, which is responsible for data forwarding and data processing. The anchor UPF consists of the PDU layer, GTP-U, UDP / IP, L2, and L1.
[0123] For example, when a UE sends data to a DN, the UE can process the data sequentially through the application layer, transport layer, network layer, link layer, and radio transmission protocol stack, and then transmit the processed data sequentially through access network elements, relay UPFs, and anchor UPFs to the application server or AF. Similarly, the DN or AF can transmit data to the UE sequentially through anchor UPFs, relay UPFs, and access network elements.
[0124] In one possible implementation, the aforementioned wireless transmission protocol stack can also be replaced with a fixed access transmission protocol stack. For example, when the UE and the access network element transmit via Ethernet, the wireless transmission protocol stack in the UE and the access network element can be replaced with a fixed access transmission protocol stack.
[0125] During data transmission, the UE and DN can establish a logical transmission channel through a session. For example, the UE and DN can transmit PDUs through a PDU session. When the address type (or type of the PDU session) of the PDU session is IPv4, IPv6, or IPv4v6, the PDU layer corresponds to an IPv4 packet, an IPv6 packet, or both. When the address type (or type of the PDU session) of the PDU session is Ethernet, the PDU layer corresponds to an Ethernet frame.
[0126] One or more connections can be established between the UE's application layer and the DN's application layer, including but not limited to Transmission Control Protocol (TCP) connections. TCP connections are implemented based on a socket interface. These connections bind the address of the session between the UE and the DN; in other words, one or more connections are bound to or associated with this session. When the terminal device communicates with the DN, data can be transmitted between the DN and the UE through these connections.
[0127] For some reason, such as the network (e.g., the core network) is unable to find the context information of the terminal device through the globally unique temporary UE identity (GUTI), or due to the restart of some network elements, or due to the maintenance of network elements, at least one of the following situations may occur:
[0128] A1. The UE is rejected by #9 or #10 during the mobility registration process or service request process. #9 or #10 indicates rejection of the corresponding service.
[0129] A2. The UE receives a network-triggered deregistration process, which indicates that re-registration is required.
[0130] A3. If the UE is rejected by other reasons or for some other reason, the UE will be transferred from the registered state to the unregistered state. In this case, the UE needs to re-perform the initial registration.
[0131] Any of the scenarios described in A1 to A3 above may cause the network and UE to release the context information of the Protocol Data Unit (PDU) session. Even if the UE immediately triggers re-registration, all PDU sessions need to be re-established. Because the PDU sessions need to be re-established, and the network needs to reallocate addresses for the newly created PDU sessions, and because TCP determines client connections based on the session address and the corresponding TCP port (prot), the connection bound to the previous session becomes invalid due to the address change after the new PDU session is established. This necessitates the establishment of a new connection for the new session, and the application corresponding to the new connection may need to log in again, resulting in prolonged service delays. Furthermore, some services may become unusable due to the change in session address, impacting user experience.
[0132] In view of this, embodiments of this application provide a communication method. In this method, when a terminal device requests to establish or activate a session, the address information of a previously released session can be assigned to the terminal device. This ensures that the session-bound connection (such as a TCP connection) is not interrupted, thus eliminating the need to re-establish the connection, thereby reducing service downtime and improving user experience. Furthermore, it also avoids situations where certain services cannot be used normally due to address changes, further enhancing the user experience.
[0133] The communication method provided in this application embodiment is applicable to the above-described... Figure 1 or Figure 2 The communication system shown. In addition, this communication method can also be applied to... Figure 4 The communication system shown. (As shown) Figure 4 As shown, the communication system includes a second communication device and a first communication device.
[0134] The second communication device and the first communication device can communicate with each other. Alternatively, the second communication device can communicate with the first communication device through a third communication device.
[0135] In the first possible scenario B1, the first communication device can be a first core network element, such as a session management network element, specifically an SMF, or a mobility management network element, specifically an AMF, or include both a session management network element and a mobility management network element. The second communication device can be a terminal device or a module in a terminal device.
[0136] In the second possible scenario B2, the first communication device can be a second core network element, such as a unified data management network element, specifically a UDM, and the second communication device can be a session management network element, such as an SMF.
[0137] The UDM mentioned below can be used as an example of a unified data management network element; that is, UDM can be replaced with unified data management network element. Similarly, SMF can be used as an example of a session management network element; and AMF can be used as an example of a mobility management network element. Of course, as standards evolve, the names of these network elements or devices may change, and this is not a limitation.
[0138] Furthermore, in various embodiments of this application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0139] In the embodiments of this application, "send" and "receive" indicate the direction of signal transmission. For example, "send information to XX" can be understood as the destination of the information being XX, which may include direct transmission via the air interface or indirect transmission by other units or modules via the air interface. "Receive information from YY" can be understood as the source of the information being YY, which may include direct reception from YY via the air interface or indirect reception from YY by other units or modules via the air interface. "Send" can also be understood as the "output" of the chip interface, and "receive" can also be understood as the "input" of the chip interface. In other words, sending and receiving can occur between devices, such as between network devices and terminal devices, or within a device, such as between components, modules, chips, software modules, or hardware modules within the device via a bus, wiring, or interface. It is understood that information may undergo necessary processing, such as encoding and modulation, between the source and destination of the information transmission, but the destination can understand the valid information from the source. For example, in various embodiments of this application, the SMF sends a message to the terminal device, for instance, the SMF sends the message to the terminal device through the AMF. Similar expressions in this application can be understood in a similar way and will not be repeated here.
[0140] In the embodiments of this application, "when," "if," and "if" all refer to the device taking corresponding actions under certain objective circumstances, not a time limit, nor do they require the device to perform a judgment action, nor do they imply any other limitations. Unless otherwise specified, "if" and "if" are interchangeable, and "when" and "in the case of" are interchangeable. "When" and "if" / "if" are interchangeable. In the embodiments of this application, "*" can be used to represent "multiplication."
[0141] The ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects and are not used to limit the size, content, order, timing, priority, or importance of the multiple objects. For example, "first information" and "second information" refer to two pieces of information, and do not indicate that the data volume, content, priority, or importance of these two pieces of information are different. Words such as "exemplary" or "for example" are used to indicate that they are examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0142] The method provided in this application embodiment can be applied to the above-described... Figure 1 , Figure 2 or Figure 4 In the communication system shown, but Figure 1 , Figure 2 and Figure 4 The communication system shown does not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0143] The methods provided in the embodiments of this application are described below with reference to the accompanying drawings. The dashed lines in the various embodiments of this application indicate optional steps. Furthermore, the first communication device involved in the various embodiments of this application can be... Figure 2 The SMF involved or Figure 4 The first communication device involved, such as Figure 4 The first communication device and the second communication device involved can be Figure 1 or Figure 2 The terminal equipment involved, or Figure 4 The second communication device involved, such as Figure 4 The second communication device in the first possible scenario. Alternatively, the first communication device involved in the various embodiments of this application can be... Figure 2 The UDM involved or Figure 4 The first communication device involved, such as Figure 4 The first communication device and the second communication device in the second possible scenario can be Figure 2 The SMF involved, Figure 4 The second communication device involved, such as Figure 4 The second communication device in the second possible scenario involved. Furthermore, as standards continue to evolve, the first communication device, second communication device, SMF, AMF, or UDM involved in the various embodiments of this application may have other names or functions, which are not limited thereto.
[0144] Please refer to Figure 5 This is a schematic diagram of a communication method provided in an embodiment of this application. The following is a description of... Figure 5 The various steps involved will be described.
[0145] S501, the second communication device sends first information to the first communication device. Correspondingly, the first communication device receives the first information from the second communication device.
[0146] The second communication device may send the first information to the first communication device, or the second communication device may send the first information to the first communication device through other communication devices; there is no limitation in this regard. The first information indicates at least one parameter, which is a parameter for a session requested by the terminal device to be established or activated. The sessions involved in this application include, but are not limited to, PDU sessions.
[0147] The first communication device and the second communication device are implemented in different ways, so the messages carrying the first information are also different, which will be introduced separately below.
[0148] In the first possible scenario B1 (e.g., the first communication device is a first core network element, and the second communication device can be a terminal device), the first information may be included (or carried, or transmitted) in a first session establishment request message, which is used to request the establishment of a session or the activation of a session (e.g., activating the first session). For example, the first session establishment request message includes at least one parameter used to request the establishment of a session or the activation of a session. Alternatively, the first session establishment request message includes first indication information and at least one parameter, whereby the first indication information is used to request the establishment of a session or the activation of the first session. Optionally, the first communication device may send a first session establishment accept message to the second communication device in response to the first information. After receiving the first information, the first communication device can establish a session or activate the first session for the terminal device.
[0149] In the first possible scenario B1, optionally, the first communication device (such as SMF, AMF, or UDM) can send second information to the terminal device, and the terminal device can send the first information after receiving the second information. The second information is used to instruct the terminal device to perform re-registration or to instruct the terminal device to reactivate the first session. For example, the SMF can instruct the terminal device to perform reactivation through the second information, or the AMF can instruct the terminal device to perform re-registration through the second information. Alternatively, the UDM can instruct the terminal device to perform re-registration through the second information.
[0150] For example, the second information may be included in a deregistration request message, which includes a deregistration type indicating that the terminal device needs to be re-registered. Alternatively, the second information may be included in a PDU session release command, which includes a reason value indicating that the terminal device needs to be reactivated.
[0151] Optionally, the second information may also instruct the terminal device to release the first session. Optionally, the first communication device may also release the context information of the first session. The order in which the first communication device releases the context information of the first session and sends the second information is arbitrary and not limited. For example, the first communication device may release the context information of the first session first and then send the second information. Or, the first communication device may release the context information of the first session after sending the second information. Alternatively, the first communication device may release both the context information of the first session and the context information of the first session simultaneously.
[0152] Optionally, if the second information indicates that the terminal device needs to re-register, then the first session request message is used by the terminal device to request the establishment of a session. Alternatively, if the second information indicates that the terminal device needs to reactivate, then the first session request message is used by the terminal device to request the activation of a session (e.g., to activate the first session).
[0153] In the second possible scenario B2 (e.g., the first communication device is a UDM, and the second communication device can be an SMF), the first information may be included (or carried, or transmitted) in the first message of the session. The first message may also be called a session address retrieval request message, etc., which is used to request address information, specifically to request address information that meets at least one parameter. The emcee message may also be called a session address reservation retrieval request. For example, the first message includes at least one parameter used to request the establishment of a session. Alternatively, the first message includes second indication information and at least one parameter, whereby the second indication information is used to request address information.
[0154] In the second possible scenario B2, after receiving the first session establishment request message from the terminal device, the second communication device may send first information to the first communication device. The content of the first session establishment request message can be referred to the content of the first session establishment request message discussed above, and will not be listed here.
[0155] The first piece of information indicates at least one parameter. The at least one parameter may include at least one of the parameters C1 to C3 below, which are described below.
[0156] C1. The network name corresponding to the session. For example, if the session corresponds to a data network, then the network name corresponding to the session is the data network name. Or, if the network corresponding to the session is an access point network, then the network name is the access point name (APN).
[0157] C2. The slice identifier corresponding to the session. The slice corresponding to the session involved in B2 is the slice bound to that session. The slice identifier may be, for example, Single-network slice selection assistance information (S-NSSAI). Optionally, S-NSSAI includes slice / service type and slice distinguisher.
[0158] C3. The address type corresponding to the session's address information. The address type indicates the type of the address. For example, the address type can be an Internet Protocol (IP) address or a non-IP address. A non-IP address could be an Ethernet address, etc., and its type is not limited. Since different address types indicate different session types, the address type involved in this application's embodiments can also be described as the session type. The session type could be, for example, a PDU session or an Ethernet session.
[0159] Since this embodiment of the application takes the first session as an example where the parameters meet at least one parameter, any of the sessions involved in C1 to C3 above can be replaced with the first session.
[0160] In one possible implementation, the first information, in addition to indicating at least one parameter, may also be associated with the terminal device's identity information. Associating the first information with the terminal device's identity information can be understood as the first information not directly carrying the terminal device's identity information, but the terminal device's identity information can be clearly identified based on the first information, such as the source address of the first information message being the terminal device's address. The terminal device's identity includes the terminal device's identifier and / or its address, etc. The terminal device's identifier includes, for example, the International Mobile Subscriber Identity (IMSI), the Subscription Permanent Identifier (SUPI), or the Globally Unique Temporary Identifier (GUTI). The IMSI consists of a mobile country code, a mobile network code, and a unique user identifier, used to uniquely identify a user in a cellular network. The SUPI is a permanent identifier for users in 5G networks, similar to the IMSI in 4G, but the SUPI uses a more secure encryption mechanism for transmission. The GUTI is a temporary identifier assigned to a user by the network. Alternatively, the message carrying the first information (such as a first session establishment request message) may also indicate the terminal device's identity information. Optionally, the first information may also indicate the address information storing the established session.
[0161] S502, the first communication device sends first address information to the second communication device. Correspondingly, the second communication device receives the first address information from the first communication device.
[0162] If the first address information satisfies at least one parameter, then the first communication device can send the first address information to the second communication device. If the at least one parameter indicated by the first information is a parameter for a session requested by the terminal device, then the first address information is equivalent to the address information of the session requested by the terminal device; for example, the first address information is the address information of the session requested by the first session request establishment message. If the at least one parameter indicated by the first information is a parameter for a session requested by the terminal device to be activated, then the first address information is equivalent to the address information of the session requested by the terminal device to be activated; for example, the first address information is the address information of the session requested by the first session request establishment message.
[0163] The first address information refers to the address information of the first session that the terminal device has released. In other words, the first address information is the address information of a historical session. The first address information indicates the address of the session, such as the session's IP address, specifically an IPv6 address or an IPv4 address.
[0164] Optionally, if the first session establishment request message indicates that the address information of the requested session be stored, then the first communication device may store the first address information, and optionally, also store at least one parameter. For example, the first communication device may continue to store the first address information and at least one parameter. Alternatively, the first communication device may instruct the third communication device to store the first address information and at least one parameter.
[0165] There are several ways for the first communication device to determine the first address information. The following will introduce methods D1 and D2.
[0166] In method D1, the first communication device may pre-store a first association relationship. The first association relationship indicates at least one address information, and a parameter corresponding to each of the at least one address information. The at least one address information includes the first address information. After receiving the first information, the first communication device can determine the first address information that satisfies at least one parameter from the at least one address information, and send the first address information to the second communication device.
[0167] Optionally, after receiving the first information, the first communication device receives a sixth information from the second communication device. The sixth information indicates the storage of the first address information and at least one parameter. The first communication device stores the first address information and at least one parameter based on the sixth information, thus pre-storing the first association relationship.
[0168] The above method D1 can be applied to the first possible case B1, such as when the first communication device is an SMF and the second communication device is a terminal device, and it can also be applied to the second possible case B2, such as when the first communication device is a UDM and the second communication device is an SMF.
[0169] Optionally, the first communication device may obtain the first association relationship in the following ways: the first association relationship may be pre-stored by the first communication device, for example, the first communication device may pre-store it based on a previously released session, or the first association relationship may be obtained by the first communication device from other devices (such as UDM), etc., and there is no limitation on this.
[0170] For example, a first communication device receives a second session establishment request message from a terminal device. The content that triggers the terminal device to initiate the second session establishment request message can be referenced from the content that triggers the terminal device to initiate the first session establishment request message, as discussed earlier, and will not be listed here again. The second session establishment request message is used to request the establishment or activation of a session. The second session establishment request message also indicates the storage of the address information (i.e., the first address information) of the session to be established or activated (such as the first session). Optionally, the second session establishment request message also indicates the storage of at least one parameter. Thus, the first communication device establishes a session based on the second session establishment request message. For example, after establishing the first session, the first communication device can actively store the first address information and at least one parameter of the first session, or instruct the second communication device to store the first address information and at least one parameter, for example, by sending third information to a third communication device (such as a UDM), where the third information indicates the storage of the first address information and at least one parameter. This establishes the first association. Alternatively, the first communication device can store the first address information and at least one parameter based on the instruction of the second session establishment request message, or instruct the third communication device to store the first address information and at least one parameter.
[0171] In method D2, the first communication device obtains the first address information from the third communication device. The third communication device refers to a device other than the first and second communication devices, such as a UDM or a device or network element with corresponding functions.
[0172] For example, the first communication device sends a fourth message to the third communication device. The fourth message requests the acquisition of the address information of a session that satisfies at least one parameter. After receiving the fourth message, the third communication device can determine the session address information that satisfies at least one parameter, i.e., the first address information, and send a fifth message to the first communication device, the fifth message indicating the first address information.
[0173] Optionally, after receiving the second session establishment request message from the terminal device, the first communication device sends fourth information. The second session establishment request message also indicates the address information (i.e., the first address information) of the session to be established (such as the first session).
[0174] For example, the third communication device can also determine the address information that matches at least one parameter from at least one address information based on the first association relationship. The content of the first association relationship and the content of the third communication device obtaining the first association relationship can be referred to the previously discussed content of the first association relationship and the content of the first communication device obtaining the first association relationship, respectively, and will not be listed here. For example, the second session establishment request message also instructs the storage of at least one parameter. Thus, the first communication device establishes a session based on the second session establishment request message. After establishing the first session, for example, the first communication device can instruct the third communication device to store the first address information and at least one parameter of the first session, thereby obtaining the first association relationship.
[0175] Method D2 described above can be applied to the first possible case B1, such as when the first communication device is an SMF and the second communication device is a terminal device.
[0176] In one possible implementation, if the first timer has not expired, the first communication device sends the first address information.
[0177] For example, the first communication device may set a first timer and start the first timer at a first time. The first time is determined based on the time when the second information is sent, such as the first time being the time when the second information is sent, or the first time being a time after a preset period of time after the second information is sent, or the first time being a time before the second information is sent.
[0178] Alternatively, the first communication device can receive the eighth message from other devices. The eighth message can have various names, which are not limited here. The content of the eighth message can be referred to the content of the second message mentioned above, and will not be listed here. The first communication device determines to start the first timer based on the time of receiving the eighth message. For example, the first time to start the first timer is the time of receiving the eighth message, or the first time is a fixed period of time after receiving the eighth message. Specifically, for example, the first communication device can receive the eighth message indicating the reactivation of the terminal device from the SMF and start the first timer. Or, for example, the first communication device can receive the eighth message indicating the re-registration of the terminal device from the AMF (or other core network elements) and start the first timer.
[0179] The duration of the first timer can be a few seconds or a few minutes, and there is no limitation on this. For example, the duration of the first timer can be 5 seconds or 2 minutes, etc.
[0180] If the first communication device does not receive the first information from the second communication device when the first timer expires, the first communication device can delete the first address information. For example, the first communication device can actively delete the first address information, or instruct the third communication device to delete the first address information. Optionally, the first communication device can also delete at least one parameter. In this case, it indicates that the terminal device has not re-initiated a session establishment request for a relatively long period of time, which means that the first address information previously released for the first session may no longer be applicable, and therefore the first address information can be deleted. In this way, the terminal device can avoid occupying the first address information for a long time, reducing the resource overhead required to store the first address information.
[0181] If the first communication device receives a first session establishment request message from the second communication device before the first timer expires, it sends the first address information. In this case, it indicates that the terminal device has re-initiated the session establishment request within a short period of time, which means that the previous release of the first session may have been caused by a brief communication anomaly. Therefore, the first address information can continue to be used to avoid re-establishing the connection corresponding to the first session.
[0182] When the second communication device is a terminal device, it can use the first address information as the address information for the requested session. Alternatively, when the second communication device is an SMF (Software-Defined Network), it can send the first address information to the terminal device, which can then use it as the address information for the requested session. Optionally, the terminal device can use the first address information to communicate with the network side (such as an SMF).
[0183] After the first communication device sends the first address information, in one possible implementation, if the slice subscribed to by the terminal device changes from the first slice to the second slice, or if the first slice subscribed to by the terminal device expires or the terminal device does not renew the first slice, the first communication device deletes the first address information. The first slice is the slice corresponding to the first session. Deleting the first address information by the first communication device includes: the first communication device actively deleting the first address information, or the first communication device instructing the third communication device to delete the first address information. In this case, since the slice subscribed to by the terminal device has changed, the first address information may no longer be applicable to the terminal device, therefore deleting the first address information can be considered.
[0184] Before receiving the first information, the first communication device may release the context information of the first session if it detects a communication anomaly with the terminal device. That is, the first communication device may actively release the context information of the first session. After sending the first address information, in one possible implementation, the first communication device can communicate with the terminal device through the first address information. If the terminal device requests to activate the first session or requests to register (i.e., the terminal device wants to actively activate or register), then the first communication device deletes the first address information. This avoids providing the first address information to the terminal device again in the future. The content of the first communication device deleting the first address information can be referred to the previously discussed content of the first communication device deleting the first address information, and will not be listed here.
[0185] After sending the first address information, in one possible implementation, the first communication device can communicate with the terminal device through the first address information. If the first communication device determines that the communication with the terminal device is abnormal, it can release the context information of the first session and send a seventh message. The seventh message is used to instruct the terminal device to perform re-registration or to instruct the terminal device to reactivate the first session. In this case, if no third session establishment request message is received from the terminal device within the duration of the second timer, the first communication device can delete the first address information. The second timer is started at a second time, which is determined based on the time of sending the seventh message. The third session establishment request message is used to request the establishment or activation of the first session, and indicates at least one parameter. The content of determining the second time based on the time of sending the seventh message can be referenced to the content of determining the first time based on the time of sending the second message, as discussed above, and will not be repeated here.
[0186] In this embodiment, if the terminal device is successfully reactivated or re-registered, the address information of the session before re-registration or reactivation can be reassigned to the terminal device. This reduces the time of service interruption due to reduced session connection interruptions. Furthermore, the first address information can be deleted in certain situations. This avoids the terminal device occupying the first address information for a long time and prevents the first address information from being invalidally occupied for an extended period, thus reducing address overhead.
[0187] The following is combined Figure 6 The schematic diagram of the communication method shown is for the embodiments of this application. Figure 5 Examples of the communication methods involved are introduced. Figure 6 Taking the terminal device as UE, the first communication device as UDM, and the second communication device as SMF as an example, the following will discuss... Figure 6 The steps involved will be described.
[0188] S601. The UE sends a second session establishment request message to the SMF, and the SMF receives the second session establishment request message from the UE accordingly. The content of the second session establishment request message can be found in the previous text. Figure 5 The content of the second session establishment request message discussed in the illustrated embodiment will not be listed here.
[0189] Optionally, the second session establishment request message may further indicate the storage of address information for the requested session. Optionally, the second session establishment request message may also indicate the storage of parameters for the established session. Optionally, the UE may determine whether the second session request message indicates the storage of address information for the requested session based on service information. For example, if the UE determines that the priority of the service corresponding to the requested session is greater than the first priority based on service priority, then it can determine that the second session request message also indicates the storage of address information for the requested session.
[0190] S602, the SMF sends a second session establishment acceptance message to the UE. Correspondingly, the UE receives the second session establishment acceptance message from the SMF.
[0191] S603, SMF sends a sixth message to UDM, and correspondingly, UDM receives the sixth message from SMF. The sixth message indicates (indicates the storage of the first address information) and at least one parameter. Optionally, the sixth message and the preceding text... Figure 5 The third information in the illustrated method embodiment can be the same information, and there is no limitation on this. Alternatively, the sixth information can be used as an example of the third information.
[0192] If the second session establishment request message also indicates that the address information of the requested session be stored, then the SMF sends the sixth message to the UDM. Alternatively, if the second session establishment request message does not indicate that the address information of the requested session be stored, the SMF may also retain the address information of the established session by default and send the sixth message to the UDM. In this way, the UDM can store the first indication information and at least one parameter based on the sixth message, thus obtaining the first association.
[0193] The steps S601 to S603 described above are illustrative examples of a method for the first communication device to obtain the first association relationship. In reality, there are multiple ways to obtain the first association relationship, and this is not limited to any particular method. That is, S601 to S603 are optional steps. Figure 6 The middle part is indicated by a dashed line.
[0194] S604. UDM determines UE re-registration. For example, if UDM is reassigned to serve the UE, or if UDM is upgraded or restarted, UDM can determine that UE re-registration is triggered.
[0195] S605 and UDM start the first timer. The contents of the first timer can be found in the previous text. Figure 5 The contents of the first timer in the method embodiment shown are not listed here.
[0196] S606, UDM sends the second information to UE via AMF. Correspondingly, UE receives the second information from UDM via AMF. The content of the second information can be found in [reference needed]. Figure 5 The contents of the first timer in the method embodiment shown are not listed here.
[0197] S607, The UE releases the context information of the first session. The UE can release the context information of the first session based on the indication of the second information.
[0198] The above steps S604 to S607 are examples of triggering the re-registration process of a terminal device. In reality, there are multiple ways for a terminal device to initiate re-registration or reactivation, which are not limited here. That is, S604 to S608 are optional steps. Figure 6 The text is represented by a dashed line. In another possible implementation, the AMF determines that the UE needs to re-register and instructs the UE to do so. Based on this instruction, the UE releases the context information of the first session.
[0199] In another possible implementation, if the UE is in a disconnected state, the UDM does not need to send the second information to the UE, and the UDM can directly delete the first address information.
[0200] S608, the UE sends a first session establishment request message to the SMF. Correspondingly, the SMF receives the first session establishment request message from the UE. The content of the first session establishment request message can be found in the preceding text. Figure 5 The content of the first session establishment request message involved is not listed here.
[0201] S609, SMF sends a first message to UDM. Correspondingly, UDM receives the first message from SMF. The first message is used to request address information that meets at least one parameter. Optionally, the first message may also indicate the storage of first address information. In this embodiment, the first message includes first information, which indicates at least one parameter. Alternatively, the first message in this embodiment can be considered an example of a message including first information.
[0202] S610, UDM sends the first address information to SMF. Correspondingly, SMF receives the first address information from UDM.
[0203] For example, if the first address information meets at least one parameter, then the UDM can send the first address information back to the SMF.
[0204] S611, the SMF sends a first session establishment acceptance message to the UE. Correspondingly, the UE receives the first session establishment acceptance message from the SMF. This first session establishment acceptance message indicates that a session has been established for the UE, and also indicates that the address information of the established session is the first address information.
[0205] S612, UDM deletes the first address information. Optionally, UDM may also retain the first address information based on the content of the first address information stored as indicated by the first message.
[0206] Optionally, after S611 or S612, the SMF can notify the UDM to delete the first address information.
[0207] S608, S611, and S612 are all optional steps. Figure 6 The middle part is indicated by a dashed line.
[0208] In this embodiment, the UDM can reassign the address information of the session before re-registration to the UE, thus reducing service interruption time in the event of session connection interruption. Furthermore, the UDM proactively triggers the UE re-registration determination, enabling the UE to register promptly.
[0209] The following is combined Figure 7 The schematic diagram of the communication method shown is for the embodiments of this application. Figure 5 Examples of the communication methods involved are introduced. Figure 7 Taking the terminal device as UE, the first communication device as SMF, and the second communication device as UE as an example, the following is a description of... Figure 7 The steps involved will be described.
[0210] S701, the UE sends a second session establishment request message to the SMF, and correspondingly, the SMF receives the second session establishment request message from the UE. The content of the second session establishment request message can be found in the previous text. Figure 5 The content of the second session establishment request message discussed in the illustrated embodiment will not be listed here.
[0211] Optionally, the second session establishment request message may further indicate the storage of address information for the requested session. Optionally, the second session establishment request message may also indicate the storage of parameters for the established session. Optionally, the UE may determine whether the second session request message indicates the storage of address information for the requested session based on service information. For example, if the UE determines that the priority of the service corresponding to the requested session is greater than the first priority based on service priority, then it can determine that the second session request message also indicates the storage of address information for the requested session.
[0212] S702, the SMF sends a second session establishment acceptance message to the UE. Correspondingly, the UE receives the second session establishment acceptance message from the SMF.
[0213] S703, SMF sends a sixth message to UDM, and correspondingly, UDM receives the sixth message from SMF. The sixth message indicates (indicates the storage of the first address information) and at least one parameter. Optionally, the sixth message and the preceding text... Figure 5 The third information in the illustrated method embodiment can be the same information, and there is no limitation on this. Alternatively, the sixth information can be used as an example of the third information.
[0214] If the second session establishment request message also indicates that the address information of the requested session be stored, then the SMF sends the sixth message to the UDM. Alternatively, if the second session establishment request message does not indicate that the address information of the requested session be stored, the SMF may also retain the address information of the established session by default and send the sixth message to the UDM. In this way, the UDM can store the first indication information and at least one parameter based on the sixth message, thus obtaining the first association.
[0215] The steps S701 to S703 described above are illustrative examples of a method for the first communication device to obtain the first association relationship. In reality, there are multiple ways to obtain the first association relationship, and this is not limited to any particular method. That is, S701 to S703 are optional steps. Figure 7 The middle part is indicated by a dashed line.
[0216] S704. SMF determines UE reactivation. For example, if the SMF cannot find the UE's context information based on the UE's temporary identifier (such as a globally unique temporary identifier), or if the data transmission between the SMF and the UE fails, the SMF can determine to trigger UE reactivation. Alternatively, if the SMF determines that the first session has been restarted or updated, the SMF can also determine to trigger UE reactivation.
[0217] S705 and SMF send a reactivation instruction to UDM. UDM receives this reactivation instruction accordingly. This reactivation instruction is used to instruct the reactivation of the first session.
[0218] S706, UDM starts the first timer. The contents of the first timer can be found in the previous text. Figure 5 The contents of the first timer in the method embodiment shown are not listed here.
[0219] S707, SMF sends the second information to UE. Correspondingly, UE receives the second information from SMF.
[0220] S708, UE releases the context information of the first session. The UE can release the context information of the first session based on the indication of the second information.
[0221] The above steps S704 to S708 are examples of the process of triggering terminal device reactivation. In reality, there are many other ways for a terminal device to initiate reactivation, which are not limited here. That is, steps S704 to S708 are all optional.
[0222] In another possible implementation, if the UE is in a disconnected state, the SMF does not need to send the second information to the UE, and the UDM can directly delete the first address information.
[0223] S709, the UE sends a first session establishment request message to the SMF. Correspondingly, the SMF receives the first session establishment request message from the UE. The content of the first session establishment request message can be found in the preceding text. Figure 5 The content of the first session establishment request message involved is not listed here. The first session establishment request message in this embodiment includes first information, which indicates at least one parameter. Alternatively, the first session establishment request message in this embodiment can be used as an example of a message that includes first information.
[0224] S710 and SMF send a first message to UDM. Correspondingly, UDM receives the first message from SMF. The first message is used to request address information that meets at least one of the parameters. Optionally, the first message may also indicate that the first address information is stored.
[0225] S711, UDM sends the first address information to SMF. Correspondingly, SMF receives the first address information from UDM.
[0226] For example, if the first address information meets at least one parameter, then the UDM can send the first address information back to the SMF.
[0227] S712, the SMF sends a first session establishment acceptance message to the UE. This first session establishment acceptance message can also be called a session activation acceptance message. Accordingly, the UE receives the first session establishment acceptance message from the SMF. This first session establishment acceptance message indicates that a first session has been activated for the UE, and it also indicates first address information. Optionally, the first session establishment acceptance message can be an example of a message that includes first address information.
[0228] S713, UDM deletes the first address information. Optionally, UDM may also retain the first address information based on the content of the first address information stored as indicated by the first message.
[0229] Optionally, after S712 or S713, the SMF can notify the UDM to delete the first address information.
[0230] S710, S711, and S713 are all optional steps. Figure 7 The middle part is indicated by a dashed line.
[0231] In this embodiment, the SMF can reassign the address information of the session before re-registration to the UE, thus reducing service interruption time in the event of session connection interruption. Furthermore, the SMF proactively triggers and determines UE reactivation, enabling the UE to reactivate promptly.
[0232] The following is combined Figure 8 The schematic diagram of the communication method shown is for the embodiments of this application. Figure 5 Examples of the communication methods involved are introduced. Figure 8 Taking the terminal device as UE, the first communication device as UDM, and the second communication device as SMF as an example. Figure 6 The difference is, Figure 8 The example given is AMF triggering terminal device re-registration. Of course, besides AMF, other core network elements can also trigger terminal device re-registration; this is not limited. The following section... Figure 8 The steps involved will be described.
[0233] S801. The UE sends a second session establishment request message to the SMF, and the SMF receives the second session establishment request message from the UE accordingly. The content of the second session establishment request message can be found in the previous text. Figure 5 The content of the second session establishment request message discussed in the illustrated embodiment will not be listed here.
[0234] Optionally, the second session establishment request message may further indicate the storage of address information for the requested session. Optionally, the second session establishment request message may also indicate the storage of parameters for the established session. Optionally, the UE may determine whether the second session request message indicates the storage of address information for the requested session based on service information. For example, if the UE determines that the priority of the service corresponding to the requested session is greater than the first priority based on service priority, then it can determine that the second session request message also indicates the storage of address information for the requested session.
[0235] S802, the SMF sends a second session establishment acceptance message to the UE. Correspondingly, the UE receives the second session establishment acceptance message from the SMF.
[0236] S803, SMF sends a sixth message to UDM, and correspondingly, UDM receives the sixth message from SMF. The sixth message indicates (indicates the storage of the first address information) and at least one parameter. Optionally, the sixth message and the preceding text... Figure 5The third information in the illustrated method embodiment can be the same information, and there is no limitation on this. Alternatively, the sixth information can be used as an example of the third information.
[0237] If the second session establishment request message also indicates that the address information of the requested session be stored, then the SMF sends the sixth message to the UDM. Alternatively, if the second session establishment request message does not indicate that the address information of the requested session be stored, the SMF may also retain the address information of the established session by default and send the sixth message to the UDM. In this way, the UDM can store the first indication information and at least one parameter based on the sixth message, thus obtaining the first association.
[0238] The steps S801 to S803 described above are illustrative examples of a method for the first communication device to obtain the first association relationship. In reality, there are multiple ways to obtain the first association relationship, and this is not limited to any particular method. That is, S801 to S803 are optional steps. Figure 8 The middle part is indicated by a dashed line.
[0239] S804. AMF determines UE re-registration. For example, if the AMF cannot find the UE's context information based on the UE's temporary identifier (such as a globally unique temporary identifier), or if data transmission between the AMF and the UE fails, the AMF can determine to trigger UE reactivation. Alternatively, if the AMF determines that the AMF has been restarted or updated, the AMF can determine to trigger UE re-registration.
[0240] S805 and AMF send a re-registration instruction to UDM. Correspondingly, UDM receives this re-registration instruction. This re-registration instruction can be used as a reference in the preceding text. Figure 5 An example of the eighth piece of information involved.
[0241] S806 and UDM start the first timer. The contents of the first timer can be found in the previous text. Figure 5 The contents of the first timer in the method embodiment shown are not listed here.
[0242] S807, AMF sends a second message to UE. Correspondingly, UE receives the second message from AMF.
[0243] S808, UE releases the context information of the first session. The UE can release the context information of the first session based on the indication of the second information.
[0244] The above steps S804 to S808 are examples of the process of triggering terminal device reactivation. In reality, there are many other ways for a terminal device to initiate reactivation, which are not limited here. That is, steps S804 to S808 are all optional.
[0245] In another possible implementation, if the UE is in a disconnected state, the SMF does not need to send the second information to the UE, and the UDM can directly delete the first address information.
[0246] S809, the UE sends a first session establishment request message to the SMF. Correspondingly, the SMF receives the first session establishment request message from the UE. The content of the first session establishment request message can be found in the preceding text. Figure 5 The content of the first session establishment request message involved is not listed here.
[0247] S810, SMF sends a first message to UDM. Correspondingly, UDM receives the first message from SMF. The first message is used to request address information that meets at least one parameter. Optionally, the first message may also indicate the storage of first address information. In this embodiment, the first message includes first information, which indicates at least one parameter. Alternatively, the first message in this embodiment can be considered an example of a message including first information.
[0248] S811, UDM sends the first address information to SMF. Correspondingly, SMF receives the first address information from UDM.
[0249] For example, if the first address information meets at least one parameter, then the UDM can send the first address information back to the SMF.
[0250] S812, the SMF sends a first session establishment acceptance message to the UE. Correspondingly, the UE receives the first session establishment acceptance message from the SMF. This first session establishment acceptance message indicates that a session has been established for the UE, and also indicates that the address information of the established session is the first address information. Optionally, the first session establishment acceptance message can be an example of a message including the first address information.
[0251] S813, UDM deletes the first address information. Optionally, UDM may also retain the first address information based on the content of the first address information stored as indicated by the first message.
[0252] Optionally, after S812 or S813, the SMF can notify the UDM to delete the first address information.
[0253] S809, S812, and S813 are all optional steps. Figure 8 The middle part is indicated by a dashed line.
[0254] In this embodiment, the UDM can reassign the address information of the session before re-registration to the UE, thus reducing service interruption time in the event of session connection interruption. Furthermore, the AMF can proactively trigger UE reactivation, enabling timely UE reactivation, which relatively reduces the processing load of the UDM or SMF.
[0255] The following is combined Figure 9 The diagram shown illustrates the method for deleting the first address information, and describes the process of deleting the first address information. Figure 9 The UDM involved can be used as an example of a first communication device, and the SMF can be used as an example of a second communication device.
[0256] S901, the UE communicates with the network (such as SMF and / or UDM) through the first address information.
[0257] S902, UDM determines whether the UE needs to be re-registered or reactivated.
[0258] S903, UDM starts the second timer.
[0259] S904. If the second timer times out and the UDM does not receive the third session establishment request message, then the first address information is deleted. The content of the third session establishment request message can be referred to the content of the third session establishment request message discussed above, and will not be listed here again.
[0260] In one possible implementation, Figure 9 The steps involved are as follows Figure 5 , Figure 6 , Figure 7 or Figure 8 Possible implementations in any of the method embodiments.
[0261] The above Figure 9 The steps described are examples of methods for deleting the first address information. In practice, the first communication device may not delete the first address information, or may use other methods to delete the first address information. In short, Figure 9 Each step involved is optional for the communication method provided in the embodiments of this application, i.e. Figure 9 The various steps involved can be considered as described above. Figure 5 , Figure 6 , Figure 7 or Figure 8 Possible implementations of any of the method embodiments.
[0262] Based on the same inventive concept, embodiments of this application provide a communication device. The following describes... Figure 10 and Figure 11The following describes any of the illustrated communication devices. This communication device may be, for example, the first or second communication device discussed above, etc. Figure 2 The SMF involved or Figure 4 The first communication device involved, such as Figure 4 The first communication device involved may be... Figure 1 or Figure 2 The terminal equipment involved, or Figure 4 The second communication device involved, such as Figure 4 The second communication device in the first possible scenario may be... Figure 2 The UDM involved or Figure 4 The first communication device involved, such as Figure 4 The first communication device in the second possible scenario may be... Figure 2 The SMF involved, Figure 4 The second communication device involved, such as Figure 4 The second communication device in the second possible scenario may be a module in such communication device, and this is not limited thereto.
[0263] like Figure 10 As shown, the communication device 1000 may include modules or units for implementing the methods described in the embodiments above. In one possible design, the communication device 1000 includes a processing unit 1010 and a communication unit 1020. The communication unit 1020 is used to perform transmit and receive operations, such as functions related to sending and receiving; the communication unit 1020 may be referred to as a transceiver unit; optionally, the communication unit 1020 includes a receiving unit and a transmitting unit. The processing unit 1010 is used to perform processing operations. Alternatively, the communication unit 1020 may be a transmitter and a receiver, or the communication unit 1020 may be a transmitter and a receiver. Optionally, the communication device 1000 may also include a storage unit 1030. The storage unit 1030 is used to store the device's program code or data.
[0264] In a first possible implementation, the communication device 1000 can be as described above. Figures 5 to 8 The first communication device in any of the method embodiments shown, the modules (such as communication modules, circuits or chips) in the first communication device, or the apparatus that implements the function of the first communication device.
[0265] In the above embodiment, the communication unit 1020 is used to receive first information and send first address information.
[0266] Communication device 1000 can also achieve the above-mentioned Figures 5 to 8Other steps performed by the first communication device in any of the illustrated method embodiments are not listed here. Optionally, the communication device 1000 may also perform... Figure 9 The steps performed by the UDM in the relevant implementation methods.
[0267] In a second possible implementation, the communication device 1000 can be as described above. Figures 5 to 8 The second communication device in any of the method embodiments shown, the modules (such as communication modules, circuits or chips) in the second communication device, or the device that implements the function of the second communication device.
[0268] In the above embodiments, the communication unit 1020 is used to send first information and receive first address information.
[0269] Communication device 1000 can also achieve the above-mentioned Figure 9 The steps performed by the SMF in the implementation methods involved.
[0270] In one possible design, when the communication device 1000 is a terminal device, a communication module within a terminal device, an access network device, or a communication module within an access network device, the function of the processing unit 1010 can be implemented by one or more processors. Specifically, the processor may include a modem chip, or a SoC chip or SIP chip containing a modem core. The function of the communication unit 1020 can be implemented by transceiver circuitry.
[0271] In one possible design, when the communication device 1000 is a circuit or chip responsible for communication functions in a terminal device, or a circuit or chip responsible for communication functions in an access network device, such as a modem chip or a system-on-a-chip (SoC) chip or SIP chip containing a modem core, the function of the processing unit 1010 can be implemented by a circuit system including one or more processors or processor cores in the aforementioned chip. The function of the communication unit 1020 can be implemented by interface circuits or data transceiver circuits on the aforementioned chip.
[0272] It is understood that the division of units in the above-described device is merely a logical functional division. Each function can correspond to a functional unit, or two or more functions can be integrated into one functional unit. In actual implementation, all or some units can be integrated into a single physical entity, or they can be distributed across different physical entities. Furthermore, the aforementioned functional units can be implemented in hardware, software, or a combination of both. Whether a function is executed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0273] In one example, the functional unit in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as: one or more ASICs, or one or more CPUs, one or more microcontroller units (MCUs), one or more DSPs, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
[0274] In one example, storage unit 1030 may include random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory and / or registers, etc.
[0275] The following is about Figure 11 The communication device shown is described below. Figure 11 As shown, the communication device 1100 includes a processor 1111. Optionally, the communication device 1100 also includes an interface circuit 1120 and a memory 1130. The processor 1111 and the interface circuit 1120 are coupled to each other. It is understood that the interface circuit 1120 can be a transceiver or an input / output interface. The memory 1130 is used to store instructions executed by the processor 1111, or to store input data required by the processor 1111 to run instructions, or to store data generated after the processor 1111 runs instructions. The interface circuit 1120 and the memory 1130 are optional modules. Figure 11 The image is indicated by a dashed box. Additionally... Figure 11 The example given is a processor 1111 and a memory 1130, but the actual number of processors 1111 and memory 1130 is not limited.
[0276] In one possible implementation, the communication device 1100 is used to implement the foregoing. Figures 5 to 8 The steps performed by the first communication device in any of the illustrated method embodiments will not be listed individually here. Optionally, the communication device 1100 may also perform... Figure 9 The steps performed by the UDM in the relevant implementation methods.
[0277] In one possible implementation, the communication device 1100 is used to implement the foregoing. Figures 5 to 8 The steps performed by the second communication device in any of the illustrated method embodiments will not be listed individually here. Optionally, the communication device 1100 may also perform... Figure 9 The steps performed by the SMF in the embodiments involved.
[0278] Optionally, the processor 1111 is used to implement the functions of the processing unit 1010, and the interface circuit 1120 is used to implement the functions of the communication unit 1020.
[0279] When the aforementioned communication device 1100 is a chip applied to a device (such as the terminal device or network device mentioned above), the device chip implements the functions of the device in the above method embodiments. The device chip receives information from other modules (such as radio frequency modules or antennas) within the device, the information being sent to the device by other devices; or, the device chip sends information to other modules (such as radio frequency modules or antennas) within the device, the information being sent to other devices by the device. Here, the communication device 1100 can be a baseband chip of a device, or a DU or other module, where the DU can be a DU under an O-RAN architecture.
[0280] The processor 1111 can be a central processing unit (CPU), or other general-purpose processors, DSPs, ASICs, FPGAs, or other programmable logic devices, transistor logic devices, or graphics processing units (GPUs), hardware components, or any combination thereof. A general-purpose processor can be a microprocessor or any conventional processor. Furthermore, the memory involved in the various embodiments of this application can include volatile memory, such as random access memory (RAM). The memory can also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drives (HDDs), or solid-state drives (SSDs).
[0281] Based on the same inventive concept, embodiments of this application provide a communication system. The communication system includes: a first communication device and a second communication device.
[0282] The first communication device can achieve 5 to Figure 8 The function of the first communication device in any of the involved method embodiments. Optionally, the first communication device may also perform... Figure 9 The steps performed by the UDM in the relevant implementation methods.
[0283] The second communication device can achieve Figures 5 to 8 The function of the second communication device in any of the involved method embodiments. Optionally, the second communication device may also perform... Figure 9 The steps performed by the SMF in the implementation methods involved.
[0284] For example, the first communication device is an SMF, and the second communication device is a UE. Optionally, the communication system may also include a UDM. Alternatively, for example, the first communication device is a UDM, the second communication device is an SMF, and optionally, the communication system may also include a UE. The functions implemented by the UE, SMF, and UDM can be referred to the preceding text. Figures 5 to 8 The functions implemented by any of the involved UEs, SMFs, and UDMs.
[0285] Based on the same inventive concept, embodiments of this application provide a chip system comprising a processor and an interface. The processor is used to call and execute instructions from the interface, and when the processor executes the instructions, it implements the aforementioned... Figures 5 to 8 The steps involved in any of the illustrated method embodiments. Optionally, the chip system may also implement the steps described above. Figure 9 The steps involved in one or more embodiments.
[0286] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium for storing computer programs or instructions that, when executed, implement the above-described functionality. Figures 5 to 8 The steps involved in any of the illustrated method embodiments.
[0287] Based on the same inventive concept, embodiments of this application provide a program product, which, when executed, enables the processor to implement the above-described... Figures 5 to 8 The steps involved in any of the illustrated method embodiments. The program product is, for example, a computer program product, specifically, a computer program and / or instructions. The processor is, for example, a processor running in a computer. Optionally, the processor may also implement the foregoing... Figure 9 The steps involved in one or more embodiments.
[0288] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium can be volatile or non-volatile, or it can include both types of storage media. Some or all of the steps of the communication method in the embodiments of this application can be implemented by a GPU, or by a GPU in conjunction with other processors.
[0289] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0290] The various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be based on its function and internal logic.
Claims
1. A communication method, characterized in that, include: Receive first information, wherein the first information indicates at least one parameter, the at least one parameter being a parameter for a session that the terminal device requests to establish or activate; Send first address information, the first address information satisfies at least one of the parameters, the first address information is the address information of a first session, and the first address information is used as the address information of a session that the terminal device requests to establish or activate, the first session is a session that the terminal device has released.
2. The method according to claim 1, characterized in that, The first information is included in a first session establishment request message, which is used by the terminal device to request the establishment or activation of a session; or, The first information is included in a first message, which is used to request address information that meets at least one of the parameters.
3. The method according to claim 1 or 2, characterized in that, Before receiving the first information, the method further includes: Release the context information of the first session; Send a second message, which is used to instruct the terminal device to perform re-registration or to instruct the terminal device to reactivate the first session.
4. The method according to claim 3, characterized in that, Send the first address information, including: If the first timer has not expired, the first address information is sent, wherein the first timer is started at a first time, and the first time is determined based on the time when the second information is sent.
5. The method according to claim 3 or 4, characterized in that, Before releasing the context information of the first session, the method further includes: Receive a second session establishment request message, which is used to request the establishment or activation of the first session; Establish the first session and store the first address information and the at least one parameter; and / or establish the first session and send third information, the third information indicating that the first address information and the at least one parameter are stored.
6. The method according to claim 5, characterized in that, The second session establishment request message is also used to request the storage of the address information of the first session.
7. The method according to any one of claims 1-6, characterized in that, Before sending the first address information, the method further includes: Send a fourth message, which requests the address information of a session that satisfies at least one of the parameters; Receive the fifth message, which indicates the first address information.
8. The method according to any one of claims 1-4, characterized in that, Before receiving the first information, the method further includes: Receive a sixth message, the sixth message indicating that the first address information and the at least one parameter are stored; Store the first address information and the at least one parameter.
9. The method according to any one of claims 1-8, characterized in that, The at least one parameter includes at least one of the following: The data network name corresponding to the first session; The identifier of the slice corresponding to the first session; or, The address type corresponding to the first address information.
10. The method according to any one of claims 1-9, characterized in that, After sending the first address information, the method further includes: If the slice subscribed to by the terminal device changes from the first slice to the second slice, the first address information is deleted, and the first slice is the slice corresponding to the first session.
11. The method according to any one of claims 3-5, characterized in that, Releasing the context information of the first session includes: releasing the context information of the first session in the event of communication failure with the terminal device; After sending the first address information, the method further includes: Communicating with the terminal device based on the first address information; If the terminal device requests to deactivate the first session, or if the terminal device requests to register, delete the first address information.
12. The method according to any one of claims 1-9, characterized in that, After sending the first address information, the method further includes: Communicating with the terminal device based on the first address information; If a communication anomaly is detected with the terminal device, the context information of the first session is released, and a seventh message is sent, the seventh message being used to instruct the terminal device to perform re-registration or to instruct the terminal device to reactivate the first session; If no third session establishment request message is received from the terminal device within the timeout period of the second timer, the first address information is deleted. The second timer is started at a second time, which is determined based on the time when the seventh information is sent. The third session establishment request message is used to request the establishment or activation of the first session, and the third session establishment request message indicates at least one parameter.
13. A communication method, characterized in that, include: Send a first session establishment request message, which is used to request the establishment or activation of a session, wherein the first session establishment request message indicates at least one parameter, which is a parameter that the terminal device requests to establish or activate the session. Receive first address information, wherein the first address information satisfies at least one of the parameters, and the first address information is used as address information for a session that the terminal device requests to establish or activate, the first address information is address information of a first session, and the first session is a session that the terminal device has released.
14. The method according to claim 13, characterized in that, Before sending the first session establishment request message, the method further includes: Receive second information, the second information being used to instruct the terminal device to perform re-registration, or to instruct the terminal device to reactivate the first session; Release the context information of the first session.
15. The method according to claim 14, characterized in that, Before receiving the second information, the method further includes: Send a second session establishment request message, which is used to request the establishment or activation of the first session, and is also used to request the storage of the address information of the established first session.
16. The method according to any one of claims 13-15, characterized in that, The at least one parameter includes at least one of the following: The data network name corresponding to the first session; The identifier of the slice corresponding to the first session; or, The type of address corresponding to the first address information.
17. A communication method, characterized in that, include: Send a first message, wherein the first message indicates at least one parameter, the at least one parameter being a parameter of a session requested by the terminal device; The device receives first address information, which satisfies at least one of the parameters, and the first address information is used as the address information of a session requested by the terminal device. The first address information is the address information of a first session, and the first session is a session that has been released by the terminal device.
18. A communication device, characterized in that, The device includes one or more processors, which are configured to execute computer programs or instructions in memory, such that the communication device implements the method as claimed in any one of claims 1-12, the method as claimed in any one of claims 13-16, or the method as claimed in claim 17.
19. A computer program product, characterized in that, When the computer program product is executed, it causes the processor to perform the method as claimed in any one of claims 1-12, implement the method as claimed in any one of claims 13-16, or implement the method as claimed in claim 17.
20. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions, which, when executed by a communication device, implement the method as described in any one of claims 1-12, the method as described in any one of claims 13-16, or the method as described in claim 17.
