A session management method, user equipment, computer storage medium and system
By receiving the PDU session modification command and establishing the second PDU session in the 5G system, the uncertainty problem of the release strategy during the PDU session switching process in SSC mode 3 is solved, achieving continuous transmission of business flows and efficient use of resources, improving improve system performance.
Patent Information
- Application Number
- CN202210813026.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-03-29
AI Technical Summary
In the 5G system, during the PDU session switching process in SSC Mode 3, due to the uncertainty of the release strategy, service flow transmission is interrupted or resources are wasted, resulting in poor system performance.
By receiving the PDU session modification command, when it is detected that the number of established PDU sessions is less than the preset threshold, a second PDU session is established and the monitoring results are recorded, and the first PDU session is released based on the monitoring results, thereby uniformly initiating the release of the old PDU sessions.
It ensures the continuity of business flow transmission, shortens the time when new and old PDU sessions exist at the same time, avoids resource waste and transmission interruption, and improves system performance.
Smart Images

Figure CN115226176B_ABST
Abstract
Description
[0001] Description of the case
[0002] This application is a divisional application based on a patent application with application number 202110335241.1, application date March 29, 2021, and invention name “A session management method, user device, computer storage medium and system”. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a session management method, user equipment, computer storage medium and system. Background Art
[0004] With the rapid development of communication technology, the fifth generation (5G) mobile communication technology has been developed. In the 5G system, in order to ensure the reliability of data transmission, it supports the creation of multiple protocol data unit (PDU) sessions between user equipment (UE) and network equipment. Here, the service and session continuity (SSC) mode is an attribute of the PDU session in the 5G system, which is used to indicate the service flow continuity guarantee mode when the PDU session is transmitting services.
[0005] Currently, there are three values for the SSC mode, namely SSC mode 1, SSC mode 2 and SSC mode 3. When the network device decides to initiate the PDU session switching process of SSC mode 3, it means that the network side no longer wants to transmit service flows through the PDU session and can release it at any time. However, due to the uncertainty of the specific implementation of this switching process, the release strategies currently adopted by user devices have some defects. For example, either the downlink service data being transmitted cannot be transmitted to the user, resulting in interruption of service flow transmission; or the new and old sessions are kept coexisting for a long time, resulting in resource waste for both users and the network, resulting in poor system performance. Summary of the invention
[0006] The present application proposes a session management method, user equipment, computer storage medium and system, which can not only ensure the continuity of business flow transmission, but also shorten the time when new and old sessions exist at the same time, avoid waste of resources of user equipment and network equipment, and help improve system performance.
[0007] To achieve the above purpose, the technical solution of this application is implemented as follows:
[0008] In a first aspect, an embodiment of the present application provides a session management method, applied to a user device, the method comprising:
[0009] receiving a protocol data unit (PDU) session modification command; wherein the PDU session modification command is used to instruct switching of a current first PDU session; and
[0010] When it is detected that the number of established PDU sessions is less than the preset session threshold, a second PDU session is established and the monitoring result is recorded; wherein the monitoring result at least includes: the establishment time of the second PDU session and the downlink user data traffic;
[0011] According to the monitoring result, the first PDU session is released.
[0012] In a second aspect, an embodiment of the present application provides a user equipment, the user equipment comprising a receiving unit, an establishing unit and a releasing unit; wherein,
[0013] The receiving unit is configured to receive a protocol data unit PDU session modification command; wherein the PDU session modification command is used to instruct to switch the current first PDU session;
[0014] The establishing unit is configured to establish a second PDU session and record monitoring results when detecting that the number of established PDU sessions is less than a preset session threshold; wherein the monitoring results at least include: the establishment time of the second PDU session and the downlink user data traffic;
[0015] The releasing unit is configured to release the first PDU session according to the monitoring result.
[0016] In a third aspect, an embodiment of the present application provides a user equipment, the user equipment comprising a memory and a processor; wherein:
[0017] The memory is used to store a computer program that can be run on the processor;
[0018] The processor is used to execute the method as described in the first aspect when running the computer program.
[0019] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, and when the computer program is executed by at least one processor, it implements the method described in the first aspect.
[0020] In a fifth aspect, an embodiment of the present application provides a communication system, which includes a network device and a user device as described in the second aspect or the third aspect.
[0021] A session management method, user equipment, computer storage medium and system provided by the embodiment of the present application receive a protocol data unit PDU session modification command; wherein the PDU session modification command is used to indicate switching of the current first PDU session; and when it is detected that the number of established PDU sessions is less than a preset session threshold, establish a second PDU session and record monitoring results; wherein the monitoring results at least include: the time taken to establish the second PDU session and the downlink user data traffic; based on the monitoring results, release the first PDU session. In this way, the technical solution of the present application adopts a method in which the user equipment uniformly initiates the release of the old PDU session, which ensures the continuity of the service flow transmission, and can also shorten the time that the old and new PDU sessions exist at the same time, thereby avoiding the waste of resources by the user equipment and the network equipment, and can also avoid the risk of transmission interruption of user data, which helps to improve system performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of the relationship between a user device and a network device provided in an embodiment of the present application;
[0023] Figure 2 A flowchart of a PDU session switching process of SSC mode 3 in a 5G network is provided for related technologies;
[0024] Figure 3 A flowchart of another PDU session switching process of SSC mode 3 in a 5G network provided for related technologies;
[0025] Figure 4 A flowchart of a session management method provided in an embodiment of the present application;
[0026] Figure 5 A detailed flow chart of a session management method provided in an embodiment of the present application;
[0027] Figure 6 A detailed flowchart of another session management method provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of the structure of a user device provided in an embodiment of the present application;
[0029] Figure 8 A schematic diagram of a specific hardware structure of a user equipment provided in an embodiment of the present application;
[0030] Fig. 9 A schematic diagram of the structure of a communication system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.
[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0033] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. It should also be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second\third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0034] It should be noted that the Service and Session Continuity (SSC) mode is an attribute of the Protocol Data Unit (PDU) session in the 5G system, which is used to indicate the guarantee mode of the service flow continuity when the PDU session is transmitting services. In the Technical Specification (TS) 24.501 protocol of the 3rd Generation Partnership Project (3GPP), it is stipulated that there are three values of the SSC mode, namely SSC mode 1, SSC mode 2 and SSC mode 3. For a PDU session with a value of SSC mode 1, its protocol data unit session anchor (PDU Session Anchor, PSA) will not change during the existence of the session; for a PDU session with a value of SSC mode 2, its PSA can be switched by first releasing the old session and then establishing a new session connected to the same data network (DN); for a PDU session with a value of SSC mode 3, its PSA is switched by first establishing a new session connected to the same DN and then deleting the old session. At this time, the new and old sessions will have a period of coexistence.
[0035] The 3GPP TS 23.502 protocol stipulates that during the PDU session switching process of SSC mode 3, the Session Management Function (SMF) on the network side may send a time-related parameter (usually called "session retention time") to the Session Management Module (SM) on the user side. After receiving the parameter, the SM directly reports it to the Application Processor (AP) on the user side. This parameter is used by the network side to inform the user side that the network side SMF is willing to retain the old session for the user side in this switching. For the PDU session switching of SSC mode 3, there are currently three scenarios in which the old session is released: (1) The network side carries the session retention time parameter. Within the session retention time, the user side determines that all service data on the session has been switched to the new session for transmission. At this time, the user side AP initiates the release process of the old session; (2) The network side carries the session retention time parameter. After the session retention time exceeds, the network side SMF directly initiates the release process of the old session; (3) The network side does not carry the session retention time parameter, and the user side waits for the network side SMF to release the old session. In addition, the 3GPP TS 23.502 protocol clearly states that how the user-side service flow is switched from the old session to the new session depends on the implementation of the user side itself.
[0036] It can be understood that the relationship between the above-mentioned SM, AP and network side is as follows: Figure 1 As shown. Figure 1 In the present invention, there is a network device on the network side and a user device on the user side, wherein the user device includes an application processor (AP) and a session management module (SM); wherein, in the user device, the SM is arranged on a modem.
[0037] See also Figure 2 , which shows a flow chart of a PDU session switching process of SSC mode 3 in a 5G network provided by the related art. Figure 2 As shown, the process may include:
[0038] S201: Uplink / downlink data is transmitted between the network device and the AP.
[0039] S202: The network device determines to switch the current old PDU session.
[0040] S203: The network device sends a PDU session modification command to the SM.
[0041] S204: The SM returns a PDU session modification completion command to the network device.
[0042] S205: The SM reports the first message to the AP.
[0043] S206: The AP sends a first message command to the SM.
[0044] S207: A new PDU session establishment process is executed between the SM and the network device.
[0045] S208: The SM reports the second message to the AP.
[0046] S209: The user equipment switches the service flow from the old PDU session to the new PDU session according to its own implementation.
[0047] S210: The AP and the network device execute an old PCU session release process.
[0048] Specifically, during the transmission of uplink / downlink data between the user side and the network side, the network side determines to switch the PSA corresponding to the PDU session where the current service flow is located for some reason. At this time, the network side will first perform internal processing, that is, execute step S202.
[0049] Subsequently, the network side may send a PDU session modification command, and the PDU session modification command may carry a session retention time parameter, that is, execute step S203; when the SM on the user side receives the PDU session modification command, it will respond to the PDU session modification command and report the PDU session modification command to the AP on the user side. If there is a session retention time parameter, it will also be reported to the AP, that is, execute steps S204 and S205. Here, the first message may be a message for modifying the current PDU session and carry the session retention time.
[0050] Furthermore, if the AP on the user side receives a PDU session modification command, it needs to determine whether it is a PDU session modification of SSC mode 3. If the judgment result is yes, then the SM is triggered to initiate the PDU session establishment process; that is, steps S206 and S207 are executed, and the AP sends a first message command to the SM, and the first message command is used to instruct the SM to establish a new PDU session.
[0051] Furthermore, after the PDU session is successfully established, the user side switches the service flow from the old PDU session to the newly created PDU session according to its own implementation; that is, steps S208 and S209 are executed. After the PDU session is successfully established, the SM reports a second message to the AP, where the second message can be a message indicating that the session is successfully established. Then the AP will switch the service flow from the old PDU session to the new PDU session according to its own implementation method.
[0052] Furthermore, during the transmission of uplink / downlink data between the user equipment and the network device, the AP may release the old PDU session in one of the three PDU session release scenarios mentioned above, i.e., execute step S210, based on whether the session retention time parameter is received.
[0053] according to Figure 2 In the process shown, when the SMF on the network side decides to initiate the PDU session switching process of SSC mode 3, it means that the network side no longer wants to transmit the service flow through the PDU session and can release it at any time. Due to the uncertainty of the specific implementation of this switching process on the user side, in order to ensure the continuous transmission of the service flow, the network side can provide a period of time to maintain the coexistence of the old and new PDU sessions (may be notified to the user side through the session retention time parameter, or may not be notified), so that the user side has sufficient time to smoothly switch the service flow from the old PDU session to the new PDU session, and then release the old PDU session through the PDU session release process.
[0054] At present, there are two commonly used PDU session release strategies on the user side: (1) If the user side receives the session retention time parameter, when the new PDU session is successfully established, the AP directly initiates the release process of the old PDU session; if the parameter is not received, it waits for the network side to initiate the release process of the old PDU session. (2) Regardless of whether the user side receives the session retention time parameter, it waits for the network side to initiate the release process of the old PDU session.
[0055] In common scenarios, the release strategy currently adopted by the user side has the following problems:
[0056] (a) After the new session is successfully established, the user side immediately initiates the release of the old PDU session. Although the old PDU session resources of the user and the network can be quickly released, a situation may occur, which leads to the interruption of service flow transmission. That is, when the network has just transmitted downlink service data through the old PDU session, it receives a release request from the user side and then releases the old PDU session, so that the downlink service data being transmitted cannot be transmitted to the user, and the service flow transmission is interrupted.
[0057] (b) The user side has been waiting for the network side to initiate the release process of the old PDU session. Although this can ensure that there will be no transmission interruption when the service flow switches from the old PDU session to the new PDU session, the coexistence of the old and new PDU sessions for a long time will cause resource waste for both the user and the network.
[0058] In addition, in a special scenario, the release strategy currently adopted by the user side will lead to a more serious problem. If the number of PDU sessions established by the SM layer on the user side has reached the limit on the user side, according to the description of the 3GPP TS24.501 protocol, after the user receives the PDU session modification command sent by the network, since a new PDU session cannot be established, the network request will be directly rejected and the old PDU session will continue to be used for transmission. At this time, the network side may have two corresponding processing: 1) Terminate the current switching process and continue to use the current PDU session (ie, the old PDU session) for transmission. However, due to the reason for the switching, the PSA of the old PDU session on the network side is already in a saturated state, and continuing to use the old PDU session may result in a decrease in transmission quality. 2) After waiting for a period of time, the network directly initiates the release of the old PDU session. This will cause the service flow on the PDU session to be unable to continue to be transmitted, which violates the original intention of trying to ensure the continuity of the PDU session service flow. For example, see Figure 3 , which shows a flow chart of another PDU session switching process of SSC mode 3 under 5G network provided by related technology. Figure 3 As shown, the process may include:
[0059] S301: Uplink / downlink data is transmitted between the network device and the AP.
[0060] S302: The network device determines to switch the current old PDU session.
[0061] S303: The network device sends a PDU session modification command to the SM.
[0062] S304: When detecting that the number of currently established sessions reaches the preset session threshold, the SM will reject the PDU session modification command.
[0063] S305: The SM returns a PDU session modification reject command to the network device.
[0064] S306: The network device continues to use or releases the old PDU session.
[0065] Specifically, during the transmission of uplink / downlink data between the user side and the network side, if the network decides to switch the current PDU session, the network side will initiate a PDU session modification process, that is, execute steps S302 and S303.
[0066] On the user side, if the SM detects that the currently established PDU session has reached a preset session threshold (such as the maximum number of sessions supported by the user setting), the user side will reject the network's PDU session modification command, ie, execute step S304.
[0067] Furthermore, the user returns the PDU session modification rejection command to the network device. After the network side receives the modification rejection, the old PDU session can be maintained or released after a period of time, that is, steps S305 and S306 are executed.
[0068] In short, in the relevant technology, due to the uncertainty of the specific implementation of the PDU switching process for SSC mode 3, the release strategies currently adopted by user equipment have some defects. For example, either the downlink service data being transmitted cannot be transmitted to the user, resulting in interruption of service flow transmission; or the new and old sessions are kept coexisting for a long time, resulting in resource waste for both users and the network, resulting in poor system performance.
[0069] The embodiment of the present application provides a session management method, which is applied to a user device. The basic idea of the method is: receiving a PDU session modification command; wherein the PDU session modification command is used to indicate switching of the current first PDU session; and when it is detected that the number of established PDU sessions is less than a preset session threshold, establishing a second PDU session and recording monitoring results; wherein the monitoring results at least include: the time taken to establish the second PDU session and the downlink user data traffic; based on the monitoring results, releasing the first PDU session. In this way, the technical solution of the present application adopts a method in which the user device uniformly initiates the release of the old PDU session, which ensures the continuity of the service flow transmission, and can also shorten the time that the old and new PDU sessions exist at the same time, which can avoid the waste of resources of the user device and the network device, and can also avoid the risk of transmission interruption of user data, which helps to improve system performance.
[0070] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0071] In one embodiment of the present application, see Figure 4 , which shows a flow chart of a session management method provided by an embodiment of the present application. Figure 4 As shown, the method may include:
[0072] S401: Receive a PDU session modification command.
[0073] It should be noted that the session management method of the embodiment of the present application is applied to user equipment. Here, the user equipment can also be referred to as a terminal device, which can be a smart phone, a tablet computer, a laptop computer, a PDA, a portable media player (PMP), a navigation device, a wearable device, a mobile station, a mobile unit, a mobile client, a chip, a field programmable gate array (FPGA), etc., which is not specifically limited here.
[0074] It should also be noted that the PDU session modification command is used to instruct the current first PDU session to switch. Specifically, when the network device decides to switch the current first PDU session, the network device will initiate the PDU session modification process and send the PDU session modification command to the terminal device. In other words, if the network device decides to switch the current first PDU session, the user device can receive the PDU session modification command sent by the network device.
[0075] In an embodiment of the present application, from the perspective of service flow continuity, after receiving the PDU session modification command, the user equipment can propose corresponding optimization solutions for different application scenarios based on the application scenarios and its own actual conditions to determine when the user equipment releases the first PDU session (i.e., the old PDU session) so as to ensure the continuity of service flow transmission as much as possible and save resources on the user side and the network side.
[0076] Specifically, the embodiment of the present application can divide the application scenarios into normal scenarios and special scenarios according to the comparison result of the number of established PDU sessions and the preset session threshold, and then propose optimization solutions for these two application scenarios respectively.
[0077] S402: When it is detected that the number of established PDU sessions is less than a preset session threshold, a second PDU session is established and the monitoring result is recorded.
[0078] S403: Release the first PDU session according to the monitoring result.
[0079] Here, the monitoring results may at least include: the time taken to establish the second PDU session and the downlink user data traffic.
[0080] It should be noted that the number of established PDU sessions refers to the number of PDU sessions that have been successfully established in the user equipment. Generally, the maximum number of sessions supported by the user equipment is 15, and the preset session threshold can be the maximum number of sessions supported by the user equipment. However, the preset session threshold can be specifically set according to the actual situation, for example, the preset session threshold can be set to 15 or 10, and no limitation is made here.
[0081] It should also be noted that the number of established PDU sessions is compared with the preset session threshold; if the number of established PDU sessions is less than the preset session threshold, it indicates that the current application scenario is a normal scenario, and the optimization solution at this time is to execute steps S402 and S403. If the number of established PDU sessions is greater than or equal to the preset session threshold, it indicates that the current application scenario is a special scenario, and the optimization solution at this time will be described as follows.
[0082] In some embodiments, after S401, the method may further include:
[0083] When it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold, releasing the first PDU session;
[0084] After the first PDU session is released successfully, a second PDU session is established.
[0085] That is to say, for special scenarios, after the user device receives the PDU session modification command, if it detects that the number of established PDU sessions is greater than or equal to the preset session threshold, it will first release the first PDU session, and then establish the second PDU session after the first PDU session is successfully released.
[0086] Specifically, in a special scenario, if it is detected that the number of established PDU sessions is greater than or equal to the preset session threshold, then the process information can be recorded, such as recording an identification information, and the first PDU session can be released at the same time; after the first PDU session is successfully released, the second PDU session is established according to the identification information. The identification information here can indicate that when it is detected that the number of established PDU sessions is greater than or equal to the preset session threshold, the release process of the first PDU session is triggered first, and then the establishment process of the second PDU session is started.
[0087] It should also be noted that the first PDU session may be referred to as an old PDU session, and the second PDU session may be referred to as a new PDU session. Furthermore, in some embodiments, the method may further include: performing data interaction through the second PDU session.
[0088] That is to say, after the second PDU session is successfully established, the network device and the user equipment can use the second PDU session to perform data exchange.
[0089] It can be understood that due to an attribute of the PDU session in the SSC mode 5G system, it can indicate the guarantee mode of the continuity of its service flow when the PDU session is transmitting services. Currently, in the 3GPP TS 24.501 protocol, there are three values of SSC mode, namely SSC mode 1, SSC mode 2 and SSC mode 3. For a PDU session with a value of SSC mode 1, its PSA will not change during the existence of the session; for a PDU session with a value of SSC mode 2, its PSA can be switched by first releasing the old session and then establishing a new session connected to the same DN; for a PDU session with a value of SSC mode 3, its PSA is switched by first establishing a new session connected to the same DN and then deleting the old session. At this time, the new and old sessions will have a period of coexistence. In other words, under SSC mode 3, the network device allows the PDU session between the user device and the old PDU session anchor to be maintained before the new PDU session (the new PDU session anchor accesses the same DN) is established. At this time, the user device has two session anchors and PDU sessions at the same time, and finally releases the old PDU session.
[0090] Based on this, during the SSC mode 3 type PDU session switching process, the network device no longer wants to transmit business flows through the old PDU session and can release it at any time; however, due to the uncertainty of the specific implementation of the PDU session switching process of the user equipment, in order to ensure that the business flow can be transmitted continuously, the embodiment of the present application mainly solves the release strategy problem of the old PDU session under SSC mode 3.
[0091] In a possible implementation manner, for a normal scenario, when it is detected that the number of established PDU sessions is less than a preset session threshold, the method may further include:
[0092] Determining a mode type of the first PDU session;
[0093] When the mode type of the first PDU session is a preset mode type, the steps of establishing a second PDU session and recording monitoring results are performed.
[0094] In another possible implementation manner, for a special scenario, when it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold, the method may further include:
[0095] Determining a mode type of the first PDU session;
[0096] When the mode type of the first PDU session is a preset mode type, a step of releasing the first PDU session is performed.
[0097] In the embodiment of the present application, the preset mode type is SSC mode 3.
[0098] That is to say, whether it is a normal scenario or a special scenario, after receiving the PDU session modification command, the user equipment needs to detect whether the current switch is to an SSC mode 3 type PDU session. In other words, if the mode type of the first PDU session to be switched is SSC mode 3, the old PDU session can be released according to the session management method described in the embodiment of the present application; if the mode type of the first PDU session to be switched is not SSC mode 3, the old PDU session can be released according to the traditional session management method.
[0099] Furthermore, for normal scenarios, the problem caused by the existing release strategy when releasing the old PDU session can be solved by initiating the release of the old PDU session by the user equipment. The embodiment of the present application provides a method for user equipment to perform service flow switching to determine when to release the old PDU session. Specifically, in some embodiments, the establishment of a second PDU session and recording the monitoring results may include:
[0100] At the moment when the second PDU session establishment is started, recording the first moment;
[0101] During the establishment of the second PDU session, monitoring whether the first PDU session receives downlink user data;
[0102] When the second PDU session is successfully established, recording a second time;
[0103] Calculate the time taken to establish the second PDU session according to the second moment and the first moment;
[0104] The time taken to establish the second PDU session and the downlink user data traffic are recorded as the monitoring results.
[0105] It should be noted that when it is detected that the current switch is to the SSC mode 3 type PDU session, the establishment process of the second PDU session can be initiated at this time, and when the second PDU session is started, the first moment is recorded, and at the same time, it is detected whether the first PDU session currently being switched receives downlink user data; then after the second PDU session is successfully established, the second moment needs to be recorded in order to calculate the time taken for the entire establishment process, that is, the time taken to establish the second PDU session; at the same time, the monitoring status of the downlink user data is recorded (specifically, it can be the downlink user data traffic). In this way, the user equipment can determine the release strategy of the first PDU session based on the recorded establishment time of the second PDU session and the monitoring status of the downlink user data, which can serve as a reference for the subsequent release of the first PDU session.
[0106] Optionally, in some embodiments, releasing the first PDU session according to the monitoring result may include:
[0107] During the establishment of the second PDU session, if it is monitored that the first PDU session receives downlink user data, monitoring of the second PDU session is started;
[0108] When it is monitored that the second PDU session receives downlink user data, the first PDU session is released.
[0109] In a specific example, if the current old PDU session (i.e., the first PDU session) receives downlink user data during the process of establishing a new PDU session (i.e., the second PDU session), the user equipment may start monitoring the new PDU session. When the new PDU session receives the first packet of downlink user data, the user equipment initiates the release process of the old PDU session.
[0110] It should also be noted that the user equipment may include an application processor (AP) and a session management module (SM). In this way, when the AP detects that it is currently switching to an SSC mode 3 type PDU session, it can initiate a new PDU session establishment process and record the time taken to establish the second PDU session and the monitoring of downlink user data; if the current old PDU session receives downlink user data during the process of establishing the new PDU session, the AP can start monitoring the new PDU session. When the new PDU session receives the first packet of downlink user data, the AP initiates the release process of the old PDU session.
[0111] Optionally, in some embodiments, releasing the first PDU session according to the monitoring result may include:
[0112] During the establishment of the second PDU session, if it is monitored that the first PDU session does not receive downlink user data, a release timer is started, and monitoring of the second PDU session is started;
[0113] When the timing of the release timer exceeds the preset duration, or when it is monitored that the second PDU session receives downlink user data before the timing of the release timer does not exceed the preset duration, the first PDU session is released.
[0114] In an embodiment of the present application, the preset duration may be greater than or equal to the time taken to establish the second PDU session.
[0115] In a specific example, if the current old PDU session does not receive downlink user data during the process of establishing a new PDU session, the AP can start a release timer, the timeout period of which is set to the time taken to establish the new PDU session, and monitor the new PDU session at the same time. Once the release timer times out, or the new PDU session receives downlink user data before it times out, the AP can also initiate the release process of the old PDU session.
[0116] Furthermore, for special scenarios, when the SM layer on the user device side receives a PDU session modification command, it no longer rejects the command of the network device, but reports to the AP and releases the current PDU session, while establishing a new PDU session. After receiving the report, the AP first triggers the release process of the old PDU session, and then initiates the establishment process of the new PDU session. Specifically, in some embodiments, recording process information may at least include: sending a response message of successful PDU session modification to the network device and reporting a release message of the first PDU session to the AP through the SM.
[0117] Furthermore, in some embodiments, after the first PDU session is released successfully, the method may further include:
[0118] Reporting a successful release message of the first PDU session to the AP through the SM;
[0119] Accordingly, establishing the second PDU session may include:
[0120] Report the establishment message of the second PDU session to the AP through the SM;
[0121] The AP starts the process of establishing the second PDU session according to the received establishment message of the second PDU session.
[0122] That is to say, if the SM on the user device side detects that the number of currently established PDU sessions reaches the preset session threshold (such as the maximum number supported by itself), the local will record this process, reply to the network device with a response message of successful PDU session modification, and report to the AP a release message of releasing the current PDU session. Then the AP triggers the release process of the old PDU session. After the old PDU session is released successfully, the SM reports a release success message, and based on the locally recorded process information, the SM reports to the AP the establishment of a new PDU session. The AP triggers the process of establishing a new PDU session. After the new PDU session is successfully established, the AP can use the new PDU session (i.e., the second PDU session) to transmit service flows with the network device.
[0123] In short, the embodiment of the present application provides a specific method for the AP layer service flow on the user device side to switch from an old PDU session to a new PDU session, and the user device side can also implement it locally in special scenarios so that the service flow can be transmitted continuously. In this way, the embodiment of the present application is based on the perspective of ensuring the continuity of user service data transmission in the SSC mode, and optimizes the two scenarios (including normal scenarios and special scenarios) in which there are problems in the SSC mode 3 type PDU session switching process in the existing technical specifications. Under normal circumstances, by giving a specific method for switching the service flow of the AP on the user device side, the release of the old PDU session can be uniformly initiated by the AP, which ensures the continuity of service flow transmission and releases unnecessary resources in a timely manner. In certain specific cases, not only can the continuous transmission of user service data be guaranteed, but also the risk of transmission interruption of user service data can be avoided.
[0124] This embodiment provides a session management method, which is applied to user equipment. By receiving a protocol data unit PDU session modification command; wherein the PDU session modification command is used to indicate switching of the current first PDU session; and when it is detected that the number of established PDU sessions is less than a preset session threshold, establishing a second PDU session and recording monitoring results; wherein the monitoring results at least include: the time taken to establish the second PDU session and the downlink user data traffic; based on the monitoring results, releasing the first PDU session. In this way, since the user equipment uniformly initiates the release of the old PDU session, the continuity of the service flow transmission is guaranteed, and the time for the new and old PDU sessions to exist at the same time can be shortened, thereby avoiding waste of resources by user equipment and network equipment, and avoiding the risk of transmission interruption of user data, which helps to improve system performance.
[0125] In another embodiment of the present application, a detailed process description is given for the release strategies in the two scenarios mentioned above (normal scenario and special scenario) based on trying to ensure the continuity of service flow transmission and saving resources on the user equipment side and the network equipment side.
[0126] It should be noted that the user equipment includes an application processor (AP) and a session management module (SM); wherein, in the user equipment, the SM is set on a modem. In addition, data can be exchanged between the user equipment and the network equipment.
[0127] For normal scenarios, in this case of normal transmission, the problem caused by the old PDU session release strategy is uniformly solved by the user device side AP initiating the old PDU session release. At the same time, a method for service flow switching on the user device side is given to determine when the AP releases the old PDU session. For details, see Figure 5 , which shows a detailed flow chart of a session management method provided by an embodiment of the present application. Figure 5 As shown, the detailed process may include:
[0128] S501: Uplink / downlink data is transmitted between the network device and the AP.
[0129] S502: The network device determines to switch the current old PDU session.
[0130] S503: The AP and the network device execute a PDU session modification process.
[0131] S504: The AP sends a first message command to the SM.
[0132] S505: A new PDU session establishment process is executed between the SM and the network device.
[0133] S506: The AP records the current time and monitors whether the old PDU session receives downlink user data.
[0134] S507: The SM reports the second message to the AP.
[0135] S508: The AP calculates the time consumption for establishing a new PDU session, records the monitoring status of downlink user data, performs service flow switching, and releases the old PDU session.
[0136] S509: The old PCU session release process is executed between the AP and the network device.
[0137] It should be noted that the old PDU session is the first PDU session described in the aforementioned embodiment, and the new PDU session is the second PDU session described in the aforementioned embodiment.
[0138] It should also be noted that, for S503, the PDU session modification process is executed between the AP and the network device, which may specifically include: the network device sends a PDU session modification command to the SM; the SM returns a PDU session modification completion command to the network device; the SM reports a first message to the AP. Here, the first message may be a message for modifying the current PDU session and carries the session retention time. In this way, after the AP on the user side receives the PDU session modification command, it needs to determine whether it is a PDU session modification of SSC mode 3. If the judgment result is yes, then the AP sends the first message command to the SM, that is, a command to establish a new PDU session.
[0139] Furthermore, after S504, that is, after the AP sends the first message command to the SM, on the one hand, the AP records the current time and monitors whether the old PDU session receives downlink user data, and on the other hand, the new PDU session establishment process is executed between the SM and the network device, that is, S505 and S506 are executed simultaneously.
[0140] Furthermore, for S507, SM reports a second message to AP, where the second message may be a message indicating successful session establishment. AP then calculates the time required to establish the new PDU session and records the monitoring status of downlink user data. It then switches the service flow based on these monitoring conditions and releases the old PDU session.
[0141] Specifically, when the network side decides to switch the current PDU session, it can initiate a PDU session modification process. Then, the user-side AP detects that the current modification is to the SSC mode 3 type PDU session, and can initiate a new PDU session establishment process, record the current time, and monitor whether the old PDU session currently being modified receives downlink user data. Subsequently, after the new PDU session is successfully established, the AP records the time again to calculate the duration of the entire establishment process (i.e., the duration of establishing the new PDU session), and records the downlink user data monitoring results as a reference for subsequent release decisions.
[0142] In the embodiment of the present application, the AP may decide when to initiate the release of the old PDU session according to the following release strategy:
[0143] (1) If the current old PDU session receives downlink user data during the process of establishing a new PDU session, the AP starts monitoring the new PDU session. When the new PDU session receives the first packet of downlink user data, the AP can initiate the release process of the old PDU session.
[0144] (2) If the old PDU session does not receive downlink user data during the process of establishing a new PDU session, the AP starts a release timer whose timeout period is the time taken to establish the new PDU session and monitors the new PDU session. Once the release timer times out, or the new PDU session receives downlink user data before it times out, the AP can initiate the release process of the old PDU session.
[0145] Furthermore, through the release process of the PDU session, the old PDU session can be released, and then the new PDU session can be used to transmit the service flow with the network device.
[0146] For special scenarios, when the user-side SM receives a PDU session modification command, it no longer rejects the network's PDU session modification command, but instead reports to the AP to release the current PDU session and establish a new PDU session. After receiving the report, the AP first triggers the release process of the old PDU session, and then initiates the establishment process of the new PDU session. The network device then performs corresponding operations based on the request received from the user device. For details, see Figure 6 , which shows a detailed flow chart of another session management method provided by an embodiment of the present application. Figure 6 As shown, the detailed process may include:
[0147] S601: Uplink / downlink data is transmitted between the network device and the AP.
[0148] S602: The network device determines to switch the current old PDU session.
[0149] S603: The network device sends a PDU session modification command to the SM.
[0150] S604: When the SM detects that the number of currently established sessions reaches a preset session threshold, the SM records the process locally.
[0151] S605: The SM returns a PDU session modification completion command to the network device.
[0152] S606: The SM reports the first message to the AP.
[0153] S607: The AP sends a first message command to the SM.
[0154] S608: The old PDU session release process is executed between the SM and the network device.
[0155] S609: The SM initiates the establishment of a new PDU session again according to the locally recorded content.
[0156] S610: The SM reports a second message to the AP.
[0157] S611: The SM reports a third message to the AP.
[0158] S612: The AP sends a third message command to the SM.
[0159] S613: A new PDU session establishment process is executed between the SM and the network device.
[0160] S614: The SM reports the fourth message to the AP.
[0161] S615: According to the new PDU session, the network device and the AP transmit uplink / downlink data.
[0162] It should be noted that the old PDU session is the first PDU session described in the aforementioned embodiment, and the new PDU session is the second PDU session described in the aforementioned embodiment.
[0163] It should also be noted that the first message may be a message for releasing the current PDU session, and the first message command may be a command for requesting the session release, to instruct the SM to start the release process of the old PDU session; the second message may be a message for successfully releasing the session; the third message may be a message for establishing a new session, and the third message command may be a command for requesting the session establishment, to instruct the SM to start the establishment process of the new PDU session; the fourth message may be a message for successfully establishing the session, so that the AP can realize the service flow transmission between the network device according to the new PDU session.
[0164] Specifically, first, when the network side decides to switch the current PDU session, it initiates the PDU session modification process. Secondly, the SM on the user side detects that the number of currently established PDU sessions has reached the maximum number supported by itself, and locally records the process, replies to the network side that the PDU session modification is successful, and reports to the AP the release of the current PDU session. Thirdly, the AP triggers the release process of the old PDU session. After the old PDU session is successfully released, the SM reports the release success message, and at the same time, based on the local records, reports to the AP the establishment of a new PDU session. Thirdly, the AP triggers the establishment process of a new PDU session. After the new PDU session is successfully established, the AP can use the new PDU session for service flow transmission.
[0165] In short, for the first normal scenario, by providing a specific service flow switching method to the user-side AP and adopting a method in which the AP uniformly initiates the release of the old PDU session, the continuity of service flow transmission is guaranteed, and the time for the new and old PDU sessions to coexist is shortened as much as possible, which can avoid the waste of resources by users and the network. This release strategy greatly optimizes the release strategy in the current technical specifications, such as releasing resources as soon as possible without guaranteeing the continuity of service flow transmission, or ensuring the continuity of service flow transmission but wasting resources by waiting for the maximum time. In this way, in the scenario where ensuring the continuity of service flow transmission and saving resources conflict with each other, the embodiment of the present application has found an optimal solution.
[0166] For the second special scenario, the method of releasing the old PDU session first and then establishing a new PDU session connected to the same DN can be adopted. Although this may cause a temporary stop in the service flow transmission on the PDU session, it can ensure that the service flow continues to be transmitted after the stop, compared with the method in the technical specification. Moreover, the stop time under normal circumstances should be in the millisecond level, which is negligible for users using wireless device applications, and can also try to ensure the continuity of service flow transmission.
[0167] This embodiment provides a session management method, which is applied to a user device. The above embodiment describes the specific implementation of the above embodiment in detail, from which it can be seen that the technical solution of the above embodiment can avoid the waste of resources of the user device and the network device, and can also avoid the risk of transmission interruption of user data, which helps to improve system performance.
[0168] In another embodiment of the present application, based on the same inventive concept as the above embodiment, see Figure 7 , which shows a schematic diagram of the composition structure of a user equipment 70 provided in an embodiment of the present application. Figure 7 As shown, the user equipment 70 may include: a receiving unit 701, an establishing unit 702 and a releasing unit 703; wherein,
[0169] The receiving unit 701 is configured to receive a PDU session modification command; wherein the PDU session modification command is used to instruct to switch the current first PDU session;
[0170] The establishing unit 702 is configured to establish a second PDU session and record monitoring results when detecting that the number of established PDU sessions is less than a preset session threshold; wherein the monitoring results at least include: the establishment time of the second PDU session and the downlink user data traffic;
[0171] The releasing unit 703 is configured to release the first PDU session according to the monitoring result.
[0172] In some embodiments, the release unit 703 is further configured to release the first PDU session when it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold;
[0173] The establishing unit 702 is further configured to establish a second PDU session after the first PDU session is successfully released.
[0174] In some embodiments, see Figure 7 The user equipment 70 may further include a determining unit 704 configured to perform data interaction through the second PDU session.
[0175] In some embodiments, the determining unit 704 is further configured to determine the mode type of the first PDU session when it is detected that the number of established PDU sessions is less than a preset session threshold;
[0176] The establishing unit 702 is further configured to execute the steps of establishing the second PDU session and recording the monitoring results when the mode type of the first PDU session is a preset mode type.
[0177] In some embodiments, the establishment unit 702 is specifically configured to record a first moment when the establishment of the second PDU session is initiated; and during the establishment of the second PDU session, monitor whether the first PDU session receives downlink user data; and record a second moment when the second PDU session is successfully established; and calculate the time taken to establish the second PDU session based on the second moment and the first moment; and record the time taken to establish the second PDU session and the downlink user data traffic as the monitoring results.
[0178] In some embodiments, the release unit 703 is specifically configured to start monitoring the second PDU session if it is monitored that the first PDU session receives downlink user data during the establishment of the second PDU session; and release the first PDU session when it is monitored that the second PDU session receives downlink user data.
[0179] In some embodiments, the release unit 703 is specifically configured to start a release timer and start monitoring of the second PDU session if it is monitored that the first PDU session has not received downlink user data during the establishment of the second PDU session; when the release timer exceeds a preset duration, or when it is monitored that the second PDU session has received downlink user data before the release timer exceeds the preset duration, release the first PDU session.
[0180] In some embodiments, the preset duration is greater than or equal to the time taken to establish the second PDU session.
[0181] In some embodiments, the determining unit 704 is further configured to determine the mode type of the first PDU session when it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold;
[0182] The establishing unit 702 is further configured to release the first PDU session when the mode type of the first PDU session is a preset mode type.
[0183] In some embodiments, the preset mode type is service and session continuity SSC mode 3.
[0184] In some embodiments, the user equipment includes an application processor AP and a session manager SM;
[0185] Correspondingly, the release unit 703 is further configured to report a successful release message of the first PDU session to the AP through the SM;
[0186] The establishing unit 702 is further configured to report an establishment message of the second PDU session to the AP through the SM; and the AP starts the establishment process of the second PDU session according to the received establishment message of the second PDU session.
[0187] In some embodiments, the preset session threshold is a maximum number of sessions supported by the user equipment.
[0188] It can be understood that in this embodiment, a "unit" can be a part of a circuit, a part of a processor, a part of a program or software, etc., and of course it can also be a module, or it can be non-modular. Moreover, the components in this embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional module.
[0189] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0190] Therefore, this embodiment provides a computer storage medium, which is applied to the user equipment 70, and the computer storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of the method described in any one of the above embodiments are implemented.
[0191] Based on the above-mentioned composition of the user device 70 and the computer storage medium, see Figure 8 , which shows a schematic diagram of the specific hardware structure of the user equipment 70 provided in the embodiment of the present application. Figure 8 As shown, it may include: a communication interface 801, a memory 802 and a processor 803; each component is coupled together through a bus system 804. It is understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804. Among them, the communication interface 801 is used for receiving and sending signals in the process of sending and receiving information between other external network elements;
[0192] A memory 802, used to store a computer program that can be run on the processor 803;
[0193] The processor 803 is configured to execute, when running the computer program:
[0194] receiving a protocol data unit (PDU) session modification command; wherein the PDU session modification command is used to instruct switching of a current first PDU session; and
[0195] When it is detected that the number of established PDU sessions is less than the preset session threshold, a second PDU session is established and the monitoring result is recorded; wherein the monitoring result at least includes: the establishment time of the second PDU session and the downlink user data traffic;
[0196] According to the monitoring result, the first PDU session is released.
[0197] It can be understood that the memory 802 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memory 802 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0198] The processor 803 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 803. The above processor 803 may be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 802, and the processor 803 reads the information in the memory 802 and completes the steps of the above method in combination with its hardware.
[0199] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0200] For software implementation, the techniques described herein can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0201] Optionally, as another embodiment, the processor 803 is further configured to execute the steps of the method in any one of the aforementioned embodiments when running the computer program.
[0202] This embodiment provides a user equipment, which may include a receiving unit, an establishing unit, and a releasing unit. In this way, the technical solution of the present application adopts a method in which the user equipment uniformly initiates the release of the old PDU session, which ensures the continuity of service flow transmission and can also shorten the time when the new and old PDU sessions coexist, thereby avoiding the waste of resources of the user equipment and the network equipment, and also avoiding the risk of transmission interruption of user data, which helps to improve system performance.
[0203] In another embodiment of the present application, see Fig. 9 , which shows a schematic diagram of the structure of a communication system 90 provided in an embodiment of the present application. Fig. 9 As shown, the communication system 90 may include a network device 901 and a user device 902. Here, the user device 902 may be any one of the user devices in the foregoing embodiments.
[0204] It should be noted that the communication system 90 described in the embodiment of the present application is not limited to the Long Term Evolution (LTE) system, the 4th Generation (4G) system, or the 5th Generation (5G) system, the New Air Interface (NR) system, or even a subsequent evolved communication system. In the communication system, data can be exchanged between the network device 901 and the user equipment 902 through a wireless network.
[0205] In this way, in the communication system 90, the network side determines to switch the PSA corresponding to the PDU session where the current service flow is located for some reason, and at this time the network device 901 can send a PDU session modification command to the user device 902. After receiving the PDU session modification command, the user device 902 can divide the application scenario into a normal scenario and a special scenario according to the comparison result between the number of established PDU sessions and the preset session threshold; then propose corresponding optimization schemes for different application scenarios to determine when the user device releases the first PDU session (i.e., the old PDU session), so as to not only ensure the continuity of service flow transmission and shorten the time when the new and old PDU sessions exist at the same time, but also avoid the waste of resources of the user device and the network device, and at the same time avoid the risk of transmission interruption of user data, which is helpful to improve system performance.
[0206] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0207] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0208] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0209] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0210] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0211] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A session management method, characterized in that: Applied to user equipment, the method comprises: receiving a protocol data unit (PDU) session modification command; wherein the PDU session modification command is used to instruct switching of a current first PDU session; and When it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold, record identification information and release the first PDU session; After the first PDU session is released successfully, establishing a second PDU session according to the identification information; Among them, when it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold, the method also includes the following steps: determining the mode type of the first PDU session; when the mode type of the first PDU session is a preset mode type, releasing the first PDU session.
2. The method according to claim 1, characterized in that The method further comprises: When it is detected that the number of established PDU sessions is less than the preset session threshold, a second PDU session is established and the monitoring result is recorded; wherein the monitoring result at least includes: the establishment time of the second PDU session and the downlink user data traffic; According to the monitoring result, the first PDU session is released.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Data interaction is performed through the second PDU session.
4. The method according to claim 2, characterized in that: In the case where it is detected that the number of established PDU sessions is less than a preset session threshold, the method further includes: Determining a mode type of the first PDU session; When the mode type of the first PDU session is a preset mode type, the steps of establishing a second PDU session and recording monitoring results are performed.
5. The method according to claim 4, characterized in that The establishing the second PDU session and recording the monitoring result includes: At the moment when the second PDU session establishment is started, recording the first moment; During the establishment of the second PDU session, monitoring whether the first PDU session receives downlink user data; When the second PDU session is successfully established, recording a second time; Calculate the time taken to establish the second PDU session according to the second moment and the first moment; The time taken to establish the second PDU session and the downlink user data traffic are recorded as the monitoring results.
6. The method according to claim 5, characterized in that The releasing the first PDU session according to the monitoring result includes: During the establishment of the second PDU session, if it is monitored that the first PDU session receives downlink user data, monitoring of the second PDU session is started; When it is monitored that the second PDU session receives downlink user data, the first PDU session is released.
7. The method according to claim 5, characterized in that The releasing the first PDU session according to the monitoring result includes: During the establishment of the second PDU session, if it is monitored that the first PDU session does not receive downlink user data, a release timer is started, and monitoring of the second PDU session is started; When the timing of the release timer exceeds the preset duration, or when it is monitored that the second PDU session receives downlink user data before the timing of the release timer does not exceed the preset duration, the first PDU session is released.
8. The method according to claim 7, characterized in that The preset duration is greater than or equal to the time taken to establish the second PDU session.
9. The method according to claim 1 or 4, characterized in that: The preset mode type is service and session continuity SSC mode 3.
10. The method according to claim 1, characterized in that The user equipment includes an application processor AP and a session management module SM. After the first PDU session is released successfully, the method further includes: Reporting a successful release message of the first PDU session to the AP through the SM; Accordingly, establishing the second PDU session includes: Report the establishment message of the second PDU session to the AP through the SM; The AP starts the process of establishing the second PDU session according to the received establishment message of the second PDU session.
11. The method according to claim 1, characterized in that: The preset session threshold is the maximum number of sessions supported by the user equipment.
12. A user equipment, characterized in that: The user equipment comprises a receiving unit, an establishing unit and a releasing unit; wherein, The receiving unit is configured to receive a protocol data unit PDU session modification command; wherein the PDU session modification command is used to instruct to switch the current first PDU session; The releasing unit is configured to record identification information and release the first PDU session when detecting that the number of established PDU sessions is greater than or equal to a preset session threshold; The establishing unit is configured to establish a second PDU session according to the identification information after the first PDU session is successfully released; Among them, the user equipment also includes a determination unit, configured to determine the mode type of the first PDU session when it is detected that the number of established PDU sessions is greater than or equal to a preset session threshold; the establishment unit is also configured to release the first PDU session when the mode type of the first PDU session is a preset mode type.
13. A user equipment, characterized in that: The user equipment includes a memory and a processor; wherein, The memory is used to store a computer program that can be run on the processor; The processor is configured to execute the method according to any one of claims 1 to 12 when running the computer program.
14. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by at least one processor, the method according to any one of claims 1 to 12 is implemented.
15. A communication system, characterized in that: The communication system comprises a network device and a user equipment as claimed in claim 12 or 13.
Citation Information
Patent Citations
Protocol data unit session management method and communication device
CN110933709A
