Session updating method and device, electronic equipment and readable storage medium

By detecting the response message abnormality of the network-side device to the session parameter signaling in the terminal, and performing the exception handling operations of resend and renegotiation, the silent/call problem caused by the failure of session update is solved, and the call quality is improved.

CN119521152APending Publication Date: 2025-02-25VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411618836.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

During the session update process, there is an exception in the response message of the network device to the session parameter signaling, resulting in the session update failure, and the problem of silent/lossing occurs.

Method used

After the terminal detects that there is an exception in the response message sent by the network-side device, it performs an exception processing operation, including resending the session parameter signaling and sending the second session update signaling to renegotiate the session parameters.

Benefits of technology

Through exception handling operations, the probability of session update failure is reduced, the problem of silent/lossing is avoided, and the call quality is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521152A_ABST
    Figure CN119521152A_ABST
Patent Text Reader

Abstract

The invention discloses a session updating method and device, electronic equipment and a readable storage medium, and belongs to the technical field of communication, and the method comprises the following steps: responding to a first session updating signaling sent by network side equipment, and sending a session parameter signaling to the network side equipment; if a response message which is sent by the network side equipment and corresponds to the session parameter signaling is detected to have a first exception, executing a first exception handling operation; the first exception handling operation comprises one of the following steps: resending a session parameter signaling to the network side equipment, sending a second session update signaling to the network side equipment, resending the session parameter signaling, and sending the second session update signaling to the network side equipment when detecting that a response message which is sent by the network side equipment and corresponds to the resending session parameter signaling has a first exception, and sending the second session update signaling to the network side device. If it is detected that the response message has a second exception, executing a second exception handling operation; the second exception handling operation comprises the step of sending a second session update signaling to the network side equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a session updating method, device, electronic device and readable storage medium. Background Art

[0002] At present, with the continuous development of communication technology, the terminal can perform session communication through the network side device. During the session communication process, the network side device sometimes updates the session between the terminal and the network side device.

[0003] In the related art, during the session update process, the network side device sends a session update signaling to the terminal, and the terminal sends a session parameter signaling to the network side device in response to the session update signaling. However, sometimes the network side device responds to the session parameter signaling with an abnormality, resulting in a failure of the session update, and further causing a silent / dropped call problem during the session communication. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a session update method, device, electronic device and readable storage medium, which can solve the problem of session update failure causing silence / dropped calls during session communication.

[0005] In a first aspect, an embodiment of the present application provides a session update method, applied to a terminal, the method comprising:

[0006] In response to the first session update signaling sent by the network side device, sending a session parameter signaling to the network side device;

[0007] If it is detected that a first exception exists in a response message corresponding to the session parameter signaling sent by the network side device, a first exception handling operation is performed; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and, when it is detected that a first exception exists in a response message corresponding to the resent session parameter signaling sent by the network side device, sending the second session update signaling to the network side device;

[0008] If it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device, a second exception handling operation is performed; the second exception handling operation includes: sending the second session update signaling to the network side device.

[0009] In a second aspect, an embodiment of the present application provides a session update device, applied to a terminal, the device comprising:

[0010] A sending module, configured to send a session parameter signaling to the network side device in response to a first session update signaling sent by the network side device;

[0011] A first processing module is configured to perform a first exception handling operation if it is detected that a response message corresponding to the session parameter signaling sent by the network side device has a first exception; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending the second session update signaling to the network side device if it is detected that a response message corresponding to the resent session parameter signaling sent by the network side device has the first exception;

[0012] The second processing module is used to perform a second exception handling operation if it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device; the second exception handling operation includes: sending the second session update signaling to the network side device.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps described in the first aspect are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0017] In an embodiment of the present application, in response to a first session update signaling sent by a network side device, a session parameter signaling is sent to a network side device. If a first abnormality is detected in a response message corresponding to the session parameter signaling sent by the network side device, a first abnormality handling operation is performed; the first abnormality handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending a second session update signaling to the network side device when a first abnormality is detected in a response message corresponding to the resent session parameter signaling sent by the network side device. If a second abnormality is detected in a response message corresponding to the session parameter signaling sent by the network side device, a second abnormality handling operation is performed; the second abnormality handling operation includes: sending a second session update signaling to the network side device. In the embodiment of the present invention, after sending the session parameter signaling to the network side device, if it is detected that the response message to the session parameter signaling is abnormal, the first abnormality handling operation or the second abnormality handling operation will be further performed for the abnormality, and the session parameter signaling will be resent so that the network side device can respond to the session parameter signaling again during the current session update process, and the second session update signaling will be sent to the network side device to re-initiate the session update with the network side device. In this way, the probability of session update failure can be reduced, and the problem of silent / dropped calls can be avoided as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flow chart of a session update method in some embodiments of the present application;

[0019] Figure 2 This is a schematic diagram of a session update process shown in an embodiment of the present application;

[0020] Figure 3 is another session update flow diagram shown in an embodiment of the present application;

[0021] Figure 4 This is a processing flow diagram provided by an embodiment of the present application;

[0022] Figure 5 Another processing flow diagram is provided in the embodiment of the present application;

[0023] Figure 6 This is a processing flow diagram provided by an embodiment of the present application;

[0024] Figure 7 is a block diagram of a session updating device in some embodiments of the present application;

[0025] Figure 8 Schematic diagram of the hardware structure of the electronic device of some embodiments of the present application;

[0026] Fig. 9 It is a schematic diagram of the hardware structure of an electronic device of some embodiments of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings of the embodiments of the present application to clearly describe the technical solutions of the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present application belong to the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the target object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0029] First, an application scenario involved in an embodiment of the present application is described. In the embodiment of the present application, when a terminal makes a call with another terminal, each terminal will establish a session with a network-side device, and the network-side device maintains a session with the terminal to achieve a call between the terminals. Among them, the call between the terminals can be an IMS call established based on the Internet Protocol Multimedia Subsystem (IMS). IMS is a protocol based on IP networks and the Session Initiation Protocol (SIP). IMS is widely used because of its advantages such as supporting high-definition voice / video calls, guaranteed voice quality, and supporting simultaneous calls and Internet access. Voice services (Voice over LTE, VoLTE) over 4G LTE, video services (Video over LTE, ViLTE) over 4G LTE, voice services (Voice over NR, VoNR) over 5G NR, and video services (Video over NR, ViNR) over 5G NR all provide voice services based on IMS.

[0030] In an IMS call, the network side device will initiate a session update when it is necessary to confirm whether the terminal can respond normally, modify the session port, add or delete media streams, etc. Due to factors such as the instability of the terminal, network, and wireless channel, when the network side device updates the session, there will be an abnormality in the response message to the session parameter signaling, resulting in a failure of the session update, which in turn leads to silence / dropped calls during the session communication, and ultimately causes an abnormal IMS call. To this end, an embodiment of the present invention provides a session update method.

[0031] The following describes in detail the session update method provided in the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0032] like Figure 1 As shown, a flow chart of a session update method in some embodiments of the present application is shown, and the method is applied to a terminal as an example. The method includes:

[0033] Step 101: In response to a first session update signaling sent by a network side device, a session parameter signaling is sent to the network side device.

[0034] Step 102: If it is detected that a first exception exists in a response message corresponding to the session parameter signaling sent by the network side device, a first exception handling operation is performed; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending the second session update signaling to the network side device when it is detected that the response message corresponding to the resent session parameter signaling sent by the network side device has the first exception.

[0035] Step 103: If it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device, a second exception handling operation is performed; the second exception handling operation includes: sending the second session update signaling to the network side device.

[0036] In the embodiment of the present application, the first session update signaling is the session update signaling sent by the network side device as the initiator to the terminal when initiating the session update, and the session parameter signaling is the signaling carrying the session parameters sent by the terminal in response to the first session update signaling. In the session update process, the first session update signaling can be divided into two cases: carrying the first session update parameters and not carrying the first session update parameters.

[0037] Specifically, in the case where the first session update signaling carries the first session update parameter, the session update signaling sent by the terminal will carry the second session update parameter to achieve session parameter negotiation. The first session parameter can represent the session parameter proposed by one party in the session update process, for example, the media stream, codec, IP address, port and other information used. The second session parameter can represent the session parameter supported by the other party in the session update process for the first session parameter. In the case where the first session update signaling does not carry the first session update parameter, the session update signaling sent by the terminal will carry the first session update parameter, and accordingly, the response message corresponding to the session update signaling sent by the network side device will carry the second session update parameter to achieve session parameter negotiation.

[0038] The response message corresponding to the session parameter signaling refers to the message sent by the network side device when responding to the session parameter signaling. Exemplarily, the response message may be an Acknowledgement (ACK) message. If there is no abnormality in the response message, that is, the network side device responds to the session parameter signaling normally, the session update process is completed normally, and the network side device will normally send a session data packet to the terminal, so that the call proceeds normally. Among them, the session data packet may carry audio data or video data sent by the other party of the call, and the session data packet may be a Real-time Transport Protocol (RTP) data packet. On the contrary, if there is an abnormality in the response message, that is, the network side device does not respond to the session parameter signaling normally, the session update process is abnormal, which will lead to abnormal call. Specifically, for the case where the first session update signaling carries or does not carry the first session update parameter, the response message corresponding to the session parameter signaling sent by the network side device may have a first abnormality or a second abnormality, resulting in a failure of the session update, and then causing the problem of silence / dropped call, reducing the call quality, and making it impossible to make a normal call.

[0039] Therefore, in the embodiment of the present application, after sending the session parameter signaling to the network side device, the response message corresponding to the session parameter signaling sent by the network side device can be detected to see whether there is a first exception or a second exception. Accordingly, in the case of the first exception, the first exception handling operation is performed, and in the case of the second exception, the second exception handling operation is performed. Specifically, there are three implementation methods for the first exception handling: the first implementation method is: only resend the session parameter signaling to the network side device, so that the network side device can re-respond to the session parameter signaling during this session update process, thereby increasing the probability of normal completion of this session update. The second implementation method is: only send the second session update signaling to the network side device. Among them, the second session update signaling is the session update signaling sent by the network side device as the initiator to the network side device when initiating the session update. By sending the second session update signaling, the session update can be re-initiated with the network side device. The third implementation method is: resend the session parameter signaling and send the second session update signaling to the network side device when detecting that the response message corresponding to the resent session parameter signaling sent by the network side device has the first exception. That is, the solution of resending the session parameter signaling and the solution of sending the second session update signaling can be used in combination. The session parameter signaling can be resent first, and if the response message still has the first exception after resending, the second session update signaling can be sent.

[0040] In the case that the network side device responds to an abnormal message due to sudden external interference, the first abnormality handling operation or the second abnormality handling operation is performed for the abnormality, that is, the abnormal situation is handled, and the session parameter signaling is resent so that the network side device can re-respond to the session parameter signaling during this session update process, and the second session update signaling is sent to the network side device, so that the session update can be re-initiated with the network side device, so that the network side device can respond to the second session update signaling to renegotiate the session parameters. In this way, the failure of the session update can be avoided, and the problem of silent / dropped calls can be avoided, so that the call can be carried out normally and the call quality can be ensured.

[0041] In summary, in the session update method provided in the embodiment of the present application, in response to the first session update signaling sent by the network side device, a session parameter signaling is sent to the network side device. If it is detected that a first abnormality exists in the response message corresponding to the session parameter signaling sent by the network side device, a first abnormality handling operation is performed; the first abnormality handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending a second session update signaling to the network side device when it is detected that a first abnormality exists in the response message corresponding to the resent session parameter signaling sent by the network side device. If it is detected that a second abnormality exists in the response message corresponding to the session parameter signaling sent by the network side device, a second abnormality handling operation is performed; the second abnormality handling operation includes: sending a second session update signaling to the network side device. In the embodiment of the present invention, after sending the session parameter signaling to the network side device, if it is detected that the response message to the session parameter signaling is abnormal, the first abnormality handling operation or the second abnormality handling operation will be further performed for the abnormality, and the session parameter signaling will be resent so that the network side device can respond to the session parameter signaling again during the current session update process, and the second session update signaling can be sent to the network side device to re-initiate the session update with the network side device. In this way, the probability of the final session update failure can be reduced, and the problem of silent / dropped calls can be avoided as much as possible.

[0042] Optionally, in some embodiments, the following steps may also be included:

[0043] Step S21: If it is detected that the response message sent by the network side device is not received, it is determined that the response message has the first abnormality.

[0044] Step S22: If it is detected that the received response message does not carry the session response parameter, it is determined that the response message has the second abnormality.

[0045] There are two corresponding ways of performing session update for the case where the first session update signaling carries the first session update parameter and does not carry the first session update parameter. In one session update method, the network side device sends the first session update signaling carrying the first session update parameter. The terminal can return the session parameter signaling carrying the second session parameter in response to the first session update signaling, thereby completing the session parameter negotiation. In this implementation method, the first session parameter specifically indicates the session parameter proposed by the network side device, and the second session parameter specifically indicates the session parameter supported by the terminal in the first session parameter. The second session parameter can be understood as a response to the first session parameter. In this method, since the network side device sends the first session update signaling carrying the first session update parameter, the terminal returns the second session parameter based on the session parameter information signaling, and the session parameter negotiation has been completed. Therefore, under normal circumstances, the response message sent by the network side device in response to the session parameter signaling can be empty. Accordingly, in the case where the first session update signaling carries the first session update parameter, the normal reception of the response message sent by the network side device can determine that there is no abnormality in the response message sent by the network side device.

[0046] In another session update mode, the network side device sends a first session update signaling that does not carry the first session update parameter. The terminal can return a session parameter signaling that carries the first session parameter in response to the first session update signaling. The network side device sends a response message carrying the second session parameter in response to the session parameter signaling to implement session parameter negotiation. In this mode, since the network side device sends the first session update signaling that does not carry the first session parameter, the terminal returns the first session parameter based on the session parameter signaling. Therefore, the network side device is required to send a confirmation message carrying the second session parameter to complete the session parameter negotiation. Therefore, under normal circumstances, the response message sent by the initiator in response to the session parameter signaling is not empty. Accordingly, in the case where the first session update signaling does not carry the first session update parameter, if the response message sent by the network side device is received normally, and the response message carries the second session parameter, it can be determined that there is no abnormality in the response message sent by the network side device.

[0047] Failure to receive a response message sent by a network side device may correspond to an abnormal situation in which the network side device does not reply to a response message, and failure to receive a response message sent by a network side device may refer to failure to receive the response message within a specified time period. Specifically, the timing may be started after sending a session parameter signaling to the network side device. If a response message sent by the network side device is not received within a specified time period, it may be determined that a first abnormality exists in the response message. The specified time period may be set on demand, and the specified time period may be set according to the time period required to receive a response message under normal circumstances. That is, the first abnormality may refer to failure to receive a response message sent by a network side device within a specified time period.

[0048] The received response message does not carry the session response parameter, which may correspond to the abnormal situation that the response message replied by the network side device is empty, and the session response parameter may be the above-mentioned second session parameter. Accordingly, in the case where the first session update signaling carries the first session update parameter, it is sufficient to detect whether the first abnormality exists. In the case where the first session update signaling does not carry the first session update parameter, the first abnormality or the second abnormality may occur. It is sufficient to first detect whether the first abnormality exists, and if the first abnormality exists, directly execute the first abnormality handling operation. If the first abnormality does not exist, it is sufficient to further detect whether the second abnormality exists, and if the second abnormality exists, directly execute the second abnormality handling operation. Among them, for the second abnormality, since the network side device has sent a response message corresponding to the session parameter signaling in this case, if the session parameter signaling is resent, it is often impossible for the network side device to perform the current session update process normally. Therefore, the second abnormality handling operation may be to send the second session update signaling to the network side device. In this way, unnecessary retransmission operations can be avoided, thereby saving processing resources.

[0049] In the related art, after sending the session parameter signaling, if the response message sent by the network side device is not received when the first session update message carries the first session parameter, if the response message sent by the network side device is not received when the first session update message does not carry the first session parameter, or if a response message not carrying the session response parameter is received, it can be determined that the current session parameter negotiation is abnormal, and the negotiated session parameters cannot be used to continue the call. In the embodiment of the present application, the first abnormality or the second abnormality is detected to ensure that the first abnormality handling operation and the second abnormality handling operation can be performed correspondingly for the first abnormality and the second abnormality, and the abnormal phenomenon is optimized so that the session update can be completed normally in the end, and the negotiated session parameters can be used to continue the call.

[0050] Optionally, in some embodiments, if it is detected that the received response message does not carry the session response parameter, determining that the response message has the second abnormality may specifically include:

[0051] Step S22a: If it is detected that the received response message does not carry the session response parameter, then if no session data packet sent by the network side device is received within a preset time period, it is determined that the response message has the second abnormality.

[0052] Among them, the preset duration can be set in advance according to actual conditions. For example, under normal circumstances, the time required to receive a session data packet after receiving a response message sent by a network-side device can be counted as the preset duration. In actual application scenarios, for the second exception, although the response message does not carry a session response parameter, the network-side device still sends a session data packet normally, so that the call can proceed normally. Therefore, in this case, the behavior of not carrying a session response parameter can be ignored and the call can continue. Accordingly, after receiving a response message that does not carry a session response parameter, it can be detected whether a session data packet is received, and the time during which the session data packet has not been received can be counted. If the time during which the session data packet has not been received has not reached the preset time, it can continue to wait. If the time during which the session data packet has not been received reaches the preset time, it can be determined that a second exception exists, and a second exception handling operation is performed.

[0053] In the embodiment of the present application, when the received response message does not carry the session response parameter and the session data packet sent by the network side device is not received within the preset time, it can be determined that the response message has the second exception. In this way, unnecessary second exception processing operations can be avoided, thereby saving processing resources.

[0054] Optionally, the first session update signaling and the second session update signaling in the embodiment of the present invention may be core network interaction signaling. Wherein, the network side device includes a core network device and an access network device, and the session update process may be specifically implemented by the core network device therein, and accordingly, the core network interaction signaling is a signaling used to interact with the core network device in the network side device. That is, in the embodiment of the present application, when the network side device initiates a session update or the terminal initiates a session update, any one of the core network interaction signaling may be used. In this way, it can be ensured that the signaling can be normally identified and used for session updates. Exemplarily, the first session update signaling and the second session update signaling may be re-INVITE signaling, update signaling, non-access stratum (NAS) signaling, etc. in the core network interaction signaling. Wherein, the re-INVITE signaling refers to the INVITE signaling sent within an existing session. When NAS signaling is used, the first session update message sent by the network side device to the terminal may be specifically downlink NAS signaling, and the second session update message sent by the terminal to the network side device may be specifically uplink NAS signaling, for example, it may be uplink NAS signaling such as a protocol data unit session modification request (PDU session modification request) or a service request (Service Request).

[0055] Optionally, a third implementation manner of the first exception handling operation: resending the session parameter signaling and, upon detecting that a response message corresponding to the resent session parameter signaling sent by the network side device has the first exception, sending the second session update signaling to the network side device may specifically include:

[0056] Step 1021: Resend the session parameter signaling to the network side device.

[0057] Step 1022: When the number of retransmissions of the session parameter signaling does not reach the preset number threshold, if it is detected that the response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first abnormality, the session parameter signaling is retransmitted to the network side device.

[0058] Step 1023: When the response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first exception and the number of retransmissions reaches the preset number threshold, send the second session update signaling to the network side device.

[0059] Among them, the preset number threshold can be set in advance as needed, and the preset number threshold can be expressed as n, which is not limited in the embodiment of the present application. In the embodiment of the present application, the session parameter signaling can be resent to the network side device first. The resent session parameter signaling can be consistent with the session parameter signaling sent last time. Specifically, for the case where the first session update signaling carries the first session update parameter, the session parameter signaling carrying the second session parameter can be resent to the network side device. For the case where the first session update signaling does not carry the first session update parameter, the session parameter signaling carrying the first session parameter can be resent to the network side device. After each retransmission, the number of retransmissions of the session parameter signaling is increased by 1.

[0060] If it is detected that the response message corresponding to the retransmitted session parameter signaling sent by the network side device does not have the first abnormality, that is, the response message corresponding to the retransmitted session parameter signaling is received within the specified time, the retransmission can be stopped and the subsequent call can be carried out normally. On the contrary, if it is detected that the response message corresponding to the retransmitted session parameter signaling sent by the network side device still has the first abnormality, that is, the response message corresponding to the retransmitted session parameter signaling is not received within the specified time, the number of retransmissions of the session parameter signaling can be compared with the preset number threshold. If the number of retransmissions of the session parameter signaling does not reach the preset number threshold, the session parameter signaling can be continued to be retransmitted to the network side device, that is, the operation of retransmitting the session parameter signaling to the network side device is performed again. If the number of retransmissions of the session parameter signaling has reached the preset number threshold, assuming that the preset number threshold is 5, and the number of retransmissions of the session parameter signaling is currently 5, it can be determined that the retransmission upper limit of the session parameter signaling has been reached. Accordingly, the session update can be re-performed by sending a second session update signaling to the network side device.

[0061] In the embodiment of the present application, the session parameter signaling is resent multiple times corresponding to the preset number of times threshold, and if the first abnormality still exists after the multiple resent session parameter signaling response message, the second session update signaling is further sent to the network side device. In this way, the probability of the session update eventually failing can be avoided to a greater extent, thereby ensuring normal calls.

[0062] It should be noted that, for the implementation method of resending the session parameter signaling only to the network side device, the session parameter signaling may be specifically resent to the network side device. When the number of resending of the session parameter signaling does not reach the preset number threshold, if it is detected that the response message corresponding to the resent session parameter signaling sent by the network side device has the first abnormality, the session parameter signaling is resent to the network side device until the preset number threshold is reached. In this way, the probability of the final failure of the session update can be reduced as much as possible through multiple resending.

[0063] Optionally, in some embodiments, if the first abnormality or the second abnormality is detected, before executing the first abnormality handling operation or executing the second abnormality handling operation, the following steps may be performed first: Step S31, switching the currently connected cell to the first cell.

[0064] That is, when the first exception is detected, the first exception handling operation may be implemented as follows:

[0065] Implementation method 1: first switch the currently connected cell to the first cell, and then resend the session parameter signaling to the network side device.

[0066] Implementation method 2: first switch the currently connected cell to the first cell, and then send a second session update signaling to the network side device.

[0067] Implementation method three: first switch the currently connected cell to the first cell, then resend the session parameter signaling and when it is detected that the response message sent by the network side device corresponding to the resent session parameter signaling has a first abnormality, send a second session update signaling to the network side device.

[0068] When the second exception is detected, the second exception handling operation may be implemented by first switching the currently connected cell to the first cell, and then sending a second session update signaling to the network side device.

[0069] In an embodiment of the present application, by first performing a cell switch, switching the currently connected cell to the first cell, and then performing an exception handling operation, it is possible to avoid the problem of abnormal response message reception due to an abnormality in the connected cell, and to avoid the problem of session parameter signaling or second session update signaling not being sent normally due to an abnormality in the currently connected cell, thereby ensuring that the exception handling operation can be performed normally.

[0070] Optionally, in some embodiments, the step of switching the currently connected cell to the first cell may specifically include:

[0071] Step S31a: Determine the first cell based on the neighboring cells whose signal strengths meet the preset strength requirement.

[0072] Step S31b: If the signal strength of the second cell meets the switching condition of the measurement event, a first measurement report is generated based on the signal strength of the second cell; the second cell is the cell corresponding to the measurement event, and the cell corresponding to the measurement event is the currently connected cell and one or more of the first cell.

[0073] Step S31c: If the signal strength of the second cell does not meet the switching condition, modify the signal strength of the second cell to a first signal strength, and generate a second measurement report based on the first signal strength; the first signal strength is a signal strength that meets the switching condition.

[0074] Step S31d: Send the first measurement report or the second measurement report to the network side device to instruct the network side device to switch the currently connected cell to the first cell.

[0075] In an embodiment of the present application, the preset strength requirement can be set as needed. For example, the preset strength requirement can be the maximum signal strength. The terminal can first search for adjacent cells, take signal strength as priority, sort according to the size of the signal strength of each adjacent cell, and select the adjacent cell with the largest signal strength as the first cell according to the sorting result, so that signaling and audio and video data packets can be sent based on the cell with good signal strength in the future, thereby ensuring the call quality. Alternatively, the adjacent cell with the largest signal strength among the adjacent cells whose signal quality is greater than the preset quality threshold is selected as the first cell, so that signaling can be sent based on the signal strength and the cell with good signal quality in the future, as well as audio and video data packets can be transmitted, thereby ensuring the call quality. Among them, the signal strength can be measured using the reference signal received power (Reference Signal Received Power, RSRP), and the specific value of the RSRP of the adjacent cell can be used as the signal strength of the adjacent cell. The signal quality can be the reference signal received quality (Reference Signal Received Quality, RSRQ).

[0076] The measurement event and the switching condition may be information carried in a Radio Resource Control (RRC) reconfiguration message sent by a network-side device. The network-side device may send an RRC reconfiguration message when configuring a switching event or configuring a data radio bearer (DRB). Among them, the first cell may be regarded as a target cell, and the cell currently connected to the terminal may be regarded as a service cell. A measurement event is used to characterize the switching condition that the signal strength of the target cell meets and / or the switching condition that the signal strength of the service cell meets. That is, in different measurement events, only the switching conditions that the service cell needs to meet may be restricted, or only the switching conditions that the target cell needs to meet may be restricted, or both the switching conditions that the service cell needs to meet and the switching conditions that the target cell needs to meet may be restricted. The switching condition of the measurement event may be a condition defined in the event, and the cell corresponding to the measurement event may be a cell defined in the event, that is, the cell corresponding to the measurement event may be the first cell and / or the currently connected cell.

[0077] Exemplarily, assuming that measurement event 1 is a cell switch when the signal strength of the target cell is greater than the first value and the signal strength of the serving cell is less than the second value, then the switching condition of measurement event 1 may be that the signal strength of the target cell is greater than the first value and the signal strength of the serving cell is less than the second value, and the cell corresponding to measurement event 1 may be the serving cell and the target cell. Assuming that measurement event 2 is a cell switch when the signal strength of the target cell is greater than the third value, then the switching condition of measurement event 2 may be that the signal strength of the target cell is greater than the third value, and the cell corresponding to measurement event 2 may be the target cell. Assuming that measurement event 3 is a cell switch when the signal strength of the serving cell is less than the fourth value, then the switching condition of measurement event 3 may be that the signal strength of the serving cell is less than the fourth value, and the cell corresponding to measurement event 3 may be the serving cell.

[0078] Accordingly, if the signal strength of the cell corresponding to the measurement event itself meets the switching condition of the measurement event, a first measurement report can be generated directly based on the signal strength of the cell corresponding to the measurement event. For example, for the above-mentioned measurement event 1, assuming that the second value is 60 decibel milliwatts (dBm), the first value is 100dBm, the signal strength of the currently connected cell is 55dBm, and the signal strength of the first cell is 110dBm. Since the signal strength of the currently connected cell is less than the second value, and the signal strength of the first cell is greater than the first value, a first measurement report carrying the signal strength of the currently connected cell and the signal strength of the first cell can be directly generated. And the first measurement report is sent to the network side device. Since the signal strength carried in the first measurement report meets the switching condition, the network side device switches the cell currently connected to the terminal to the first cell in response to the first measurement report.

[0079] If the signal strength of the cell corresponding to the measurement event does not meet the switching condition of the measurement event, the signal strength of the cell corresponding to the measurement event can be modified to a signal strength that meets the switching condition, and a second measurement report is generated based on the signal strength that meets the switching condition. And send the second measurement report to the network side device. That is, a second measurement report carrying the modified signal strength is generated. Since the signal strength carried in the second measurement report is the modified signal strength that meets the switching condition, the network side device switches the cell currently connected to the terminal to the first cell in response to the second measurement report. Specifically, when the switching condition is used to characterize that the signal strength is greater than the strength threshold, a preset amount can be added to the strength threshold as the modified signal strength to obtain the first signal strength. When the switching condition is used to characterize that the signal strength is less than the strength threshold, a preset amount can be subtracted from the strength threshold as the modified signal strength. Among them, the first value, the second value, the third value, and the fourth value in the above example all belong to the strength threshold. Exemplarily, for the above measurement event 1, it is assumed that the signal strength of the currently connected cell is 65dBm and the signal strength of the first cell is 110dBm. Then the signal strength of the currently connected cell may be modified to a value less than 60 dBm. For example, the first value may be subtracted from a preset amount to obtain a modified signal strength value.

[0080] In the embodiment of the present application, the first cell is first determined based on the neighboring cells whose signal strength meets the preset strength requirement, and when the signal strength of the cell corresponding to the measurement event does not meet the switching condition, the signal strength of the cell corresponding to the measurement event is modified to a signal strength that meets the switching condition, and a measurement report is generated based on the modified signal strength and sent to the network side device. In this way, it can be ensured that the currently connected cell can be switched to the first cell, ensuring the success rate of the cell switching.

[0081] It should be noted that, in the embodiment of the present application, a switching number threshold can also be set in advance for cell switching. After the currently connected cell is switched to the first cell, and then the first exception handling operation or the second exception handling operation is performed. If it is detected that the response message corresponding to the session parameter signaling sent by the network side device still has the first exception / second exception, it can be detected whether the number of cell switching reaches the preset switching number threshold. If not, it can return to the step of switching the currently connected cell to the first cell and start executing until the number of cell switching reaches the preset switching number threshold, that is, the switching number threshold exception handling operation is performed at most, and the switching number threshold neighboring cells are switched at most. Exemplarily, assuming that the switching number threshold is 5 times, for the exception handling operation of retransmitting the session parameter signaling, a cell switching can be performed first, and then the session parameter signaling can be retransmitted. Then, if it is detected that the response message corresponding to the session parameter signaling sent by the network side device has the first exception, the operation of retransmitting the session parameter signaling can be performed again when the number of cell switching does not reach the preset switching number threshold, until the preset switching number threshold is reached. Accordingly, when the preset number threshold for the number of retransmissions of the session parameter signaling is set to 1, it is equivalent to retransmitting the session parameter signaling up to 5 times; when the preset number threshold for the number of retransmissions of the session parameter signaling is set to n, it is equivalent to retransmitting the session parameter signaling up to 5×n times.

[0082] In one application scenario, the session is updated based on the INVITE signaling according to the SDP Offer / Answer model based on the RFC3261 protocol and the RFC3264 protocol. Specifically, there are two ways to update the session. Figure 2 is a schematic diagram of a session update process shown in an embodiment of the present application. Figure 3 This is another session update flow diagram shown in an embodiment of the present application. Figure 2 as well as Figure 3 SDP_offerer represents the initiator, SDP_answerer represents the answerer, SDP_offer represents the first session parameters, SDP_answer represents the second session parameters, 200OK represents the session parameter signaling, and ACK represents the response message. Figure 2 as well as Figure 3 Both are updates for existing sessions. Re-INVITE signaling refers to INVITE signaling sent within an existing session. Figure 2 as well as Figure 3 The INVITE signaling shown in may also be referred to as re-INVITE signaling.

[0083] correspond Figure 2In this implementation, the initiator can first send an INVITE signaling carrying the first session parameters: INVITE (SDP_offer). The responder can respond to the INVITE signaling and return a 200OK signaling carrying the second session parameters: 200OK (SDP_answer), thereby completing the session parameter negotiation. In this implementation, the first session parameters specifically represent the session parameters proposed by the initiator, and the second session parameters specifically represent the session parameters supported by the responder in the first session parameters. The initiator can send ACK in response to the 200OK signaling. Figure 3 In the method, the initiator sends an INVITE signaling without the first session parameters: INVITE. The responder can return a 200OK signaling carrying the first session parameters in response to the INVITE signaling: 200OK (SDP offer). The initiator can send an ACK message carrying the second session parameters in response to the 200OK signaling: ACK (SDP_answer). It should be noted that before sending the 200OK signaling, the responder can first send a message to the initiator indicating that the INVITE signaling has been received and is being processed, such as a 100Trying message.

[0084] The network side device acts as the initiator, corresponding to Figure 2 or Figure 3 In this way, if the network side device does not reply with ACK, that is, if ACK is not received within the specified time length, the terminal can first switch the currently connected cell to the first cell. Then, resend the 200OK signaling until the preset number threshold is reached. Alternatively, the terminal can directly send an INVITE signaling to the network side device. Alternatively, the terminal can first resend the 200OK signaling. If the response message sent by the network side device still has an abnormality after reaching the preset number threshold, the INVITE signaling is sent to the network side device again. By resending the 200OK signaling, the network side device can resend ACK in response to the 200OK signaling. By sending the INVITE signaling, the network side device renegotiates the session parameters in response to the INVITE signaling and starts a new session update process.

[0085] correspond Figure 3 In this way, if the ACK replied by the network side device is empty, the terminal can first switch the currently connected cell to the first cell, and then send an INVITE signaling to the network side device. After the session update is completed, the RTP packet sent by the network side device can be received normally.

[0086] The two terminals for a call include a mobile originating (MO) terminal and a mobile terminating (MT) terminal. The MO terminal is a calling terminal and the MT terminal is a called terminal. The above session update method can be applied to any terminal in the MO terminal or the MT terminal. The following is an explanation of the process of establishing a call between terminals. Figure 4 This embodiment of the present application provides a processing flow diagram, such as Figure 4 As shown, after the terminal is turned on, you can first select the operator's Public Land Mobile Network (PLMN) and start registering the NR network. Then the terminal establishes a VoNR call with other terminals as an MO or MT terminal. During the call, receive the re-INVITE signaling carrying the first session parameters sent by the network side device. Then, in response to the re-INVITE signaling, send 100Trying and 200OK signaling carrying the second session parameters to the network side device, and determine whether the ACK message corresponding to the 200OK signaling sent by the network side device is received. If received, it means that the RTP packet sent by the network side device can be received normally later, so the IMS call can be carried out normally.

[0087] If not, the 200OK signaling can be resent. Then determine whether the ACK message corresponding to the resent 200OK signaling sent by the network side device is received. If so, it means that the RTP packet sent by the network side device can be received normally in the future, so the IMS call can be carried out normally. If not, it can be determined whether the number of retransmissions reaches the preset number threshold. If it reaches the preset number threshold, the INVITE signaling can be sent to the network side device. If it does not reach the preset number threshold, it can return to the step of resending the 200OK signaling to start execution.

[0088] Figure 5 The present application embodiment provides another processing flow diagram, such as Figure 5 As shown, after the terminal is turned on, you can first select the operator's PLMN and start registering the NR network. Then the terminal establishes a VoNR call with other terminals as an MO or MT terminal. During the call, receive the re-INVITE signaling carrying the first session parameters sent by the network side device. Then, in response to the re-INVITE signaling, send 100Trying and 200OK signaling carrying the second session parameters to the network side device, and determine whether the ACK message corresponding to the 200OK signaling sent by the network side device is received. If received, it means that the RTP packet sent by the network side device can be received normally later, so the IMS call can be carried out normally.

[0089] If not, the currently connected cell can be switched to the first cell first. Then, the 200OK signaling is resent, and then it is determined whether the ACK message corresponding to the resent 200OK signaling sent by the network side device is received. If so, it means that the RTP packet sent by the network side device can be received normally later, so the IMS call can be carried out normally. If not, it can be determined whether the number of cell switching times reaches the preset switching times threshold. If it does not reach the preset switching times threshold, it can return to the step of performing cell switching and start execution. If the preset switching times threshold is reached, this process can be ended.

[0090] Figure 6 This embodiment of the present application provides a processing flow diagram, such as Figure 6 As shown, after the terminal is turned on, you can first select the operator's PLMN and start registering the NR network. Then the terminal establishes a VoNR call with other terminals as an MO or MT terminal. During the call, receive the re-INVITE signaling sent by the network side device that does not carry the first session parameters. Then, in response to the re-INVITE signaling, after sending 100Trying and 200OK signaling carrying the first session parameters to the network side device, determine whether the ACK message carrying the second session parameters corresponding to the 200OK signaling sent by the network side device is received. If so, it means that the RTP packet sent by the network side device can be received normally later, so the IMS call can be carried out normally.

[0091] If not, it can be determined whether the RTP packet sent by the network side device is received within the preset time. If so, it means that the RTP packet sent by the network side device can be received normally in the future, so the IMS call can be carried out normally. If not, an INVITE signaling can be sent to the network side device.

[0092] The session update method provided in the embodiment of the present application can be executed by a session update device. In the embodiment of the present application, the session update device executing the session update method is taken as an example to illustrate the session update device provided in the embodiment of the present application.

[0093] Figure 7 A block diagram of a session updating device in some embodiments of the present application is shown, which is applied to a terminal, and includes:

[0094] The sending module 201 is used to send a session parameter signaling to the network side device in response to the first session update signaling sent by the network side device;

[0095] The first processing module 202 is configured to perform a first exception handling operation if it is detected that a response message corresponding to the session parameter signaling sent by the network side device has a first exception; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending the second session update signaling to the network side device when it is detected that a response message corresponding to the resent session parameter signaling sent by the network side device has the first exception;

[0096] The second processing module 203 is used to perform a second exception handling operation if it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device; the second exception handling operation includes: sending the second session update signaling to the network side device.

[0097] Optionally, the device further comprises:

[0098] A first determining module, configured to determine that the response message has the first anomaly if it is detected that the response message sent by the network side device is not received;

[0099] The second determining module is configured to determine that the response message has the second anomaly if it is detected that the received response message does not carry the session response parameter.

[0100] Optionally, the second determining module is specifically configured to:

[0101] If it is detected that the received response message does not carry the session response parameter, then when no session data packet sent by the network side device is received within a preset time period, it is determined that the second abnormality exists in the response message.

[0102] Optionally, the first processing module 202 is specifically used to: resend the session parameter signaling to the network side device; if the number of retransmissions of the session parameter signaling does not reach a preset number threshold, if it is detected that the response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first abnormality, then resend the session parameter signaling to the network side device; if the response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first abnormality and the number of retransmissions reaches the preset number threshold, then send the second session update signaling to the network side device.

[0103] Optionally, the device further comprises:

[0104] The switching module is used to switch the currently connected cell to the first cell before the first processing module 202 performs the first exception processing operation or the second processing module 203 performs the second exception processing operation.

[0105] Optionally, the switching module is specifically used to:

[0106] Determining the first cell based on neighboring cells whose signal strengths meet preset strength requirements;

[0107] If the signal strength of the second cell meets the switching condition of the measurement event, generating a first measurement report based on the signal strength of the second cell; the second cell is a cell corresponding to the measurement event, and the cell corresponding to the measurement event is one or more of the currently connected cell and the first cell;

[0108] If the signal strength of the second cell does not meet the switching condition, modifying the signal strength of the second cell to a first signal strength, and generating a second measurement report based on the first signal strength; the first signal strength is a signal strength that meets the switching condition;

[0109] The first measurement report or the second measurement report is sent to the network side device to instruct the network side device to switch the currently connected cell to the first cell.

[0110] Optionally, the first session update signaling and the second session update signaling are core network interaction signaling.

[0111] The device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0112] The device of the embodiment of the present application may be a device having an action system. The action system may be an Android action system, an iOS action system, or other possible action systems, which are not specifically limited in the embodiment of the present application.

[0113] The device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0114] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 100, including a processor 101, a memory 102, and a program or instruction stored in the memory 102 and executable on the processor 101. When the program or instruction is executed by the processor 101, each step of any of the above-mentioned session update method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0115] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0116] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0117] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a camera 1011 and other components.

[0118] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0119] The processor 1010 is configured to send a session parameter signaling to the network side device in response to a first session update signaling sent by the network side device;

[0120] If it is detected that a first exception exists in a response message corresponding to the session parameter signaling sent by the network side device, a first exception handling operation is performed; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and, when it is detected that a first exception exists in a response message corresponding to the resent session parameter signaling sent by the network side device, sending the second session update signaling to the network side device;

[0121] If it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device, a second exception handling operation is performed; the second exception handling operation includes: sending the second session update signaling to the network side device.

[0122] In the session update method provided in the embodiment of the present application, in response to the first session update signaling sent by the network side device, a session parameter signaling is sent to the network side device. If it is detected that a first abnormality exists in the response message corresponding to the session parameter signaling sent by the network side device, a first abnormality handling operation is performed; the first abnormality handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending a second session update signaling to the network side device when it is detected that a first abnormality exists in the response message corresponding to the resent session parameter signaling sent by the network side device. If it is detected that a second abnormality exists in the response message corresponding to the session parameter signaling sent by the network side device, a second abnormality handling operation is performed; the second abnormality handling operation includes: sending a second session update signaling to the network side device. In the embodiment of the present invention, after sending the session parameter signaling to the network side device, if it is detected that the response message to the session parameter signaling is abnormal, the first abnormality handling operation or the second abnormality handling operation will be further performed for the abnormality, and the session parameter signaling will be resent so that the network side device can respond to the session parameter signaling again during the current session update process, and the second session update signaling can be sent to the network side device to re-initiate the session update with the network side device. In this way, the probability of the final session update failure can be reduced, and the problem of silent / dropped calls can be avoided as much as possible.

[0123] Optionally, the processor 1010 is further used to: if it is detected that the response message sent by the network side device is not received, determine that the response message has the first abnormality; if it is detected that the received response message does not carry the session response parameter, determine that the response message has the second abnormality.

[0124] Optionally, the processor 1010 is further configured to: if it is detected that the received response message does not carry a session response parameter, determine that the response message has the second abnormality when no session data packet sent by the network side device is received within a preset time period.

[0125] Optionally, the processor 1010 is further used to: resend the session parameter signaling to the network side device; if the number of retransmissions of the session parameter signaling does not reach a preset number threshold, if it is detected that the response message sent by the network side device and corresponding to the retransmitted session parameter signaling has the first abnormality, then resend the session parameter signaling to the network side device; if the response message sent by the network side device and corresponding to the retransmitted session parameter signaling has the first abnormality and the number of retransmissions reaches the preset number threshold, then send the second session update signaling to the network side device.

[0126] Optionally, the processor 1010 is further configured to: before executing the first exception handling operation or executing the second exception handling operation, switch the currently connected cell to the first cell.

[0127] Optionally, the processor 1010 is also used to: determine the first cell based on an adjacent cell whose signal strength meets a preset strength requirement; if the signal strength of the currently connected cell and the cell in the first cell corresponding to the measurement event sent by the network side device meets the switching condition of the measurement event, generate a measurement report based on the signal strength of the cell corresponding to the measurement event; if the signal strength of the cell corresponding to the measurement event does not meet the switching condition, modify the signal strength of the cell corresponding to the measurement event to the first signal strength, and generate the measurement report based on the first signal strength; send the measurement report to the network side device to instruct the network side device to switch the cell to which the terminal is currently connected to the first cell.

[0128] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video image obtained by the image capture device (such as a camera) in the video image capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and an action rod, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and action systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the action system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

[0129] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0130] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0131] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, each process of the above-mentioned session update method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a disk or an optical disk, etc.

[0132] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned session update method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0133] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0134] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned session update method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0135] It should be noted that, in this article, the term "includes", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples. Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware, but in many cases the former is a better embodiment. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes several instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application. The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods, which are merely illustrative and not restrictive. Under the enlightenment of the present application, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present application and the claims, all of which belong to the protection of the present application.

Claims

1. A session update method, characterized in that: Applied to a terminal, the method comprises: In response to the first session update signaling sent by the network side device, sending a session parameter signaling to the network side device; If it is detected that a first exception exists in a response message corresponding to the session parameter signaling sent by the network side device, a first exception handling operation is performed; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and, when it is detected that a first exception exists in a response message corresponding to the resent session parameter signaling sent by the network side device, sending the second session update signaling to the network side device; If it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device, a second exception handling operation is performed; the second exception handling operation includes: sending the second session update signaling to the network side device.

2. The method according to claim 1, characterized in that The method further comprises: If it is detected that the response message sent by the network side device is not received, determining that the response message has the first abnormality; If it is detected that the received response message does not carry the session response parameter, it is determined that the second abnormality exists in the response message.

3. The method according to claim 2, characterized in that If it is detected that the received response message does not carry the session response parameter, determining that the response message has the second abnormality includes: If it is detected that the received response message does not carry the session response parameter, then when no session data packet sent by the network side device is received within a preset time period, it is determined that the second abnormality exists in the response message.

4. The method according to claim 1, characterized in that: The resending the session parameter signaling and, when detecting that a response message corresponding to the resent session parameter signaling sent by the network side device has the first abnormality, sending the second session update signaling to the network side device includes: Resending the session parameter signaling to the network side device; In a case where the number of retransmissions of the session parameter signaling does not reach a preset number threshold, if it is detected that a response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first abnormality, resending the session parameter signaling to the network side device; When the response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first exception and the number of retransmissions reaches the preset number threshold, the second session update signaling is sent to the network side device.

5. The method according to claim 1, characterized in that Before executing the first exception handling operation or executing the second exception handling operation, the method further includes: Switch the currently connected cell to the first cell.

6. The method according to claim 5, characterized in that The switching the currently connected cell to the first cell includes: Determining the first cell based on neighboring cells whose signal strengths meet preset strength requirements; If the signal strength of the second cell meets the switching condition of the measurement event, generating a first measurement report based on the signal strength of the second cell; the second cell is a cell corresponding to the measurement event, and the cell corresponding to the measurement event is one or more of the currently connected cell and the first cell; If the signal strength of the second cell does not meet the switching condition, modifying the signal strength of the second cell to a first signal strength, and generating a second measurement report based on the first signal strength; the first signal strength is a signal strength that meets the switching condition; The first measurement report or the second measurement report is sent to the network side device to instruct the network side device to switch the currently connected cell to the first cell.

7. The method according to any one of claims 1 to 6, characterized in that: The first session update signaling and the second session update signaling are core network interaction signaling.

8. A session updating device, characterized in that: Applied to a terminal, the device comprises: A sending module, configured to send a session parameter signaling to the network side device in response to a first session update signaling sent by the network side device; A first processing module is configured to perform a first exception handling operation if it is detected that a response message corresponding to the session parameter signaling sent by the network side device has a first exception; the first exception handling operation includes one of the following: resending the session parameter signaling to the network side device, sending a second session update signaling to the network side device, resending the session parameter signaling and sending the second session update signaling to the network side device if it is detected that a response message corresponding to the resent session parameter signaling sent by the network side device has the first exception; The second processing module is used to perform a second exception handling operation if it is detected that a second exception exists in the response message corresponding to the session parameter signaling sent by the network side device; the second exception handling operation includes: sending the second session update signaling to the network side device.

9. The device according to claim 8, characterized in that The device also includes: A first determining module, configured to determine that the response message has the first anomaly if it is detected that the response message sent by the network side device is not received; The second determining module is configured to determine that the response message has the second anomaly if it is detected that the received response message does not carry the session response parameter.

10. The device according to claim 9, characterized in that The second determining module is specifically used to: If it is detected that the received response message does not carry the session response parameter, then when no session data packet sent by the network side device is received within a preset time period, it is determined that the second abnormality exists in the response message.

11. The device according to claim 8, characterized in that The first processing module is specifically used for: Resending the session parameter signaling to the network side device; In a case where the number of retransmissions of the session parameter signaling does not reach a preset number threshold, if it is detected that a response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first abnormality, resending the session parameter signaling to the network side device; When the response message corresponding to the retransmitted session parameter signaling sent by the network side device has the first exception and the number of retransmissions reaches the preset number threshold, the second session update signaling is sent to the network side device.

12. The device according to claim 8, characterized in that The device also includes: The switching module is used to switch the currently connected cell to the first cell before the first processing module performs the first exception processing operation or the second processing module performs the second exception processing operation.

13. The device according to claim 12, characterized in that The switching module is specifically used for: Determining the first cell based on neighboring cells whose signal strengths meet preset strength requirements; If the signal strength of the second cell meets the switching condition of the measurement event, generating a first measurement report based on the signal strength of the second cell; the second cell is a cell corresponding to the measurement event, and the cell corresponding to the measurement event is one or more of the currently connected cell and the first cell; If the signal strength of the second cell does not meet the switching condition, modifying the signal strength of the second cell to a first signal strength, and generating a second measurement report based on the first signal strength; the first signal strength is a signal strength that meets the switching condition; The first measurement report or the second measurement report is sent to the network side device to instruct the network side device to switch the currently connected cell to the first cell.

14. The device according to any one of claims 8 to 13, characterized in that: The first session update signaling and the second session update signaling are core network interaction signaling.

15. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the session updating method according to any one of claims 1 to 7 are implemented.

16. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the session updating method according to any one of claims 1 to 7 are implemented.