Data processing method, device, equipment, and storage medium
By using the session parameter information of the second session management process with high priority in the 5G SA network to initiate a new session management process, the problem of data connection disconnection and inability to be released caused by session management collision during the 4G to 5G handover process is solved. Improved user experience.
Patent Information
- Application Number
- CN202110791140.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-13
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-07-13
AI Technical Summary
In the 5G SA network, during the handover process from 4G to 5G, the session management process is prone to collisions, resulting in data connection disconnection or failure to be released, affecting user experience.
During the session management process, when the priority of the second session management process is higher than that of the first session management process, the timing is started. If a reply message from the first device is received within the target duration, the session is obtained from the second session management message. Parameter information, and initiate a new session management process to ensure that the session process proceeds smoothly.
It effectively avoids the problem of data connection being disconnected and unable to be released during the session management process, improves the user experience, and ensures the smooth progress of the session management process.
Smart Images

Figure CN113596957B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to communication technology, and are related to but not limited to data processing methods and devices, equipment, and storage media. Background Art
[0002] The construction and networking of fifth-generation mobile communication technology (5G) networks is gradually shifting towards standalone (SA) networks. Fourth-generation mobile communication technology (4G) networks will continue to exist for a while. SA networks have not yet reached full maturity, so various issues arise during handovers from 4G to 5G. The issue of Protocol Data Unit (PDU) session collisions in 5G SA networks needs to be addressed.
[0003] However, when the UE or network device handles this type of collision, session management may still not proceed smoothly. For example, when handling a collision during session modification, data connections may still be disconnected; or when handling a collision during session release, data connections may still remain unreleased for a long time. Summary of the Invention
[0004] In view of this, the data processing method, apparatus, device, and storage medium provided in the embodiments of the present application can ensure the smooth progress of the conversation process when handling collision problems, thereby improving the user experience. The data processing method, apparatus, device, and storage medium provided in the embodiments of the present application are implemented as follows:
[0005] An embodiment of the present application provides a data processing method, including: starting a timer when a first session management (SM) process initiated to a first device collides with a second session management process initiated by the first device; wherein the priority of the second session management process is higher than the priority of the first session management process; if a first session management message belonging to the first session management process is received from the first device within a target time period, obtaining session parameter information from the received second session management message belonging to the second session management process; and initiating a new first session management process to the first device based on the session parameter information.
[0006] A data processing device provided in an embodiment of the present application includes: a timing module configured to start timing when a first session management process initiated to a first device collides with a second session management process initiated by the first device; wherein the priority of the second session management process is higher than the priority of the first session management process; an acquisition module configured to, if a first session management message belonging to the first session management process is received from the first device in reply within a target duration, acquire session parameter information from the received second session management message belonging to the second session management process; and a process initiation module configured to initiate a new first session management process to the first device based on the session parameter information.
[0007] An electronic device provided in an embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the method described in the embodiment of the present application is implemented.
[0008] The computer-readable storage medium provided in the embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the method provided in the embodiment of the present application is implemented.
[0009] In an embodiment of the present application, when a first session management process with a lower priority initiated by the second device to the first device collides with a second session management process with a higher priority initiated by the first device to the second device, if a first session management message belonging to the first session management process with a lower priority is received from the first device in reply within a target time period, the second device initiates a new first session management process based on the session parameter information of the second session management process with a higher priority, instead of reporting status information of inconsistent session parameter information to the first device, thereby ensuring the smooth progress of the session management process and avoiding the situation where the first device prevents the first session management process and the second session management process from continuing due to receiving the status information. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and, together with the specification, are used to illustrate the technical solutions of the present application.
[0011] Figure 1 A schematic diagram of the architecture of a wireless communication system provided in an embodiment of the present application;
[0012] Figure 2 This is a schematic diagram of the implementation flow of the data processing method according to an embodiment of the present application;
[0013] Figure 3 This is another implementation flow diagram of the data processing method according to an embodiment of the present application;
[0014] Figure 4 This is another implementation flow diagram of the data processing method according to an embodiment of the present application;
[0015] Figure 5 This is another implementation flow diagram of the data processing method according to an embodiment of the present application;
[0016] Figure 6 This is a structural diagram of a data processing device according to an embodiment of the present application;
[0017] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the specific technical solutions of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application but are not intended to limit the scope of the present application.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0020] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be 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.
[0021] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application do not represent a specific ordering of objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0022] Taking the 5G SA communication scenario as an example, assuming that the first session management process is initiated by the UE and the second session management process is initiated by the network device, when the first session management process initiated by the UE to the network device collides with the second session management process initiated by the network device to the UE, the network device will ignore the first session management process initiated by the UE and continue with the second session management process. However, sometimes the network device does not ignore the first session management process due to an exception, and returns a response message to the UE based on the session management message received for the first session management process. At this time, the UE receives the response message for the first session management process on the one hand, and the session management message for the second session management process on the other hand. Since these two messages belong to different session management processes, the session parameter information (such as PTI) they carry is inconsistent. At this time, the UE will feedback a status message indicating inconsistent session parameter information to the network device, resulting in the inability of the session management process to proceed smoothly. For example, if the first session management process and the second session management process are session modification processes, the result is that the data connection is disconnected; for another example, if the first session management process and the second session management process are session release processes, the result is that the data connection is not released; for another example, if the first session management process and the second session management process are session establishment processes, the result is that the session establishment fails.
[0023] The embodiments of the present application can be applied to various wireless communication systems in which the above-mentioned phenomenon may occur, such as: advanced long term evolution (LTE-A) system, new radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-U) system, NR on unlicensed spectrum (NR-based access to unlicensed spectrum, NR-U) system, Universal Mobile Telecomm Unication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (WiFi), next generation communication system or other wireless communication systems, etc.
[0024] With the development of communication technology, communication systems will not only support traditional communications, but will also support, for example, device-to-device (D2D) communication, machine-to-machine (M2M) communication, machine-type communication (MTC), and vehicle-to-vehicle (V2V) communication, etc. The embodiments of the present application can also be applied to these wireless communication systems where the above-mentioned phenomena may occur.
[0025] Figure 1 This is a schematic diagram of the architecture of a wireless communication system provided in an embodiment of the present application. It should be noted that the architecture of the wireless communication system is only for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. It is known to those skilled in the art that with the evolution of wireless communication systems and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. Figure 1 As shown, the wireless communication system includes a user equipment (UE) 101 and a network device 102 .
[0026] Optionally, UE 101 can be various forms of user equipment, access terminals, user units, user stations, mobile stations, mobile stations (MS), remote stations, remote terminals, mobile devices, terminal equipment (TE), wireless communication equipment, user agents or user devices. UE 101 can also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a future 5G network, or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc. The embodiments of the present application are not limited to this, as long as the UE 101 can communicate wirelessly with the network device 102.
[0027] The present application provides a data processing method. Figure 2 This is a schematic diagram of the implementation flow of the data processing method of the embodiment of the present application, as shown in FIG. Figure 2 As shown, the method may include the following steps 201 to 203:
[0028] In step 201, when a first session management process initiated by a second device to a first device collides with a second session management process initiated by the first device to a second device, the second device starts timing; wherein the priority of the second session management process is higher than the priority of the first session management process.
[0029] A collision occurs when one end initiates a session management procedure before it completes and the other end initiates the same procedure. For example, a UE initiates a session modification procedure to a network device, and while that procedure is in progress, the network device initiates a new session modification procedure to the UE. Another example is when a UE initiates a session release procedure to a network device, and while that procedure is in progress, the network device initiates a new session release procedure to the UE.
[0030] It is understandable that the first session management process and the second session management process are of the same type. For example, both are session modification processes; for another example, both are session establishment processes; for another example, both are session release processes. Alternatively, both are other types of session management processes. In the embodiments of the present application, the type of session management process is not limited and can be various types of session management processes that may collide. The session management process referred to herein can be a session management process defined by a PDU session or a session management process defined by another session.
[0031] There can be various criteria for measuring priority. For example, using time as the criterion for measuring priority, the device that initiates the session management process first is called the first device, and the corresponding session management process is called the second session management process with a higher priority. The device that initiates the session management process later is called the second device, and the corresponding session management process is called the first session management process with a lower priority. For another example, using device type as the criterion for measuring priority, the session management process initiated by the UE is called the first session management process with a lower priority, and the UE is the second device. The session management process initiated by the network device is called the second session management process with a higher priority, and the network device is the first device.
[0032] Step 202: If a first session management message belonging to the first session management process is received from the first device within the target duration, the second device obtains session parameter information from a received second session management message belonging to the second session management process.
[0033] Under normal circumstances, when a collision occurs, the first device will ignore the session management message of the first session management process with a lower priority and will not process the session management message of the first session management process sent by the second device. However, the first device may perform an exception handling, that is, it does not ignore the received session management message of the first session management process, but instead replies to the second device with a corresponding first session management message for the received session management message of the process. For example, the second device sends a session modification request to the first device. In the event of a collision (e.g., the first device initiates the second session management process and sends session modification command 1 to the second device), the first device does not ignore the session modification request due to the exception handling, but instead sends session modification command 2 to the second device in response to the session modification request. In this case, in some embodiments, the second device receives session modification command 1 and session modification command 2 with different session parameter information (e.g., PTI), and reports a session parameter mismatch status message to the first device, causing the first device to disconnect the data connection, thereby affecting the user experience.
[0034] In some embodiments, as in step 202, the second device does not report a status message indicating that the session parameters do not match, but instead obtains session parameter information from a second session management message with a higher priority, for example, obtains PTI and PSI, and based on this, initiates a new first session management process to the first device.
[0035] In the embodiment of the present application, the target duration may be a specific duration, and the target durations corresponding to different network registration scenarios may be the same or different. The second device may set the duration of the timer to the target duration and then start the set timer.
[0036] In some embodiments, the session parameter information is used to identify the corresponding session management process. For example, the session parameter information is PSI and PTI.
[0037] Step 203: The second device initiates a new first session management process to the first device according to the session parameter information.
[0038] In an embodiment of the present application, when a first session management process with a lower priority initiated by the second device to the first device collides with a second session management process with a higher priority initiated by the first device to the second device, if a first session management message belonging to the first session management process with a lower priority is received from the first device in reply within a target time period, the second device initiates a new first session management process based on the session parameter information of the second session management process with a higher priority, instead of reporting status information of inconsistent session parameter information to the first device, thereby ensuring the smooth progress of the session management process and avoiding the situation where the first device prevents the first session management process and the second session management process from continuing due to receiving the status information.
[0039] For example, when the data processing method is applied to the session modification process, it can reduce the probability of data connection disconnection during the session modification process; for another example, when the data processing method is applied to the session release process, it can reduce the probability of data connection not being released for a long time during the session release process; for another example, when the data processing method is applied to the session establishment process, it can reduce the probability of data connection not being established for a long time during the session establishment process, etc.
[0040] It should be noted that in the embodiments of the present application, the types of the second device and the first device are not limited. In some embodiments, the second device may be a UE and the first device may be a network device; in other embodiments, the second device may also be a network device and the first device may be a UE. In still other embodiments, such as in a D2D communication system, an M2M communication system, an MTC communication system, or a V2V communication system, the second device and the first device may also be the same type of device.
[0041] The following describes the technical solution of the embodiment of the present application by taking the second device as a UE and the first device as a network device as an example.
[0042] Figure 3 This is another implementation flow diagram of the data processing method according to the embodiment of the present application. Figure 3 As shown, the method may include the following steps 301 to 309:
[0043] Step 301: The UE sends a third session management message belonging to the first session management process to a network device.
[0044] In some embodiments, the third session management message may be a request message. For example, the request message may be a session modification request, a session establishment request, or a session release request. Of course, in some embodiments, the third session management message may also be a command message or a confirmation message.
[0045] Step 302: The UE receives a second session management message belonging to a second session management process sent by a network device.
[0046] In some embodiments, the second session management message may be a command message. For example, the command message may be a session modification command, a session establishment command, or a session release command. Of course, in some embodiments, the second session management message may also be a request message or a confirmation message.
[0047] It should be noted that there is no limitation on the execution order of step 301 and step 302. The UE may receive the second session management message sent by the network device before or after sending the third session management message, or may receive the second session management message at the same time as sending the third session management message.
[0048] In step 303 , the UE determines whether the session parameter information carried in the third session management message is consistent with the session parameter information carried in the second session management message; if so, execute step 304 ; otherwise, execute step 305 .
[0049] It is understandable that if the session parameter information carried in the third session management message is inconsistent with the session parameter information carried in the second session management message, it indicates that the first session management process and the second session management process collide and conflict, and step 305 is executed.
[0050] Step 304: The UE continues the unfinished second session management process, or the UE initiates a new session management process.
[0051] In some embodiments, when the second session management procedure has been completed, the UE may initiate a new session management procedure.
[0052] Step 305: UE starts timing and then proceeds to step 306;
[0053] For example, the UE sets the duration of the timer to a specific duration and then starts the set timer;
[0054] Step 306: The UE determines whether it receives a first session management message belonging to the first session management process replied by the network device within the target duration; if so, execute step 307; otherwise, execute step 309;
[0055] In step 307 , the UE prohibits reporting a status message indicating that the session parameter information does not match to the network device, and instead obtains the session parameter information from the second session management message; then, the process proceeds to step 308 .
[0056] In some embodiments, in the aforementioned situation, i.e., when the first session management process collides with the second session management process, if a session management message belonging to the first session management process is received from the network device within the target duration, a status message indicating that the session parameter information does not match will be reported to the network device. For example, in the case of a session modification process, upon receiving this status message, the network device will disconnect the data connection between the UE and the network device; for another example, in the case of a session release process, upon receiving this status message, the network device will not release the data connection with the UE.
[0057] In order to solve the technical problems existing in this embodiment and to be compatible with the implementation program of this embodiment and save development costs, improvements are made on the basis of the above embodiment. That is, in the embodiment of the present application, when the first session management process collides with the second session management process, if a session management message belonging to the first session management process is received from the network device within the target time, the UE will prohibit reporting the status message, thereby saving development costs and avoiding the occurrence of problems such as disconnection of the data connection when it should not be disconnected and failure to release the data connection when it should be released.
[0058] Step 308: The UE initiates a new first session management process to the network device according to the session parameter information.
[0059] Step 309: The UE continues the unfinished second session management process, or initiates a new session management process.
[0060] Figure 4 This is another implementation flow diagram of the data processing method according to the embodiment of the present application, as shown in FIG. Figure 4 As shown, the method may include the following steps 401 to 407:
[0061] Step 401: When a first session management process initiated by a UE to a network device collides with a second session management process initiated by the network device to the UE, the UE determines a network registration scenario.
[0062] The so-called network registration scenario refers to the network type currently registered by the UE, or the network types registered before and after the UE performs a network handover. For example, the network registration scenario is a 5G SA scenario; another example is a scenario where the network registration scenario is a switch from a registered 4G network to a 5G SA scenario; another example is a scenario where the network registration scenario may also involve other technical issues to be solved by the embodiments of this application, which will not be detailed here.
[0063] Step 402: The UE obtains a target duration that matches the network registration scenario.
[0064] The target durations corresponding to different network registration scenarios may be the same or different. At the same time, in some embodiments, the UE may obtain a representative duration corresponding to the type identifier of the network registration scenario from a pre-stored duration mapping table, and use the corresponding representative duration as the target duration. It is understandable that if the target duration is set too long, the initiation time of the new session management process will be delayed, thereby affecting the user experience; if the target duration is set too short, the first session management message belonging to the first session management process replied by the network device will be missed, resulting in missed processing of such problems, making it impossible for the session management process to proceed smoothly, and therefore still affecting the user experience. Based on this, in an embodiment of the present application, in order to further improve the probability that the session management process can proceed smoothly and solve the above-mentioned problems caused by the target duration being too long or too short, in an embodiment of the present application, the target duration is a duration that matches the current network registration scenario of the UE, that is, a duration that conforms to the scenario.
[0065] In some embodiments, a collision processing duration set under different types of historical network registration scenarios is collected; wherein, the collision processing duration refers to the duration between the time when a collision occurs in the session management process and the time when a new session management process is initiated; the collision processing duration set corresponding to the historical network registration scenario is analyzed to obtain a representative duration of the historical network registration scenario; wherein, the representative duration is used to reflect the general level of the numerical values in the collision processing duration set; each type identifier representing the historical network registration scenario is associated with the corresponding representative duration and stored to obtain a duration mapping table; in this way, the representative duration corresponding to each network registration scenario is more accurate and more in line with the scenario, so that when used, a target duration that is more in line with the UE's current network registration scenario can be obtained, thereby further improving the probability that the session management process can proceed smoothly.
[0066] The types of representative durations can be varied. For example, the mean or median of the collision processing durations can be used as the representative duration of the corresponding historical network registration scenario.
[0067] Step 403: The UE sets the timer duration to the target duration and then starts the set timer.
[0068] Step 404: The UE determines whether it has received a first session management message belonging to the first session management process replied by the network device if the timer has not expired; if so, executing step 405; otherwise, executing step 407;
[0069] Step 405: The UE obtains session parameter information from the received second session management message belonging to the second session management process;
[0070] Step 406: The UE initiates a new first session management process to the first device according to the session parameter information;
[0071] Step 407: The UE initiates a new session management process, or continues the unfinished second session management process.
[0072] It can be understood that if the UE does not receive the first session management message replied by the network device before the timer expires, it means that there is no abnormality in the network device. At this time, if the second session management process is not completed, it will continue; otherwise, the UE initiates a new session management process.
[0073] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0074] When the PDU session modification process initiated by the UE collides with the PDU session modification process initiated by the network device, if the UE receives a PDU session modification command initiated by the network device during the initiated PDU session modification process, and the PDU sessions of the two are the same, the processing on the UE side is to abandon the PDU session modification process initiated by the UE and continue the PDU session modification process initiated by the network device.
[0075] If the network device receives a PDU session modification request initiated by the UE during the initiated PDU session modification process, and the PDU sessions of the two are the same, the processing on the network device side is to ignore the PDU session modification request initiated by the UE.
[0076] For the PDU session release process initiated by the UE and the PDU session release process initiated by the network, if the UE receives a PDU session release command initiated by the network during the PDU session release process, and the PDU sessions of the two are the same, the processing on the UE side is to abandon the PDU session release process initiated by the UE, stop T3582, and continue the PDU session modification process initiated by the network device.
[0077] If the network device receives a PDU session release request initiated by the UE during the process of initiating a PDU session release, and the PDU sessions of the two are the same, the processing on the network device side is to ignore the PDU session release request initiated by the UE and then proceed to subsequent steps.
[0078] However, when a PDU session modification process initiated by the UE (hereinafter referred to as process 1) collides with a PDU session modification process initiated by the network device (hereinafter referred to as process 2, which is different from process 1), if the network handles the process abnormally and does not ignore the PDU session modification process initiated by the UE (i.e., process 1), the network device will continue to process the PDU session modification request initiated by the UE and issue a PDU session modification command (i.e., an example of a first session management message) in response to the session modification request. At this time, the network device is also initiating a PDU session modification process (i.e., process 2) and will also issue a PDU session modification command (i.e., an example of a second session management message). Therefore, if the network device abnormally handles process 1 initiated by the UE, the UE will receive two different PDU session modification commands: one for process 1 and one for process 2. If the UE follows the regulations, it will ignore the PDU session modification process initiated by the UE (i.e., process 1), deeming the modification command of the PDU session modification process initiated by the UE to be abnormal and deeming the modification command of the PDU session modification process initiated by the network device to be normal. However, the UE receives two modification commands with different PTIs. The UE considers this an anomaly and reports a 5GSM status message to the network device. This message contains the cause value, PTI mismatch. Upon receiving this message, the network device initiates a PDU session release, disconnecting the data connection and impacting the user experience. In real-world networks, the PDU session modification process is required during the 4G to 5G handover process, and this situation has occurred.
[0079] The same problem as the above modification process may occur when the PDU session release process initiated by the UE collides with the PDU session release process initiated by the network device. Ultimately, the UE receives two PDU session release commands carrying different PTIs (i.e., an example of a first session management message and a second session management message). At this time, the UE will also report a 5G Session Management (5GSM) status message to the network device, which contains a cause value PTI mismatch. After receiving this message, the network device will not initiate the PDU session release process, resulting in the data connection being unable to be disconnected for a long time.
[0080] A solution is provided for scenarios where the PDU session modification process initiated by the UE collides with the PDU session modification process initiated by the network device, as well as collision scenarios during the PDU session release process, thereby ensuring that the UE can perform the normal PDU session modification process without data disconnection, ensuring that the PDU session release process proceeds normally, thereby quickly releasing the session connection and obtaining a better user experience.
[0081] In some embodiments, when process 1 initiated by the UE conflicts with process 2 initiated by the network device, the UE sets and starts a clock of T seconds. If within the T-second clock, a modification command for the PDU session in response to process 1 is received from the network device (i.e., a modification command for process 1, an example of a first session management message), the UE directly obtains the PSI and PTI in the PDU session process initiated by the network device (i.e., process 2), and uses these PDU session parameters to initiate a subsequent PDU session modification process. If within the T-second clock, no modification command for the PDU session in response to process 1 is received from the network device, the UE actively initiates a new PDU session modification process (called process 3, different from processes 1 and 2) after T times out. The above method can avoid collisions with the PDU session modification process initiated by the network. The same method is also used when the UE needs to initiate a PDU session release process.
[0082] Implementation process, such as Figure 5 As shown, the following steps 501 to 509 may be included:
[0083] Step 501: In some scenarios, such as switching from 4G to 5G, the UE detects a downlink non-access layer transmission (DL NAS Transport) message and an uplink non-access layer transmission (UL NAS Transport) message, and proceeds to step 502.
[0084] Step 502: Based on the PDU session management message detected in step 501, determine whether the PDU session modification (or release) process initiated by the UE (hereinafter referred to as process 1) collides with the PDU session modification (or release) process initiated by the network device (hereinafter referred to as process 2); if so, go to step 503; otherwise, go to step 501 and continue detection;
[0085] Step 503: The UE starts a clock with a duration of T seconds, for example, set to 2 seconds in a 4G to 5G switching scenario, and proceeds to step 504;
[0086] In step 504, the UE determines whether the time elapsed since the start of the clock has expired. If so, the process proceeds to step 505; otherwise, the process proceeds to step 506.
[0087] In step 505, the UE initiates a new PDU session modification (or release) process (hereinafter referred to as process 3), i.e., sends a new PDU session modification (or release) request to the network device, and proceeds to step 509;
[0088] In step 506, the UE determines whether it has received a modification (or release) command (i.e., an example of a first session management message) returned by the network device for process 1. If so, the process proceeds to step 507; otherwise, the process proceeds to step 501;
[0089] In step 507, the UE obtains the PSI and PTI of the PDU session modification (or release) command (i.e., an example of the second session management message) of process 2 initiated by the network device, and proceeds to step 508;
[0090] Step 508: The UE uses the acquired PSI and PTI to initiate a PDU session modification (or release) request, and proceeds to step 509;
[0091] Step 509, complete the entire process.
[0092] It is understandable that in the case of a collision between the PDU session modification process initiated by the UE and the PDU session modification process initiated by the network device, if the network device does not ignore the PDU session modification process initiated by the UE during abnormal processing, the UE will receive two PDU session modification commands with different PTIs. At this time, the UE reports a 5GSM status message to the network device, which contains a reason value PTI mismatch. After receiving the message, the network device will initiate a PDU session release process, resulting in a disconnection of the data connection. Figure 5 The corresponding technical solution can restore and complete the modification of the initiated PDU session within T seconds, thereby avoiding the phenomenon of data connection disconnection caused by PTI mismatch, and ensuring that the UE can smoothly carry out the PDU session modification process without data connection disconnection.
[0093] In the case where the PDU session release process initiated by the UE collides with the PDU session release process initiated by the network device, if the network device exception handling does not ignore the PDU session release process initiated by the UE, the UE will eventually receive two PDU session release commands with different PTIs. At this time, the UE will report a 5GSM status message to the network, which contains the reason value PTI mismatch. After receiving the message, the network device will not release the connection, resulting in the data connection being unable to disconnect for a long time. Figure 5 The corresponding technical solution can restore the release of the initiated PDU session within T seconds, thereby avoiding the phenomenon that the data connection cannot be disconnected for a long time due to PTI mismatch, and thus ensuring that the UE can smoothly carry out the PDU session release process and the data connection can be quickly disconnected.
[0094] The above solution is still applicable to the case where a collision occurs during the PDU session establishment process. Of course, it can also be extended to other collision situations, which are not described in detail due to space reasons.
[0095] It should be noted that the value of the aforementioned clock T is adjustable, and machine learning training can be used to determine the optimal value for different scenarios. For example, in a 4G to 5G transition scenario, if a collision occurs, T can be set to 2 seconds. In a 5G SA scenario, if a collision occurs, T can be trained to a more appropriate value. Of course, the training results require a large number of samples.
[0096] Based on the foregoing embodiments, an embodiment of the present application provides a data processing device, which includes the modules included and the units included in each module, and can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0097] Figure 6 This is a structural diagram of the data processing device according to an embodiment of the present application. Figure 6 As shown, the data processing device 60 includes:
[0098] a timing module 601 configured to start timing when a first session management process initiated to a first device collides with a second session management process initiated by the first device; wherein the priority of the second session management process is higher than the priority of the first session management process;
[0099] an acquiring module 602 configured to acquire session parameter information from a received second session management message belonging to the second session management process if a first session management message belonging to the first session management process is received from the first device within a target duration;
[0100] The process initiating module 603 is configured to initiate a new first session management process to the first device according to the session parameter information.
[0101] In some embodiments, the data processing apparatus 60 further comprises a prohibition module configured to prohibit reporting a status message indicating mismatch of session parameter information to the first device if a session management message of the first session management process is received within the target duration.
[0102] In some embodiments, the acquisition module 602 is further configured to: determine a network registration scenario; and acquire a target duration that matches the network registration scenario.
[0103] In some embodiments, the data processing device further includes: a data collection module, a data analysis module and a data storage module; wherein the data collection module is used to collect collision processing duration sets under different types of historical network registration scenarios; wherein the collision processing duration refers to the time between the time when a collision occurs in the session management process and the time when a new session management process is initiated; the data analysis module is used to analyze the collision processing duration sets corresponding to the historical network registration scenarios to obtain representative durations of the historical network registration scenarios; wherein the representative duration is used to reflect the general level of the values in the collision processing duration sets; the data storage module is used to associate and store each type identifier representing each historical network registration scenario with the corresponding representative duration to obtain a duration mapping table; the acquisition module 602 is used to obtain the representative duration corresponding to the type identifier of the network registration scenario from the duration mapping table, and use the corresponding representative duration as the target duration.
[0104] In some embodiments, the first session management process and the second session management process are of the same type; the first session management process and the second session management process are one of the following: a session modification process, a session release process, and a session establishment process.
[0105] In some embodiments, the data processing device 60 further includes a message sending module, a message receiving module, and a determination module; wherein the message sending module is configured to send a third session management message belonging to the first session management process to the first device; the message receiving module is configured to receive a second session management message belonging to the second session management process sent by the first device; and the determination module is configured to determine whether session parameter information carried in the third session management message is consistent with the session parameter information carried in the second session management message; and if inconsistent, determine that the first session management process and the second session management process collide.
[0106] The description of the above device embodiment is similar to the description of the above method embodiment and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of this application, please refer to the description of the method embodiment of this application for understanding.
[0107] It should be noted that in the embodiments of this application Figure 6 The division of modules in the data processing device shown is schematic and is only a logical functional division. In actual implementation, other division methods may be used. In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or can exist physically separately, or two or more units can be integrated into a single unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It can also be implemented in the form of a combination of software and hardware.
[0108] It should be noted that, in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0109] An embodiment of the present application provides an electronic device, which may be a user device or a network device, and is not limited to this in the embodiment of the present application. Figure 7 This is a schematic diagram of the hardware entity of the electronic device according to the embodiment of the present application, such as Figure 7 As shown, the electronic device 70 includes a memory 701 and a processor 702. The memory 701 stores a computer program that can be run on the processor 702. When the processor 702 executes the program, the steps in the method provided in the above embodiment are implemented.
[0110] It should be noted that the memory 701 is configured to store instructions and applications executable by the processor 702, and can also cache data to be processed or processed by the processor 702 and various modules in the electronic device 70 (for example, image data, audio data, voice communication data and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0111] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method provided in the above embodiment are implemented.
[0112] An embodiment of the present application provides a computer program product containing instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.
[0113] It should be noted that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium, and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0114] It should be understood that the "one embodiment" or "an embodiment" or "some embodiments" or "other embodiments" or "still some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "in some embodiments" or "in other embodiments" or "in still other embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments. The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other. For the sake of brevity, they will not be repeated here.
[0115] The term "and / or" in this article is only a description of the association relationship between associated objects, indicating that there can be three relationships. For example, object A and / or object B can mean: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0116] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0117] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0118] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed across multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0119] In addition, all functional modules in the embodiments of the present application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the above-mentioned integrated modules can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0120] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, and other media that can store program codes.
[0121] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0122] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0123] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0124] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0125] The above is merely an embodiment of the present application, but the scope of protection of the present application 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 application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A data processing method, It is characterized in that The method comprises: When a first session management process initiated to a first device collides with a second session management process initiated by the first device, starting timing; wherein the priority of the second session management process is higher than the priority of the first session management process; If a first session management message belonging to the first session management process replied by the first device is received within the target duration, it is prohibited to report a status message indicating that the session parameter information does not match to the first device, and to obtain the session parameter information from the received second session management message belonging to the second session management process; Initiate a new first session management process to the first device according to the session parameter information.
2. The method according to claim 1, It is characterized in that The method further comprises: Determine the network registration scenario; Obtain a target duration that matches the network registration scenario.
3. The method according to claim 2, It is characterized in that The method further comprises: Collect collision processing duration sets in different types of historical network registration scenarios; wherein the collision processing duration refers to the time between the time when the collision occurs in the session management process and the time when a new session management process is initiated; Analyze the collision processing duration set corresponding to the historical network registration scenario to obtain the representative duration of the historical network registration scenario; wherein the representative duration is used to reflect the general level of the values in the collision processing duration set; The type identifier representing each historical network registration scenario is associated with the corresponding representative duration and stored to obtain a duration mapping table; Accordingly, the acquiring of the target duration matching the network registration scenario includes: A representative duration corresponding to the type identifier of the network registration scenario is obtained from the duration mapping table, and the corresponding representative duration is used as the target duration.
4. The method according to claim 1, It is characterized in that The first session management process and the second session management process are of the same type; the first session management process and the second session management process are one of the following: a session modification process, a session release process, and a session establishment process.
5. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: sending a third session management message belonging to the first session management process to the first device; and receiving a second session management message belonging to the second session management process sent by the first device; determining whether the session parameter information carried by the third session management message is consistent with the session parameter information carried by the second session management message; If they are inconsistent, it is determined that the first session management process collides with the second session management process.
6. The method according to any one of claims 1 to 4, It is characterized in that The method is applied to a UE, and the first device is a network device.
7. A data processing device, It is characterized in that include: a timing module, configured to start timing when a first session management process initiated to a first device collides with a second session management process initiated by the first device; wherein the priority of the second session management process is higher than the priority of the first session management process; an acquisition module, configured to acquire session parameter information from a received second session management message belonging to the second session management process if a first session management message belonging to the first session management process replied by the first device is received within a target duration; a process initiating module, configured to initiate a new first session management process to the first device according to the session parameter information; If a first session management message belonging to the first session management process replied by the first device is received within the target duration, it is prohibited to report a status message indicating that the session parameter information does not match to the first device.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
