Video ringback tone network quality detection method, device and equipment and storage medium

By receiving call requests and conducting signaling negotiation in the VoLTE network, the network testing conditions of the calling terminal are determined, solving the problem of the inability to quickly obtain video ringback tone network quality data in the existing technology, and realizing real-time network quality detection.

CN115499542BActive Publication Date: 2025-10-21MIGU MUSIC CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211137936.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2025-10-21
Estimated Expiration
2042-09-19

AI Technical Summary

Technical Problem

Existing technologies cannot quickly obtain network quality data for video ringback tones in VoLTE networks, resulting in users being unable to promptly learn about network problems.

Method used

By receiving a call request from a preset service number, signaling negotiation is performed with the calling terminal to determine whether it meets the network test conditions. If the conditions are met, a network quality test is performed on the ringback tone network between the calling terminal and the video ringback tone call node to obtain network quality data.

Benefits of technology

This enables the calling terminal to obtain network quality data in real time, improving the timeliness and accuracy of network quality data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499542B_ABST
    Figure CN115499542B_ABST
Patent Text Reader

Abstract

The application discloses a video ringback tone network quality detection method, device and equipment and a storage medium. The method comprises the following steps: receiving a call request of a preset service number, performing signaling negotiation on a calling terminal which sends the call request, and determining whether the calling terminal meets network test conditions according to the content of the signaling negotiation; and if the network quality test conditions are met, performing network quality test on a ringback tone network between the calling terminal and a video ringback tone call node. The application improves the timeliness of network quality data acquisition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for detecting the quality of a video ring back tone network. Background Art

[0002] Video ringback tone (RBT) is a key service on VoLTE (Voice over Long-Term Evolution) networks. When users make a voice or video call on a VoLTE network, they see a video before the call is connected. However, due to device and network quality issues, users may experience issues such as interruptions or freezes in the video ringback tone.

[0003] During network maintenance, network problems that occur with video ringback tone need to be investigated. Existing solutions primarily use dedicated packet capture equipment on the network side for analysis, but this doesn't allow for rapid acquisition of network quality data. Summary of the Invention

[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for detecting network quality of video ring back tone, aiming to solve the problem of how to obtain network quality data in a timely manner.

[0005] Upon receiving a call request from a preset service number, performing signaling negotiation with the calling terminal that sent the call request, and determining whether the calling terminal meets the network test conditions based on the content of the signaling negotiation;

[0006] If the network quality test condition is met, a network quality test is performed on the color ring back tone network between the calling terminal and the video color ring back tone call node.

[0007] Optionally, the step of performing signaling negotiation on the calling terminal that sends the call request and determining whether the calling terminal meets the network test condition according to the content of the signaling negotiation includes:

[0008] Generating a color ring back tone media negotiation request and sending it to the calling terminal;

[0009] Determine whether the calling terminal meets a network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request.

[0010] Optionally, the step of determining whether the calling terminal meets the network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request includes:

[0011] Determining the media stream information of the calling terminal according to the content of the signaling negotiation;

[0012] If the media stream information of the calling terminal matches the local media stream information, it is determined that the calling terminal meets the network quality test condition.

[0013] Optionally, the step of determining whether the calling terminal meets the network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request includes:

[0014] Determining a first video encoding mode supported by the calling terminal according to the content of the signaling negotiation;

[0015] Determining whether there is a locally supported second video encoding method that matches the first video encoding method;

[0016] If there is a second video encoding method that matches the first video encoding method, it is determined that the calling terminal meets the network quality test condition.

[0017] Optionally, the step of determining whether there is a locally supported second video encoding method that matches the first video encoding method includes:

[0018] Determining a first priority of the first video encoding mode;

[0019] determining, in sequence according to the order of the first priorities, whether there is a to-be-determined second video encoding mode corresponding to the first video encoding mode;

[0020] If so, determining the second priority of the second video encoding method to be determined;

[0021] The second video encoding mode to be determined with the second priority being higher is used as the second video encoding mode that matches the first video encoding mode.

[0022] Optionally, after the step of performing a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node, the method further includes:

[0023] A video ringback tone is generated according to the network quality data of the network quality test and / or a detection result corresponding to the network quality data, and the video ringback tone is pushed to the calling terminal.

[0024] Optionally, the step of performing a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node includes:

[0025] Establishing a preset number of TCP connections to the calling terminal; determining network quality data including whether the TCP connection is successful and the time it takes for the connection to be successful; and / or,

[0026] Sending a message message to the calling terminal; receiving a response message returned by the calling terminal; determining network quality data including at least one of a packet loss rate, a network delay, and a network jitter of the calling terminal according to the response message; and / or,

[0027] Network quality data including a download rate of the calling terminal is acquired.

[0028] To achieve the above object, the present invention further provides a device for detecting network quality of a video ring back tone, the device comprising:

[0029] a negotiation module, configured to receive a call request from a preset service number, perform signaling negotiation with the calling terminal that sent the call request, and determine whether the calling terminal meets the network test conditions based on the content of the signaling negotiation;

[0030] The testing module is used to perform a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone calling node if a network quality test condition is met.

[0031] To achieve the above-mentioned objectives, the present invention also provides a video ring back tone network quality detection device, which includes a memory, a processor, and a video ring back tone network quality detection program stored in the memory and executable on the processor. When the video ring back tone network quality detection program is executed by the processor, each step of the video ring back tone network quality detection method described above is implemented.

[0032] To achieve the above objectives, the present invention also provides a computer-readable storage medium, which stores a video ring back tone network quality detection program. When the video ring back tone network quality detection program is executed by a processor, it implements the various steps of the video ring back tone network quality detection method described above.

[0033] The present invention provides a method, apparatus, device, and storage medium for detecting network quality of a video ringback tone (CRBT). Upon receiving a call request from a preset service number, the method performs signaling negotiation with the calling terminal that sent the call request and, based on the content of the signaling negotiation, determines whether the calling terminal meets network test conditions. If the network quality test conditions are met, a network quality test is performed on the CRBT network between the calling terminal and the video ringback tone call node. By dialing the preset service number, triggering network quality testing of the CRBT network, the calling terminal can obtain real-time network quality data between the calling terminal and the video ringback tone call node, improving the timeliness of network quality data acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a schematic diagram of the hardware structure of a video ringback tone network quality detection device involved in an embodiment of the present invention;

[0035] Figure 2 This is a flow chart of a first embodiment of a method for detecting network quality of a video ringback tone according to the present invention;

[0036] Figure 3 A schematic diagram of a video ringback tone displaying network quality data in the video ringback tone network quality detection method of the present invention;

[0037] Figure 4 This is a detailed flowchart of step S10 of the second embodiment of the method for detecting network quality of video ringback tone according to the present invention;

[0038] Figure 5 This is a detailed flowchart of step S12 of the second embodiment of the method for detecting network quality of video ringback tone according to the present invention;

[0039] Figure 6 A schematic diagram of the calling terminal and video ring back tone call node resource reservation for the video ring back tone network quality detection method of the present invention;

[0040] Figure 7 4 is a detailed flow chart of step S12 of the third embodiment of the method for detecting network quality of video ringback tone according to the present invention;

[0041] Figure 8 The figure is a logical structure diagram of a video ring back tone network quality detection device involved in an embodiment of the present invention.

[0042] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0044] The main solution of the embodiment of the present invention is: upon receiving a call request from a preset service number, signaling negotiation is performed with the calling terminal that sent the call request, and whether the calling terminal meets the network test conditions based on the content of the signaling negotiation is determined; if the network quality test conditions are met, a network quality test is performed on the ring back tone network between the calling terminal and the video ring back tone call node.

[0045] By dialing the preset service number to trigger the network quality detection of the color ring back tone network, the calling terminal can obtain the network quality data between the calling terminal and the video color ring back tone call node in real time, improving the timeliness of network quality data acquisition.

[0046] As an implementation solution, the video ring back tone network quality detection device can be used as follows Figure 1 shown.

[0047] The embodiment of the present invention relates to a video ring back tone network quality detection device, which includes a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to achieve connection and communication between these components.

[0048] The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Figure 1 As shown, the memory 102 as a computer-readable storage medium may include a video ring back tone network quality detection program; and the processor 101 may be used to call the video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0049] Upon receiving a call request from a preset service number, performing signaling negotiation with the calling terminal that sent the call request, and determining whether the calling terminal meets the network test conditions based on the content of the signaling negotiation;

[0050] If the network quality test condition is met, a network quality test is performed on the color ring back tone network between the calling terminal and the video color ring back tone call node.

[0051] Optionally, the processor 101 may be configured to call a video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0052] Generating a color ring back tone media negotiation request and sending it to the calling terminal;

[0053] Determine whether the calling terminal meets a network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request.

[0054] Optionally, the processor 101 may be configured to call a video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0055] Determining the media stream information of the calling terminal according to the content of the signaling negotiation;

[0056] If the media stream information of the calling terminal matches the local media stream information, it is determined that the calling terminal meets the network quality test condition.

[0057] Optionally, the processor 101 may be configured to call a video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0058] Determining a first video encoding mode supported by the calling terminal according to the content of the signaling negotiation;

[0059] determining whether there is a locally supported second video encoding method that matches the first video encoding method;

[0060] If there is a second video encoding method that matches the first video encoding method, it is determined that the calling terminal meets the network quality test condition.

[0061] Optionally, the processor 101 may be configured to call a video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0062] Determining a first priority of the first video encoding mode;

[0063] determining, in sequence according to the order of the first priorities, whether there is a to-be-determined second video encoding mode corresponding to the first video encoding mode;

[0064] If so, determining the second priority of the second video encoding method to be determined;

[0065] The second video encoding mode to be determined with the second priority being higher is used as the second video encoding mode that matches the first video encoding mode.

[0066] Optionally, the processor 101 may be configured to call a video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0067] A video ringback tone is generated according to the network quality data of the network quality test and / or a detection result corresponding to the network quality data, and the video ringback tone is pushed to the calling terminal.

[0068] Optionally, the processor 101 may be configured to call a video ring back tone network quality detection program stored in the memory 102 and perform the following operations:

[0069] Establishing a preset number of TCP connections to the calling terminal; determining network quality data including whether the TCP connection is successful and the time it takes for the connection to be successful; and / or,

[0070] Sending a message message to the calling terminal; receiving a response message returned by the calling terminal; determining network quality data including at least one of a packet loss rate, a network delay, and a network jitter of the calling terminal according to the response message; and / or,

[0071] Network quality data including a download rate of the calling terminal is acquired.

[0072] Based on the hardware architecture of the above-mentioned video ringback tone network quality detection device, an embodiment of the video ringback tone network quality detection method of the present invention is proposed.

[0073] Reference Figure 2 , Figure 2 This is the first embodiment of the video ring back tone network quality detection method of the present invention, and the video ring back tone network quality detection method includes the following steps:

[0074] Step S10: receiving a call request from a preset service number, performing signaling negotiation with the calling terminal that sent the call request, and determining whether the calling terminal meets the network test condition according to the content of the signaling negotiation.

[0075] Optionally, the execution subject of the video ring back tone network quality detection method is a video ring back tone calling node, wherein the video ring back tone calling node may be a server.

[0076] The calling terminal dials a preset service number to initiate a call request. The video ringback tone calling node receives the call request from the preset service number and performs signaling negotiation with the calling terminal that sent the call request. Optionally, the signaling negotiation includes at least one of whether the calling terminal supports network quality testing, media stream information between the calling terminal and the video ringback tone calling node, and video encoding methods between the calling terminal and the video ringback tone calling node.

[0077] Determine whether the calling terminal meets the network test conditions based on the signaling negotiation. Optionally, if the signaling negotiation determines that the calling terminal does not support network quality testing, then the calling terminal is determined to not meet the network test conditions; if the signaling negotiation determines that the calling terminal supports network quality testing, then the calling terminal is determined to not meet the network test conditions. Optionally, if the signaling negotiation determines that the media stream information of the calling terminal and the video ring back tone call node does not match, then the calling terminal is determined to not meet the network test conditions; if the signaling negotiation determines that the media stream information of the calling terminal and the video ring back tone call node matches, then the calling terminal is determined to meet the network test conditions. Optionally, if the signaling negotiation determines that the video encoding modes of the calling terminal and the video ring back tone call node do not match, then the calling terminal is determined to not meet the network test conditions; if the signaling negotiation determines that the video encoding modes of the calling terminal and the video ring back tone call node match, then the calling terminal is determined to meet the network test conditions.

[0078] Step S20: If the network quality test condition is met, a network quality test is performed on the color ring back tone network between the calling terminal and the video color ring back tone call node.

[0079] Optionally, if it is determined according to the content of the signaling negotiation that the calling terminal does not meet the network quality test condition, a prompt message is returned to the calling terminal, or the call request of the calling terminal is hung up.

[0080] Optionally, if it is determined according to the signaling negotiation content that the calling terminal meets the network quality test condition, a network quality test is performed on the color ring back tone network between the calling terminal and the video color ring back tone call node to obtain network quality data.

[0081] The network quality test performed on the calling terminal may be at least one of a TCP (Transmission Control Protocol) connection test, a PING (Packet Internet Groper) packet test, a download rate test, and the like.

[0082] Optionally, the TCP connection test establishes a TCP connection between the calling terminal and the video ringback tone call node; network quality data including whether the TCP connection is successful and the duration of successful connection is determined. Optionally, the TCP connection established through multiple handshakes between the calling terminal and the video ringback tone call node is detected. During the TCP test, the video ringback tone call node records detailed network quality data from the TCP connection test, including whether the TCP connection between the media unit and the calling terminal is successfully established and the duration of successful connection. If the TCP connection fails to be established, whether a SYN (Synchronize Sequence Numbers) acknowledgment packet is not received or a SYN acknowledgment packet timeout is recorded. Determining whether the TCP connection is successful and the duration of successful connection can quantitatively describe the network connectivity and speed between the calling node's media unit and the calling terminal. If the duration of successful TCP connection establishment is less than a preset first duration, the network quality between the calling node's media unit and the calling terminal is better. If the TCP connection establishment fails or the connection establishment succeeds but takes longer than the preset second duration, it indicates that the network quality between the media unit of the calling node and the calling terminal is poor, and the preset second duration is longer than the preset first duration.

[0083] Optionally, the PING packet test sends a message message to the calling terminal through the video ring back tone call node, and optionally, the message message is an ICMP (Internet Control Message Protocol) message message; receives a response message returned by the calling terminal; and determines network quality data including at least one of the packet loss rate, network delay, and network jitter of the calling terminal based on the response message. During the test, the video ring back tone call node records detailed network quality data of the PING packet test, including: the packet loss rate, network delay, network jitter, and TTL (Time To Live) of the PING packet test. Optionally, the video ring back tone call node can obtain the packet loss rate, network delay, and network jitter of the calling terminal by detecting the response message. The network delay refers to the round-trip time for a data packet to be sent from the video ring back tone call node to the calling terminal and then immediately returned from the calling terminal to the video ring back tone call node. The network jitter refers to the difference between the maximum network delay and the network delay. The PING packet loss rate, network delay, and network jitter can quantitatively describe the network quality between the video ringback tone call node and the calling terminal. Lower packet loss rates, network delays, and network jitter indicate better network quality between the video ringback tone call node and the calling terminal. Conversely, higher packet loss rates, network delays, and network jitter indicate poor network quality between the video ringback tone call node and the calling terminal.

[0084] Optionally, the download rate test obtains network quality data, including the download rate of the calling terminal. During the test, the video ringback tone call node records detailed network quality data from the download rate test, including average download rate, maximum download rate, and minimum download rate. The download rate is affected by multiple factors, including the calling terminal's network conditions, core network resource usage, and the media unit's service capabilities. During the download rate test, the video ringback tone call node's media unit pushes a download test file to the calling terminal to obtain the download rate. The download rate quantifies the network quality between the call node's media unit and the calling terminal. Optionally, higher average download rate, maximum download rate, and minimum download rate indicate better network quality between the call node's media unit and the calling terminal. Conversely, lower average download rate, maximum download rate, and minimum download rate indicate poor network quality between the call node's media unit and the calling terminal.

[0085] Optionally, the video ringback tone calling node performs network quality tests such as TCP connection testing, PING packet testing, and download rate testing to obtain network quality data between the calling node's media unit and the calling terminal. This network quality data includes TCP connection success, connection establishment time, packet loss rate, network latency, network jitter, packet loss rate, and download rate.

[0086] A video ringback tone is generated based on the network quality data and / or the detection results of the network quality test, and the video ringback tone is pushed to the calling terminal. The network quality data and / or the detection results are displayed on the calling terminal in the form of a video ringback tone, making the display of the video ringback tone network quality more intuitive.

[0087] Optionally, the video ringback tone calling node generates a video ringback tone according to the network quality data, such as Figure 3 As shown, the video ringback tone includes network quality data. For example, the call interface shows that the network delay is 1.5ms, the network jitter is 0.2ms, the connection establishment time is 3ms, the packet loss rate is 0%, and the download rate is 25Mbps.

[0088] Optionally, the video ringback tone calling node analyzes network quality data according to the specifications of the video ringback tone terminal and generates a video ringback tone based on the test results. For example, when the network delay between the video ringback tone calling node and the calling terminal is greater than 100 milliseconds, or the minimum download rate between the video ringback tone calling node and the calling terminal is less than 960 kbps, the test result is determined to indicate high network delay or slow network speed for the user. The video ringback tone alerts the user to the high network delay or slow network speed and the need for network optimization.

[0089] Optionally, the video ringback tone call node generates a ringback tone video based on the network quality data and detection results. For example, the call interface displays that the network delay is 1.5ms, the network jitter is 0.2ms, the connection establishment time is 3ms, the packet loss rate is 0%, the download rate is 25Mbps, and the network delay is low or the network speed is fast.

[0090] In this embodiment, upon receiving a call request from a preset service number, signaling negotiation is performed with the calling terminal that sent the call request. Based on the details of the signaling negotiation, a determination is made as to whether the calling terminal meets network quality testing conditions. If the conditions are met, a network quality test is performed on the CRBT network between the calling terminal and the video CRBT calling node. By dialing the preset service number, triggering network quality testing of the CRBT network, the calling terminal can obtain real-time network quality data between the calling terminal and the video CRBT calling node, improving the timeliness of network quality data acquisition.

[0091] Reference Figure 4 , Figure 4 This is a second embodiment of the method for detecting network quality of video ringback tone according to the present invention. Based on the first embodiment, step S10 includes:

[0092] Step S11, generating a color ring back tone media negotiation request and sending it to the calling terminal;

[0093] Step S12: determining whether the calling terminal meets a network quality test condition according to the signaling negotiation content returned by the calling terminal based on the CRBT media negotiation request.

[0094] Optionally, the video RBT call node determines the RBT network connected to the calling terminal based on the access-type parameter in the call request (i.e., the invite message). The video RBT call node generates an UPDATE (i.e., RBT media negotiation request) message header and SDP (Session Description Protocol) information based on the RBT network. The video RBT call node sends the RBT media negotiation request to the calling terminal, and the calling terminal returns the signaling negotiation content corresponding to the RBT media negotiation request to the video RBT call node. The SDP message carries signaling negotiation parameters, and optionally, Quality of Service (QOS) parameters, which are used to request the calling terminal to negotiate whether it supports network quality testing.

[0095] Based on the signaling negotiation content returned by the calling terminal, it is determined whether the calling terminal meets the network quality test conditions. Optionally, the signaling negotiation content includes whether the calling terminal supports the network quality test. If the signaling negotiation content indicates that the calling terminal supports the network quality test, it is determined that the calling terminal meets the network test conditions. If the signaling negotiation content indicates that the calling terminal does not support the network quality test, it is determined that the calling terminal does not meet the network test conditions, and a prompt message is sent to the calling terminal or the call request is hung up.

[0096] In the technical solution of this embodiment, signaling negotiation is performed between the calling terminal and the video ring back tone call node through a ring back tone media negotiation request to determine whether the calling terminal meets the network quality test conditions, so as to facilitate subsequent network quality testing of the ring back tone network of the calling terminal, so that the calling terminal can obtain the current network quality data in a timely manner.

[0097] Reference Figure 5 , Figure 5 This is a third embodiment of the method for detecting network quality of video ringback tone according to the present invention. Based on the second embodiment, step S12 includes:

[0098] Step S121, determining the media stream information of the calling terminal according to the content of the signaling negotiation;

[0099] Step S122: If the media stream information of the calling terminal matches the local media stream information, it is determined that the calling terminal meets the network quality test condition.

[0100] Optionally, the content of the signaling negotiation returned by the calling terminal based on the color ringback tone media negotiation request includes the media stream information of the calling terminal, and the media stream information of the calling terminal is determined according to the content of the signaling negotiation returned by the calling terminal; optionally, the media stream information includes the media stream direction, and the media stream direction includes four types, namely sendonly, recvonly, sendrecv and inactive, among which sendonly means only sending data; revonly means only receiving data; sendrecv means bidirectional transmission is possible; inactive means prohibiting sending data.

[0101] If the media stream information of the calling terminal matches the local media stream information, the calling terminal is determined to meet the network quality test conditions. Optionally, if the calling terminal supports media stream directions of recvonly and sendrecv, and the local supports media stream directions of recvonly and sendrecv, the media stream information of the calling terminal is determined to match the local media stream information.

[0102] In one embodiment, when the content of the signaling negotiation is the media stream information of the calling terminal, such as Figure 6 As shown, the calling terminal sends a call request, i.e., an invitation message, to invite the called terminal to join the call. The Contact header field of the invitation message contains the video parameter and carries the Require parameter: precondition, which requires resource reservation; the access-type parameter of the P-Accesss-Network-Info header field determines the ringback tone network connected by the calling terminal; the Qos parameter of the Supported header field determines whether the calling terminal supports network quality detection; the SDP information of the calling terminal, in which the video media line needs to carry a=sendrecv, indicating that bidirectional transmission of media streams is supported. The called terminal completes resource reservation based on the media negotiation request and returns a 183 response message, which carries the SDP media information of the called terminal's reserved resources. The calling terminal sends a PREACK message as a provisional acknowledgement of the received 183 response message. The called terminal returns a 200OK message, indicating successful acceptance of the PREACK message. The calling terminal completes resource reservation based on the media negotiation request and issues an UPDATE message to change the session's media stream status. The called terminal returns a 200OK message, indicating successful acceptance of the session's media stream change. The video ringback tone call node begins preparing to play the video ringback tone to the calling terminal. The calling terminal, based on its capabilities and status, responds with a 200UPDATE message, indicating successful acceptance of the session's media stream change and confirming that the calling terminal meets the network quality test conditions.

[0103] In this embodiment, the media stream information of the calling terminal is determined based on the signaling negotiation content. If the calling terminal's media stream information matches the local media stream information, the calling terminal is determined to meet the network quality test conditions. Signaling negotiation is performed based on the media stream information, and a network quality test is performed on the calling terminal's network, allowing the calling terminal to obtain current network quality data in a timely manner.

[0104] Reference Figure 7 , Figure 7 This is the fourth embodiment of the video ring back tone network quality detection method of the present invention. Based on the third embodiment, step S12 includes:

[0105] Step S123: determining a first video encoding mode supported by the calling terminal according to the content of the signaling negotiation;

[0106] Step S124, determining whether there is a locally supported second video encoding method that matches the first video encoding method;

[0107] Step S125: If there is a second video encoding method that matches the first video encoding method, it is determined that the calling terminal meets the network quality test condition.

[0108] Optionally, the content of the signaling negotiation includes a first video encoding mode supported by the calling terminal, and the video encoding mode determines whether the video ringback tone can be successfully delivered.

[0109] The first video encoding mode of the calling terminal is determined based on the signaling negotiation content returned by the calling terminal. Optionally, a negotiation is performed based on the first video encoding mode supported by the calling terminal and the second video encoding mode supported locally to determine whether a second video encoding mode matches the first video encoding mode. If a second video encoding mode matches the first video encoding mode, the calling terminal is determined to meet the network quality test conditions. If a second video encoding mode matches the first video encoding mode, the calling terminal is determined to meet the network quality test conditions. If a second video encoding mode matches the first video encoding mode, the calling terminal is determined to meet the network quality test conditions.

[0110] Optionally, determine the first priority of at least two first video encoding methods of the calling terminal, obtain the second priority of at least two local second video encoding methods, and determine the video encoding method of the calling terminal that matches the local video encoding method based on the first priority and the second priority.

[0111] Optionally, determine the first priority corresponding to the first video encoding mode; for example, the first priority of the first video encoding mode a is c1, and the first priority of the first video encoding mode b is c2, where c1>c2; according to the order of the first priorities, determine in turn whether there is a second video encoding mode to be determined corresponding to the first video encoding mode; for example, the first video encoding mode a corresponds to the second video encoding mode d and the second video encoding mode e, the second priority of the second video encoding mode d is f1, and the second priority of the second video encoding mode e is f2; the first video encoding mode b corresponds to the second video encoding mode f and the second video encoding mode g, the second priority of the second video encoding mode f is f3, and the second priority of the second video encoding mode g is f4, where f3>f4.

[0112] Optionally, if a second video encoding mode exists, a second priority level of the second video encoding mode to be determined is determined; and the second video encoding mode to be determined with a higher second priority level is used as the second video encoding mode that matches the first video encoding mode. For example, the second video encoding mode that matches the first video encoding mode a is the second video encoding mode d, and the second video encoding mode that matches the first video encoding mode b is the second video encoding mode f.

[0113] Optionally, if it does not exist, it is determined that the calling terminal does not meet the network quality test condition.

[0114] Optionally, determine the second priority corresponding to the second video encoding mode; for example, the second priority of the second video encoding mode d is f1, and the second priority of the second video encoding mode e is f2; according to the order of the second priorities, determine in turn whether there is a first video encoding mode to be determined corresponding to the second video encoding mode; for example, the first priority of the first video encoding mode a is c1, and the first priority of the first video encoding mode b is c2, where c1>c2; the second video encoding mode d does not correspond to the first video encoding mode, the second video encoding mode e corresponds to the first video encoding mode a and the first video encoding mode b, the first priority of the first video encoding mode a is f1, and the first priority of the first video encoding mode b is f2.

[0115] Optionally, if there is a first priority of the to-be-determined first video encoding mode, the first priority of the to-be-determined first video encoding mode with a higher first priority is used as the first video encoding mode that matches the second video encoding mode. For example, the first video encoding mode that matches the second video encoding mode e is the first video encoding mode a.

[0116] Optionally, if it does not exist, it is determined that the calling terminal does not meet the network quality test condition.

[0117] In the technical solution of this embodiment, based on the signaling negotiation content, the first video encoding method supported by the calling terminal is determined; then it is determined whether a locally supported second video encoding method that matches the first video encoding method exists; if a second video encoding method that matches the first video encoding method exists, the calling terminal is determined to have met the network quality test conditions. Signaling negotiation is performed based on the video encoding method, so that after the calling terminal is subsequently determined to have met the network quality test conditions, a network quality test is performed on the calling terminal's network, allowing the calling terminal to obtain current network quality data in a timely manner.

[0118] Reference Figure 8 The present invention also provides a video ring back tone network quality detection device, the device comprising:

[0119] The negotiation module 100 is configured to receive a call request from a preset service number, perform signaling negotiation with the calling terminal that sent the call request, and determine whether the calling terminal meets the network test conditions based on the content of the signaling negotiation;

[0120] The testing module 200 is configured to perform a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node if a network quality test condition is met.

[0121] Optionally, the step of performing signaling negotiation on the calling terminal that sends the call request and determining whether the calling terminal meets the network test condition according to the content of the signaling negotiation includes:

[0122] Generating a color ring back tone media negotiation request and sending it to the calling terminal;

[0123] Determine whether the calling terminal meets a network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request.

[0124] Optionally, the step of determining whether the calling terminal meets the network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request includes:

[0125] Determining the media stream information of the calling terminal according to the content of the signaling negotiation;

[0126] If the media stream information of the calling terminal matches the local media stream information, it is determined that the calling terminal meets the network quality test condition.

[0127] Optionally, the step of determining whether the calling terminal meets the network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request includes:

[0128] Determining a first video encoding mode supported by the calling terminal according to the content of the signaling negotiation;

[0129] Determining whether there is a locally supported second video encoding method that matches the first video encoding method;

[0130] If there is a second video encoding method that matches the first video encoding method, it is determined that the calling terminal meets the network quality test condition.

[0131] Optionally, the step of determining whether there is a locally supported second video encoding method that matches the first video encoding method includes:

[0132] Determining a first priority of the first video encoding mode;

[0133] determining, in sequence according to the order of the first priorities, whether there is a to-be-determined second video encoding mode corresponding to the first video encoding mode;

[0134] If so, determining the second priority of the second video encoding method to be determined;

[0135] The second video encoding mode to be determined with the second priority being higher is used as the second video encoding mode that matches the first video encoding mode.

[0136] Optionally, after the step of performing a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node, the method further includes:

[0137] A video ringback tone is generated according to the network quality data of the network quality test and / or a detection result corresponding to the network quality data, and the video ringback tone is pushed to the calling terminal.

[0138] Optionally, the step of performing a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node includes:

[0139] Establishing a preset number of TCP connections to the calling terminal; determining network quality data including whether the TCP connection is successful and the time it takes for the connection to be successful; and / or,

[0140] Sending a message message to the calling terminal; receiving a response message returned by the calling terminal; determining network quality data including at least one of a packet loss rate, a network delay, and a network jitter of the calling terminal according to the response message; and / or,

[0141] Network quality data including a download rate of the calling terminal is acquired.

[0142] The present invention also provides a video ring back tone network quality detection device, which includes a memory, a processor, and a video ring back tone network quality detection program stored in the memory and executable on the processor. When the video ring back tone network quality detection program is executed by the processor, the various steps of the video ring back tone network quality detection method described in the above embodiment are implemented.

[0143] The present invention also provides a computer-readable storage medium storing a video ring back tone network quality detection program. When the video ring back tone network quality detection program is executed by a processor, each step of the video ring back tone network quality detection method described in the above embodiment is implemented.

[0144] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0145] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, system, article, or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, system, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, system, article, or device comprising the element.

[0146] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment system can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, parking management equipment, air conditioner, or network equipment, etc.) to execute the system described in each embodiment of the present invention.

[0147] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for detecting the quality of a video ringback tone network, characterized in that: The method comprises: Upon receiving a call request from a preset service number, a ring back tone media negotiation request is generated and sent to the calling terminal; determining whether the calling terminal meets a network quality test condition according to content of signaling negotiation returned by the calling terminal based on the color ring back tone media negotiation request; If the network quality test condition is met, performing a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node; A video ringback tone is generated according to the network quality data of the network quality test and / or a detection result corresponding to the network quality data, and the video ringback tone is pushed to the calling terminal.

2. The video ringback tone network quality detection method according to claim 1, wherein: The step of determining whether the calling terminal meets the network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request includes: Determining the media stream information of the calling terminal according to the content of the signaling negotiation; If the media stream information of the calling terminal matches the local media stream information, it is determined that the calling terminal meets the network quality test condition.

3. The video ringback tone network quality detection method according to claim 1, wherein: The step of determining whether the calling terminal meets the network quality test condition according to the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request includes: Determining a first video encoding mode supported by the calling terminal according to the content of the signaling negotiation; determining whether there is a locally supported second video encoding method that matches the first video encoding method; If there is a second video encoding method that matches the first video encoding method, it is determined that the calling terminal meets the network quality test condition.

4. The video ringback tone network quality detection method according to claim 3, wherein: The step of determining whether there is a locally supported second video encoding method that matches the first video encoding method includes: Determining a first priority of the first video encoding mode; determining, in sequence according to the order of the first priorities, whether there is a to-be-determined second video encoding mode corresponding to the first video encoding mode; If so, determining the second priority of the second video encoding method to be determined; The second video encoding mode to be determined with the second priority being higher is used as the second video encoding mode that matches the first video encoding mode.

5. The video ringback tone network quality detection method according to claim 1, wherein: The step of performing a network quality test on the color ring back tone network between the calling terminal and the video color ring back tone call node comprises: Establishing a preset number of TCP connections to the calling terminal; determining network quality data including whether the TCP connection is successful and the time it takes for the connection to be successful; and / or, Sending a message message to the calling terminal; receiving a response message returned by the calling terminal; determining network quality data including at least one of a packet loss rate, a network delay, and a network jitter of the calling terminal according to the response message; and / or, Network quality data including a download rate of the calling terminal is acquired.

6. A video ring back tone network quality detection device, characterized in that: The device comprises: a negotiation module configured to receive a call request from a preset service number, generate a color ring back tone media negotiation request, and send the request to the calling terminal; and determine whether the calling terminal meets the network quality test conditions based on the signaling negotiation content returned by the calling terminal based on the color ring back tone media negotiation request; The test module is used to perform a network quality test on the ringback tone network between the calling terminal and the video ringback tone call node if the network quality test conditions are met; generate a video ringback tone based on the network quality data of the network quality test and / or the detection results corresponding to the network quality data, and push the video ringback tone to the calling terminal.

7. A video ring back tone network quality detection device, characterized in that: The video ringback tone network quality detection device includes a memory, a processor, and a video ringback tone network quality detection program stored in the memory and executable on the processor. When the video ringback tone network quality detection program is executed by the processor, each step of the video ringback tone network quality detection method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a video ring back tone network quality detection program, which, when executed by a processor, implements the steps of the video ring back tone network quality detection method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Network telephone calling method, and related equipment and system

    CN106888104A

  • Method for playing video ring back tone and calling user equipment

    WO2018018892A1