Negotiation control method and device for call media, electronic equipment and storage medium
Through the core network, the media parameters of user equipment are monitored in real time and automatically adjusted, which solves the problem that media parameters cannot be updated in time in the existing technology, and improves communication quality and user experience.
Patent Information
- Application Number
- CN202411637679.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-21
AI Technical Summary
In existing communication systems, media parameters after call establishment are usually determined during the call establishment stage, and cannot respond to changes in network conditions and service requirements in a timely manner, resulting in the impact of user experience.
The core network monitors the network status, service needs and service quality of user equipment in real time, automatically initiates media update requests based on preset conditions, adjusts media parameters, and reduces the burden on user equipment.
It improves communication quality and user experience, realizes timely updates of media parameters, reduces the processing burden of user equipment, and improves the flexibility and adaptability of the system.
Smart Images

Figure CN119496765A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a negotiation control method, device, electronic device and storage medium for call media. Background Art
[0002] IMS is part of the core network and processes signaling and control functions in the control layer. IMS defines VoLTE / VoNR voice and video call services. Wireless users accessing through cellular networks need to establish user-specific bearers to ensure the quality of voice / video communications. 3GPP defines QoS to provide different levels of service guarantees for different services and applications in mobile communication networks, which can meet communication requirements in most scenarios. However, since the mobile communication network is a complex system that includes access networks, transmission networks, core networks, etc., the bottleneck of any node will affect the actual call service quality. For example, in a crowded public network scenario or a resource-constrained private network scenario, instantaneous large-concurrency video calls may experience audio and video freezes and delays, affecting the user's call experience.
[0003] In existing communication systems, media parameters are usually determined during the call establishment phase after the call is established. However, in actual applications, due to changes in network conditions, adjustments in service requirements, etc., media parameters may need to be updated during the call. Currently, media update requests are mainly initiated by user devices, but this approach has certain limitations. For example, the user device may not be able to perceive changes in network conditions in a timely manner, or the processing capacity of the user device is limited and cannot quickly respond to complex media update requirements. Therefore, how to quickly initiate media update requirements has become a technical issue that cannot be underestimated. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a negotiation control method, device, electronic device and storage medium for call media. The core network can promptly initiate a media update request to adjust media parameters according to network conditions and service requirements. Compared with media updates initiated by user equipment, the timeliness is better, and the user equipment does not need to actively initiate a media update request, but only needs to respond according to the notification of the core network, thereby reducing the burden on the user equipment.
[0005] The present application provides a negotiation control method for call media, the negotiation control method comprising:
[0006] Real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization meets a preset call media update condition;
[0007] If not satisfied, the call media update is not performed;
[0008] If the conditions are met, a first re-negotiation media parameter request is sent to the calling user equipment, a first consent response message of the calling user equipment in response to the first re-negotiation media parameter request is received, media update policy processing is performed on the media parameters in the first consent response message, updated media parameters are determined, a second re-negotiation media parameter request containing the updated media parameters is constructed, and the second re-negotiation media parameter request is sent to the called user equipment to determine whether the called user equipment accepts the updated media parameters. After receiving the second consent response message of the called user equipment, the constructed ACK message is sent to the calling user equipment to complete the entire call media update process.
[0009] In a possible implementation manner, with respect to the network status, the real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization satisfies a preset call media update condition includes:
[0010] Sending a video media RTP packet to the calling user equipment and the called user equipment, and receiving RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet:
[0011] Detecting whether the packet loss rate field in the RR packet is greater than or equal to a preset packet loss rate upper limit;
[0012] If so, it is determined that the network status satisfies the preset call media update condition; if not, it is determined that the network status does not satisfy the preset call media update condition.
[0013] In a possible implementation manner, with respect to service requirements, the real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization satisfies a preset call media update condition includes:
[0014] Detecting whether there is a new service demand between the calling user equipment and the called user equipment;
[0015] If yes, the preset call media update condition is met;
[0016] If not, the preset call media update condition is not met.
[0017] In a possible implementation manner, performing media update policy processing on the media parameters in the first consent response message to determine updated media parameters includes:
[0018] Parsing the media type and the media format in the first consent response message to determine the parsed media type and the parsed media format;
[0019] Detecting whether a media description exists in the parsed media type and the parsed media format;
[0020] If it does not exist, then the media update policy processing is terminated; if it does exist, then the media description is checked to see if there is a frame rate lower than the current media;
[0021] If there is a lower frame rate than the current media, the frame rate is reduced; if there is no lower frame rate than the current media, the resolution is reduced; if there is no lower resolution than the current media, it is changed to a voice call to complete the media update strategy processing of the media parameters and determine the updated media parameters.
[0022] In a possible implementation manner, before real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, the negotiation control method further includes:
[0023] Obtain a user registration request initiated by a user device, and obtain user contract information based on a configuration system; the user contract information includes configuration parameters for media negotiation control; wherein the user device includes the calling user device and the called user device;
[0024] The user equipment is registered based on the user contract, and a registration success response is sent to the user equipment after the registration is successful.
[0025] In a possible implementation manner, after sending the second media parameter re-negotiation request to the called user equipment, the negotiation control method further includes:
[0026] If the called user equipment does not accept the updated media parameters, the call media update between the calling user equipment and the called user equipment fails.
[0027] The embodiment of the present application further provides a negotiation control device for a call media, the negotiation control device comprising:
[0028] The core network monitoring module is used to monitor the network status, service requirements and service quality optimization of the calling user equipment and the called user equipment in real time after the video call is successfully established, and determine whether at least one of the network status, the service requirements and the service quality optimization meets the preset call media update condition;
[0029] A first message processing module, configured not to perform call media update if the conditions are not met;
[0030] The second message processing module is used to send a first re-negotiation media parameter request to the calling user equipment if the conditions are met, receive a first consent response message from the calling user equipment in response to the first re-negotiation media parameter request, perform media update policy processing on the media parameters in the first consent response message, determine the updated media parameters, construct a second re-negotiation media parameter request containing the updated media parameters, send the second re-negotiation media parameter request to the called user equipment to determine whether the called user equipment accepts the updated media parameters, and after receiving the second consent response message from the called user equipment, send the constructed ACK message to the calling user equipment to complete the entire call media update process.
[0031] In a possible implementation manner, when the core network monitoring module is used to monitor in real time the network status, the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for the successful establishment of the video call, and determines whether at least one of the network status, the service requirements, and the service quality optimization meets the preset call media update condition, the core network monitoring module is specifically used to:
[0032] Sending a video media RTP packet to the calling user equipment and the called user equipment, and receiving RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet:
[0033] Detecting whether the packet loss rate field in the RR packet is greater than or equal to a preset packet loss rate upper limit;
[0034] If so, it is determined that the network status satisfies the preset call media update condition; if not, it is determined that the network status does not satisfy the preset call media update condition.
[0035] An embodiment of the present application also provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the negotiation control method of the call media as described above are performed.
[0036] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the negotiation control method for call media as described above are executed.
[0037] The embodiments of the present application provide a call media negotiation control method, device, electronic device and storage medium, wherein the negotiation control method comprises: real-time monitoring of the network status, service requirements and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements and the service quality optimization satisfies a preset call media update condition; if not, no call media update is performed; if satisfied, a first re-negotiation media parameter request is sent to the calling user equipment, a first consent response message of the calling user equipment in response to the first re-negotiation media parameter request is received, media update policy processing is performed on the media parameters in the first consent response message, updated media parameters are determined, a second re-negotiation media parameter request containing the updated media parameters is constructed, and the second re-negotiation media parameter request is sent to the called user equipment to determine whether the called user equipment accepts the updated media parameters. After receiving the second consent response message of the called user equipment, the constructed ACK message is sent to the calling user equipment to complete the entire call media update process. The core network can initiate media update requests in a timely manner to adjust media parameters based on network conditions and service requirements. Compared with media updates initiated by user devices, this is more timely and enables user devices to respond based on notifications from the core network instead of actively initiating media update requests, thereby reducing the burden on user devices.
[0038] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A flowchart of a negotiation control method for call media provided in an embodiment of the present application;
[0041] Figure 2 A flow chart of a media update strategy provided in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of a call media negotiation control method provided in an embodiment of the present application;
[0043] Figure 4 One of the structural schematic diagrams of a negotiation control device for a call media provided in an embodiment of the present application;
[0044] Figure 5 A second structural diagram of a negotiation control device for a call media provided in an embodiment of the present application;
[0045] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0047] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of communication technology.
[0048] According to research, in existing communication systems, media parameters are usually determined during the call establishment phase after the call is established. However, in actual applications, due to changes in network conditions, adjustments in service requirements, etc., media parameters may need to be updated during the call. Currently, media update requests are mainly initiated by user devices, but this approach has certain limitations. For example, user devices may not be able to perceive changes in network conditions in a timely manner, or the processing capacity of user devices is limited and cannot quickly respond to complex media update requirements. Therefore, how to quickly initiate media update requirements has become a technical issue that cannot be underestimated.
[0049] Based on this, an embodiment of the present application provides a negotiation control method for call media. The core network can promptly initiate a media update request to adjust media parameters according to network conditions and service requirements. Compared with media updates initiated by user devices, the timeliness is better, and the user device does not need to actively initiate a media update request, but only needs to respond according to the notification of the core network, thereby reducing the burden on the user device.
[0050] See also Figure 1 , Figure 1 This is a flow chart of a call media negotiation control method provided by an embodiment of the present application. Figure 1 As shown in , the negotiation control method provided by the embodiment of the present application includes:
[0051] S101: Monitor the network status, service requirements and service quality optimization of the calling user equipment and the called user equipment in real time for the successful establishment of the video call, and determine whether at least one of the network status, service requirements and service quality optimization meets the preset call media update condition.
[0052] In this step, the network status, service requirements and service quality optimization of the calling user equipment and the called user equipment for the successful video call are monitored in real time to determine whether at least one of the network status, service requirements and service quality optimization meets the preset call media update condition.
[0053] The call media update condition includes at least one of network resource adjustment, service quality optimization, and emergence of new service requirements.
[0054] In a possible implementation manner, before real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, the negotiation control method further includes:
[0055] a: Obtain a user registration request initiated by a user device, and obtain user contract information based on a configuration system; the user contract information includes configuration parameters for media negotiation control; wherein the user device includes the calling user device and the called user device.
[0056] Here, a user registration request initiated by a user device is obtained, and user contract information is obtained according to the configuration system.
[0057] The configuration parameters of media negotiation control include a function switch and a packet loss rate upper limit. The function switch is used to control the switch of media negotiation control during a call. 0 represents function OFF and 1 represents function ON. The packet loss rate upper limit is used as the packet loss rate threshold for media update.
[0058] b: Register the user equipment based on the user contract, and send a registration success response to the user equipment after the registration is successful.
[0059] Here, the user equipment is registered by using the user contract, and a registration success response is sent to the user equipment after the registration is successful.
[0060] In a possible implementation manner, with respect to the network status, the real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization satisfies a preset call media update condition includes:
[0061] A: Sending a video media RTP packet to the calling user equipment and the called user equipment, and receiving RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet.
[0062] Here, the core network sends the video media RTP packet to the calling user equipment and the called user equipment, and receives the RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet.
[0063] B: Detect whether the packet loss rate field in the RR packet is greater than or equal to the preset packet loss rate upper limit; if so, determine that the network status meets the preset call media update conditions; if not, determine that the network status does not meet the preset call media update conditions.
[0064] Here, it is detected whether the packet loss rate field in the RR packet is greater than or equal to the preset packet loss rate upper limit; if so, it is determined that the network status meets the preset call media update conditions; if not, it is determined that the network status does not meet the preset call media update conditions.
[0065] Among them, the video call has been successfully established, and RTCP SR (Sender Report) and RR (Receiver Report) can be sent and received normally. RTCP (RTP Control Protocol) is a protocol used in conjunction with RTP (Real-time Transport Protocol) to monitor transmission quality and provide statistical information. RTCP includes multiple report types, of which SR (Sender Report) and RR (Receiver Report) are the two most common types. Sender Report is mainly used to report the data transmission status of the sender. The SR message contains various statistical data of the sender, such as the sending timestamp, the number of bytes sent, the number of packets sent, the sequence number of the RTP packets sent, etc. The purpose is that the sender uses the SR message to report its sending behavior to help the receiver understand the transmission status of the sender, so as to better perform synchronization and quality monitoring. RTCP RR is mainly used to report the data reception status of the receiver. The RR message contains various statistical data of the receiver, such as the receiving timestamp, the number of bytes received, the number of packets received, the packet loss rate, jitter, round-trip delay, etc. The receiving end uses RR messages to report its receiving behavior. The sending end or other intermediate nodes can understand the network status through these reports and then take corresponding measures (such as adjusting media parameters) to optimize the transmission quality.
[0066] In a specific embodiment, after the video call is successfully established, RTCPSR and RR are sent and received normally to monitor the data transmission. The core network forwards the video media RTP packet to the user equipment, and the user equipment sends the RR message to the core network according to the rules (such as periodic transmission, specific event triggering, etc.). The core network parses the fraction lost field in the RR message and calculates the packet loss rate. If the packet loss rate exceeds the preset threshold, the core network starts the media update process and adjusts the media parameters.
[0067] In a possible implementation manner, with respect to service requirements, the real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization satisfies a preset call media update condition includes:
[0068] Detect whether there is a new service demand between the calling user equipment and the called user equipment; if so, the preset call media update condition is met; if not, the preset call media update condition is not met.
[0069] Here, it is detected whether there is a new service demand between the calling user equipment and the called user equipment; if so, the preset call media update condition is met; if not, the preset call media update condition is not met.
[0070] S102: If not satisfied, no call media update is performed.
[0071] In this step, if the conditions are not met, the call media update is not performed.
[0072] S103: If satisfied, a first re-negotiated media parameter request is sent to the calling user equipment, a first consent response message from the calling user equipment in response to the first re-negotiated media parameter request is received, media update policy processing is performed on the media parameters in the first consent response message, updated media parameters are determined, a second re-negotiated media parameter request containing the updated media parameters is constructed, and the second re-negotiated media parameter request is sent to the called user equipment to determine whether the called user equipment accepts the updated media parameters. After receiving the second consent response message from the called user equipment, the constructed ACK message is sent to the calling user equipment to complete the entire call media update process.
[0073] In this step, if the conditions are met, the core network sends a first re-negotiated media parameter request to the calling user equipment, receives a first consent response message from the calling user equipment in response to the first re-negotiated media parameter request, performs media update policy processing on the media parameters in the first consent response message, determines the updated media parameters, constructs a second re-negotiated media parameter request containing the updated media parameters, sends the second re-negotiated media parameter request to the called user equipment to determine whether the called user equipment accepts the updated media parameters, and after receiving the second consent response message from the called user equipment, sends the constructed ACK message to the calling user equipment to complete the entire call media update process.
[0074] In a specific embodiment, the core network monitors network conditions and service requirements: the core network continuously monitors network conditions, including packet loss rate, bandwidth utilization, network delay, etc., and initiates a media update request when preset conditions are met: when the monitored network conditions or service requirements change and meet preset media update conditions (such as packet loss rate exceeds a threshold, network load is too high, etc.), the core network initiates a media update request. The core network generates and sends a SIP re-INVITE message: the core network constructs a SIP re-INVITE message (first re-negotiation of media parameters request) containing an offer request, and sends it to the calling user device. The calling user device responds: the calling user device receives the SIP re-INVITE message (first re-negotiation of media parameters request), and generates a SIP 200OK response message (first consent response message), which carries all media formats and media types supported by the calling user device. The core network analyzes and modifies the media parameters: The core network receives the SIP 200OK message from the calling user device, updates the media parameters according to preset rules (such as reducing the frame rate, reducing the resolution, etc.) to obtain the updated media parameters, and then constructs a new SIP re-INVITE message (second re-negotiation media parameter request) and sends it to the called user device. The called user device responds: The called user device receives the new SIP re-INVITE message (second re-negotiation media parameter request) sent by the core network and analyzes the updated media parameters. Decide whether to accept the media update. If accepted, generate a SIP 200OK response message (second consent response message) and carry the updated media parameters. Confirm the update: The core network receives the SIP 200OK message from the called user device and replies with an ACK message. At the same time, the core network constructs an ACK message, carrying the media format and media type selected by the called user device, and sends it to the calling user device. Media update success: The entire call media update process is completed, and two-way communication of voice and video RTP media is achieved between the calling and called user devices.
[0075] In a possible implementation manner, performing media update policy processing on the media parameters in the first consent response message to determine updated media parameters includes:
[0076] (1): Parse the media type and media format in the first consent response message to determine the parsed media type and the parsed media format.
[0077] Here, the media type and the media format in the first consent response message are parsed to determine the parsed media type and the parsed media format.
[0078] (2): Detect whether there is a media description in the parsed media type and the parsed media format.
[0079] Here, it is detected whether the media type after parsing and the media format after parsing exist the media description.
[0080] (3): If it does not exist, end the media update policy processing; if it does exist, check whether there is a frame rate lower than the current media in the media description.
[0081] Here, if it does not exist, the media update policy processing is terminated; if it does exist, it is detected whether there is a frame rate lower than the current media in the media description.
[0082] (4): If there is a lower frame rate than the current media, the frame rate is reduced; if there is no lower frame rate than the current media, the resolution is reduced; if there is no lower resolution than the current media, it is changed to a voice call to complete the media update strategy processing of the media parameters and determine the updated media parameters.
[0083] Here, if there is a lower frame rate than the current media, the frame rate is lowered; if there is no lower frame rate than the current media, the resolution is lowered; if there is no lower resolution than the current media, it is changed to a voice call to complete the media update strategy processing of the media parameters and determine the updated media parameters.
[0084] For further information, see Figure 2 , Figure 2 This is a flow chart of the media update strategy provided by the embodiment of the present application. Figure 2 As shown, parse the media type and media format in the received offer, detect whether there is video in the media type and media format, if not, do not update, if so, detect fps, find out whether there is a lower fps than the current media in the media description, and choose to lower the fps, if there is no lower fps in the media description, detect the resolution, if there is a lower resolution than the current media, choose to lower the resolution, if there is no lower resolution, choose to switch to voice call.
[0085] In a possible implementation manner, after sending the second media parameter re-negotiation request to the called user equipment, the negotiation control method further includes:
[0086] If the called user equipment does not accept the updated media parameters, the call media update between the calling user equipment and the called user equipment fails.
[0087] Here, if the called user equipment does not accept the updated media parameters, the call media update between the calling user equipment and the called user equipment fails.
[0088] For further information, see Figure 3 , Figure 3 Schematic diagram of the call media negotiation control method provided by the embodiment of the present application. Figure 3 As shown, a video call is successfully established between the calling user equipment and the called user equipment to realize two-way communication of voice and video RTP media between the calling and called user equipments. The core network detects in real time according to the media update conditions configured by the network management, and finds that the quality of the video call has deteriorated or there is a risk of deterioration, and starts the call media update process; the core network constructs a SIP re-INVITE message without SDP, and sends the SIP re-INVITE message to the calling user equipment; the calling user equipment receives the SIP re-INVITE message and replies with a SIP 200OK message carrying an SDP offer; the core network receives the SIP 200OK response message of the calling user equipment, parses the media format and media type in the SDP offer, and updates it according to the media update policy; constructs a SIP re-INVITE and fills the updated media into the SDP offer and sends it to the called user equipment; the called user equipment receives the SIP re-INVITE message, parses the SDP offer, receives the update request, and returns an update response SIP 200OK message carrying an SDP answer; the core network receives the SIP 200OK response message of the called user equipment 200OK message, reply SIPACK response; the core network constructs the SIP ACK response of the calling user device, fills in the SDP answer, and then sends it to the calling user device; the entire call media is updated successfully, and two-way communication of voice and video RTP media is achieved between the calling and called user devices.
[0089] The present application has the following beneficial effects: 1. Improve communication quality and service experience. The core network can initiate a media update request and adjust media parameters in a timely manner according to network conditions and service requirements. In specific scenarios, compared with media updates initiated by user equipment, the timeliness is better. At the same time, in the trigger mechanism of media update, the configuration is configured according to the system and user contract data configuration, which can provide more flexibility and convenience, and also improve the speed of system response. 2. Improve the flexibility and adaptability of the system. The core network can initiate different media update requests and adjust media parameters according to different network conditions and service requirements to adapt to different application scenarios. For example, progressive video format modification, according to different requirements, in terms of video quality considerations, in the order of video encoding format, frame rate, and resolution, is modified as much as possible while reducing network bandwidth requirements while retaining high video quality. 3. Reduce the burden on user equipment. The user equipment does not need to actively initiate a media update request, but only needs to respond according to the notification of the core network, which reduces the burden on the user equipment. 4. Improve the reliability and stability of the system. The core network can uniformly manage and control media updates to ensure the smooth progress of media updates and improve the reliability and stability of the system.
[0090] A call media negotiation control method provided by an embodiment of the present application is applied to a core network, and the negotiation control method includes: real-time monitoring of the network status, service requirements and service quality optimization of a calling user equipment and a called user equipment for which a video call is successfully established, and determining whether at least one of the network status, the service requirements and the service quality optimization meets a preset call media update condition; if not, no call media update is performed; if satisfied, a first re-negotiation media parameter request is sent to the calling user equipment, a first consent response message of the calling user equipment in response to the first re-negotiation media parameter request is received, media update policy processing is performed on the media parameters in the first consent response message, and updated media parameters are determined, a second re-negotiation media parameter request containing the updated media parameters is constructed, and the second re-negotiation media parameter request is sent to the called user equipment to determine whether the called user equipment accepts the updated media parameters. After receiving the second consent response message of the called user equipment, the constructed ACK message is sent to the calling user equipment to complete the entire call media update process. The core network can initiate media update requests in a timely manner to adjust media parameters based on network conditions and service requirements. Compared with media updates initiated by user devices, this is more timely and enables user devices to respond based on notifications from the core network instead of actively initiating media update requests, thereby reducing the burden on user devices.
[0091] See also Figure 4 , Figure 5 , Figure 4One of the structural schematic diagrams of a negotiation control device for a call media provided in an embodiment of the present application; Figure 5 A second structural diagram of a negotiation control device for a call media provided in an embodiment of the present application. Figure 4 As shown in , the negotiation control device 400 includes:
[0092] The core network monitoring module 410 is used to monitor in real time the network status, service requirements and service quality optimization of the calling user equipment and the called user equipment for the successful establishment of the video call, and determine whether at least one of the network status, the service requirements and the service quality optimization meets the preset call media update condition;
[0093] A first message processing module 420, configured not to perform call media update if the conditions are not met;
[0094] The second message processing module 430 is used to send a first re-negotiation media parameter request to the calling user equipment if the conditions are met, receive a first consent response message from the calling user equipment in response to the first re-negotiation media parameter request, perform media update policy processing on the media parameters in the first consent response message, determine the updated media parameters, construct a second re-negotiation media parameter request containing the updated media parameters, send the second re-negotiation media parameter request to the called user equipment to determine whether the called user equipment accepts the updated media parameters, and after receiving the second consent response message from the called user equipment, send the constructed ACK message to the calling user equipment to complete the entire call media update process.
[0095] Further, the core network monitoring module 410 is used to monitor in real time the network status, the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for the successful establishment of the video call, and determine whether at least one of the network status, the service requirements, and the service quality optimization meets the preset call media update condition. The core network monitoring module 410 is specifically used to:
[0096] Sending a video media RTP packet to the calling user equipment and the called user equipment, and receiving RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet:
[0097] Detecting whether the packet loss rate field in the RR packet is greater than or equal to a preset packet loss rate upper limit;
[0098] If so, it is determined that the network status satisfies the preset call media update condition; if not, it is determined that the network status does not satisfy the preset call media update condition.
[0099] Further, the core network monitoring module 410 is used to monitor the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for the successful establishment of the video call in real time according to the service requirements, and determine whether at least one of the network status, the service requirements, and the service quality optimization meets the preset call media update condition. The core network monitoring module 410 is specifically used to:
[0100] Detecting whether there is a new service demand between the calling user equipment and the called user equipment;
[0101] If yes, the preset call media update condition is met;
[0102] If not, the preset call media update condition is not met.
[0103] Further, when the second message processing module 430 is used to perform media update policy processing on the media parameters in the first consent response message to determine the updated media parameters, the second message processing module 430 is specifically used to:
[0104] Parsing the media type and the media format in the first consent response message to determine the parsed media type and the parsed media format;
[0105] Detecting whether a media description exists in the parsed media type and the parsed media format;
[0106] If it does not exist, then the media update policy processing is terminated; if it does exist, then the media description is checked to see if there is a frame rate lower than the current media;
[0107] If there is a lower frame rate than the current media, the frame rate is reduced; if there is no lower frame rate than the current media, the resolution is reduced; if there is no lower resolution than the current media, it is changed to a voice call to complete the media update strategy processing of the media parameters and determine the updated media parameters.
[0108] Further, such as Figure 5 As shown, the negotiation control device 400 further includes a configuration module 440, and the configuration module 440 is used to:
[0109] Obtain a user registration request initiated by a user device, and obtain user contract information based on a configuration system; the user contract information includes configuration parameters for media negotiation control; wherein the user device includes the calling user device and the called user device;
[0110] The user equipment is registered based on the user contract, and a registration success response is sent to the user equipment after the registration is successful.
[0111] Furthermore, the second message processing module 430 is further configured to:
[0112] If the called user equipment does not accept the updated media parameters, the call media update between the calling user equipment and the called user equipment fails.
[0113] An embodiment of the present application provides a negotiation control device for call media, the negotiation control device comprising: a core network monitoring module, used to monitor in real time the network status, service requirements and service quality optimization of a calling user equipment and a called user equipment for successfully establishing a video call, and determine whether at least one of the network status, the service requirements and the service quality optimization meets a preset call media update condition; a first message processing module, used to not perform call media update if not met; a second message processing module, used to send a first re-negotiation media parameter request to the calling user equipment if satisfied, receive a first consent response message from the calling user equipment in response to the first re-negotiation media parameter request, perform media update policy processing on the media parameters in the first consent response message, determine updated media parameters, construct a second re-negotiation media parameter request containing the updated media parameters, send the second re-negotiation media parameter request to the called user equipment to determine whether the called user equipment accepts the updated media parameters, and after receiving the second consent response message from the called user equipment, send the constructed ACK message to the calling user equipment to complete the entire call media update process. The core network can initiate media update requests in a timely manner to adjust media parameters based on network conditions and service requirements. Compared with media updates initiated by user devices, this is more timely and enables user devices to respond based on notifications from the core network instead of actively initiating media update requests, thereby reducing the burden on user devices.
[0114] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown in , the electronic device 600 includes a processor 610 , a memory 620 and a bus 630 .
[0115] The memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 is running, the processor 610 communicates with the memory 620 via the bus 630. When the machine-readable instructions are executed by the processor 610, the above-mentioned Figure 1 The specific implementation of the steps of the call media negotiation control method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0116] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The specific implementation of the steps of the call media negotiation control method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0117] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0118] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0120] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0121] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0122] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A negotiation control method for call media, characterized in that: Applied to a core network, the negotiation control method includes: Real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization meets a preset call media update condition; If not satisfied, the call media update is not performed; If the conditions are met, a first re-negotiation media parameter request is sent to the calling user equipment, a first consent response message of the calling user equipment in response to the first re-negotiation media parameter request is received, media update policy processing is performed on the media parameters in the first consent response message, updated media parameters are determined, a second re-negotiation media parameter request containing the updated media parameters is constructed, and the second re-negotiation media parameter request is sent to the called user equipment to determine whether the called user equipment accepts the updated media parameters. After receiving the second consent response message of the called user equipment, the constructed ACK message is sent to the calling user equipment to complete the entire call media update process.
2. The negotiation control method according to claim 1, characterized in that: With respect to the network status, the real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service requirements, and the service quality optimization satisfies a preset call media update condition includes: Sending a video media RTP packet to the calling user equipment and the called user equipment, and receiving RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet: Detecting whether the packet loss rate field in the RR packet is greater than or equal to a preset packet loss rate upper limit; If so, it is determined that the network status satisfies the preset call media update condition; if not, it is determined that the network status does not satisfy the preset call media update condition.
3. The negotiation control method according to claim 1, characterized in that: In view of the service demand, the real-time monitoring of the network status, service demand and service quality optimization of the calling user equipment and the called user equipment for which the video call is successfully established, and determining whether at least one of the network status, the service demand and the service quality optimization meets the preset call media update condition includes: Detecting whether there is a new service demand between the calling user equipment and the called user equipment; If yes, the preset call media update condition is met; If not, the preset call media update condition is not met.
4. The negotiation control method according to claim 1, characterized in that: The performing media update policy processing on the media parameters in the first consent response message to determine updated media parameters includes: Parsing the media type and the media format in the first consent response message to determine the parsed media type and the parsed media format; Detecting whether a media description exists in the parsed media type and the parsed media format; If it does not exist, then the media update policy processing is terminated; if it does exist, then the media description is checked to see if there is a frame rate lower than the current media; If there is a lower frame rate than the current media, the frame rate is reduced; if there is no lower frame rate than the current media, the resolution is reduced; if there is no lower resolution than the current media, it is changed to a voice call to complete the media update strategy processing of the media parameters and determine the updated media parameters.
5. The negotiation control method according to claim 1, characterized in that: Before real-time monitoring of the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment that have successfully established the video call, the negotiation control method further includes: Obtain a user registration request initiated by a user device, and obtain user contract information based on a configuration system; the user contract information includes configuration parameters for media negotiation control; wherein the user device includes the calling user device and the called user device; The user equipment is registered based on the user contract, and a registration success response is sent to the user equipment after the registration is successful.
6. The negotiation control method according to claim 1, characterized in that: After sending the second media parameter re-negotiation request to the called user equipment, the negotiation control method further includes: If the called user equipment does not accept the updated media parameters, the call media update between the calling user equipment and the called user equipment fails.
7. A negotiation control device for call media, characterized in that: The negotiation control device comprises: A core network monitoring module, used to monitor in real time the network status, service requirements and service quality optimization of the calling user equipment and the called user equipment for the successful establishment of the video call, and determine whether at least one of the network status, the service requirements and the service quality optimization meets the preset call media update condition; A first message processing module, configured not to perform call media update if the conditions are not met; The second message processing module is used to send a first re-negotiation media parameter request to the calling user equipment if the conditions are met, receive a first consent response message from the calling user equipment in response to the first re-negotiation media parameter request, perform media update policy processing on the media parameters in the first consent response message, determine the updated media parameters, construct a second re-negotiation media parameter request containing the updated media parameters, send the second re-negotiation media parameter request to the called user equipment to determine whether the called user equipment accepts the updated media parameters, and after receiving the second consent response message from the called user equipment, send the constructed ACK message to the calling user equipment to complete the entire call media update process.
8. The negotiation control device according to claim 7, characterized in that: When the core network monitoring module is used to monitor in real time the network status, the network status, service requirements, and service quality optimization of the calling user equipment and the called user equipment for the successful establishment of the video call, and determines whether at least one of the network status, the service requirements, and the service quality optimization meets the preset call media update condition, the core network monitoring module is specifically used to: Sending a video media RTP packet to the calling user equipment and the called user equipment, and receiving RR packets from the calling user equipment and the called user equipment in response to the video media RTP packet: Detecting whether the packet loss rate field in the RR packet is greater than or equal to a preset packet loss rate upper limit; If so, it is determined that the network status satisfies the preset call media update condition; if not, it is determined that the network status does not satisfy the preset call media update condition.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the negotiation control method for call media as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the call media negotiation control method according to any one of claims 1 to 6 are executed.