IMS-based intelligent switching method and system for video call, and readable medium
By monitoring the status of the media processing server in the IMS system in real time and intelligently switching to a healthy node, the problems of video call stuttering and interruption were solved, and the continuity and stability of video calls were achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING NERA STENTOFON COMM EQUIP CO LTD
- Filing Date
- 2025-01-22
- Publication Date
- 2026-06-04
AI Technical Summary
The existing IMS system cannot manage video call faults in a fine-grained manner, resulting in stuttering or interruption and affecting user experience.
By monitoring the hardware status of the media processing server and the quality of video calls in real time, the system intelligently selects healthy service nodes for switching, including CPU utilization, memory usage, disk space, video latency, and packet loss rate, and adopts an intelligent switching strategy to restore the session state on the new node.
It improves the continuity and stability of video calls, enhances the user experience, and reduces video stuttering and interruptions.
Smart Images

Figure CN2025073885_04062026_PF_FP_ABST
Abstract
Description
An intelligent switching method, system and readable medium for video call based on IMS system TECHNICAL FIELD
[0001] The present application relates to an intelligent switching method, system and readable medium for video call based on IMS system, belonging to the technical field of video call. BACKGROUND
[0002] With the development of communication technology, IP Multimedia Subsystem (IMS) as an advanced network architecture, aims to provide high-quality multimedia services for users. IMS system not only supports voice call, but also supports video call, instant messaging and other multimedia applications.
[0003] In the actual application of IMS-based multimedia communication system in the nuclear power and airport industry, large-scale deployment is often required, and in this case, IMS system faces many challenges. Among them, the fault detection and recovery in video call has become a key problem. Without considering the condition of special network, when a media processing server is overloaded or has hardware failure, etc., it will cause the video call to appear lag or even interrupt. It may cause the video call to lag or even interrupt, seriously affecting the user experience.
[0004] In order to cope with the above challenges, load balancing technology is widely used in IMS system, which optimizes resource use by distributing requests among multiple servers, improves system availability and response speed. However, the traditional load balancing strategy can only schedule at the server level, and cannot fine-tune management for specific problems in video call. SUMMARY
[0005] To solve the above problems, the present application provides an intelligent switching method, system and readable medium for video call based on IMS system, which can solve the problem of video call lag or even interrupt, by monitoring the state of media processing server in real time, and intelligently selecting a healthy service node to continue the video call when a problem is detected, to ensure the continuity and stability of video call.
[0006] To achieve the above object, the present application provides the following technical scheme: a video call intelligent switching method based on IMS system, comprising the following steps: in the process of video call, real-time detecting hardware state of each media processing server; judging whether the hardware state exceeds threshold value or video call quality decreases; if the hardware state exceeds threshold value or video call quality decreases, selecting a healthy media processing node from load balancing cluster through intelligent switching strategy; ending conversation on original media processing node, re-establishing a new media stream on new media processing node; migrating conversation information on original media processing node to new media processing node, resuming conversation state of original node on new media processing node, thereby realizing video call intelligent switching.
[0007] Further, the hardware state comprises performance parameters of CPU usage, memory occupation and disk space; the video call quality comprises video delay and packet loss rate.
[0008] Further, threshold value of the hardware state is that CPU usage threshold value is 80%, memory usage threshold value is 80%, and disk space usage threshold value is 85%; judgment standard of video call quality decrease is that delay exceeds 100 ms and packet loss rate exceeds 1%.
[0009] Further, the intelligent switching strategy comprises: priority switching, selecting node with low load; sequence switching, according to pre-configured node list, when a node has problem, trying other nodes in sequence; random switching, switching to a node with hardware state not exceeding threshold value and video call quality not decreasing.
[0010] Further, if the hardware state exceeds threshold value or video call quality decreases, IMS core network element ends conversation on original media processing node by sending SIP BYE message, establishes conversation with new media processing node by SIP INVITE request, and reduces time of switching conversation from original media processing node to new media processing node through media stream pre-buffering technology.
[0011] Further, the conversation information comprises video stream, audio stream and related control information; the conversation state comprises existing video buffer area and audio buffer area.
[0012] Further, log information of each time of switching original media processing node to new media processing node is recorded, performance analysis is carried out according to the log data, switching strategy and threshold value setting are optimized through performance analysis, and intelligent switching strategy is dynamically adjusted according to actual running condition.
[0013] Further, the log information comprises switching time, reason and result.
[0014] The application further discloses an IMS system-based video call intelligent switching system adopting the IMS system-based video call intelligent switching method, comprising a load balancing server and a storage server; the load balancing server comprises a plurality of IMS core network elements and a plurality of IMS media and application network elements, the IMS core network element is connected with one IMS media and application network element, and is used for establishing a video call between users, and when the hardware state exceeds a threshold value or the video call quality decreases, another healthy IMS media and application network element is connected through an intelligent switching strategy; the IMS media and application network element is used for transmitting session information, and a monitoring module is arranged in the IMS media and application network element, and is used for detecting the hardware state of each media processing server in real time during the video call; and the storage server comprises an IMS user data storage network element, and is used for recording log information of each original media processing node switching to a new media processing node.
[0015] The application further discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the IMS system-based video call intelligent switching method.
[0016] The technical scheme of the application has at least the following technical effects or advantages: the application solves the problem of video call lagging or even interrupting, intelligently selects a healthy service node to continue the video call by monitoring the state of the media processing server in real time when a problem is detected, effectively solves the problem of video call lagging caused by a single hardware media processing server, improves the continuity and stability of the video call, and improves the call experience of users. BRIEF DESCRIPTION OF DRAWINGS
[0017] Fig. 1 is a flowchart of the IMS system-based video call intelligent switching method according to an embodiment of the application;
[0018] Fig. 2 is a schematic diagram of the IMS system-based video call intelligent switching system according to an embodiment of the application. BEST MODE FOR CARRYING OUT THE INVENTION
[0019] In order to enable a person skilled in the art to better understand the technical scheme of the application, the application is described in detail through specific embodiments. However, it should be understood that the specific embodiments are provided only for better understanding of the application, and should not be understood as a limitation on the application. In the description of the application, it should be understood that the terms used are only for the purpose of description, and should not be understood as indicating or implying relative importance.
[0020] In order to solve the problems of video lag caused by high CPU usage and video interruption caused by high memory occupation in the prior art, the application provides an intelligent switching method, system and readable medium for video call based on an IMS system, which can detect problems of a single-point hardware media processing server during a video call and automatically switch to a mechanism on a healthy media processing server to ensure continuity and quality of the video call. Assuming that the CPU usage of a media processing server exceeds a preset threshold (80%) or the memory occupation of a media processing server is too high during the video call, video lag is caused. At this time, the system first detects the situation and selects another server with low CPU usage from a load balancing cluster as a replacement node. Then, the system seamlessly switches to the new node and migrates session information to ensure that the video call continues and users cannot perceive the switching process or only a short video buffering process. The application scheme is described in detail below with reference to the embodiments and the accompanying drawings.
[0021] Embodiment one
[0022] The embodiment discloses an intelligent switching method for video call based on an IMS system, as shown in FIG. 1, which comprises the following steps:
[0023] S1. During the video call, the hardware state of each media processing server is detected in real time.
[0024] S2. It is judged whether the hardware state exceeds a threshold or the video call quality decreases.
[0025] The hardware state includes performance parameters of CPU usage, memory occupation and disk space; the video call quality includes video delay and packet loss rate.
[0026] The threshold of the hardware state is that the CPU usage threshold is 80%, the memory usage threshold is 80%, and the disk space usage threshold is 85%; the judgment standard for the decrease of the video call quality is that the delay exceeds 100 ms and the packet loss rate exceeds 1%.
[0027] S3. When the hardware state exceeds the threshold or the video call quality decreases, a fault detection mechanism is triggered, that is, a healthy media processing node is selected from a load balancing cluster through an intelligent switching strategy, that is, one node is selected from the other three healthy media processing nodes as a media processing service node.
[0028] The intelligent switching strategy comprises:
[0029] According to the priority switching, a node with low load and good performance is selected;
[0030] According to the sequence switching, when a node has a problem, other nodes are tried in sequence according to a preconfigured node list.
[0031] Randomly switch to a node whose hardware status is not over the threshold and video call quality is not degraded.
[0032] S4 ends the session on the original media processing node and re-establishes a new media stream on the new media processing node.
[0033] If the hardware status is over the threshold or the video call quality is degraded, the IMS core network element ends the session on the original media processing node by sending a SIP BYE message and establishes a session with the new media processing node by sending a SIP INVITE request, and re-establishes a new media stream on the new media processing node (MRFP). The above process may cause a short video interruption, so the media stream pre-buffering technology is used to reduce the time of switching the session from the original media processing node to the new media processing node, thereby minimizing the impact on user experience.
[0034] S5 migrates the session information on the original media processing node to the new media processing node and restores the session state of the original node on the new media processing node, thereby realizing intelligent switching of video calls.
[0035] The session information includes video stream, audio stream and related control information; the session state includes existing video buffer and audio buffer.
[0036] Log information of each time the original media processing node is switched to the new media processing node is recorded, and the log information includes switching time, reason and result. Performance analysis is performed based on the log data, the switching strategy and threshold setting are optimized through performance analysis, and the intelligent switching strategy is dynamically adjusted according to the actual running situation.
[0037] The method for optimizing the switching strategy and threshold setting includes:
[0038] Predictive maintenance and resource pre-allocation
[0039] Through log analysis, the performance related in the log is extracted, and the time series prediction model ARIMA (Autoregressive Integrated Moving Average Model) in machine learning is used to predict the load of each server in a future period of time. Based on these predictions, part of the sessions are migrated to the servers with lower expected load in advance to avoid switching when the threshold is reached. The model is trained by historical data in the log, and the parameters are continuously adjusted to improve the prediction accuracy, so as to more effectively allocate resources. The performance related in the log includes but is not limited to performance parameters such as CPU usage, memory occupation and disk space.
[0040] Dynamic threshold setting:
[0041] The Q-learning algorithm is used to dynamically adjust the thresholds of CPU usage and memory occupation. The optimal threshold settings are determined by the current state of the system and historical behavior analysis of the logs.
[0042] The system performance under different threshold settings is periodically evaluated, including switching frequency and video smoothness factors, to gradually optimize the thresholds for the best balance.
[0043] Embodiment Two
[0044] Based on the same inventive concept, this embodiment discloses an IMS system-based video call intelligent switching system, which adopts any of the above IMS system-based video call intelligent switching methods. As shown in FIG. 2, it includes a load balancing server and a storage server.
[0045] The load balancing server includes several IMS core network elements (P / I / S-CSCF) and several IMS media and application network elements (MRFC / MRFP / AS). In this embodiment, there are two IMS core network elements for primary and backup IMS core services. In this embodiment, there are four IMS media and application network elements for IMS media and application services. The IMS core network element is connected with an IMS media and application network element, which is used to establish video calls between users and connect another healthy IMS media and application network element through intelligent switching strategy when the hardware state exceeds the threshold or the video call quality decreases.
[0046] The IMS media and application network element is used to transmit session information, and a monitoring module is set in the IMS media and application network element to detect the hardware state of each media processing server in real time during the video call process. The hardware state includes CPU usage, memory occupation, and disk space performance parameters. The video call quality includes video delay and packet loss rate. The threshold of the hardware state is that the CPU usage threshold is 80%, the memory usage threshold is 80%, and the disk space usage threshold is 85%. The judgment standard for the decrease of the video call quality is that the delay exceeds 100 ms and the packet loss rate exceeds 1%.
[0047] The storage server includes an IMS user data storage network element, which is used to record log information of each original media processing node switching to a new media processing node.
[0048] Embodiment Three
[0049] Based on the same inventive concept, this embodiment discloses a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement any of the above IMS system-based video call intelligent switching methods.
[0050] Those skilled in the art will appreciate that embodiments of the present application can be readily used as software, hardware, or a combination of software and hardware. In one embodiment, the present application can be implemented in software and can be stored on a computer readable medium, which can include random access memory (RAM), read only memory (ROM), magnetic disk or optical disk, or the like. The software implementation can comprise one or more computer program components embodied on one or more computer readable medium(s). The computer program components can comprise a computer program tangibly embodied on a computer readable medium, which can include one or more computer program components, which can be implemented using software, hardware, or a combination of software and hardware. The computer program tangibly embodied on the computer readable medium can include one or more computer program components, which can be implemented using software, hardware, or a combination of software and hardware.
[0051] The present application is described in reference to the drawings, which are as follows:
[0052] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
[0053] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
[0054] This application claims priority to prior Chinese patent application No. 202411702492.9, filed on November 26, 2024, entitled: A Method, System and Readable Medium for Intelligent Switching of Video Calls Based on IMS System, the entire contents of which are hereby incorporated by reference.
[0055] Cross Reference to Related Applications:
[0056] The present application claims priority to prior Chinese patent application No. 202411702492.9, filed on November 26, 2024, entitled: A method and system for intelligent switching of video calls based on an IMS system and readable medium, the entire contents of which are hereby incorporated by reference. Industrial applicability
[0057] Video calls are a common way of communication in real life, and the problem of lagging in video calls is also widespread. The problem of lagging seriously affects the quality of video calls. Therefore, the present application solves the problem of lagging or even interruption in video calls, improving the quality of video calls. The technical solution is simple and easy to implement, and does not require expensive facilities to achieve. Therefore, it can be widely used in various places and devices that require video calls, and has strong practical value.
Claims
1. A method for intelligent switching of video call based on IMS system, characterized in that, The method comprises the following steps: detecting the hardware status of each media processing server in real time during the video call process; judging whether the hardware status exceeds a threshold value or the video call quality decreases; selecting a healthy media processing node from the load balancing cluster through intelligent switching strategy when the hardware status exceeds the threshold value or the video call quality decreases; ending the session on the original media processing node and reestablishing a new media stream on the new media processing node; migrating the session information on the original media processing node to the new media processing node and resuming the session status of the original node on the new media processing node, thereby realizing intelligent switching of the video call. 2.The IMS system-based video call intelligent switching method of claim 1, wherein, The hardware status comprises performance parameters of CPU usage, memory occupation and disk space; and the video call quality comprises video delay and packet loss rate. 3.The IMS system-based video call intelligent switching method of claim 2, wherein, The threshold value of the hardware status is 80% for CPU usage, 80% for memory usage and 85% for disk space usage; and the judgment standard for the decrease of the video call quality is that the delay exceeds 100 ms and the packet loss rate exceeds 1%. 4.The IMS system-based video call intelligent switching method of claim 1, wherein, The intelligent switching strategy comprises: priority switching, selecting a node with low load; sequence switching, attempting other nodes in sequence according to a preconfigured node list when a certain node has a problem; random switching, switching to a node with a hardware status not exceeding a threshold value and a video call quality not decreasing. 5.The IMS system-based video call intelligent switching method of claim 1, wherein, When the hardware status exceeds the threshold value or the video call quality decreases, the IMS core network element ends the session on the original media processing node by sending a SIP BYE message and establishes a session with the new media processing node by sending a SIP INVITE request, and the time for switching the session from the original media processing node to the new media processing node is reduced through media stream pre-buffering technology. 6.The IMS system-based video call intelligent switching method of claim 1, wherein, The session information comprises video stream, audio stream and related control information; and the session status comprises existing video buffer and audio buffer. 7.The IMS system-based video call intelligent switching method of claim 1, wherein, Log information of each time when the original media processing node is switched to the new media processing node is recorded, performance analysis is performed according to the log data, the switching strategy and threshold value setting are optimized through performance analysis, and the intelligent switching strategy is dynamically adjusted according to the actual running situation. 8.The IMS system-based video call intelligent switching method of claim 1, wherein, The log information comprises switching time, reason and result.
9. An intelligent handover system for video call based on IMS system, characterized in that, The intelligent switching method for video call based on the IMS system according to any one of claims 1-8 comprises a load balancing server and a storage server. The load balancing server comprises a plurality of IMS core network elements and a plurality of IMS media and application network elements, the IMS core network element is connected with one IMS media and application network element, is used for establishing a video call between users, and is connected with another healthy IMS media and application network element through intelligent switching strategy when the hardware status exceeds the threshold value or the video call quality decreases; the IMS media and application network element is used for transmitting session information, a monitoring module is arranged in the IMS media and application network element, is used for detecting the hardware status of each media processing server in real time during the video call process; and the storage server comprises an IMS user data storage network element, is used for recording log information of each time when the original media processing node is switched to the new media processing node.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the intelligent switching method for video call based on the IMS system according to any one of claims 1-8.