Session processing method and device, storage medium, communication equipment and chip

By receiving and processing the PDU session release command of the network device on the terminal side, especially when the PTI value is a reserved value, synchronous processing and mobile registration update process are performed, which solves the problem of inconsistent PDU session status between the terminal and the network device, prevents data loss, and improves user experience.

CN120658784APending Publication Date: 2025-09-16BEIJING X RING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510830155.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-09-16

Smart Images

  • Figure CN120658784A_ABST
    Figure CN120658784A_ABST
Patent Text Reader

Abstract

The invention provides a session processing method and device, a storage medium and a chip, and relates to the technical field of communication, and the method comprises the steps that a terminal receives a PDU session release command sent by network equipment, and the release command comprises a PTI value; if it is determined that the PTI value is a first value and the first value is used for indicating that the release command is discarded, the release command is not discarded immediately, but the PDU session bearer between the terminal and the network equipment is synchronized, so that the bearer information between the terminal and the network setting is consistent. Through application of the technical scheme of the invention, the terminal and the network can keep synchronization of PDU session bearing information at any time, the loss of uplink data packets caused by data path abnormity is prevented, and the use experience of a user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technologies, and in particular to a session processing method, apparatus, storage medium, communication equipment, and chip. Background Art

[0002] A Protocol Data Unit (PDU) is a unit of data transmitted between different protocol layers. Its specific format and content vary depending on the protocol layer. A PDU session is a connection between a terminal and a data network (DN) that enables the transmission of data packets. Through a PDU session, a terminal can access various data networks, such as the Internet and enterprise intranets, to transmit voice, video, and data services. Summary of the Invention

[0003] The present disclosure provides a session processing method, apparatus, storage medium, communication device and chip, the main purpose of which is to enable the terminal to always synchronize PDU session bearer information with the network to prevent the loss of uplink data packets caused by data path anomalies.

[0004] According to a first aspect of an embodiment of the present disclosure, a session processing method is provided, which is performed by a terminal side. The method includes:

[0005] receiving a release command of a PDU session sent by a network device, wherein the release command includes a Procedure Transaction Identity (PTI) value;

[0006] Determine the PTI value as a first value, where the first value is used to indicate that the release command is to be discarded;

[0007] The PDU session bearer between the terminal and the network device is synchronized so that the bearer information between the terminal and the network device is consistent.

[0008] In some embodiments of the first aspect, the release command further includes a PDU session identifier (PSI);

[0009] Before synchronizing the PDU session bearer between the terminal and the network device, the method further includes:

[0010] The PSI is determined to be valid.

[0011] In some embodiments of the first aspect, the synchronizing the PDU session bearer between the terminal and the network device includes:

[0012] Query the PDU session context corresponding to the PSI;

[0013] The PDU session context is released, and the PDU session bearer information between the terminal and the network device is synchronized by triggering a mobile registration update process.

[0014] In some embodiments of the first aspect, the synchronizing the PDU session bearer between the terminal and the network device includes:

[0015] A release completion response of the PDU session is sent to the network device, where the release completion response carries the PSI and the PTI values.

[0016] In some embodiments of the first aspect, after sending a release completion response of the PDU session to the network device, the method further includes:

[0017] The PDU session bearer information between the terminal and the network device is synchronized by triggering a mobile registration update process.

[0018] In some embodiments of the first aspect, determining that the PSI is valid includes:

[0019] In response to the terminal having a local bearer setting for a PDU session corresponding to the PSI, it is determined that the PSI is valid.

[0020] In some embodiments of the first aspect, the first value is a reserved value.

[0021] According to a second aspect of an embodiment of the present disclosure, a session processing method is provided, which is performed by a network device side. The method includes:

[0022] Sending a release command of the PDU session to the terminal, the release command including a PTI value, the PTI value being a first value, and the first value being used to indicate that the release command is to be discarded;

[0023] Synchronize the PDU session bearer with the terminal to ensure that the bearer information between the terminal and the network setting is consistent.

[0024] In some embodiments of the second aspect, the release command also includes a PDU session identifier PSI.

[0025] In some embodiments of the second aspect, the performing synchronization processing of the PDU session bearer with the terminal includes:

[0026] A release completion response of the PDU session sent by the terminal is received, where the release completion response carries the PSI and the PTI value.

[0027] In some embodiments of the second aspect, the performing synchronization processing of the PDU session bearer with the terminal includes:

[0028] A mobile registration update process initiated by the terminal is received to synchronize PDU session bearer information between the terminal and the network device.

[0029] In some embodiments of the second aspect, the first value is a reserved value.

[0030] According to a third aspect of an embodiment of the present disclosure, a session processing device is provided, which is applied to a terminal, and the device is configured to execute the method described in the first aspect.

[0031] According to a fourth aspect of an embodiment of the present disclosure, a session processing apparatus is provided, which is applied to a network device, and the apparatus is configured to execute the method described in the second aspect.

[0032] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect or the second aspect is implemented.

[0033] According to the sixth aspect of an embodiment of the present disclosure, a communication device is provided, comprising: a transceiver; a memory; and a processor, connected to the transceiver and the memory, respectively, and configured to control the wireless signal reception and transmission of the transceiver by executing computer-executable instructions on the memory, and capable of implementing the method described in the first aspect or the second aspect.

[0034] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect or the second aspect is implemented.

[0035] According to an eighth aspect of an embodiment of the present disclosure, a chip is provided, comprising at least one processor and a communication interface; the communication interface is used to receive signals input into the chip or signals output from the chip, the processor communicates with the communication interface and implements the method described in the first aspect or the second aspect through logic circuits or executing code instructions.

[0036] By means of the above technical solution, the present disclosure provides a session processing method, apparatus, storage medium, communication equipment and chip. Specifically, the terminal receives a release command of a PDU session sent by a network device, and the release command includes a PTI value; if it is determined that the PTI value is a first value, and the first value is used to indicate that the release command is to be discarded, the release command is not discarded immediately, but the PDU session bearer between the terminal and the network device is synchronized so that the bearer information between the terminal and the network setting is consistent. By applying the technical solution of the present disclosure, the terminal can always keep the PDU session bearer information synchronized with the network, prevent the loss of uplink data packets caused by data path abnormalities, and improve the user experience.

[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0039] Figure 1 A flow chart of a session processing method provided by an embodiment of the present disclosure is shown;

[0040] Figure 2 A flow chart of another session processing method provided by an embodiment of the present disclosure is shown;

[0041] Figure 3 A schematic diagram showing an example provided by an embodiment of the present disclosure;

[0042] Figure 4 A flow chart illustrating another session processing method provided by an embodiment of the present disclosure is shown;

[0043] Figure 5 A schematic diagram showing another example provided by an embodiment of the present disclosure;

[0044] Figure 6 A flow chart of another session processing method provided by an embodiment of the present disclosure is shown;

[0045] Figure 7 A schematic structural diagram of a session processing device provided by an embodiment of the present disclosure is shown;

[0046] Figure 8 A schematic structural diagram of another session processing device provided by an embodiment of the present disclosure is shown;

[0047] Figure 9 A schematic structural diagram of a communication device provided by an embodiment of the present disclosure is shown;

[0048] Figure 10 A schematic structural diagram of a chip provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0049] Some embodiments of the present disclosure will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Various changes, modifications and equivalents of the methods, devices and / or systems described herein will become apparent after understanding the present disclosure. For example, the order of operations described herein is merely an example and is not limited to those orders set forth herein, but may be changed as becomes apparent after understanding the present disclosure, except for operations that must be performed in a specific order. In addition, for the sake of clarity and brevity, descriptions of features known in the art may be omitted. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other unless there is a conflict.

[0050] To facilitate understanding, the terms involved in the embodiments of the present disclosure are first introduced.

[0051] 1. New Radio (NR)

[0052] NR is a global 5G standard based on a completely new air interface design using Orthogonal Frequency Division Multiplexing (OFDM). It is also a crucial foundation for the next generation of cellular mobile technology. Like 2G, 3G, and 4G mobile networks, 5G networks are digital cellular networks in which the service area covered by a provider is divided into numerous small geographic areas called cells. The main advantage of 5G networks is that they offer data rates far higher than previous cellular networks, reaching up to 10Gbit / s. This is faster than current wired internet and 100 times faster than the previous 4G Long Term Evolution (LTE) cellular network. Another advantage is lower network latency (faster response time), less than 1 millisecond, compared to 30-70 milliseconds for 4G. Due to this faster data transmission speed, 5G networks will not only serve mobile phones but will also become general home and office network providers, competing with wired network providers.

[0053] 2. PDU Session

[0054] As the carrier of NR services, PDU sessions refer to the logical connection established between the terminal and the data network (network equipment). Through PDU sessions, users can access various services and applications, such as the Internet and enterprise networks. Abnormalities in the bearer between the terminal and the network equipment will inevitably cause abnormalities in service transmission. Therefore, it is necessary to consider the establishment and release of PDU sessions between the terminal and the network equipment.

[0055] 3. Procedure Transaction Identity (PTI)

[0056] The PTI is used to identify a complete signaling interaction in Non-Access Stratum (NAS) messages between a terminal and network devices. Each time a NAS signaling process requiring a response is initiated (such as a PDU session release command), a unique PTI value is assigned to identify the transaction. This allows the network and terminal to match request and response messages using the PTI.

[0057] The following describes some embodiments of the present disclosure. It should be noted that the embodiments described in the following embodiments of the present disclosure do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0058] In the related art, for a PDU session that has been established between a terminal and a network device, it is possible that the network device proactively initiates a release command for the PDU session, and the carried PTI value is used to instruct the terminal to discard the message that processes the release command. There are many reasons for this situation. One reason is that the network device does need to release the PDU session, but carries an abnormal PTI value, that is, it does not instruct the terminal to discard the message that processes the release command; another reason is that the network device does not need to release the PDU session, but the message is sent incorrectly. Regardless of the reason, the network device will eventually not receive a release completion response for the PDU session, and is likely to resend the release command for the PDU session. After multiple release attempts, the network device may eventually release the bearer of the PDU session locally, but the terminal may not release the bearer of the PDU session locally, resulting in inconsistency between the PDU session status information carried by the terminal and the network side. If the terminal transmits information to the network device on the bearer of the PDU session, information transmission anomalies will occur.

[0059] In order to improve the technical problems in the above-mentioned related technologies. The present disclosure provides a session processing method, such as Figure 1 As shown, Figure 1 This is a flowchart of a session processing method according to some embodiments of the present disclosure, which includes the following steps.

[0060] Step 101: Receive a PDU session release command sent by a network device.

[0061] The execution subject of this embodiment may be a session processing device or equipment, such as a communication device or chip, which may be configured on the terminal side.

[0062] In some examples, the terminal may be referred to as a terminal device (terminal), user equipment (UE), mobile station (MS), mobile terminal device (MT), etc. The terminal may also be a car with communication capabilities, a smart car, a mobile phone, a wearable device, a tablet computer (Pad), a computer with wireless transceiver capabilities, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self-driving (self-driving), a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in a smart city (smart city), a wireless terminal device in a smart home (smart home), etc. This embodiment does not limit the specific technology and specific device form adopted by the terminal.

[0063] In some examples, the network device may be a base station, a satellite, or other equipment, which is not specifically limited in this embodiment. The network device may be an entity on the network side for transmitting or receiving signals. For example, the network device may be a communication satellite, an evolved NodeB (eNB), a transmission reception point (TRP), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the network device. The network device provided in this embodiment may be composed of a centralized unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit. The CU-DU structure may be used to split the protocol layer of a network device, such as a base station, and the functions of some protocol layers are centrally controlled by the CU, while the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DU is centrally controlled by the CU.

[0064] The embodiments of the present disclosure can be applied to satellite communications, Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G NR, Future Radio Access (FRA), New-Radio Access Technology (RAT), New Radio (NR), New Radio Access (NX), Future generation radio access (FX), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.17 (WiMAX (registered trademark)), IEEE 802.18 (WiMAX (registered trademark)), IEEE 802.19 (WiMAX (registered trademark)), IEEE 802.20 (WiMAX (registered trademark)), IEEE 802.21 (WiMAX (registered trademark)), IEEE 802.22 (WiMAX (registered trademark)), IEEE 802.23 (WiMAX (registered trademark)), IEEE 802.24 (WiMAX (registered trademark)), IEEE 802.25 (WiMAX (registered trademark)), IEEE 802.26 (WiMAX (registered trademark)), IEEE 802.27 (WiMAX (registered trademark)), IEEE 802.28 (WiMAX (registered trademark)), IEEE 802.29 (WiMAX (registered trademark)), IEEE 802.30 (WiMAX (registered trademark)), IEEE 802.31 (WiMAX (registered trademark)), IEEE 802.32 (WiMAX (registered trademark)), IEEE 802.33 (WiMAX (registered trademark) 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) networks, Device-to-Device (D2D) systems, Machine-to-Machine (M2M) systems, Internet of Things (IoT) systems, Vehicle-to-Everything (V2X), systems utilizing other communication methods, and next-generation systems based on and extending these methods. Furthermore, multiple systems may be combined (for example, a combination of LTE or LTE-A with 5G).

[0065] In some embodiments, the network device sends a PDU session release (or deactivation, etc.) command to the terminal to instruct the terminal to release the PDU session. Correspondingly, the terminal receives the release command sent by the network device.

[0066] Step 102: Determine that the PTI value included in the release command is a first value, and the first value is used to indicate that the release command is to be discarded.

[0067] In some embodiments, the first value may be a reserved value, such as reserved value 255. When the terminal receives a message sent by the network device and the PTI value carried in the message is a reserved value, the terminal will discard the message in accordance with the communication protocol. However, if the terminal discards the message of the release command, the network device will not receive a release completion response for the PDU session, and is likely to resend the release command for the PDU session. After multiple release attempts, the network device may eventually release the bearer of the PDU session locally, but the terminal may not release the bearer of the PDU session locally, resulting in inconsistency between the PDU session status information carried by the terminal and the network side. For this reason, in the embodiment of the present disclosure, if it is determined that the PTI value included in the PDU session release command is used to indicate that the release command is discarded, then the process shown in step 103 can be executed.

[0068] Step 103: Synchronize the PDU session bearer between the terminal and the network device.

[0069] Furthermore, the bearer information between the terminal and the network settings is made consistent.

[0070] Compared with the existing technology, by applying the technical solution of the embodiment of the present invention, the terminal can always keep the PDU session carrying information synchronized with the network, that is, keep the PDU session status information carried by the terminal and the network side consistent, prevent the loss of uplink data packets caused by data path abnormalities, and improve the user experience.

[0071] Further, in order to illustrate the specific implementation process of the method of the embodiment of the present disclosure, as an optional method, the embodiment of the present disclosure provides the following Figure 2 The specific method shown, wherein the method includes:

[0072] Step 201: Receive a PDU session release command sent by a network device.

[0073] In some embodiments, the release command includes a PTI value and a PSI corresponding to the PDU session. The PSI is used to identify the PDU session. Upon receiving the release command for the PDU session, the terminal may determine whether the PTI value is a reserved value and whether the PSI is valid.

[0074] In some examples, the terminal may determine whether the PTI value is 255, and if the PTI value is 255, it may be determined that the PTI value is a reserved value.

[0075] In some examples, it may be determined whether the terminal has a local bearer setting for the PDU session corresponding to the PSI, thereby determining whether the PSI is valid. If it is determined that the terminal has a local bearer setting for the PDU session corresponding to the PSI, then the PSI is determined to be valid, that is, in response to the terminal having a local bearer setting for the PDU session corresponding to the PSI, the PSI is determined to be valid.

[0076] Step 202: When it is determined that the PTI value included in the release command is a reserved value and the PSI included in the release command is valid, query the PDU session context corresponding to the PSI.

[0077] For example, the terminal queries the PDU session context corresponding to the PSI in the local context.

[0078] Step 203: Release the retrieved PDU session context and trigger a mobile registration update process to synchronize PDU session bearer information between the terminal and the network device.

[0079] Among them, the Mobility Registration Update (MRU) process is a NAS process. The terminal re-registers with the network through this process, so that the PDU session bearer information between the terminal and the network equipment remains synchronized, preventing the loss of uplink data packets caused by data path anomalies, which can improve the user experience.

[0080] For example, taking 5G network as an example, Figure 3 As shown in the figure, the terminal is registered to the 5G network, which is the basis for all subsequent communications. On the application processor (AP) side of the terminal, the relevant parameters of the PDU session are configured by sending the AT+CGDCONT command to the communication processor (CP) side. These parameters may include access point name (APN), protocol type, etc. After successful configuration, a confirmation message "OK" is received. The AP side sends the AT+CGACT command to the CP side to activate a PDU session. The CP side initiates a PDU session establishment request (PDU SESSION ESTABLISHMENT REQUEST) to the network through the control plane (CP). The network accepts the request and returns a confirmation message (PDU SESSION ESTABLISHMENT ACCEPT), which contains psi=1, indicating that the PDU session has been successfully established. The terminal can transmit data on the established PDU session with psi=1.

[0081] In some cases, the network may release the PDU session abnormally. The network sends a release command (PDUSESSION RELEASE COMMAND) to the CP side, where psi=1 indicates the PDU session to be released, and pti=255 is a reserved value. After the terminal detects that pti is a reserved value, it will not discard the message immediately. Instead, it will query whether there is a PDU session context with a psi of 1 in the local context based on the valid psi carried in the PDU SESSION RELEASE COMMAND; if it can be found, the terminal will release the PDU session context locally, and then synchronize the bearer information on the terminal side and the network side by triggering the MRU process to keep the information on both ends consistent.

[0082] Compared with the existing technology, by applying the technical solution of the embodiment of the present invention, the terminal can always keep the PDU session carrying information synchronized with the network, that is, keep the PDU session status information carried by the terminal and the network side consistent, prevent the loss of uplink data packets caused by data path abnormalities, and improve the user experience.

[0083] Further, in order to illustrate the specific implementation process of the method of the embodiment of the present disclosure, as another optional method, the embodiment of the present disclosure provides the following Figure 4 The specific method shown, wherein the method includes:

[0084] Step 301: Receive a PDU session release command sent by a network device.

[0085] In some embodiments, the release command includes a PTI value and a PSI corresponding to the PDU session. The PSI is used to identify the PDU session. Upon receiving the release command for the PDU session, the terminal may determine whether the PTI value is a reserved value and whether the PSI is valid.

[0086] In some examples, the terminal may determine whether the PTI value is 255, and if the PTI value is 255, it may be determined that the PTI value is a reserved value.

[0087] In some examples, it may be determined whether the terminal has a local bearer setting for the PDU session corresponding to the PSI, thereby determining whether the PSI is valid. If it is determined that the terminal has a local bearer setting for the PDU session corresponding to the PSI, then the PSI is determined to be valid.

[0088] Step 302: When it is determined that the PTI value included in the release command is a reserved value and the PSI included in the release command is valid, a PDU session release completion response is sent to the network device.

[0089] For example, when the terminal detects that the PTI value is a reserved value and the PSI is valid, the terminal will not discard the message or release the PDU session context locally. Instead, it will send a release completion response of the PDU session to the network device. The release completion response carries the PSI and PTI values. After receiving the release completion response, the network device will no longer send a release command for the PDU session to the terminal. Based on the PSI and PTI values ​​carried in the release completion response, the network device will determine that there is an error in the PDU session release command it sent. If the PDU session needs to be released, it can send a PDU session release command carrying the correct PTI value.

[0090] Step 303: Triggering a mobile registration update process to synchronize PDU session bearer information between the terminal and the network device.

[0091] For example, taking 5G network as an example, Figure 5 As shown in the figure, the terminal is registered to the 5G network, which is the basis for all subsequent communications. On the application processor (AP) side of the terminal, the relevant parameters of the PDU session are configured by sending the AT+CGDCONT command to the communication processor (CP) side. These parameters may include access point name (APN), protocol type, etc. After successful configuration, a confirmation message "OK" is received. The AP side sends the AT+CGACT command to the CP side to activate a PDU session. The CP side initiates a PDU session establishment request (PDU SESSION ESTABLISHMENT REQUEST) to the network through the control plane (CP). The network accepts the request and returns a confirmation message (PDU SESSION ESTABLISHMENT ACCEPT), which contains psi=1, indicating that the PDU session has been successfully established. The terminal can transmit data on the established PDU session with psi=1.

[0092] In some cases, the network may release the PDU session abnormally. The network sends a release command (PDUSESSION RELEASE COMMAND) to the CP side, where psi=1 indicates the PDU session to be released, and pti=255 is a reserved value. After the terminal detects that pti is a reserved value, it will not discard the message immediately, nor will it release the PDU session context locally. Instead, it constructs a PDU session release complete (PDU SESSION RELEASECOMPLETE) response based on the parameters carried in the PDUSESSION RELEASE COMMAND and sends it to the network. The response may carry psi=1 and pti=255. The bearer information on the terminal side and the network side is then synchronized by triggering the MRU process to keep the information on both ends consistent.

[0093] Compared with the existing technology, by applying the technical solution of the embodiment of the present invention, the terminal can always keep the PDU session carrying information synchronized with the network, that is, keep the PDU session status information carried by the terminal and the network side consistent, prevent the loss of uplink data packets caused by data path abnormalities, and improve the user experience.

[0094] Furthermore, the embodiment of the present disclosure also provides another session processing method, which can be executed by the network device side, such as Figure 6 As shown, the following steps are included.

[0095] Step 401: The network device sends a PDU session release command to the terminal.

[0096] In some embodiments, the release command may include a PTI value.

[0097] In some examples, the PTI value may be a first value, where the first value may be used to indicate that the release command is to be discarded.

[0098] In some examples, the first value may be a reserved value.

[0099] In some embodiments, the release command also includes a PSI.

[0100] Step 402: Synchronize the PDU session bearer between the network device and the terminal.

[0101] Furthermore, the bearer information between the terminal and the network settings is made consistent.

[0102] In some embodiments, the network device may receive a PDU session release completion response sent by the terminal, which carries the PSI and PTI values. This allows the network device to determine that the PDU session release command it sent is incorrect. If the PDU session needs to be released, the network device may send a PDU session release command carrying the correct PTI value.

[0103] In some embodiments, the network device may receive a mobile registration update procedure initiated by the terminal to synchronize PDU session bearer information between the terminal and the network device.

[0104] In some embodiments, reference may be made to the steps and optional implementation methods of other embodiments recorded before or after the description corresponding to this embodiment, as well as other related parts in the description, which will not be repeated here.

[0105] Compared with the existing technology, by applying the technical solution of the embodiment of the present invention, the terminal can always keep the PDU session carrying information synchronized with the network, that is, keep the PDU session status information carried by the terminal and the network side consistent, prevent the loss of uplink data packets caused by data path abnormalities, and improve the user experience.

[0106] Figure 7 This is a block diagram of a session processing device according to some embodiments of the present disclosure, which can be applied to a terminal. Figure 7 The device includes: a transceiver module 41 and a processing module 42.

[0107] The transceiver module 41 is configured to receive a release command of a PDU session sent by a network device, wherein the release command includes a PTI value;

[0108] The processing module 42 is configured to determine that the PTI value is a first value, which is used to indicate that the release command is discarded; and synchronize the PDU session bearer between the terminal and the network device to make the bearer information between the terminal and the network setting consistent.

[0109] In some examples of this embodiment, the release command also includes PSI; the processing module 42 is further configured to determine whether the PSI is valid.

[0110] In some examples of this embodiment, the processing module 42 is specifically configured to query the PDU session context corresponding to the PSI; release the PDU session context, and synchronize the PDU session bearer information between the terminal and the network device by triggering the mobile registration update process.

[0111] In some examples of this embodiment, the processing module 42 is specifically configured to send a release completion response of the PDU session to the network device, where the release completion response carries the PSI and the PTI values.

[0112] In some examples of this embodiment, the processing module 42 is specifically configured to synchronize the PDU session bearer information between the terminal and the network device by triggering a mobile registration update process after sending a PDU session release completion response to the network device.

[0113] In some examples of this embodiment, the processing module 42 is further configured to determine that the PSI is valid in response to the terminal having a local bearer setting for a PDU session corresponding to the PSI.

[0114] In some examples of this embodiment, the first value is a reserved value.

[0115] Figure 8 This is a block diagram of a session processing device according to some embodiments of the present disclosure, which can be applied to network equipment. Figure 8 The device includes: a transceiver module 51 and a processing module 52.

[0116] The transceiver module 51 is configured to send a release command of the PDU session to the terminal, where the release command includes a PTI value, where the PTI value is a first value, and the first value is used to indicate that the release command is to be discarded;

[0117] The processing module 52 is configured to perform synchronization processing of the PDU session bearer with the terminal so that the bearer information between the terminal and the network setting is consistent.

[0118] In some examples of this embodiment, the release command also includes PSI.

[0119] In some examples of this embodiment, the processing module 52 is configured to receive a release completion response of the PDU session sent by the terminal, where the release completion response carries the PSI and the PTI values.

[0120] In some examples of this embodiment, the transceiver module 51 is further configured to receive a mobile registration update process initiated by the terminal to synchronize PDU session bearer information between the terminal and the network device.

[0121] In some examples of this embodiment, the first value is a reserved value.

[0122] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0123] Figure 9 1 is a schematic diagram of the structure of a communication device 1800 provided in this embodiment. Communication device 1800 can be a terminal device, a network device, a chip, a chip system, or a processor that supports a network device in implementing the above-mentioned method, or a chip, a chip system, or a processor that supports a user device in implementing the above-mentioned method. This device can be used to implement the method described in the above-mentioned method embodiment. For details, please refer to the description of the above-mentioned method embodiment.

[0124] The communication device 1800 includes: a transceiver; a memory; and a processor, which is connected to the transceiver and the memory respectively, and is configured to control the wireless signal reception and transmission of the transceiver by executing computer-executable instructions on the memory, and can implement the functions of any of the above method embodiments.

[0125] The communication device 1800 may include one or more processors 1801. The processor 1801 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit (CPU). The baseband processor may be used to process communication protocols and communication data, while the CPU may be used to control the communication device (e.g., a base station, a baseband chip, a terminal device, a terminal device chip, a DU or CU, etc.), execute computer programs, and process computer program data.

[0126] Optionally, the communication device 1800 may further include one or more memories 1802, on which a computer program 1804 may be stored. The processor 1801 executes the computer program 1804, causing the communication device 1800 to perform the method described in the above method embodiment. Optionally, the memory 1802 may also store data. The communication device 1800 and the memory 1802 may be provided separately or integrated together.

[0127] Optionally, the communication device 1800 may further include a transceiver 1805 and an antenna 1806. The transceiver 1805 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, and is configured to implement transceiver functions. The transceiver 1805 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, and is configured to implement a transmitting function.

[0128] Optionally, the communication device 1800 may further include one or more interface circuits 1807. The interface circuit 1807 is configured to receive code instructions and transmit the instructions to the processor 1801. The processor 1801 executes the code instructions to enable the communication device 1800 to perform the method described in the above method embodiment.

[0129] In one implementation, processor 1801 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or may be used for transmitting or delivering signals.

[0130] In one implementation, processor 1801 may store a computer program 1803. Computer program 1803, when executed on processor 1801, enables communication device 1800 to perform the method described in the above method embodiment. Computer program 1803 may be embedded in processor 1801, in which case processor 1801 may be implemented by hardware.

[0131] In one implementation, the communication device 1800 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in the present disclosure can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0132] The communication device described in the above embodiments may be a network device or a user device, but the scope of the communication device described in this disclosure is not limited thereto, and the structure of the communication device may not be limited thereto. Figure 9 The communication device may be a standalone device or may be part of a larger device. For example, the communication device may be:

[0133] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;

[0134] (2) a collection of one or more ICs, optionally including a storage component for storing data and computer programs;

[0135] (3) ASIC, such as modem;

[0136] (4) Modules that can be embedded in other devices;

[0137] (5) Receivers, terminal devices, intelligent terminal devices, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;

[0138] (6)Others, etc.

[0139] Based on the above embodiments, this embodiment also provides a chip, including at least one processor and a communication interface; the communication interface is used to receive signals input into the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method shown above through logic circuits or executing code instructions.

[0140] Figure 10 FIG is a schematic diagram of the structure of a chip 1000 for implementing the above-mentioned session processing method provided in this embodiment. Figure 10 The chip 1000 includes at least one communication interface 1001 and a processor 1002. The communication interface 1001 is used to receive signals input into the chip 1000 or signals output from the above chip 1000. The processor 1002 communicates with the communication interface 1001 and implements the session processing method described in the above embodiments of the present disclosure through logic circuits or executing code instructions.

[0141] Those skilled in the art will also appreciate that the various illustrative logical blocks and steps listed in the embodiments of the present disclosure may be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functionality for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of the present disclosure.

[0142] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, which implements the functions of any of the above method embodiments when executed by a computer processor.

[0143] The present disclosure also provides a computer program product, which, when executed by a computer, implements the functions of any of the above-mentioned method embodiments. For example, a computer program is stored thereon, and when executed by a computer processor, the computer program product implements the functions of any of the above-mentioned method embodiments.

[0144] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, the process or function according to the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. Available media may be magnetic media (eg, floppy disks, hard disks, tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state disks (SSDs)).

[0145] Those skilled in the art will understand that the various numerical numbers such as first and second involved in the present disclosure are only for the convenience of description and are not used to limit the scope of the embodiments of the present disclosure, and also indicate the order of precedence.

[0146] The at least one in the present disclosure can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in the present disclosure. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", and there is no order of precedence or size between the technical features described by "first", "second", "third", "A", "B", "C" and "D".

[0147] As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0148] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0149] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.

[0150] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions of this disclosure can be achieved. This is not limited herein.

[0151] In addition, it should be understood that the various embodiments described in the present disclosure may be implemented independently or in combination with other embodiments when the solution permits.

[0152] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments applied for herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians 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 disclosure.

[0153] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0154] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A session processing method, characterized in that: Executed by the terminal side, the method includes: Receiving a release command of a protocol data unit (PDU) session sent by a network device, wherein the release command includes a process transaction identifier (PTI) value; Determine the PTI value as a first value, where the first value is used to indicate that the release command is to be discarded; The PDU session bearer between the terminal and the network device is synchronized so that the bearer information between the terminal and the network device is consistent.

2. The method according to claim 1, characterized in that The release command also includes a PDU session identifier PSI; Before synchronizing the PDU session bearer between the terminal and the network device, the method further includes: The PSI is determined to be valid.

3. The method according to claim 2, characterized in that The synchronizing processing of the PDU session bearer between the terminal and the network device includes: Query the PDU session context corresponding to the PSI; The PDU session context is released, and the PDU session bearer information between the terminal and the network device is synchronized by triggering a mobile registration update process.

4. The method according to claim 2, characterized in that The synchronizing processing of the PDU session bearer between the terminal and the network device includes: A release completion response of the PDU session is sent to the network device, where the release completion response carries the PSI and the PTI values.

5. The method according to claim 4, characterized in that After sending a release completion response of the PDU session to the network device, the method further includes: The PDU session bearer information between the terminal and the network device is synchronized by triggering a mobile registration update process.

6. The method according to claim 2, characterized in that Determining that the PSI is valid includes: In response to the terminal having a local bearer setting for a PDU session corresponding to the PSI, it is determined that the PSI is valid.

7. The method according to any one of claims 1 to 6, characterized in that The first value is a reserved value.

8. A session processing method, characterized in that: Executed by a network device side, the method includes: Sending a release command of a protocol data unit (PDU) session to a terminal, where the release command includes a process transaction identifier (PTI) value, where the PTI value is a first value, and the first value is used to indicate that the release command is to be discarded; Synchronize the PDU session bearer with the terminal to ensure that the bearer information between the terminal and the network setting is consistent.

9. The method according to claim 8, characterized in that The release command also includes a PDU session identifier PSI.

10. The method according to claim 9, characterized in that The synchronous processing of the PDU session bearer with the terminal includes: A release completion response of the PDU session sent by the terminal is received, where the release completion response carries the PSI and the PTI value.

11. The method according to any one of claims 8 to 10, characterized in that The synchronous processing of the PDU session bearer with the terminal includes: A mobile registration update process initiated by the terminal is received to synchronize PDU session bearer information between the terminal and the network device.

12. The method according to any one of claims 8 to 11, characterized in that The first value is a reserved value.

13. A conversation processing device, characterized in that: Applied to a terminal, the apparatus is configured to execute the method according to any one of claims 1 to 7.

14. A conversation processing device, characterized in that: Applied to a network device, the apparatus is configured to execute the method according to any one of claims 8 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 or 8 to 12 is implemented.

16. A communication device, wherein: include: A transceiver, a memory, and a processor, wherein the processor is connected to the transceiver and the memory, respectively, and the processor is configured to control the wireless signal reception and transmission of the transceiver by executing computer-executable instructions on the memory, and can implement the method according to any one of claims 1 to 7 or 8 to 12.

17. A chip, characterized in that: The method comprises at least one processor and a communication interface; the communication interface is used to receive signals input into the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method as described in any one of claims 1 to 7 or 8 to 12 through logic circuits or executing code instructions.