Communication abnormality processing method and related device

By using the underlying chip to initiate a PDU session establishment request in 5G communications, the problem of abnormal fields when the UE interacts with the core network element AMF is solved, achieving fast data recovery and normal network use, and improving user experience.

CN114915996BActive Publication Date: 2024-10-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210532960.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2024-10-25
Estimated Expiration
2042-05-16

AI Technical Summary

Technical Problem

In 5G communications, abnormal fields appear when the UE interacts with the core network element AMF, causing network data usage to be interrupted and affecting user experience.

Method used

By using the underlying chip to initiate a PDU session establishment request when an exception field appears, detecting whether a PDU session establishment acceptance message is received, and returning a confirmation message, rapid data recovery is achieved.

Benefits of technology

During the interaction between the UE and the core network, the PDU session establishment process is quickly initiated to ensure normal use of network data and improve user Internet experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114915996B_ABST
    Figure CN114915996B_ABST
Patent Text Reader

Abstract

The present application discloses a communication exception processing method and related devices, the method comprising: initiating a specified request, the specified request carries the first PDU session status information; receiving a first acceptance message replied by the core network element to the specified request, the first acceptance message carries the second PDU session status information and the PDU session reactivation result; when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, initiating a PDU session establishment request through the underlying chip; detecting whether the underlying chip receives the PDU session establishment acceptance message; when the underlying chip receives the PDU session establishment acceptance message, returning a confirmation message of successful PDU session establishment. The embodiment of the present application can realize fast data recovery, so that network data can be used normally, and the user's Internet experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method for handling communication anomalies and related devices. Background Art

[0002] With the widespread application of user equipment (UE) (such as mobile phones, tablet computers, etc.), UE can support more and more applications and has more and more powerful functions. UE is developing in a diversified and personalized direction and has become an indispensable electronic product in users' lives.

[0003] At present, 5G communication has also become an essential function of user equipment, and the 5G networking mode has changed from non-stand alone (NSA) to stand alone (SA). SA networking is the final form of the 5G core network, but when the UE interacts with the core network element AMF (access and mobility management function), abnormal fields will appear, resulting in the inability to use network data normally for a period of time, thereby reducing the user's Internet experience. Summary of the invention

[0004] The embodiment of the present application provides a communication exception handling method and related devices, which can quickly initiate a PDU session establishment process when an abnormal field appears during the interaction between the UE and the core network element AMF, so as to achieve rapid data recovery, thereby using network data normally and improving the user's Internet experience.

[0005] In a first aspect, an embodiment of the present application provides a method for handling communication exceptions, the method comprising:

[0006] Initiating a specified request, where the specified request carries the first PDU session state information;

[0007] Receiving a first acceptance message replied by the core network element to the specified request, wherein the first acceptance message carries the second PDU session state information and the PDU session reactivation result;

[0008] When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, initiating a PDU session establishment request through the underlying chip;

[0009] Detect whether the bottom layer chip has received a PDU session establishment acceptance message; when the bottom layer chip receives the PDU session establishment acceptance message, return a confirmation message indicating that the PDU session has been successfully established.

[0010] In a second aspect, an embodiment of the present application provides a communication exception processing device, the device comprising: a transceiver unit and a PDU session processing unit, wherein:

[0011] The transceiver unit is configured to initiate a specified request, the specified request carrying first PDU session state information; and receive a first acceptance message replied by the core network element to the specified request, the first acceptance message carrying second PDU session state information and a PDU session reactivation result;

[0012] The PDU session processing unit is used to initiate a PDU session establishment request through the underlying chip when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field; detect whether the underlying chip has received a PDU session establishment acceptance message; and when the underlying chip receives the PDU session establishment acceptance message, return a confirmation message of successful PDU session establishment.

[0013] In a third aspect, an embodiment of the present application provides an artificial intelligence chip, which is used to execute some or all of the steps described by the first party.

[0014] In a fourth aspect, an embodiment of the present application provides a user device, comprising a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program comprises a method for executing some or all of the steps described by the first party, or the user device comprises an artificial intelligence chip as described in the third aspect.

[0015] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0017] The implementation of the embodiments of the present application has the following beneficial effects:

[0018] It can be seen that the communication exception handling method and related devices described in the embodiments of the present application initiate a specified request, the specified request carries first PDU session status information, and receives a first acceptance message in response to the specified request by the core network element, the first acceptance message carries second PDU session status information and a PDU session reactivation result. When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, a PDU session establishment request is initiated through the underlying chip, and it is detected whether the underlying chip has received the PDU session establishment acceptance message. When the underlying chip receives the PDU session establishment acceptance message, a confirmation message of successful PDU session establishment is returned. During the interaction with the core network, when the exception field appears, the PDU session establishment process can be quickly initiated through the underlying chip, thereby enabling rapid data recovery, ensuring normal use of network data, and improving user Internet experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 is a structural diagram of a user equipment provided in an embodiment of the present application;

[0021] Figure 2 is a schematic diagram of the software structure of a user device provided in an embodiment of the present application;

[0022] Figure 3 It is a flowchart of a communication exception handling method provided in an embodiment of the present application;

[0023] Figure 4 It is a flowchart of another communication exception handling method provided in an embodiment of the present application;

[0024] Figure 5 It is a flowchart of another communication exception handling method provided in an embodiment of the present application;

[0025] Figure 6 is a structural diagram of another user equipment provided in an embodiment of the present application;

[0026] Figure 7 It is a block diagram of the functional units of a communication exception handling device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0028] In order to better understand the solutions of the embodiments of the present application, the relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.

[0029] In a specific implementation, the user equipment may include various devices with computer functions, such as handheld devices (smartphones, tablet computers, etc.), vehicle-mounted devices (navigators, assisted reversing systems, driving recorders, car refrigerators, etc.), wearable devices (smart bracelets, wireless headphones, smart watches, smart glasses, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (UE), mobile stations (MS), virtual reality / augmented reality devices, terminal devices, etc. The user equipment may also be a base station or a server.

[0030] User devices may also include smart home devices, which may be at least one of the following: smart speakers, smart cameras, smart rice cookers, smart wheelchairs, smart massage chairs, smart furniture, smart dishwashers, smart televisions, smart refrigerators, smart electric fans, smart heaters, smart clothes drying racks, smart lights, smart routers, smart switches, smart switch panels, smart humidifiers, smart air conditioners, smart doors, smart windows, smart stoves, smart disinfection cabinets, smart toilets, sweeping robots, etc., without limitation.

[0031] In the first part, the software and hardware operating environment of the technical solution disclosed in this application is introduced as follows.

[0032] As shown in the figure, Figure 1 1 shows a schematic diagram of the structure of the user equipment 100. The user equipment 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195.

[0033] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the user equipment 100. In other embodiments of the present application, the user equipment 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0034] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor NPU, etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the user equipment 100 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be provided in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. In this way, repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the user equipment 100 in processing data or executing instructions is improved. The processor may further include an image processor, which may be an image preprocessor (preprocess image signal processor, Pre-ISP), which may be understood as a simplified ISP, and which may also perform some image processing operations, for example, may obtain image statistical information.

[0035] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface and / or a USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the user device 100, and can also be used to transmit data between the user device 100 and a peripheral device. The USB interface 130 can also be used to connect headphones to play audio through the headphones.

[0036] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the user equipment 100. In other embodiments of the present application, the user equipment 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0037] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the user device 100. While the charging management module 140 is charging the battery 142, it may also power the user device through the power management module 141.

[0038] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193 and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0039] The wireless communication function of the user equipment 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.

[0040] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in user equipment 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0041] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G / 6G applied to the user equipment 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0042] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the user equipment 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0043] The user device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0044] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (miniLED), MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the user device 100 may include one or more display screens 194.

[0045] The user equipment 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.

[0046] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0047] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the user device 100 may include one or more cameras 193.

[0048] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the user equipment 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0049] Video codecs are used to compress or decompress digital videos. The user device 100 may support one or more video codecs. In this way, the user device 100 can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0050] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, the user device 100 can realize applications such as intelligent cognition, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0051] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the user device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.

[0052] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can execute the above instructions stored in the internal memory 121, so that the user device 100 executes the method of displaying page elements provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the user device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, the processor 110 can execute the method of displaying page elements provided in the embodiments of the present application, as well as other applications and data processing by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110. The user equipment 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

[0053] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0054] Among them, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The user device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the user device 100 detects the touch operation intensity according to the pressure sensor 180A. The user device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0055] The gyroscope sensor 180B can be used to determine the motion posture of the user device 100. In some embodiments, the angular velocity of the user device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the user device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the user device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0056] The acceleration sensor 180E can detect the magnitude of acceleration of the user device 100 in various directions (generally three axes). When the user device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the user device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0057] The ambient light sensor 180L is used to sense the ambient light brightness. The user device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the user device 100 is in a pocket to prevent accidental touches.

[0058] The fingerprint sensor 180H is used to collect fingerprints. The user device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0059] The temperature sensor 180J is used to detect temperature. In some embodiments, the user device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the user device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the user device 100 heats the battery 142 to avoid abnormal shutdown of the user device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the user device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0060] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the user device 100, which is different from the position of the display screen 194.

[0061] For example, Figure 2 The software structure diagram of the user device 100 is shown. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer (referred to as the framework layer), the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0062] like Figure 2 As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0063] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0064] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0065] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0066] Content providers are used to store and retrieve data and make it accessible to applications. The data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0067] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0068] The phone manager is used to provide communication functions for the user device 100, such as management of call status (including connection, disconnection, etc.).

[0069] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0070] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the user's device vibrates, the indicator light flashes, etc.

[0071] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0072] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0073] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0074] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0075] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0076] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0077] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0078] A 2D graphics engine is a drawing engine for 2D drawings.

[0079] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0080] In the second part, the communication exception handling method and related devices disclosed in the embodiments of the present application are introduced as follows.

[0081] In the related art, in actual application, please refer to TS24.501 of the 3GPP standard protocol. In the following cases, an abnormal field may be encountered. For example, the abnormal field is "5GMM cause#92", which means that the user plane resources of the PDU session are insufficient, as follows:

[0082] In the first case, as recorded in Section 5.5.1.3.4 of 3GPP TS24.501 or Section 5.4.5.3.2 of 3GPP TS24.501 protocol, the registration request (registration request) initiated by the UE for mobility registration update type and the registration request (registration request) for periodic registration update type contain protocol data unit (PDU) session status information, but when the core network element AMF replies to the registration accept message (registration accept), the user plane resources related to the PDU session cannot be obtained, so the abnormal field 5GMM cause#92 may appear.

[0083] The second case is recorded in Section 5.6.1.4.1 of 3GPP TS24.501. The UE initiates a service request (servicerequest) containing PDU session status information, but when the core network element AMF replies to the service acceptance message, the user plane resources related to the PDU session cannot be obtained, which may cause an exception 5GMM cause#92.

[0084] In the specific implementation, in the above two cases, the reason for the appearance of the exception field 5GMM cause#92 is that the user plane resources related to the maximum number of PDU sessions have been reached. Then, the SMF will instruct the AMF that the resources of the user plane function (UPF) are not available, and the AMF will bring the exception field 5GMM cause#92 to the UE.

[0085] In actual applications, the 3GPP protocol does not directly specify the value of the 5GMM cause#91 field received by the UE, but depends on the UE implementation. Taking the Android system UE as an example, usually, no operation is performed at the bottom layer of the chip, but the framework layer of the Android system (Framework) detects that the data establishment fails. Then, according to the Android open source project (ASOP) mechanism, it will initiate re-establishment after 10 seconds, that is, re-initiate a PDU session establishment request to reactivate the re-initiated PDU session. However, this process takes a long time, and the Internet cannot be accessed during this period, resulting in a poor user experience.

[0086] Further, based on the defects of the related art, please refer to Figure 3 , Figure 3 is a flow chart of a communication exception handling method provided by an embodiment of the present application, which is applied to Figure 1 or Figure 2 The user equipment UE described, as shown in the figure, the communication abnormality processing method includes:

[0087] 301. Initiate a specified request, where the specified request carries first PDU session state information.

[0088] In a specific implementation, the specified request may be preset or set by the system by default, and the specified request is used to implement the interaction process between the UE and the core network element, and may specifically include a request related to the PDU session during the PDU session. The UE may initiate a specified request, and the specified request may include the first PDU session state information.

[0089] In an embodiment of the present application, the networking mode of the UE may include an independent SA networking mode, or an NSA networking mode.

[0090] Optionally, the designated request includes any one of the following: a registration request, a service request; the registration request includes: a registration request of a mobility registration update type, and / or a registration request of a periodic registration update type.

[0091] In a specific implementation, the designated request may include a registration request or a service request. The registration request may include a registration request of a mobility registration update type, or the registration request may include a registration request of a periodic registration update type, or the registration request may include a registration request of a mobility registration update type and a registration request of a periodic registration update type.

[0092] 302. Receive a first acceptance message from the core network element in response to the specified request, where the first acceptance message carries second PDU session state information and a PDU session reactivation result.

[0093] Among them, in the embodiment of the present application, the core network element may refer to the network element AMF. After receiving the specified request, the core network element AMF may reply to the first acceptance message, and then send the first acceptance message to the UE. The first acceptance message may carry the second PDU session status information and the PDU session reactivation result (PDU session reactivation result IE). The PDU session reactivation result may carry the corresponding exception field, for example, the exception field 5GMM cause#92.

[0094] The first acceptance message may be a registration acceptance message (registration accept) and a service acceptance message (service accept). For a registration request, the acceptance message is a registration acceptance message, and for a service request, the acceptance message is a service acceptance message.

[0095] 303. When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, a PDU session establishment request is initiated through the underlying chip.

[0096] The preset exception field can be preset or set by system default. The preset exception field can be understood as: because the user plane resources related to the maximum number of PDU sessions have been reached, the SMF indicates that the resources of the AMF in the UPF are unavailable and the relevant field sent by the AMF to the UE.

[0097] Among them, the preset exception field may include at least one of the following: 5GMM cause#92, 5GMM cause#28, 5GMM cause#43, 5GMM cause#31, etc., which are not limited here.

[0098] The bottom layer chip may be understood as a chip for implementing a request for initiating a PDU session establishment. For example, the bottom layer chip may include a modem.

[0099] In the specific implementation, if the first PDU session status information and the second PDU session status information are inconsistent, it means that a network abnormality may occur. In this case, when the PDU session reactivation result includes a preset abnormality field, the network abnormality is more certain and the network data needs to be replied through the PDU session establishment process. On the contrary, if the PDU session reactivation result includes or does not include the preset abnormality field, it means that the network data is normal and there is no need to initiate the PDU session establishment process.

[0100] To give an example, for the first case in the relevant technology, after the UE sends a registration request for initiating a mobility registration update and a registration request of a periodic registration update type, and the registration request carries PDU session status information, the registration acceptance message of the NAS message replied by the core network element AMF can be detected. If it is detected that the PDU session status information contained in the registration acceptance message is inconsistent with the PDU session status information of the initiating request, and it carries the exception field 5GMM cause#92, a PDU session establishment request can be initiated.

[0101] To give another example, for the second situation in the relevant technology, after sending a service acceptance message containing PDU session status information, the UE can detect the service acceptance message of the NAS message replied by the core network element AMF. If it is detected that the PDU session status information contained in the service acceptance message is inconsistent with the PDU session status information of the request, and carries the exception field 5GMM cause#92, a PDU session establishment request can be initiated.

[0102] In the specific implementation, for the scenarios with the exception field cause#92 in the first and second cases in the related technology, no operation is performed at the bottom layer of the chip, but the Android framework layer is waited for to detect that the data establishment failed, and then re-establishment will be initiated after 10 seconds according to the AOSP mechanism, thereby re-initiating a PDU session establishment request. It takes a certain amount of time to detect the failure to establish the data connection, and it takes 10 seconds for AOSP to re-establish the data connection. Therefore, the total time takes a long time. During this period, the data network cannot be used, which seriously affects the user experience. In an embodiment of the present application, when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, the UE can actively initiate a PDU session establishment request through the underlying chip, so that the PDU session will not be re-established after 10 seconds due to the ASOP mechanism, ensuring that the PDU session is established quickly, shortening the network interruption time, and improving the user experience.

[0103] 304. Detect whether the bottom chip receives a PDU session establishment acceptance message.

[0104] In a specific implementation, in an embodiment of the present application, the UE can detect whether the underlying chip receives a PDU session establishment acceptance message from the AMF.

[0105] 305. When the bottom layer chip receives the PDU session establishment acceptance message, it returns a confirmation message indicating that the PDU session establishment is successful.

[0106] In a specific implementation, when the UE receives a PDU session establishment acceptance message at the bottom chip, it can return a confirmation message indicating that the PDU session is successfully established, indicating that the PDU session is successfully established, and the network data can be restored to ensure the user's Internet experience.

[0107] Optionally, the following steps may also be included:

[0108] When the bottom layer chip does not receive the PDU session establishment acceptance message, a confirmation message indicating that the PDU session establishment has failed is returned.

[0109] In a specific implementation, when the bottom chip does not receive the PDU session establishment acceptance message, it may return a confirmation message of the PDU session establishment failure, which means that the PDU session establishment fails, and the Internet access function cannot be realized.

[0110] Optionally, before the above step 303, initiating the PDU session establishment request through the bottom chip, the following steps may also be included:

[0111] A1. Reporting an exception message to a designated layer of the operating system, wherein the exception message carries the preset exception field;

[0112] A2. Verify the abnormal message through the specified layer;

[0113] A3. When the verification result is yes, the data activation process is re-initiated through the designated layer, and the data activation process is sent to the bottom layer chip through a preset instruction.

[0114] In a specific implementation, in an embodiment of the present application, the designated layer may refer to a system architecture layer in an operating system that can implement the initiation of a data activation process. The location or definition of the designated layer may be different for different operating systems. For example, in an Android system, the designated layer may include a framework layer. The preset instruction may be pre-set or system default. The preset instruction is used to implement the function of issuing a data activation process. The preset instructions are different in different operating systems.

[0115] Specifically, the underlying chip can report an exception message to the specified layer of the operating system. The exception message carries a preset exception field. The exception message can be verified through the specified layer. Specifically, the preset exception field can be verified, such as verifying whether the preset exception field meets the preset conditions. The preset conditions can be pre-set or system default, such as whether the format of the preset exception field meets the preset requirements, or whether the preset exception field contains a key specified keyword, etc., thereby obtaining a verification result. When the verification result is yes, the data activation process can be re-initiated through the specified layer, and the data activation process can be sent to the underlying chip through preset instructions. In this way, the underlying chip can quickly initiate the PDU session establishment function.

[0116] In the embodiment of the present application, taking the framework layer as an example, after receiving the exception reported by the underlying chip, the framework layer does not need to wait and immediately re-initiates the data activation process to the chip bottom layer. If the chip bottom layer has already initiated a PDU session establishment request at this time, it will wait for the PDU session establishment to be accepted and directly return the data establishment success. Otherwise, the PDU session establishment process of the chip platform can be triggered again. By sending instructions to the underlying chip through the framework layer, the reporting of the underlying chip and the sending of the framework layer form a closed-loop process, which helps to make the state synchronization more robust and can complete the recovery and establishment of the data flow in a shorter time.

[0117] In the embodiments of the present application, not only the abnormal 5GMM cause#92 can be detected by the underlying chip, but also other abnormal causes, such as cause#28, cause#43, cause#31, etc. can be detected. After the underlying chip detects the abnormal cause, the corresponding cause value can be transmitted to the specified layer (framework layer). Thus, the PDU session establishment process can be triggered by the framework layer, and the behavior to be operated can be sent to the underlying chip for operation through instructions.

[0118] In the embodiment of the present application, the bottom chip and the designated layer (such as the framework layer of the Android system) are jointly optimized for double-layer protection, which plays a double insurance function, that is, as long as one of the optimizations works, the PDU session establishment function can be initiated, which has good robustness. Of course, the information interaction between the bottom chip report and the designated layer can also be used to complete the synchronization of UE status information more quickly.

[0119] Optionally, the method further includes:

[0120] If the second acceptance message replied by the core network element is not received within the first preset time period, the step of initiating a PDU session establishment request through the bottom layer chip is executed.

[0121] The first preset time period may be preset or set by system default.

[0122] In the specific implementation, if the second acceptance message replied by the core network element AMF is not received within the first preset time period, the step of initiating a PDU session establishment request through the underlying chip can be executed, that is, multiple attempts to initiate the PDU session establishment function can be implemented, which helps to improve the success rate of data activation.

[0123] Optionally, the method further includes:

[0124] If the transmission message received from the core network element in reply to the non-access layer includes a PDU session establishment request, and the PDU session establishment request carries the preset exception field, the step of initiating the PDU session establishment request through the underlying chip is executed.

[0125] In the specific implementation, if the non-access layer transmission message (DL NASTRANSPORT) replied by the receiving core network element AMF contains a PDU session establishment request, and the PDU session establishment request carries a preset exception field, the step of initiating the PDU session establishment request through the underlying chip can be executed, that is, multiple attempts to initiate the PDU session establishment function can be implemented, which helps to improve the success rate of data activation.

[0126] Optionally, the following steps may also be included:

[0127] B1. Determine the number of failures in establishing a PDU session;

[0128] B2. When the number of failures is less than or equal to the preset number of times, the step of initiating a PDU session establishment request through the underlying chip is allowed to be executed.

[0129] The preset number of times may be preset or set by system default, for example, the preset number of times may be 5 times.

[0130] In the specific implementation, the UE can determine the number of failures in PDU session establishment. When the number of failures is less than or equal to the preset number, it is allowed to execute the step of initiating a PDU session establishment request through the underlying chip. In this way, multiple attempts to initiate a PDU session establishment request can be made within a limited number of times, in order to increase the probability of receiving a PDU session establishment acceptance message, thereby ensuring rapid network data recovery and the user's Internet experience.

[0131] Optionally, the method comprises:

[0132] B3. When the number of failures is greater than the preset number of times, disabling the new radio (NR) within a second preset time period;

[0133] B4. If the data connection is successfully established on the Long Term Evolution LTE within the second preset time period, a confirmation message of successful PDU session establishment is returned.

[0134] The second preset time period may be preset or set by system default, and the second preset time period may be presented in a countdown format.

[0135] Specifically, when the number of failures is greater than the preset number, the UE disables the new air interface NR (disable NR) within a second preset time period. If it resides on the long term evolution (LTE) within the second preset time period and successfully establishes a data connection, it returns a confirmation message of successful PDU session establishment, thereby solving the problem of data not being restored.

[0136] Optionally, the method comprises:

[0137] If the data connection fails to be established while residing on LTE within the second preset time period, the network re-resides on the independent network SA.

[0138] The second preset time period may be preset or set by system default.

[0139] In a specific implementation, if the UE resides on LTE within the second preset time period but fails to establish a data connection, the UE may reside again in the independent networking mode SA.

[0140] In an embodiment of the present application, when the underlying chip fails to re-initiate the PDU session establishment request process, it is possible to disable NR for a certain period of time after multiple retry mechanisms fail, so that the UE can stay on the available LTE. Even if it times out, it will automatically stay back on NR, which not only meets the normal use of data services, but also meets the needs of NR priority network.

[0141] In the embodiment of the present application, after the two situations in the related technology are detected, the UE immediately initiates the PDU session establishment request process in the underlying chip. If after initiating the PDU session establishment request, the network side (AMF) replies DL NASTRANSPORT containing the PDU session establishment request and carries the abnormal 5GMM cause#92, the UE initiates the PDU session establishment request process again.

[0142] For example, in the embodiment of the present application, the PDU session establishment process can be initiated up to 5 times, and then NR is disabled. At the same time, after the two situations mentioned in the related art are detected, the chip platform reports inconsistent PDU session status information and abnormal 5GMM cause #92 to the Android Framework layer. After the Framework layer receives the abnormality reported by the bottom layer, it does not need to wait to immediately re-initiate the data activation process to the chip bottom layer. If the chip bottom layer has already initiated a PDU session establishment request at this time, it will wait for the PDU session establishment to be accepted, and then directly return the data establishment success. Otherwise, the PDU session establishment process of the chip platform is triggered, such as Figure 4 As shown, the UE detects the acceptance message replied by the core network element AMF, which includes two situations, as follows:

[0143] Scenario 1: UE detects the NAS registration acceptance message replied by the core network element AMF. If it is detected that the PDU session status information contained in the registration acceptance message is inconsistent with the PDU session status information of the request, and the PDU session reactivation result carries the abnormal field 5GMM cause#92, the chip platform modem immediately initiates the PDU session establishment request process and reports the abnormality to the framework layer of the Android system. On the one hand, the modem detects whether the PDU session acceptance message is received. If so, it goes to the end. If not, the modem initiates the PDU session establishment request process again. The PDU session establishment request process can be initiated up to 5 times. If the PDU session is successfully established, it goes to the end. If it exceeds 5 times, it is disabled. NR mode is T minutes, that is, try to establish a data connection on LTE within T minutes. If successful, it will go to success. Otherwise, if the data connection establishment fails after more than T minutes, it will automatically stay back to NR. On the other hand, the framework layer verifies whether the abnormal field 5GMMcause#92 reported by the modem is detected. If not, it goes to end. If so, the framework layer immediately re-initiates the data activation process, sends instructions to the modem to establish a PDU session, and detects whether the modem has initiated the PDU session establishment request process. If so, after receiving the PDU establishment acceptance message, it returns a confirmation message of successful establishment. If not, the modem initiates the PDU session establishment request process again.

[0144] Scenario 2: The UE detects the service acceptance message of the NAS message replied by the core network element AMF. If it is detected that the PDU session status information contained in the service acceptance message is inconsistent with the PDU session status information of the request, and the PDU session reactivation result carries the abnormal field 5GMM cause#92, the chip platform modem immediately initiates the PDU session establishment request process and reports the abnormality to the framework layer of the Android system. On the one hand, the modem detects whether the PDU session acceptance message is received. If so, it goes to the end. If not, the modem initiates the PDU session establishment request process again. The PDU session establishment request process can be initiated up to 5 times. If the PDU session is successfully established, it goes to the end. If it exceeds 5 times, it is disabled. NR mode is T minutes, that is, try to establish a data connection on LTE within T minutes. If successful, it will go to success. Otherwise, if the data connection establishment fails after more than T minutes, it will automatically stay back to NR. On the other hand, the framework layer verifies whether the abnormal field 5GMMcause#92 reported by the modem is detected. If not, it goes to end. If so, the framework layer immediately re-initiates the data activation process, sends instructions to the modem to establish a PDU session, and detects whether the modem has initiated the PDU session establishment request process. If so, after receiving the PDU establishment acceptance message, it returns a confirmation message of successful establishment. If not, the modem initiates the PDU session establishment request process again.

[0145] It can be seen that the communication exception handling method described in the embodiment of the present application initiates a specified request, the specified request carries first PDU session status information, and receives a first acceptance message from the core network element in response to the specified request, the first acceptance message carries second PDU session status information and a PDU session reactivation result. When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, a PDU session establishment request is initiated through the underlying chip, and it is detected whether the underlying chip has received the PDU session establishment acceptance message. When the underlying chip receives the PDU session establishment acceptance message, a confirmation message of successful PDU session establishment is returned. During the interaction between the UE and the core network, when the exception field appears, the PDU session establishment process can be quickly initiated through the underlying chip, thereby enabling rapid data recovery, ensuring normal use of network data, and improving user Internet experience.

[0146] With the above Figure 3 Consistently, this application provides reference to Figure 5 , Figure 5 1 is a flow chart of a communication exception handling method provided in an embodiment of the present application, which is applied to a user device, and the method includes:

[0147] 501. Initiate a specified request, where the specified request carries first PDU session state information.

[0148] 502. Receive a first acceptance message from the core network element in response to the specified request, where the first acceptance message carries second PDU session state information and a PDU session reactivation result.

[0149] 503. When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, report an exception message to a designated layer of the operating system, and the exception message carries the preset exception field.

[0150] 504. Verify the exception message through the designated layer;

[0151] 505. When the verification result is yes, re-initiate the data activation process through the designated layer, send the data activation process to the bottom layer chip through a preset instruction, and initiate a PDU session establishment request through the bottom layer chip;

[0152] 506. Detect whether the bottom chip receives a PDU session establishment acceptance message;

[0153] 507. When the bottom layer chip receives the PDU session establishment acceptance message, it returns a confirmation message indicating that the PDU session establishment is successful.

[0154] 508. When the bottom layer chip does not receive the PDU session establishment acceptance message, it returns a confirmation message indicating that the PDU session establishment has failed.

[0155] The detailed description of the above steps 501-508 can be found in Figure 3 The related description of the communication exception handling method described is not repeated here.

[0156] It can be seen that the communication exception handling method described in the embodiment of the present application initiates a specified request, the specified request carries the first PDU session status information, receives a first acceptance message replied by the core network element to the specified request, the first acceptance message carries the second PDU session status information and the PDU session reactivation result, and when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, reports the exception message to the specified layer of the operating system, the exception message carries the preset exception field, verifies the exception message through the specified layer, and when the verification result is yes, re-initiates the data activation process through the specified layer, sends the data activation process to the underlying chip through the preset instruction, initiates a PDU session establishment request through the underlying chip, detects whether the underlying chip receives the PDU session establishment acceptance message, and returns a confirmation message of successful PDU session establishment when the underlying chip receives the PDU session establishment acceptance message. When the underlying chip does not receive the PDU session establishment acceptance message, it returns a confirmation message of failed PDU session establishment. During the interaction between the UE and the core network, when the exception field appears, the PDU session establishment process can be quickly initiated through the underlying chip, thereby enabling fast data recovery, ensuring normal use of network data, and improving user Internet experience.

[0157] In accordance with the above embodiment, please refer to Figure 6 , Figure 6 : is a structural diagram of a user equipment provided in an embodiment of the present application. As shown in the figure, the user equipment includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:

[0158] Initiating a specified request, where the specified request carries the first PDU session state information;

[0159] Receiving a first acceptance message replied by the core network element to the specified request, wherein the first acceptance message carries the second PDU session state information and the PDU session reactivation result;

[0160] When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, initiating a PDU session establishment request through the underlying chip;

[0161] Detecting whether the bottom chip receives a PDU session establishment acceptance message;

[0162] When the bottom layer chip receives the PDU session establishment acceptance message, it returns a confirmation message indicating that the PDU session establishment is successful.

[0163] Optionally, before initiating the PDU session establishment request through the bottom layer chip, the program further includes instructions for executing the following steps:

[0164] Reporting an exception message to a specified layer of the operating system, wherein the exception message carries the preset exception field;

[0165] Verifying the exception message through the specified layer;

[0166] When the verification result is yes, the data activation process is re-initiated through the designated layer, and the data activation process is sent to the bottom layer chip through a preset instruction.

[0167] Optionally, the program further includes instructions for executing the following steps:

[0168] If the second acceptance message replied by the core network element is not received within the first preset time period, the step of initiating a PDU session establishment request through the bottom layer chip is executed.

[0169] Optionally, the program further includes instructions for executing the following steps:

[0170] If the transmission message received from the core network element in reply to the non-access layer includes a PDU session establishment request, and the PDU session establishment request carries the preset exception field, the step of initiating the PDU session establishment request through the underlying chip is executed.

[0171] Optionally, the program further includes instructions for executing the following steps:

[0172] Determine the number of failures in establishing a PDU session;

[0173] When the number of failures is less than or equal to the preset number of times, the step of initiating a PDU session establishment request through the underlying chip is allowed to be executed.

[0174] Optionally, the program further includes instructions for executing the following steps:

[0175] When the number of failures is greater than the preset number, disabling the new radio interface NR within a second preset time period;

[0176] If the data connection is successfully established on LTE within the second preset time period, a confirmation message of successful PDU session establishment is returned.

[0177] Optionally, the program further includes instructions for executing the following steps:

[0178] If the data connection fails to be established while residing on LTE within the second preset time period, the network re-resides on the independent network SA.

[0179] Optionally, the program further includes instructions for executing the following steps:

[0180] When the bottom layer chip does not receive the PDU session establishment acceptance message, a confirmation message indicating that the PDU session establishment has failed is returned.

[0181] Optionally, the designated request includes any one of the following: a registration request, a service request; the registration request includes: a registration request of a mobility registration update type, and / or a registration request of a periodic registration update type.

[0182] It can be seen that the user equipment described in the embodiment of the present application initiates a specified request, the specified request carries the first PDU session status information, receives a first acceptance message from the core network element in response to the specified request, the first acceptance message carries the second PDU session status information and the PDU session reactivation result, and when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, a PDU session establishment request is initiated through the underlying chip, and it is detected whether the underlying chip has received the PDU session establishment acceptance message. When the underlying chip receives the PDU session establishment acceptance message, a confirmation message of successful PDU session establishment is returned. During the interaction between the UE and the core network, when the exception field appears, the PDU session establishment process can be quickly initiated through the underlying chip, thereby enabling rapid data recovery, ensuring normal use of network data, and improving user Internet experience.

[0183] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that in order to implement the above functions, the user equipment includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments provided in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0184] The embodiment of the present application can divide the user equipment into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0185] Figure 7 700 is a functional unit block diagram of a communication anomaly processing device 700 involved in an embodiment of the present application. The communication anomaly processing device 700 is applied to a user equipment, and the device 700 includes: a transceiver unit 701 and a PDU session processing unit 702, wherein:

[0186] The transceiver unit 701 is used to initiate a specified request, the specified request carries the first PDU session state information; and receive a first acceptance message replied by the core network element to the specified request, the first acceptance message carries the second PDU session state information and the PDU session reactivation result;

[0187] The PDU session processing unit 702 is used to initiate a PDU session establishment request through the underlying chip when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field; detect whether the underlying chip has received a PDU session establishment acceptance message; and when the underlying chip receives the PDU session establishment acceptance message, return a confirmation message of successful PDU session establishment.

[0188] Optionally, before initiating the PDU session establishment request through the bottom chip, the device 700 is further specifically configured to:

[0189] Reporting an exception message to a specified layer of the operating system, wherein the exception message carries the preset exception field;

[0190] Verifying the exception message through the specified layer;

[0191] When the verification result is yes, the data activation process is re-initiated through the designated layer, and the data activation process is sent to the bottom layer chip through a preset instruction.

[0192] Optionally, the device 700 is further specifically used for:

[0193] If the second acceptance message replied by the core network element is not received within the first preset time period, the step of initiating a PDU session establishment request through the bottom layer chip is executed.

[0194] Optionally, the device 700 is further specifically used for:

[0195] If the transmission message received from the core network element in reply to the non-access layer includes a PDU session establishment request, and the PDU session establishment request carries the preset exception field, the step of initiating the PDU session establishment request through the underlying chip is executed.

[0196] Optionally, the device 700 is further specifically used for:

[0197] Determine the number of failures in establishing a PDU session;

[0198] When the number of failures is less than or equal to the preset number of times, the step of initiating a PDU session establishment request through the underlying chip is allowed to be executed.

[0199] Optionally, the device 700 is further specifically used for:

[0200] When the number of failures is greater than the preset number, disabling the new radio interface NR within a second preset time period;

[0201] If the data connection is successfully established on LTE within the second preset time period, a confirmation message of successful PDU session establishment is returned.

[0202] Optionally, the device 700 is further specifically used for:

[0203] If the data connection fails to be established while residing on LTE within the second preset time period, the network re-resides on the independent network SA.

[0204] Optionally, the device 700 is further specifically used for:

[0205] When the bottom layer chip does not receive the PDU session establishment acceptance message, a confirmation message indicating that the PDU session establishment has failed is returned.

[0206] Optionally, the designated request includes any one of the following: a registration request, a service request; the registration request includes: a registration request of a mobility registration update type, and / or a registration request of a periodic registration update type.

[0207] It can be seen that the communication exception handling device described in the embodiment of the present application initiates a specified request, the specified request carries first PDU session status information, receives a first acceptance message in response to the specified request by the core network element, the first acceptance message carries second PDU session status information and a PDU session reactivation result, and when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, a PDU session establishment request is initiated through the underlying chip, and it is detected whether the underlying chip has received the PDU session establishment acceptance message. When the underlying chip receives the PDU session establishment acceptance message, a confirmation message of successful PDU session establishment is returned. During the interaction between the UE and the core network, when the exception field appears, the PDU session establishment process can be quickly initiated through the underlying chip, thereby enabling rapid data recovery, ensuring normal use of network data, and improving user Internet experience.

[0208] The transceiver unit 701 and the PDU session processing unit 702 may be processors, which may be artificial intelligence chips, NPUs, CPUs, GPUs, modems, etc., which are not limited here. Based on the above unit modules, the functions or steps of any of the above methods can be implemented.

[0209] This embodiment also provides an artificial intelligence chip, wherein the artificial intelligence chip can be used to implement any method in the above embodiments.

[0210] This embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute the embodiments of the present application to implement any method in the above-mentioned embodiments.

[0211] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement any method in the above-mentioned embodiments.

[0212] In addition, an embodiment of the present application also provides a communication exception handling device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory to enable the chip to execute any one of the methods in the above-mentioned method embodiments.

[0213] Among them, the user equipment, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0214] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0215] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0216] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0217] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0218] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a 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 prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0219] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication abnormality processing method, characterized in that: The method comprises: Initiating a specified request, where the specified request carries the first PDU session state information; Receiving a first acceptance message replied by the core network element to the specified request, wherein the first acceptance message carries the second PDU session state information and the PDU session reactivation result; When the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field, initiating a PDU session establishment request through the underlying chip; Detecting whether the bottom chip receives a PDU session establishment acceptance message; When the bottom layer chip receives the PDU session establishment acceptance message, it returns a confirmation message indicating that the PDU session establishment is successful.

2. The method according to claim 1, characterized in that Before initiating the PDU session establishment request through the bottom chip, the method further includes: Reporting an exception message to a specified layer of the operating system, wherein the exception message carries the preset exception field; Verifying the exception message through the specified layer; When the verification result is yes, the data activation process is re-initiated through the designated layer, and the data activation process is sent to the bottom layer chip through a preset instruction.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: If the second acceptance message replied by the core network element is not received within the first preset time period, the step of initiating a PDU session establishment request through the bottom layer chip is executed.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: If the transmission message received from the core network element in reply to the non-access layer includes a PDU session establishment request, and the PDU session establishment request carries the preset exception field, the step of initiating the PDU session establishment request through the underlying chip is executed.

5. The method according to any one of claims 1 to 4, characterized in that: The method comprises: Determine the number of failed attempts to establish a PDU session; When the number of failures is less than or equal to the preset number of times, the step of initiating a PDU session establishment request through the underlying chip is allowed to be executed.

6. The method according to claim 5, characterized in that The method comprises: When the number of failures is greater than the preset number, disabling the new radio interface NR within a second preset time period; If the data connection is successfully established on the Long Term Evolution LTE within the second preset time period, a confirmation message of successful PDU session establishment is returned.

7. The method according to claim 6, characterized in that The method comprises: If the data connection fails to be established while residing on LTE within the second preset time period, the network re-resides on the independent network SA.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: When the bottom layer chip does not receive the PDU session establishment acceptance message, a confirmation message indicating that the PDU session establishment has failed is returned.

9. The method according to any one of claims 1 to 8, characterized in that: The designated request includes any one of the following: a registration request, a service request; the registration request includes: a registration request of a mobility registration update type, and / or a registration request of a periodic registration update type.

10. A communication abnormality processing device, characterized in that: The device comprises: a transceiver unit and a PDU session processing unit, wherein: The transceiver unit is configured to initiate a specified request, the specified request carrying first PDU session state information; and receive a first acceptance message replied by the core network element to the specified request, the first acceptance message carrying second PDU session state information and a PDU session reactivation result; The PDU session processing unit is used to initiate a PDU session establishment request through the underlying chip when the first PDU session status information and the second PDU session status information are inconsistent and the PDU session reactivation result includes a preset exception field; detect whether the underlying chip has received a PDU session establishment acceptance message; and when the underlying chip receives the PDU session establishment acceptance message, return a confirmation message of successful PDU session establishment.

11. A user equipment, characterized in that: The user equipment includes a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program includes instructions for executing the steps in the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 9.