Method and apparatus for reassembling packet data units
By monitoring and modifying the network setup process of the dual user identification card in the mobile phone, the problem of the SA card NAS establishing PDU data and registering IMS was solved. By modifying the reasons for the unavailability of radio frequency resources, the time spent on PDU reconstruction and IMS registration was reduced, and the setup efficiency was improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2022-03-18
- Publication Date
- 2026-04-24
AI Technical Summary
After installing two Independent Networking (SA) cards in a mobile phone, there may be a problem where the attachment response time of one SA card is relatively long, which causes the NAS of the other SA card to take a long time to establish PDU data and register IMS.
By monitoring the network registration process of dual user identification cards, in response to the first user identification card attaching timeout and the second user identification card NAS connection failure, the failure reason of the second user identification card is changed to radio frequency resources unavailable, and PDU connection is re-established after obtaining available radio frequency resources, increasing the number of reconstructions and/or time intervals, and prohibiting the reporting of failure reasons.
It reduces the time spent on PDU reconstruction and IMS registration, avoids data service processing unit interception, and improves the NAS establishment efficiency of SA card.
Smart Images

Figure CN116801426B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of terminal technology, and in particular to a method and apparatus for reconstructing a Packet Data Unit (PDU). Background Technology
[0002] In related technologies, after installing two Standalone (SA) cards in a mobile phone, there will be a time difference in the detection of the two SA cards. After the mobile phone detects the two SA cards, the two cards will initiate a network registration request. If the attachment response time of one SA card is longer, it will cause the NAS of the other SA card to reach the maximum threshold of failures when establishing PDUs. This will cause the data service processing unit to throttle the flow. The throttling time is longer, which will cause the non-access stratum (NAS) of the SA card to take a long time to establish packet data unit (PDU) data and register IMS. Summary of the Invention
[0003] This disclosure provides a method and apparatus for reconstructing Packet Data Units (PDUs), as well as a terminal device, electronic device, and computer-readable storage medium, to at least solve the problem that the data service processing unit performs data interception, which takes a long time, resulting in a long time for SA card NAS to establish PDU data and register IMS.
[0004] The technical solution disclosed herein is as follows:
[0005] According to a first aspect of the present disclosure, a method for reconstructing a Packet Data Unit (PDU) is provided, comprising: monitoring the network registration process of two User Identification Cards (UICs); in response to detecting that the attachment of the first UIC has timed out and the connection of the other UIC has failed due to the PDU connection being established by the Non-Access Stratum (NAS) reaching the maximum threshold, modifying the failure reason of the second UIC to radio frequency resources unavailable; and in response to the second UIC obtaining available radio frequency resources, re-establishing the PDU connection of the second UIC based on the available radio frequency resources.
[0006] This application modifies the failure reason of the second user identification card to be unavailable radio frequency resources, so that the data service processing unit no longer intercepts the flow. After the second user identification card obtains radio frequency resources, it immediately performs PDU reconstruction, which reduces the time consumed by PDU reconstruction and IMS registration.
[0007] In some embodiments, after modifying the failure reason of the second user identification card to be unavailable radio frequency resources, the method further includes: increasing the number of PDU reconnection reconstructions and / or the time interval performed by the NAS.
[0008] In some embodiments, after detecting that the attachment timeout of the first user identification card and the connection failure of another second user identification card due to the PDU connection being reached at the maximum threshold by the non-access stratum NAS, the method further includes: determining the cell and / or frequency point currently requested for attachment by the first user identification card as an abnormal cell and / or abnormal frequency point; marking the PDU connection failure reason of the abnormal cell and / or abnormal frequency point as radio frequency resources unavailable; in response to the terminal device re-entering the abnormal cell and / or abnormal frequency point and the second user identification card experiencing PDU connection failure, directly executing the modification of the failure reason of the second user identification card to radio frequency resources unavailable and subsequent steps.
[0009] In some embodiments, after marking the PDU connection failure of abnormal cells and / or abnormal frequencies as radio frequency resources unavailable, the method further includes: obtaining the cause flag bit of the PDU connection failure of abnormal cells and / or abnormal frequencies, and assigning the failure cause flag bit to a set value.
[0010] In some embodiments, after modifying the failure reason of the second user identification card to radio frequency resources unavailable, the method further includes: prohibiting the reporting of the reason for PDU connection failure to the application processor subsystem APSS.
[0011] In some embodiments, monitoring the dual user identification card (DIC) network registration process includes: acquiring the registration data of each DIC during the network registration process; and in response to the registration data meeting the set abnormal network registration conditions, determining that the first DIC attachment timed out and the second DIC connection failed to establish a connection due to the PDU connection established by the non-access stratum NAS reaching the maximum threshold.
[0012] In some embodiments, obtaining the respective network registration data of the two user identification cards during the network registration process includes: obtaining the request time when the first user identification card initiates an attachment request after the two cards are identified, and the monitoring time when the attachment response corresponding to the attachment request is detected; obtaining the time interval between the request time and the monitoring time; and obtaining the number of connection establishments of PDUs initiated by the second user identification card during the network registration process.
[0013] In some embodiments, the network data meets the set network abnormality conditions, including: in response to a time interval greater than a preset time interval and the number of connection establishments reaching the maximum connection establishment threshold, the network data is considered to meet the set network abnormality conditions.
[0014] According to a second aspect of the present disclosure, a packet data unit (PDU) reconstruction apparatus is provided, comprising: a monitoring module for monitoring the dual user identification card (SIM) network setup process; a modification module for modifying the failure reason of the second SIM card to be unavailable radio frequency resources in response to the detection that the attachment of the first SIM card has timed out and the second SIM card fails to establish a connection due to the PDU connection being reached at the maximum threshold in the non-access stratum (NAS); and a connection establishment module for re-establishing a PDU connection for the second SIM card based on the available radio frequency resources in response to the second SIM card acquiring available radio frequency resources.
[0015] In some embodiments, the modified module is further configured to: increase the number of PDU reconnection rebuilds and / or the time intervals performed by the NAS.
[0016] In some embodiments, the modification module is further configured to: determine the cell and / or frequency point to which the first user identification card is currently requesting to attach as an abnormal cell and / or abnormal frequency point; mark the PDU connection failure reason of the abnormal cell and / or abnormal frequency point as radio frequency resources unavailable; and in response to the terminal device re-entering the abnormal cell and / or abnormal frequency point, and the second user identification card experiencing PDU connection failure, directly execute the modification of the failure reason of the second user identification card to radio frequency resources unavailable and subsequent steps.
[0017] In some embodiments, the modification module is further configured to: obtain the reason flag bit for the PDU establishment failure of abnormal cells and / or abnormal frequency points, and assign the failure reason flag bit to a set value.
[0018] In some embodiments, the modified module is further configured to: prevent the reporting of reasons for PDU connection failures to the Application Processor Subsystem (APSS).
[0019] In some embodiments, the monitoring module is further configured to: acquire the respective network registration data of the two user identification cards during the network registration process; and, in response to the network registration data meeting the set network registration abnormality conditions, determine that the attachment of the first user identification card has timed out and the connection of the second user identification card has failed due to the PDU connection established by the non-access stratum NAS reaching the maximum threshold.
[0020] In some embodiments, the monitoring module is further configured to: obtain the request time when the first user identification card initiates an attach request after the dual cards are identified, and the monitoring time when the attach response corresponding to the attach request is detected; obtain the time interval between the request time and the monitoring time; and obtain the number of PDUs established during the second user identification card's network registration process.
[0021] In some embodiments, the monitoring module is further configured to: in response to a time interval greater than a preset time interval and the number of connection establishments reaching the maximum connection establishment threshold, consider the network data to meet the set network abnormality conditions.
[0022] According to a third aspect of the present disclosure, a terminal device is provided, including: a device for reconstructing a Packet Data Unit (PDU) as described in the second aspect of the present disclosure.
[0023] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute instructions to implement a method for reconstructing a Packet Data Unit (PDU) as described in the first aspect of the present disclosure.
[0024] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided that, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform a packet data unit (PDU) reconstruction method as described in the first aspect of the present disclosure.
[0025] The technical solutions provided by the embodiments of this disclosure bring at least the following beneficial effects: By modifying the failure reason of the second user identification card to the unavailability of radio frequency resources, the data service processing unit no longer intercepts the flow, and the second user identification card immediately reconstructs the PDU after obtaining radio frequency resources, thereby reducing the time consumed by PDU reconstruction and IMS registration.
[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0027] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0028] Figure 1 This is a schematic diagram illustrating a method for reconstructing a Packet Data Unit (PDU) according to an exemplary embodiment.
[0029] Figure 2 This is a general flowchart illustrating a method for reconstructing a Packet Data Unit (PDU) according to an exemplary embodiment.
[0030] Figure 3 This is a schematic diagram of a packet data unit (PDU) reconstruction apparatus according to an exemplary embodiment.
[0031] Figure 4 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0032] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0033] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0034] The following is an explanation of some of the terms used in this application;
[0035] Standalone (SA) mode: This refers to building a new 5G network, including new base stations, backhaul links, and the core network. SA introduces entirely new network elements and interfaces, and will also adopt new technologies such as network virtualization and software-defined networking on a large scale, combined with 5G New Radio (NR). At the same time, the technical challenges it faces in protocol development, network planning and deployment, and interoperability will surpass those of 3G and 4G systems.
[0036] A Packet Data Unit (PDU) is a module in a GPRS (General Packet Radio Service) network. In this application, PDU establishment refers to initiating a PDU session establishment request in the 5G SA basic signaling.
[0037] The Non-Access Stratum (NAS) exists in the UMTS wireless communication protocol stack as a functional layer between the core network and user equipment. This layer supports signaling and data transmission between the two.
[0038] Figure 1 This is an exemplary implementation of the Packet Data Unit (PDU) reconstruction method proposed in this application, executed by a terminal device, such as... Figure 1 As shown, the method for reconstructing the Packet Data Unit (PDU) includes the following steps:
[0039] S101 monitors the dual user identification card registration process.
[0040] After the user installs two SIM cards into the terminal device, the terminal device will identify the two SIM cards. Once the terminal device recognizes that the two SIM cards are ready, the two SIM cards will initiate a network registration request. The terminal device needs to monitor the network registration process of the two SIM cards.
[0041] Optionally, the user identification card can be an SA card.
[0042] Optionally, the terminal device can be a mobile phone, tablet, etc. Currently, it is common for mobile phones to be able to install two user identification cards at the same time.
[0043] S102, in response to the detection that the attachment time of the first user identification card has expired and the connection of the other second user identification card has failed due to the PDU connection made by the non-access stratum NAS reaching the maximum threshold, the failure reason of the second user identification card is changed to radio frequency resources unavailable.
[0044] There is a time lag between the terminal device recognizing two SIM cards and the two SIM cards being ready to initiate a network registration request. For example, if the terminal device detects the first SIM card first but not the second SIM card at the same time, the terminal device will determine that only the first SIM card exists, and the first SIM card will initiate an attach request. After a period of time, if the terminal device detects the second SIM card, the terminal device will determine that there are two SIM cards, and the two SIM cards will re-initiate a network registration request.
[0045] A preset time interval is set. If the duration of the first user identification card's attachment response exceeds this preset time interval, the first user identification card is considered to have timed out. If, during the first user identification card's attachment request process, the second user identification card initiates NAS PDU connection establishment, and the second user identification card cannot successfully establish a PDU connection because the radio frequency resources are occupied by the first user identification card, and if the reason for the PDU connection failure is SM5G PDU MAX TIMEOUT (i.e., the NAS's PDU connection establishment reaches the maximum threshold and fails), then the failure reason for the second user identification card is directly modified to radio frequency resources unavailable, instead of returning SM5G PDU MAX TIMEOUT as the failure reason. This is to avoid the data service processing unit (Data Service) from throttling traffic after recognizing the SM5G PDU MAX TIMEOUT reason.
[0046] It is easy to understand that since data service processing unit interception can also affect IMS registration time, this application avoids data service processing unit interception, thereby reducing the time consumption of IMS registration.
[0047] S103, in response to the second user identification card obtaining available radio frequency resources, the second user identification card is reconnected to the PDU based on the available radio frequency resources.
[0048] When the first user identification card attaches successfully, it releases the radio frequency resources it occupies. At this time, the second user identification card can obtain available radio frequency resources and then re-establish PDU connection based on the available radio frequency resources.
[0049] This application proposes a method for reconstructing Packet Data Units (PDUs). This method monitors the dual-user identification card (SIM) network setup process. In response to the detection that the first SIM's attachment timed out and the second SIM's connection failed due to the non-access stratum (NAS) reaching its maximum threshold, the failure reason for the second SIM is changed to unavailable radio frequency (RF) resources. In response to the second SIM acquiring available RF resources, the PDU connection is re-established based on those resources. By changing the failure reason for the second SIM to unavailable RF resources, this application eliminates data service processing unit (SFS) throttling, allowing the second SIM to immediately reconstruct the PDU upon acquiring RF resources, thus reducing the time required for PDU reconstruction and IMS registration.
[0050] Figure 2 This is an exemplary implementation of the Packet Data Unit (PDU) reconstruction method proposed in this application, executed by a terminal device, such as... Figure 2 As shown, the method for reconstructing the Packet Data Unit (PDU) includes the following steps:
[0051] S201, acquire the registration data of each user identification card during the registration process.
[0052] After the user installs two SIM cards into the terminal device, the terminal device will identify the two SIM cards. Once the terminal device recognizes that the two SIM cards are ready, the two SIM cards will initiate a network registration request. During the network registration process of the two SIM cards, the terminal device will obtain the network registration data of each SIM card in real time.
[0053] S202, in response to the network registration data meeting the set network registration abnormal conditions, it is determined that the first user identification card attachment timed out and the second user identification card failed to establish a connection because the PDU connection established by the non-access stratum NAS reached the maximum threshold, and the failure reason of the second user identification card is changed to radio frequency resources unavailable.
[0054] The terminal device acquires in real time the request time when the first user identification card initiates the attachment request after the dual user identification cards are identified, and the monitoring time of the attachment response corresponding to the attachment request of the first user identification card detected by the terminal device. Based on the request time and the monitoring time, the time interval between the request time and the monitoring time is obtained.
[0055] If, during the attachment process of the first user identification card, the second user identification card initiates a non-access stratum NAS to establish a PDU connection, then the number of PDU connection establishments initiated by the second user identification card is obtained.
[0056] A preset time interval and a maximum connection threshold are set. If the time interval is greater than the preset time interval and the number of connection attempts reaches the maximum connection threshold, the first user identification card is considered to have timed out, and the second user identification card fails to establish a connection because the PDU connection made by the NAS has reached the maximum threshold. In order to avoid the data service processing unit from blocking the flow after recognizing this reason, the reason for the failure of the second user identification card is directly changed from the connection failure due to the PDU connection reaching the maximum threshold to the unavailability of radio frequency resources.
[0057] S203, Increase the number of PDU re-establishments and / or time intervals performed by the NAS.
[0058] After modifying the failure reason of the second user identification card to be unavailable radio frequency resources, the number of PDU reconnection attempts and / or the time interval can be increased.
[0059] For example, if the NAS was previously set to rebuild the PDU connection 5 times, it can be increased by 10 times, meaning the NAS will rebuild the PDU connection 15 times after the increase.
[0060] For example, if the time interval between each PDU connection established by the NAS was previously set to 1 second, then the time interval between each PDU connection established by the NAS can be increased by 1 second, that is, after the increase, the time interval between each PDU connection established by the NAS will be 2 seconds.
[0061] S204, prohibit reporting the reason for PDU connection failure to the Application Processor Subsystem (APSS).
[0062] In existing technologies, the reason for PDU connection failure is also returned to the Application Processor Subsystem (APSS). After receiving a PDU connection failure report, the APSS starts a timer, and only after the timer expires will it initiate a request to rebuild the PDU data. To reduce the time spent on PDU connection establishment, this application prohibits reporting the reason for PDU connection failure to the Application Processor Subsystem (APSS) to avoid the APSS initiating a timer.
[0063] S205, the cell and / or frequency point to which the first user identification card is currently requesting to attach is determined to be an abnormal cell and / or abnormal frequency point.
[0064] The cell to which the first user identification card is currently requesting attachment is identified as an abnormal cell, and the frequency point to which the first user identification card is currently requesting attachment is identified as an abnormal frequency point.
[0065] S206, mark the reason for the failure of PDU establishment in abnormal cells and / or abnormal frequencies as radio frequency resources unavailable, obtain the reason flag bit for the failure of PDU establishment in abnormal cells and / or abnormal frequencies, and assign the failure reason flag bit to a set value.
[0066] After identifying the abnormal cell and / or abnormal frequency, the reason for the PDU connection failure in the abnormal cell and / or abnormal frequency can be marked as unavailable radio frequency resources. The cause flag for the PDU connection failure in the abnormal cell and / or abnormal frequency can be obtained, and the cause flag can be assigned a set value. For example, the cause of the PDU connection failure can be set to unavailable radio frequency resources, and the flag can be set to 1.
[0067] S207, in response to the terminal device re-entering an abnormal cell and / or an abnormal frequency, and the second user identification card experiencing PDU connection failure, directly execute the modification of the second user identification card's failure reason as unavailable radio frequency resources and subsequent steps.
[0068] When the terminal device re-enters an abnormal cell and / or an abnormal frequency, and the second user identification card fails to establish a PDU connection or detects a flag bit, the reconstruction method proposed in this application is directly executed to modify the reason for the failure of the second user identification card to be unavailable radio frequency resources, increase the number of PDU connection reconstructions performed by the NAS and / or the time interval, and prohibit the reporting of the reason for the PDU connection failure to the application processor subsystem APSS.
[0069] S208, in response to the second user identification card obtaining available radio frequency resources, the second user identification card is reconnected to the PDU based on the available radio frequency resources.
[0070] When the first user identification card attaches successfully, it releases the radio frequency resources it occupies. At this time, the second user identification card can obtain available radio frequency resources and then re-establish PDU connection based on the available radio frequency resources.
[0071] This application modifies the failure reason of the second user identification card to be unavailable radio frequency resources, and increases the number of PDU connection reconstructions and / or time intervals performed by the NAS, so that the data service processing unit no longer throttles traffic, and prohibits reporting the reason for PDU connection failure to the application processor subsystem APSS, so as to avoid APSS initiating timing. The second user identification card immediately performs PDU reconstruction after obtaining radio frequency resources, thereby reducing the time consumption of PDU reconstruction and IMS registration.
[0072] The following example, using two SIM cards installed in a mobile phone, provides a general overview of the Packet Data Unit (PDU) reconstruction method proposed in this application. The first user identification card is designated as the secondary card, labeled SIM 1, and the second user identification card is designated as the primary card, labeled SIM 2. After the terminal device detects SIM 1, it determines it is a single SIM card and initiates an attach request. A seconds later, the terminal device detects SIM 2 and determines it is a dual-SIM card setup; both cards re-initiate network registration requests.
[0073] Card 2 initiates a second attach request. However, due to the slow response time of some network attach requests, if the attachment response duration M is greater than the preset time interval, Card 2 will initiate a PDU establishment request within these M seconds. However, since Card 1 has been occupying radio frequency resources for M seconds, Card 2's PDU establishment request will fail because the number of PDU establishment attempts has reached the maximum threshold. To prevent the data service processing unit from blocking traffic after recognizing this reason, the failure reason of the second user identification card is directly changed from PDU connection failure due to reaching the maximum threshold to radio frequency resource unavailability. Furthermore, the number of PDU reconstruction attempts and / or reconstruction intervals initiated by the NAS are increased, and the reporting of the PDU connection failure reason to the application processor subsystem APSS is prohibited. When Card 2 obtains available radio frequency resources, the PDU connection is re-established for Card 2 based on the available radio frequency resources.
[0074] In addition to the above, this application also identifies the cell and / or frequency point to which SIM 1 is currently requesting attachment as an abnormal cell and / or frequency point, marks the PDU connection failure reason of the abnormal cell and / or frequency point as radio frequency resource unavailable, obtains the reason flag bit of the PDU connection failure of the abnormal cell and / or frequency point, and assigns the failure reason flag bit to a set value, for example, the set value can be 1. When the terminal device re-enters the abnormal cell and / or frequency point, and the second user identification card experiences PDU connection failure, it directly executes to modify the failure reason of the second user identification card to radio frequency resource unavailable, so as to avoid the data service processing unit from intercepting the flow.
[0075] Figure 3 This is a schematic diagram of a reconstruction device for a Packet Data Unit (PDU) proposed in this application, as shown below. Figure 3As shown, the reconstruction apparatus 300 for the Packet Data Unit (PDU) includes:
[0076] Monitoring module 31 is used to monitor the dual user identification card registration process.
[0077] Modify module 32 to respond to the detection that the attachment timeout of the first user identification card and the failure of the connection of another second user identification card due to the PDU connection of the non-access stratum NAS reaching the maximum threshold, modify the failure reason of the second user identification card to be unavailable radio frequency resources.
[0078] The connection module 33 is used to re-establish a PDU connection with the second user identification card based on the available radio frequency resources when the second user identification card obtains available radio frequency resources.
[0079] This application proposes a Packet Data Unit (PDU) reconstruction apparatus. It monitors the dual-user identification card (SIM) network setup process. In response to the detection that the first SIM's attachment timed out and the second SIM's connection failed due to the non-access stratum (NAS) reaching its maximum threshold, the failure reason for the second SIM is changed to unavailable radio frequency (RF) resources. In response to the second SIM acquiring available RF resources, the PDU connection is re-established based on those resources. By changing the failure reason for the second SIM to unavailable RF resources, this application prevents the data service processing unit from throttling traffic. The second SIM immediately reconstructs the PDU after acquiring RF resources, reducing the time required for PDU reconstruction and IMS registration.
[0080] Furthermore, module 32 is also modified to: increase the number of PDU reconnection rebuilds and / or the time intervals performed by the NAS.
[0081] Furthermore, the modification module 32 is also used to: determine the cell and / or frequency point to which the first user identification card is currently requesting to attach as an abnormal cell and / or abnormal frequency point; mark the PDU connection failure reason of the abnormal cell and / or abnormal frequency point as radio frequency resources unavailable; in response to the terminal device re-entering the abnormal cell and / or abnormal frequency point, and the second user identification card experiencing PDU connection failure, directly execute the modification of the failure reason of the second user identification card to radio frequency resources unavailable and subsequent steps.
[0082] Furthermore, the modified module 32 is also used to: obtain the reason flag bit of the PDU establishment failure of abnormal cells and / or abnormal frequency points, and assign the failure reason flag bit to a set value.
[0083] Furthermore, module 32 is also modified to: prevent the reporting of reasons for PDU connection failures to the application processor subsystem APSS.
[0084] Furthermore, the monitoring module 31 is also used to: acquire the network registration data of each user identification card during the network registration process; in response to the network registration data meeting the set network registration abnormal conditions, determine that the attachment of the first user identification card has timed out and the second user identification card has failed to establish a connection due to the PDU connection established by the non-access stratum NAS reaching the maximum threshold.
[0085] Furthermore, the monitoring module 31 is also used to: obtain the request time when the first user identification card initiates the attachment request after the dual cards are identified, and the monitoring time when the attachment response corresponding to the attachment request is detected; obtain the time interval between the request time and the monitoring time; and obtain the number of PDUs established during the second user identification card's network registration process.
[0086] Furthermore, the monitoring module 31 is also used to: in response to a time interval greater than a preset time interval and the number of connection establishments reaching the maximum connection establishment threshold, consider the network data to meet the set network abnormality conditions.
[0087] To achieve the above embodiments, this application also proposes an electronic device 400, such as... Figure 4 As shown, the electronic device 400 includes a processor 401 and a memory 402 communicatively connected to the processor. The memory 402 stores instructions that can be executed by at least one processor. The instructions are executed by at least one processor 401 to implement the packet data unit (PDU) reconstruction method as shown in the above embodiment.
[0088] To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the packet data unit (PDU) reconstruction method as shown in the above embodiments.
[0089] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0090] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0091] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for reconstructing a Packet Data Unit (PDU), characterized in that, Executed by the terminal device, including: Monitor the dual user identification card registration process; In response to the detection that the attachment timeout of the first user identification card and the connection failure of the other second user identification card due to the PDU connection of the non-access stratum NAS reaching the maximum threshold, the failure reason of the second user identification card is changed to radio frequency resources unavailable. In response to the second user identification card obtaining available radio frequency resources, the second user identification card is reconnected to the PDU based on the available radio frequency resources.
2. The method according to claim 1, characterized in that, After modifying the reason for the failure of the second user identification card to be unavailable radio frequency resources, the method further includes: Increase the number of PDU reconnection rebuilds and / or the time intervals performed by the NAS.
3. The method according to claim 1, characterized in that, After detecting that the attachment timeout of the first user identification card and the connection failure of the other second user identification card due to the PDU connection of the non-access stratum NAS reaching the maximum threshold, the following steps are also included: The cell and / or frequency point to which the first user identification card is currently requesting to attach is determined to be an abnormal cell and / or abnormal frequency point; Mark the reason for the PDU connection failure of the abnormal cell and / or abnormal frequency as radio frequency resources unavailable; In response to the terminal device re-entering the abnormal cell and / or the abnormal frequency, and the second user identification card experiencing PDU connection failure, the procedure of modifying the failure reason of the second user identification card to be unavailable radio frequency resources and subsequent steps is directly executed.
4. The method according to claim 3, characterized in that, After marking the PDU connection failure of the abnormal cell and / or abnormal frequency point as radio frequency resource unavailable, the method further includes: Obtain the reason flag bit for the PDU establishment failure of the abnormal cell and / or abnormal frequency point, and assign the failure reason flag bit a set value.
5. The method according to any one of claims 1-4, characterized in that, After modifying the reason for the failure of the second user identification card to be unavailable radio frequency resources, the method further includes: The reason for the failure of PDU connection establishment is prohibited from being reported to the Application Processor Subsystem (APSS).
6. The method according to any one of claims 1-4, characterized in that, The monitoring of the dual-user identification card network registration process includes: Acquire the network registration data of each of the two user identification cards during the network registration process; If the network access data meets the set network access anomaly conditions, it is determined that the first user identification card attachment timed out and the second user identification card failed to establish a connection because the PDU connection established by the non-access stratum NAS reached the maximum threshold.
7. The method according to claim 6, characterized in that, The acquisition of the respective network registration data of the dual user identification cards during the network registration process includes: The time when the first user identification card initiates the attachment request after the dual cards are identified, and the time when the attachment response corresponding to the attachment request is detected are obtained. Obtain the time interval between the requested time and the monitoring time; Obtain the number of PDUs established during the second user identification card's network registration process.
8. The method according to claim 7, characterized in that, The network access data meets the set network access anomaly conditions, including: If the time interval is greater than the preset time interval and the number of connection establishments reaches the maximum connection establishment threshold, then the network data is considered to meet the set network abnormality conditions.
9. A device for reconstructing a Packet Data Unit (PDU), characterized in that, include: The monitoring module is used to monitor the dual-user identification card registration process. The module is modified to respond to the detection that the attachment timeout of the first user identification card and the connection failure of the other second user identification card due to the PDU connection of the non-access stratum NAS reaching the maximum threshold are detected, and then the failure reason of the second user identification card is modified to be unavailable radio frequency resources. The connection establishment module is used to re-establish a PDU connection with the second user identification card based on the available radio frequency resources when the second user identification card obtains available radio frequency resources.
10. The apparatus according to claim 9, characterized in that, The modification module is also used for: Increase the number of PDU reconnection rebuilds and / or the time intervals performed by the NAS.
11. The apparatus according to claim 9, characterized in that, The modification module is also used for: The cell and / or frequency point to which the first user identification card is currently requesting to attach is determined to be an abnormal cell and / or abnormal frequency point; Mark the reason for the PDU connection failure of the abnormal cell and / or abnormal frequency as radio frequency resources unavailable; In response to the terminal device re-entering the abnormal cell and / or the abnormal frequency, and the second user identification card experiencing PDU connection failure, the procedure of modifying the failure reason of the second user identification card to be unavailable radio frequency resources and subsequent steps is directly executed.
12. The apparatus according to claim 11, characterized in that, The modification module is also used for: Obtain the reason flag bit for the PDU establishment failure of the abnormal cell and / or abnormal frequency point, and assign the failure reason flag bit a set value.
13. The apparatus according to any one of claims 9-12, characterized in that, The modification module is also used for: The reason for the failure of PDU connection establishment is prohibited from being reported to the Application Processor Subsystem (APSS).
14. The apparatus according to any one of claims 9-12, characterized in that, The monitoring module is also used for: Acquire the network registration data of each of the two user identification cards during the network registration process; If the network access data meets the set network access anomaly conditions, it is determined that the first user identification card attachment timed out and the second user identification card failed to establish a connection because the PDU connection established by the non-access stratum NAS reached the maximum threshold.
15. The apparatus according to claim 14, characterized in that, The monitoring module is also used for: The time when the first user identification card initiates the attachment request after the dual cards are identified, and the time when the attachment response corresponding to the attachment request is detected are obtained. Obtain the time interval between the requested time and the monitoring time; Obtain the number of PDUs established during the second user identification card's network registration process.
16. The apparatus according to claim 15, characterized in that, The monitoring module is also used for: If the time interval is greater than the preset time interval and the number of connection establishments reaches the maximum connection establishment threshold, then the network data is considered to meet the set network abnormality conditions.
17. A terminal device, characterized in that, include: The apparatus for reconstructing a Packet Data Unit (PDU) as described in any one of claims 9-16.
18. An electronic device, characterized in that, include: processor; Memory for storing the executable instructions of the processor; The processor is configured to execute the instructions to implement the method as described in any one of claims 1-8.
19. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as described in any one of claims 1-8.
Citation Information
Patent Citations
Method and apparatus for handling back-off timer in session management level congestion control
CN110063087A
User equipment
US20220015174A1