CN116032904A - VoIP call quality detection method and device - Google Patents

VoIP call quality detection method and device Download PDF

Info

Publication number
CN116032904A
CN116032904A CN202111241319.XA CN202111241319A CN116032904A CN 116032904 A CN116032904 A CN 116032904A CN 202111241319 A CN202111241319 A CN 202111241319A CN 116032904 A CN116032904 A CN 116032904A
Authority
CN
China
Prior art keywords
call
quality detection
call quality
message
message transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111241319.XA
Other languages
Chinese (zh)
Inventor
张伟强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Singularity International Technical Development Co ltd
Original Assignee
New Singularity International Technical Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New Singularity International Technical Development Co ltd filed Critical New Singularity International Technical Development Co ltd
Priority to CN202111241319.XA priority Critical patent/CN116032904A/en
Publication of CN116032904A publication Critical patent/CN116032904A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

In the process of terminal equipment conversation, the terminal equipment and the conversation server send conversation quality detection data to conversation quality detection service through a message transmission service end, the conversation quality detection service determines conversation quality detection results according to the conversation quality detection data of each terminal equipment, sends the conversation quality detection results to the message transmission service end, and the message transmission service end sends the conversation quality detection results to the terminal equipment participating in conversation. According to the method and the system, the call quality detection data are transmitted to the call quality detection service through the message transmission service end, the call quality detection result is determined through the call quality detection service, and additional hardware detection equipment is not required to be connected into a network of the voice server, so that special and customized detection indexes under different environments can be aimed at, the call quality detection service is modified in time, and the flexibility and the adaptability to the environment are high.

Description

VoIP call quality detection method and device
Technical Field
The present disclosure relates to the field of call technologies, and in particular, to a method and an apparatus for detecting VoIP call quality.
Background
Voice over IP (Voice over Internet Protocol, voIP) is a voice call technology that enables voice calls and multimedia conferences via Internet Protocol (IP), i.e., communication via the internet. VoIP can be used for many internet access devices including VoIP phones, smartphones, personal computers, talking and sending short messages over cellular networks, wi-Fi.
VoIP call quality is affected by network environment, and factors affecting call quality include delay, jitter, packet loss, etc., so that QoS (Quality ofService ) of call service cannot be guaranteed. To ensure QoS of call service, a hardware device for detecting VoIP call quality is generally connected to a network of a voice Server (SIP Server), and the hardware device is used to detect VoIP call quality. However, aiming at special and customized detection indexes under different environments, the hardware equipment is difficult to adjust in time, and the flexibility and the environmental adaptability are poor.
Disclosure of Invention
The application provides a VoIP call quality detection method and device, which are used for solving the problems of poor flexibility and poor adaptability to environment of a scheme for detecting VoIP call quality by using hardware equipment.
In a first aspect, the present application provides a method for detecting VoIP call quality, which is applied to a call quality detection service, where the call quality detection service may communicate with a message transmission service, and the method includes:
receiving call quality detection data of each terminal device participating in a call, which are sent by the message transmission server side, in the call process of the terminal device, wherein the call quality detection data are sent to the message transmission server side by the terminal device and a call server in the call process;
determining a call quality detection result according to the call quality detection data of each terminal device;
and sending the call quality detection result to the message transmission server so as to send the call quality detection result to the terminal equipment participating in the call through the message transmission server.
In a second aspect, the present application further provides a VoIP call quality detection method, applied to a terminal device, where the method includes:
in the call process, call quality detection data are acquired at intervals, and the call quality detection data are sent to a message transmission server side so as to be sent to a call quality detection service through the message transmission server side;
and receiving a call quality detection result returned by the message transmission server, wherein the call quality detection result is determined by the call quality detection service according to call quality detection data of each terminal device participating in the call.
In a third aspect, the present application further provides a VoIP call quality detection apparatus, including:
the data receiving module is used for receiving the call quality detection data of each terminal device participating in the call, which is sent by the message transmission server, in the call process of the terminal device, wherein the call quality detection data is sent to the message transmission server by the terminal device and the call server in the call process;
the data processing module is used for determining a call quality detection result according to the call quality detection data of each terminal device;
and the data sending module is used for sending the call quality detection result to the message transmission server so as to send the call quality detection result to the terminal equipment participating in the call through the message transmission server.
In a fourth aspect, the present application further provides a VoIP call quality detection apparatus, including:
the data acquisition module is used for acquiring call quality detection data of the terminal equipment at intervals in the call process of the terminal equipment, and sending the call quality detection data to the message transmission server so as to send the call quality detection data to the call quality detection service through the message transmission server;
and receiving a call quality detection result returned by the message transmission server, wherein the call quality detection result is determined by the call quality detection service according to call quality detection data of each terminal device participating in the call.
As can be seen from the above technical solutions, in the present application embodiments, in a call process of a terminal device, the terminal device and a call server send call quality detection data to a message transmission server, the message transmission server sends the call quality detection data to a call quality detection service, the call quality detection service determines a call quality detection result according to the call quality detection data of each terminal device, sends the call quality detection result to the message transmission server, and finally, the message transmission server sends the call quality detection result to a terminal device participating in a call. According to the method and the system, the call quality detection data are transmitted to the call quality detection service through the message transmission service end, the call quality detection result is determined through the call quality detection service, additional hardware detection equipment is not required to be connected into a network of the voice server, and the call quality detection service is a software program in nature, so that special and customized detection indexes under different environments can be aimed at, modification is timely made to the call quality detection service, and flexibility and environmental adaptability are high.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a topology diagram of a VoIP call implementation as exemplarily shown in the present application;
fig. 2 is a flowchart of a method for detecting VoIP call quality according to an exemplary embodiment of the present application;
fig. 3 is a schematic diagram of a call interface of a terminal device according to an exemplary embodiment of the present application;
fig. 4 is a flowchart of a VoIP call quality detection method according to an exemplary embodiment of the present application;
fig. 5 is a flowchart of a VoIP call quality detection method according to an exemplary embodiment of the present application;
fig. 6 is a block diagram of a VoIP call quality detection apparatus according to an exemplary embodiment of the present application;
fig. 7 is a block diagram of a VoIP call quality detection apparatus according to an exemplary embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
In the conventional manner, both parties to a call are able to communicate call data via a telephone network provided by an operator. Unlike conventional approaches, voIP calls utilize a sophisticated mobile communication network to transmit call data. Fig. 1 is a topology diagram of a VoIP call implementation as exemplarily shown in the present application. As shown in fig. 1, call data between a calling terminal and a called terminal are transferred and interacted through a voice server, and finally a call opposite terminal is reached. The network environment between different terminal devices and the voice server is quite different, and due to the volatility and complexity of the network environment, the network environment factors greatly affect the quality of the VoIP call, so that the QoS (Quality ofService ) of the call service cannot be guaranteed. The detection of the VoIP call quality is an essential link for improving the VoIP call quality, and the data of the detection result of the VoIP call quality can provide important basis for improving the VoIP call quality and improving the call service QoS.
In the prior art, a hardware device for detecting the quality of a VoIP call is generally connected to a network of a voice Server (SIP Server), and the quality of the VoIP call is detected by using the hardware device. However, aiming at special and customized detection indexes under different environments, the hardware equipment is difficult to adjust in time, and the flexibility and the environmental adaptability are poor.
The core idea of the method is that call quality detection data are summarized to call quality detection service through a message transmission service end, call quality is detected through the call quality detection service, no additional hardware detection equipment is needed to be connected to a network of a voice server, and the call quality detection service is a software program in nature, so that special and customized detection indexes in different environments can be aimed at, modification is timely made to the call quality detection service, and flexibility and environmental adaptability are high.
Fig. 2 is a flowchart of a method for detecting quality of a VoIP call according to an exemplary embodiment of the present application, specifically an interactive flowchart for detecting quality of a call during a call of a terminal device, as shown in fig. 2, the method includes the following steps:
s201, the first terminal device and the second terminal device establish call connection through the voice server.
The first terminal device may be a calling terminal, or called an originating terminal, and the second terminal device may be a called terminal, or called a receiving terminal.
It should be noted that the called end device may be one as shown in fig. 2, or may be plural, that is, one calling end device may call plural called end devices at the same time. Each called-end device performs the steps shown in fig. 2, respectively.
S2021, during the call with the second terminal device, the first terminal device intermittently collects part of the call quality detection data of the first terminal device.
In some implementations, the call quality detection data collected by the first terminal device includes a downlink call quality parameter of the first terminal device, an uplink audio code rate, and a network connection quality parameter between the first terminal device and the call server. The downlink communication quality parameters comprise a downlink audio data packet loss rate and a downlink audio code rate. The network connection quality parameters include network delay, network jitter, and network packet loss rate.
S2022, during the call with the first terminal device, the second terminal device intermittently collects part of the call quality detection data of the second terminal device.
In some implementations, the call quality detection data collected by the second terminal device includes a downlink call quality parameter of the second terminal device, an uplink audio code rate, and a network connection quality parameter between the second terminal device and the call server. The downlink communication quality parameters comprise a downlink audio data packet loss rate and a downlink audio code rate. The network connection quality parameters include network delay, network jitter, and network packet loss rate.
In S2021 and S2022, the first terminal apparatus and the second terminal apparatus may ping the network connection quality parameter with the call server through the internet packet explorer (Packet Internet Groper).
S2023, during the communication between the first terminal device and the second terminal device, the voice server collects the uplink communication quality parameter of the first terminal device and the uplink communication quality parameter of the second terminal device.
The uplink communication quality parameter at least comprises an uplink audio data packet loss rate.
The terminal device and the voice server participating in the call may intermittently collect the call quality detection data at the same time interval, or may intermittently collect the call quality detection data at different or not exactly the same time interval. The present application is not limited to this.
And S2031, the first terminal equipment sends the collected call quality detection data to the message transmission server.
And S2032, the second terminal equipment sends the collected call quality detection data to the message transmission server.
S2033, the voice server sends the collected uplink communication quality parameters of the first terminal device and the second terminal device to the message transmission server.
In some implementations, the messaging server is specifically an MQTT (Message Queuing Telemetry Transport, message queue telemetry transport) server. MQTT is a client-server based message publish/subscribe transport protocol under the ISO standard (ISO/IEC PRF 20922). It works on the TCP/IP protocol family and is a publish/subscribe message protocol designed for remote devices with low hardware performance and in poor network conditions. Based on the message, the first terminal device, the second terminal device and the voice server issue the message containing the call quality detection data to the message queue corresponding to the appointed theme on the MQTT server so as to send the call quality detection data to the MQTT server. When the MQTT server monitors that the message is generated in the message queue corresponding to the appointed theme under the condition that the conversation quality detection service subscribes to the appointed theme in advance, the generated message is sent to the conversation quality detection service. In this way, the call quality detection data of the terminal devices participating in the call are summarized to the call quality detection service, and the call quality detection service can determine the call quality detection result according to the call quality detection data of the terminal devices participating in the call. Before the voice call is initiated, the terminal establishes connection with an MQTT (Message Queuing Telemetry Transport, message queue telemetry transmission) server, and after the call is initiated, the terminal and an SIP (Session Initiation Protocol ) server acquire corresponding network call indexes and push detection information to the MQTT server for forwarding processing analysis.
For convenience of explanation, the above specified subject to which the call quality detection service is subscribed in advance is referred to as a first subject.
In particular, the terminal device generates a detection message containing call quality detection data. And then the detected message is issued to a message queue corresponding to the first theme on the MQTT server. Wherein the detection message further comprises message subject information and message source information. The message subject information may include call path information formed by call identifications of terminal devices on both sides of the same call link. The message source information may include a call type and a call identification of the terminal device that issued the message.
It can be understood that the first terminal device and the second terminal device are terminal devices at two ends of the same call link. The first terminal equipment and the second terminal equipment complete the establishment of the call link based on the respective call identifiers. The call identifier of the first terminal device and the call identifier of the second terminal device may form call path information, where the call path information is mainly used to disclose terminal devices at two ends of the same call link, and may also be used to disclose a transmission path and a direction of call data. For example, assuming that the first terminal device is a calling terminal and the second terminal device is a called terminal, the call path information between the first terminal device and the second terminal device may be a caller identifier_callee identifier or a callee identifier_caller identifier. The caller identifier_callee identifier may reveal that call data is transmitted from the first terminal device to the second terminal device, and the callee identifier_callee identifier may reveal that call data is transmitted from the second terminal device to the first terminal device.
Illustratively, the message body structure of the detection message is as follows:
message topic information, message source information, call quality detection data and time identification. The message theme is a first theme, and the format of the first theme can be freely defined according to requirements. For example, the first topic may be eva/monitor/caller identification_called identification, or eva/monitor/group identification. The message source information can be a calling terminal and a calling identifier, a called terminal and a called identifier or a voice server and a calling identifier/called identifier. The calling terminal, the called terminal and the voice server can be characterized by using different Code codes. For example, 801 characterizes the calling end, 802 characterizes the called end, 803 characterizes the voice server.
Illustratively, the message body structure of the detection message generated by the calling end device is as follows:
eva/monitor/caller_callee+caller code+caller_id+call quality detection data+time identifier.
The message body structure of the detection message generated by the called terminal device is as follows:
eva/monitor/caller_called identifier+called Code code+called identifier+call quality detection data+time identifier.
Illustratively, the message body structure of the detection message generated by the voice server is as follows:
eva/monitor/caller_callee+voice server code+caller or callee+upstream quality of speech parameter+time identifier.
In a more specific implementation, the first topic may correspond to multiple message queues, with messages in different message queues being composed of detected messages of different sources. Illustratively, the first topic corresponds to a first message queue, a second message queue, and a third message queue. The calling terminal equipment issues the generated detection message to the first message queue, the called terminal equipment issues the generated detection message to the second message queue, and the voice server issues the generated detection message to the third message queue.
S204, the message transmission service end sends the call quality detection data of the first terminal equipment and the second terminal equipment to the call quality detection service.
In the implementation manner of adopting the MQTT server as the message transmission server, when the call quality detection service subscribes to the first theme in advance, after the first terminal device, the second terminal device and the voice server issue the detection message in the message queue corresponding to the first theme, the MQTT server automatically sends the detection message to the call quality detection service in the form of subscription information.
S205, the call quality detection service determines a call quality detection result according to the call quality detection data of each terminal device.
In a specific implementation, the call quality detection service can be configured according to special and customized detection indexes and requirements under different environments, so that the call quality detection service determines a call quality detection result according to call quality detection data of each terminal device according to the configured rule. The configuration of the call quality detection service may also be modified based on the change in the detection index and the demand, so that the call quality detection service will determine the call quality detection result according to the latest configured rule.
In some embodiments, the call quality detection service determines call quality detection data of terminal devices at two ends of the same call link according to call path information in the subscription information; and determining a call quality detection result of the call link according to call quality detection data of terminal equipment at two ends of the same call link.
S206, the call quality detection service sends the call quality detection result to the message transmission service end.
S207, the message transmission server sends the conversation quality detection result to the first terminal equipment and the second terminal equipment.
In the implementation manner of adopting the MQTT server as the message transmission server, the call quality detection service distributes the message containing the call quality detection result to the message queue corresponding to the appointed theme of the MQTT server so as to send the call quality detection result to the MQTT server. When the MQTT server monitors that the message is generated in the message queue corresponding to the appointed theme under the condition that the terminal equipment participating in the conversation subscribes to the appointed theme in advance, the generated message is sent to the terminal equipment participating in the conversation.
In some embodiments, the above specified topic to which the terminal device referring to the call is subscribed in advance is referred to as a second topic.
In addition, the message transmission server also needs to send the call quality detection result to the storage server for storage. The stored VoIP call quality detection result data can provide important basis for improving VoIP call quality and improving call service QoS.
In some embodiments, when the terminal device determines that the call quality meets the preset reminding condition according to the call quality detection result, displaying an interface prompt or playing a voice prompt on a screen; and/or displaying the call quality detection result in a call interface. Thus, users at two ends of the call can know the current call quality in real time so that the users can do certain processing. For example, to a place where the network environment is good, or to end the call in time.
Fig. 3 is a schematic diagram of a call interface of a terminal device according to an exemplary embodiment of the present application, and as shown in fig. 3, a call quality detection result is shown on the call interface, where the call quality detection result may include, for example, a user ID (call identifier), a time delay (ms), a jitter (ms), a packet loss rate (%), an uplink voice rate (kbps), an uplink voice packet loss rate (%) and a downlink voice packet loss rate (%) at two ends of a call.
As can be seen from the foregoing embodiments, in the present application, in the call process of the terminal device, the terminal device and the call server send call quality detection data to the message transmission server, and the message transmission server sends the call quality detection data to the call quality detection service, and the call quality detection service determines a call quality detection result according to the call quality detection data of each terminal device, sends the call quality detection result to the message transmission server, and finally sends the call quality detection result to the terminal device participating in the call by the message transmission server. According to the method and the system, the call quality detection data are transmitted to the call quality detection service through the message transmission service end, the call quality detection result is determined through the call quality detection service, additional hardware detection equipment is not required to be connected into a network of the voice server, and the call quality detection service is a software program in nature, so that special and customized detection indexes under different environments can be aimed at, modification is timely made to the call quality detection service, and flexibility and environmental adaptability are high.
Fig. 4 is a flowchart of a VoIP call quality detection method according to an exemplary embodiment of the present application, where the execution subject of the method is a call quality detection service. As shown in fig. 4, the method may include:
s401, in the process of terminal equipment conversation, receiving conversation quality detection data of each terminal equipment participating in conversation, which is sent by a message transmission server side, wherein the conversation quality detection data is sent to the message transmission server side by the terminal equipment and a conversation server in the conversation process.
In some embodiments, receiving call quality detection data of each terminal device participating in a call sent by a messaging service side includes: receiving subscription information of a first topic sent by a message transmission server, wherein the first topic is a message topic subscribed in advance by a call quality detection service, the subscription information comprises call quality detection data, and the subscription information of the first topic is published into a message queue corresponding to the first topic on the message transmission server by a terminal device and a call server in a call process.
In some embodiments, the call quality detection data includes a downlink call quality parameter, an uplink audio code rate of the terminal device, a network connection quality parameter between the terminal device and the call server, and an uplink call quality parameter; the downlink communication quality parameter, the uplink audio code rate and the network connection quality parameter are uploaded to the message transmission server by the terminal equipment, and the uplink communication quality parameter is uploaded to the message transmission server by the call server.
S402, determining a call quality detection result according to the call quality detection data of each terminal device.
In some embodiments, the subscription information for the first topic includes call path information and a message source identification; determining a call quality detection result according to call quality detection data of each terminal device, including: determining the call quality detection data of terminal equipment at two ends of the same call link according to call path information; and determining a call quality detection result of the call link according to call quality detection data of terminal equipment at two ends of the same call link.
S403, sending the call quality detection result to the message transmission server, so as to send the call quality detection result to the terminal equipment participating in the call through the message transmission server.
In some embodiments, sending the call quality detection result to the message transmission server includes: generating a call quality message containing a call quality detection result, wherein the call quality message also comprises a call identifier of the terminal equipment; and publishing the call quality message to a message queue corresponding to a second theme on the message transmission server, wherein the second theme is a message theme subscribed by the terminal equipment in advance, so that when the message transmission server monitors that the call quality message is generated in the message queue corresponding to the second theme, the call quality message is sent to the terminal equipment according to the call identifier of the terminal equipment.
Fig. 5 is a flowchart of a method for detecting quality of a VoIP call according to an exemplary embodiment of the present application, where an execution body of the method is a terminal device. As shown in fig. 5, the method may include:
s501, in the conversation process, conversation quality detection data are acquired at intervals.
S502, the collected call quality detection data is sent to a message transmission server side, so that the call quality detection data is sent to a call quality detection service through the message transmission server side.
In some embodiments, the sending the call quality detection data to the messaging service includes: generating a detection message containing the call quality detection data; and publishing the detection message to a message queue corresponding to a first topic on the message transmission server, wherein the first topic is a message topic subscribed in advance by the call quality detection service, so that when the message transmission server monitors that the detection message is generated in the message queue corresponding to the first topic, the generated detection message is sent to the call quality detection service.
In some embodiments, the detection message further includes call path information formed by call identifiers of terminal devices at both ends of the same call link, where the call path information is used to enable the call quality detection service to determine the call link corresponding to the detection message.
S503, receiving the call quality detection result returned by the message transmission server, wherein the call quality detection result is determined by the call quality detection service according to the call quality detection data of each terminal device participating in the call.
In some embodiments, receiving the call quality detection result returned by the message transmission server includes: receiving subscription information of a second topic returned by the message transmission server, wherein the second topic is a message topic subscribed in advance by the terminal equipment, and the subscription information of the second topic is issued to a message queue corresponding to the second topic on the message transmission server by the call quality detection service.
In some embodiments, the method may further comprise: when the conversation quality meets the preset reminding condition according to the conversation quality detection result, displaying an interface prompt or playing a voice prompt on a screen; and/or displaying the call quality detection result in a call interface.
As can be seen from the foregoing embodiments, in the present application, in the call process of the terminal device, the terminal device and the call server send call quality detection data to the message transmission server, and the message transmission server sends the call quality detection data to the call quality detection service, and the call quality detection service determines a call quality detection result according to the call quality detection data of each terminal device, sends the call quality detection result to the message transmission server, and finally sends the call quality detection result to the terminal device participating in the call by the message transmission server. According to the method and the system, the call quality detection data are transmitted to the call quality detection service through the message transmission service end, the call quality detection result is determined through the call quality detection service, additional hardware detection equipment is not required to be connected into a network of the voice server, and the call quality detection service is a software program in nature, so that special and customized detection indexes under different environments can be aimed at, modification is timely made to the call quality detection service, and flexibility and environmental adaptability are high.
According to the method for detecting VoIP call quality provided in the above embodiment, the embodiment of the present application further provides a device for detecting VoIP call quality, as shown in fig. 6, where the device includes: the data receiving module 601 is configured to receive, during a call of a terminal device, call quality detection data of each terminal device participating in the call, which is sent by the message transmission server, where the call quality detection data is sent to the message transmission server by the terminal device and a call server during the call. The data processing module 602 is configured to determine a call quality detection result according to the call quality detection data of each terminal device. And the data sending module 603 is configured to send the call quality detection result to the message transmission server, so that the call quality detection result is sent to the terminal device participating in the call through the message transmission server.
In some embodiments, the data receiving module 601 is specifically configured to receive subscription information of a first topic sent by the message transmission server, where the first topic is a message topic subscribed in advance by the call quality detection service, the subscription information includes the call quality detection data, and the subscription information of the first topic is published by the terminal device and the call server to a message queue corresponding to the first topic on the message transmission server in the call process.
In some embodiments, the data sending module 603 is specifically configured to generate a call quality message including the call quality detection result, where the call quality message further includes a call identifier of the terminal device; and publishing the call quality message to a message queue corresponding to a second topic on the message transmission server, wherein the second topic is a message topic subscribed by the terminal equipment in advance, so that the message transmission server sends the call quality message to the terminal equipment according to a call identifier of the terminal equipment when monitoring that the call quality message is generated in the message queue corresponding to the second topic.
In some embodiments, the subscription information for the first topic includes call path information and a message source identification; the data processing module 602 is specifically configured to determine, according to the call path information, the call quality detection data of terminal devices at two ends of the same call link; and determining a call quality detection result of the call link according to the call quality detection data of the terminal equipment at the two ends of the same call link.
According to the method for detecting VoIP call quality provided in the above embodiment, the embodiment of the present application further provides a device for detecting VoIP call quality, as shown in fig. 7, where the device includes: a data receiving module 701, configured to receive, during a call of a terminal device, call quality detection data of each terminal device participating in the call, where the call quality detection data is sent by the message transmission server, and the call quality detection data is sent by the terminal device and a call server to the message transmission server during the call; a data processing module 702, configured to determine a call quality detection result according to call quality detection data of each terminal device; and the data sending module 703 is configured to send the call quality detection result to the message transmission server, so that the call quality detection result is sent to the terminal device participating in the call through the message transmission server.
In some embodiments, the data sending module 703 is specifically configured to generate a detection message including the call quality detection data; and publishing the detection message to a message queue corresponding to a first topic on the message transmission server, wherein the first topic is a message topic subscribed in advance by the call quality detection service, so that when the message transmission server monitors that the detection message is generated in the message queue corresponding to the first topic, the generated detection message is sent to the call quality detection service.
In some embodiments, the data receiving module 701 is specifically configured to receive subscription information of a second topic returned by the message transmission server, where the second topic is a message topic subscribed in advance by the terminal device, and the subscription information of the second topic is published to a message queue corresponding to the second topic on the message transmission server by the call quality detection service.
In some embodiments, the device further includes a data display module, configured to display an interface prompt or play a voice prompt on a screen when it is determined that the call quality meets a preset alert condition according to the call quality detection result; and/or displaying the call quality detection result in a call interface.
As can be seen from the foregoing embodiments, in the present application, in the call process of the terminal device, the terminal device and the call server send call quality detection data to the message transmission server, and the message transmission server sends the call quality detection data to the call quality detection service, and the call quality detection service determines a call quality detection result according to the call quality detection data of each terminal device, sends the call quality detection result to the message transmission server, and finally, the message transmission server sends the call quality detection result to the terminal device participating in the call. According to the method and the system, the call quality detection data are transmitted to the call quality detection service through the message transmission service end, the call quality detection result is determined through the call quality detection service, additional hardware detection equipment is not required to be connected into a network of the voice server, and the call quality detection service is a software program in nature, so that special and customized detection indexes under different environments can be aimed at, modification is timely made to the call quality detection service, and flexibility and environmental adaptability are high.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in each embodiment of the VoIP call quality detection method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, as far as reference is made to the description in the method embodiments.
The embodiments of the present invention described above do not limit the scope of the present invention.

Claims (10)

1. A method for detecting the quality of a VoIP call, which is applied to a call quality detection service, the method comprising:
receiving call quality detection data of each terminal device participating in a call, which are sent by the message transmission server side, in the call process of the terminal device, wherein the call quality detection data are sent to the message transmission server side by the terminal device and a call server in the call process;
determining a call quality detection result according to the call quality detection data of each terminal device;
and sending the call quality detection result to the message transmission server so as to send the call quality detection result to the terminal equipment participating in the call through the message transmission server.
2. The method according to claim 1, wherein receiving call quality detection data of each terminal device participating in a call sent by the message transmission server includes:
receiving subscription information of a first topic sent by the message transmission server, wherein the first topic is a message topic subscribed in advance by a call quality detection service, the subscription information comprises the call quality detection data, and the subscription information of the first topic is released to a message queue corresponding to the first topic on the message transmission server by the terminal equipment and a call server in the call process.
3. The method of claim 1, wherein sending the call quality detection result to the messaging service includes:
generating a call quality message containing the call quality detection result, wherein the call quality message also comprises a call identifier of the terminal equipment;
and publishing the call quality message to a message queue corresponding to a second topic on the message transmission server, wherein the second topic is a message topic subscribed by the terminal equipment in advance, so that the message transmission server sends the call quality message to the terminal equipment according to a call identifier of the terminal equipment when monitoring that the call quality message is generated in the message queue corresponding to the second topic.
4. The method of claim 2, wherein the subscription information for the first topic includes call path information and a message source identification;
the determining the call quality detection result according to the call quality detection data of each terminal device includes:
determining the call quality detection data of terminal equipment at two ends of the same call link according to the call path information;
and determining a call quality detection result of the call link according to the call quality detection data of the terminal equipment at the two ends of the same call link.
5. The method according to claim 1, wherein the call quality detection data includes a downlink call quality parameter, an uplink audio code rate of a terminal device, a network connection quality parameter between the terminal device and a call server, and an uplink call quality parameter; the downlink communication quality parameter, the uplink audio code rate and the network connection quality parameter are uploaded to the message transmission server by the terminal equipment, and the uplink communication quality parameter is uploaded to the message transmission server by the communication server.
6. A method for detecting the quality of a VoIP call, applied to a terminal device, the method comprising:
in the conversation process, conversation quality detection data are acquired at intervals;
the collected call quality detection data are sent to a message transmission server side, so that the call quality detection data are sent to a call quality detection service through the message transmission server side;
and receiving a call quality detection result returned by the message transmission server, wherein the call quality detection result is determined by the call quality detection service according to call quality detection data of each terminal device participating in the call.
7. The method of claim 6, wherein sending the call quality detection data to a messaging server comprises:
generating a detection message containing the call quality detection data;
and publishing the detection message to a message queue corresponding to a first topic on the message transmission server, wherein the first topic is a message topic subscribed in advance by the call quality detection service, so that when the message transmission server monitors that the detection message is generated in the message queue corresponding to the first topic, the generated detection message is sent to the call quality detection service.
8. The method according to claim 7, wherein the detection message further includes call path information composed of call identifications of terminal devices at both ends of the same call link, the call path information being used to enable the call quality detection service to determine the call link to which the detection message corresponds;
receiving a call quality detection result returned by the message transmission server, including:
receiving subscription information of a second topic returned by the message transmission server, wherein the second topic is a message topic subscribed in advance by the terminal equipment, and the subscription information of the second topic is issued to a message queue corresponding to the second topic on the message transmission server by the call quality detection service;
the method further comprises the steps of: when the conversation quality meets the preset reminding condition according to the conversation quality detection result, displaying an interface prompt or playing a voice prompt on a screen;
and/or displaying the call quality detection result in a call interface.
9. A VoIP call quality detection apparatus, comprising:
the data receiving module is used for receiving the call quality detection data of each terminal device participating in the call, which is sent by the message transmission server, in the call process of the terminal device, wherein the call quality detection data is sent to the message transmission server by the terminal device and the call server in the call process;
the data processing module is used for determining a call quality detection result according to the call quality detection data of each terminal device;
and the data sending module is used for sending the call quality detection result to the message transmission server so as to send the call quality detection result to the terminal equipment participating in the call through the message transmission server.
10. A VoIP call quality detection apparatus, comprising:
the data acquisition module is used for acquiring call quality detection data of the terminal equipment at intervals in the call process of the terminal equipment;
the data sending module is used for sending the collected call quality detection data to a message transmission server so as to send the call quality detection data to a call quality detection service through the message transmission server;
and the data receiving module is used for receiving a call quality detection result returned by the message transmission server, and the call quality detection result is determined by the call quality detection service according to the call quality detection data of each terminal device participating in the call.
CN202111241319.XA 2021-10-25 2021-10-25 VoIP call quality detection method and device Pending CN116032904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111241319.XA CN116032904A (en) 2021-10-25 2021-10-25 VoIP call quality detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111241319.XA CN116032904A (en) 2021-10-25 2021-10-25 VoIP call quality detection method and device

Publications (1)

Publication Number Publication Date
CN116032904A true CN116032904A (en) 2023-04-28

Family

ID=86069203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111241319.XA Pending CN116032904A (en) 2021-10-25 2021-10-25 VoIP call quality detection method and device

Country Status (1)

Country Link
CN (1) CN116032904A (en)

Similar Documents

Publication Publication Date Title
US7154864B2 (en) Method and apparatus for providing conference call announcement using SIP signalling in a communication system
CN108881783B (en) Method and device for realizing multi-person conversation, computer equipment and storage medium
EP2847979B1 (en) Multiple versions of call invites
EP2262322A1 (en) Method, system and equipment for shifting call based on a mobile terminal with the same number and a soft terminal
US8170036B1 (en) Systems and methods of voice chat
CN112312427A (en) Method for optimizing network quality and electronic equipment
CN111095879A (en) Exchanging non-text content in real-time text messages
CN105376136B (en) Instant communication method, server and system
US8412173B2 (en) Method and system for providing a contact attempt service
CN102378131A (en) Calling method used in voice communication and mobile terminal
CN111641602B (en) Session creation method and device and electronic equipment
CN112866488A (en) Video color ring back tone playing method, server and terminal
EP2116036B1 (en) Identifying participants in a conference
EP2879354B1 (en) Webrtc communication method and corresponding user equipment
US8179821B2 (en) Identifying participants of an audio conference call
CN102355713A (en) Calling method in voice communication and mobile terminal
CN116032904A (en) VoIP call quality detection method and device
CN110445781A (en) A kind of speech detection method and relevant device of chatroom
US8874056B2 (en) Identifying channels in a communication network
US20220167454A1 (en) Processing of a call by videoconference between two terminals
KR20030073893A (en) Realtime Voice Information Transmission Method for using Wireless Instant Messenger
KR20050114557A (en) Apparatus and method for serving the subscriber's information in ptt service network
CN111901345B (en) Method, device, equipment and storage medium for realizing voice call
CN116032628B (en) Data sharing method, system, equipment and readable storage medium
US20240114061A1 (en) Acknowledging the presence of tones being signalled via sdp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination