CN117041232A - Voice call realization method, device, equipment, system and storage medium - Google Patents

Voice call realization method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN117041232A
CN117041232A CN202310889495.7A CN202310889495A CN117041232A CN 117041232 A CN117041232 A CN 117041232A CN 202310889495 A CN202310889495 A CN 202310889495A CN 117041232 A CN117041232 A CN 117041232A
Authority
CN
China
Prior art keywords
rate
call
calling
voice call
packet loss
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
CN202310889495.7A
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Design Institute Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Design Institute 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 China Mobile Communications Group Co Ltd, China Mobile Group Design Institute Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202310889495.7A priority Critical patent/CN117041232A/en
Publication of CN117041232A publication Critical patent/CN117041232A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Abstract

The invention discloses a voice call realization method, a device, equipment, a system and a storage medium, wherein the method comprises the following steps: the calling terminal sends a VoNR voice call request to the called terminal, carries out call media negotiation with the called terminal, and confirms that the call service adopts EVS coding and decoding; after completing the call media negotiation and the CRBT media negotiation, the calling terminal starts to receive the CRBT RTP data packet and calculates the packet loss rate of the CRBT RTP data packet; when the preset packet loss condition is confirmed to be met and the call guarantee rate is greater than or equal to the color ring guarantee rate, after call connection is established between the calling party and the called party, the calling terminal sends an EVS code speed reduction request to the calling SBC, and the request carries the expected rate of the call service; the calling terminal receives the desired rate returned by the calling SBC to the calling terminal in support of the desired rate. The embodiment of the invention can avoid the occurrence of error codes, high time delay, jitter and other conditions in the conversation process, and promote the perception of users.

Description

Voice call realization method, device, equipment, system and storage medium
Technical Field
The present invention relates to the field of call technologies, and in particular, to a method, apparatus, device, system, and storage medium for implementing voice call.
Background
The voice call is one of the main functions of the electronic device, and the current voice call strategy is to negotiate before the call, and perform the voice call by adopting the best coding mode which can be supported by both parties.
At present, the voice call process uses the coding mode of the enhanced voice service (Enhance Voice Services, EVS) preferentially, so that the limitation of narrower audio bandwidth and poorer non-voice signal processing level of the traditional voice coding and decoding is eliminated, and the voice fidelity reaches the same level as other digital media services. However, error code, high delay and jitter are easy to occur in the voice communication process, and the perception of users is seriously affected.
Disclosure of Invention
The invention provides a voice call realization method, a device, equipment, a system and a storage medium, which are used for solving the problems that error codes, high time delay and jitter are easy to occur in the voice call process in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a method for implementing a voice call, which is applied to a calling terminal, and the method for implementing a voice call includes:
sending a VoNR voice call request to a called terminal, carrying out call media negotiation with the called terminal, and confirming that the VoNR voice call service adopts EVS encoding and decoding and the call guarantee rate of the VoNR voice call service;
after the call media negotiation is completed, performing the color ring media negotiation with a color ring service media server, and confirming the color ring guarantee rate of the color ring service;
after the negotiation of the CRBT media is completed, a CRBT RTP data packet is received, and the packet loss rate of the CRBT RTP data packet is calculated;
when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined, if the call guarantee rate is greater than or equal to the color ring guarantee rate, after the calling party and the called party establish the call connection, an EVS coding deceleration request is sent to a calling session border controller SBC; wherein, the packet loss condition includes: the packet loss rate obtained by calculation in the current period is larger than a preset packet loss rate threshold, the EVS code speed reduction request carries the expected rate of the VoNR voice call service, and the expected rate is smaller than the call guarantee rate;
receiving said desired rate returned by said calling session border controller SBC to the calling terminal in case of supporting said desired rate.
As an improvement of the above solution, the packet loss condition further includes: and the packet loss rate obtained by calculation in a plurality of continuous preset periods before the current time period is larger than the packet loss rate threshold value.
As an improvement of the above solution, the method for implementing a voice call further includes:
when the condition that the packet loss condition is met is not found before the calling party and the called party establish the call connection, the call guarantee rate is maintained after the calling party and the called party establish the call connection.
As an improvement of the above solution, the method for implementing a voice call further includes:
when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined, if the call guarantee rate is smaller than the color ring guarantee rate, the call guarantee rate is maintained after the calling party and the called party establish the call connection.
As an improvement of the above solution, said receiving said desired rate returned by said calling session border controller SBC to the calling terminal in support of said desired rate comprises:
and receiving the expected rate returned to the calling terminal by the calling session border controller SBC under the condition that the codec rate set of the calling session border controller SBC is detected to comprise the expected rate.
As an improvement of the above solution, after said receiving said desired rate returned by said calling session border controller SBC to the calling terminal while supporting said desired rate, said voice call implementing method further comprises:
sending a voice RTP data packet to the calling session border controller SBC;
and receiving an EVS coding deceleration result message returned by the calling session border controller SBC to the calling terminal based on the voice RTP data packet.
In order to achieve the above object, an embodiment of the present invention further provides a device for implementing a voice call, including:
the call media negotiation module is used for sending a VoNR voice call request to the called terminal, carrying out call media negotiation with the called terminal, and confirming that the VoNR voice call service adopts EVS encoding and decoding and the call guarantee rate of the VoNR voice call service;
the CRBT media negotiation module is used for carrying out CRBT media negotiation with the CRBT service media server after the conversation media negotiation is completed, and confirming the CRBT guarantee rate of the CRBT service;
the packet loss rate calculation module is used for receiving the color ring RTP data packet after the color ring media negotiation is completed, and calculating the packet loss rate of the color ring RTP data packet;
the EVS code speed-down request module is used for sending an EVS code speed-down request to a calling session boundary controller SBC after the calling party and the called party establish call connection if the call guarantee rate is greater than or equal to the CRBT guarantee rate when the condition that the preset packet loss condition is met before the calling party and the called party establish call connection is determined; wherein, the packet loss condition includes: the packet loss rate obtained by calculation in the current period is larger than a preset packet loss rate threshold, the EVS code speed reduction request carries the expected rate of the VoNR voice call service, and the expected rate is smaller than the call guarantee rate;
and the EVS coding speed reduction module is used for receiving the expected speed returned by the calling session border controller SBC to the calling terminal under the condition of supporting the expected speed.
To achieve the above object, an embodiment of the present invention further provides an electronic device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the voice call implementing method as described above when executing the computer program.
To achieve the above object, embodiments of the present invention also provide a computer-readable storage medium including a stored computer program; wherein, the computer program controls the equipment of the computer readable storage medium to execute the voice call realization method when running.
Compared with the prior art, the voice call realization method, device, equipment, system and storage medium provided by the embodiment of the invention have the advantages that before the calling party and the called party establish call connection, if the packet loss rate of the color ring RTP data packet meets the preset packet loss condition and the call guarantee rate of the VoNR voice call service is greater than or equal to the color ring guarantee rate of the color ring service, after the calling party and the called party establish call connection, an EVS coding speed reduction request is sent to a calling session boundary controller SBC, so that the calling terminal can perform call with the called terminal at the expected rate expected to be achieved based on the EVS coding speed reduction request, the situations of error codes, high time delay, jitter and the like in the call process can be avoided, the user perception is improved, and the maximum experience of the user in the call process is ensured.
Drawings
Fig. 1 is a flowchart of a method for implementing a voice call according to an embodiment of the present invention;
fig. 2 is another flowchart of a voice call implementation method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for implementing a voice call according to an embodiment of the present invention;
fig. 4 is a block diagram of a voice call implementing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a voice call implementation method provided by an embodiment of the present invention, where the voice call implementation method is applied to a calling terminal, and the method includes:
s1, sending a VoNR voice call request to a called terminal, negotiating call media with the called terminal, and confirming that the VoNR voice call service adopts EVS encoding and decoding and the call guarantee rate of the VoNR voice call service;
s2, after the call media negotiation is completed, performing the color ring media negotiation with a color ring service media server, and confirming the color ring guarantee rate of the color ring service;
s3, after the CRBT media negotiation is completed, a CRBT RTP data packet is received, and the packet loss rate of the CRBT RTP data packet is calculated;
s4, when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined, if the call guarantee rate is greater than or equal to the color ring guarantee rate, after the calling party and the called party establish the call connection, an EVS code deceleration request is sent to a calling session border controller SBC; wherein, the packet loss condition includes: the packet loss rate obtained by calculation in the current period is larger than a preset packet loss rate threshold, the EVS code speed reduction request carries the expected rate of the VoNR voice call service, and the expected rate is smaller than the call guarantee rate;
s5, receiving the expected rate returned to the calling terminal by the calling session boundary controller SBC under the condition of supporting the expected rate.
It can be understood that, when the calling terminal initiates the VoNR voice call to the called terminal, if the calling terminal is a 5G SA terminal and the network supports the VoNR, the two-end session border controller SBC side will prefer the EVS code to be the negotiation result.
It should be noted that, the bandwidth requirement of the existing color ring for the special QOS FLOW of the 5QI1 audio part is 51kbps (here, the downlink guaranteed bandwidth is used to guarantee the color ring service encoded by AMR), and the bandwidth requirement of the special QOS FLOW of the 5QI1 voice call part is also 51kbps (to guarantee that the calling side selects the narrowband to ultra-wideband encoding within the range of 5.9-24.4kbps for the EVS encoding). It can be seen that the high-definition voice call process based on EVS coding is similar to the audio color ring back tone on the wireless network environment, and once the situation of error code, jitter, time delay and the like occurs in the color ring back tone process of the calling side, the subsequent voice call inevitably also has similar perception difference phenomenon. However, in the prior art, a process of reducing the encoding and decoding rate for the EVS high-definition voice is initiated according to the error code of the color ring process, the two processes of color ring and voice communication are relatively independent, and no information interaction judging process exists.
According to the embodiment of the invention, in the process of receiving the color ring back tone service by the calling terminal, the packet loss rate analysis is carried out aiming at the downlink color ring RTP data packet, if the packet loss phenomenon occurs, the calling side wireless environment is poor, the voice call process is not suitable for continuing the EVS high-coding voice call service, or a large amount of wireless network physical resources are required for guaranteeing the high-EVS coding voice call service, if the situation of error codes, high time delay and jitter in the voice call process is still ensured according to the early EVS high-coding processing flow, the user perception is seriously influenced even if the voice call flow is established, so that the calling terminal initiates an EVS coding speed reduction request to the calling session boundary controller SBC under the condition of the packet loss phenomenon, the EVS coding speed reduction process is completed, the situations of error codes, high time delay, jitter and the like in the call process are avoided, and the user perception is improved.
It can be understood that, in the process of initiating a call, the calling terminal determines that the calling terminal is a voice call by using the media-type value in the INVITE message as audio;
after receiving the called code negotiation 183SESSION PROGRESS message, the calling terminal completes the call media negotiation confirmation to be EVS code, and carries out guarantee rate modification on the post voice call QOS FLOW so as to obtain the guarantee rate requirement of the calling terminal during voice call;
the called terminal opens the CRBT service, CAT AS (CRBT service providing server) requests the calling terminal to change the early media encoding and decoding format through the UPDATE message, and changes QOS FLOW of the CRBT request to obtain the CRBT guarantee rate request of the CRBT service.
Therefore, the call guarantee rate of the VoNR voice call service can be obtained by QOS FLOW correction after 183SESSION procedure message, and the color ring guarantee rate of the color ring service can be obtained by QOS FLOW correction after UPDATE message after color ring trigger.
After completing call media negotiation and color ring media negotiation, the calling terminal receives color ring RTP data packet (AMR coding mode), records the Timestamp and Sequence number therein, and performs packet loss rate analysis on the color ring RTP data packet through the Timestamp and Sequence number, wherein the purpose of the RTP protocol is to provide end-to-end transmission service of real-time data (such as interactive audio), and there is no concept of connection in RTP. Packet loss rate = number of packets lost by the color ring RTP data packet/(number of packets lost by the color ring RTP data packet + number of packets lost by the received color ring RTP data packet) ×100%.
In an optional embodiment, the packet loss condition further includes: and the packet loss rate obtained by calculation in a plurality of continuous preset periods before the current time period is larger than the packet loss rate threshold value.
It can be understood that, in order to improve the accuracy judgment of the calling side wireless environment performance, the embodiment of the present invention further includes: the packet loss rate obtained by calculation in a plurality of continuous preset periods before the current period is larger than the packet loss rate threshold value, so that the packet loss rate of the color ring RTP data packet in the continuous period is larger than the packet loss rate threshold value, namely the high packet loss phenomenon of the continuous multiple periods is indicated, and the wireless environment of the calling side is judged to be poor.
The calling terminal performs sliding window statistics on packet loss rate by taking a preset period as a unit after receiving a first color ring RTP packet, and defines the terminal as a downlink RTP quality difference state after the packet loss rate exceeds a packet loss rate threshold value once a plurality of continuous time periods occur before receiving a response message (200 ok for invite) sent by the called terminal, so that the wireless environment of the calling side is not good; specifically, sliding window statistics is performed on packet loss rate of the color ring RTP data packet in each period by taking a preset period as a unit, and if the packet loss rate counted by a plurality of continuous time windows is larger than the packet loss rate threshold, the packet loss rate of the color ring RTP data packet is high. Optionally, the packet loss rate threshold is 0.1%, and the voice call user obviously perceives poor under the packet loss rate threshold. If the calling terminal receives the response message (200 ok for invite) before the continuous multiple sliding windows are not reached, the calling terminal stops counting the sliding windows of the ring back tone packet loss, and changes the process into a normal response flow.
In an optional embodiment, the voice call implementing method further includes:
when the condition that the packet loss condition is met is not found before the calling party and the called party establish the call connection, the call guarantee rate is maintained after the calling party and the called party establish the call connection.
In an optional embodiment, the voice call implementing method further includes:
when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined, if the call guarantee rate is smaller than the color ring guarantee rate, the call guarantee rate is maintained after the calling party and the called party establish the call connection.
In an alternative embodiment, said receiving said desired rate returned by said calling session border controller SBC to the calling terminal in support of said desired rate comprises:
and receiving the expected rate returned to the calling terminal by the calling session border controller SBC under the condition that the codec rate set of the calling session border controller SBC is detected to comprise the expected rate.
Illustratively, after receiving the first EVS-encoded voice RTP packet, the calling terminal initiates an EVS-encoded deceleration procedure through RTCP (APP), and the rate may refer to 3gpp TS 26.664 protocol Table a.3. The CMR parameter has 8 bits, namely H bits (1 Bit), T bits (3 bits) and D bits (4 bits) from high order to low order,
h (Header Type) bits: the value is fixed at 1.
T (Type of Request) bits: for distinguishing between EVS AMR-WB IO and EVS Primary bandwidth.
D (Definition) bit: for indicating the specific CMR.
In the EVS Primary mode, the CMR indicates the maximum value of the media rate that the media recipient expects to receive, and the media rate used by the sender cannot be higher than that rate. If EVS Primary audio bandwidth is negotiated in the call, the CMR indicates the maximum value of media bandwidth that the media recipient desires to receive.
In EVS AMR-WB IO mode, the CMR parameter indicates the maximum value of the EVS AMR-WB IO codec rate that the media sink expects to receive.
Specifically, the calling terminal initiates an EVS coding deceleration request to a calling session border controller SBC by constructing an RTCP APP request message, the RTCP APP request message is transmitted to the calling session border controller SBC through a GTP-U tunnel and a UPF (user plane function ), and the RTCP APP request message carries an expected velocity which is expected to be achieved after deceleration;
and if the expected rate is concentrated in the coding and decoding rate of the calling session border controller SBC, modifying the CMR (Codec Mode Request, coding mode request) of the RTP sent to the calling terminal into the expected rate, and initiating EVS coding and speed reduction.
The calling terminal receives the modified RTP sent by the calling session border controller SBC and performs the encoding and decoding according to the desired rate defined in the RTP (CMR) field.
In an alternative embodiment, after said receiving said desired rate returned by said calling session border controller SBC to the calling terminal in support of said desired rate, said voice call implementing method further comprises:
sending a voice RTP data packet to the calling session border controller SBC;
and receiving an EVS coding deceleration result message returned by the calling session border controller SBC to the calling terminal based on the voice RTP data packet.
The calling session border controller SBC detects a certain number of uplink voice RTP packets, and determines whether the calling terminal finishes rate down-speed, that is, whether the EVS coding rate adopted by the uplink RTP packets is the desired rate.
The calling session border controller SBC constructs an RTCP APP response message to inform the calling terminal of the EVS code speed reduction result:
if the VoNR voice call service rate is adjusted to the expected rate, the RTCP APP response message carries an EVS coding speed reduction result (success), a service uplink rate before adjustment, an adjusted service uplink rate and a coding and decoding rate set.
If the VoNR voice call service rate is not adjusted to the expected rate, the RTCP APP response message carries an EVS code speed reduction result (the speed regulation of the calling terminal is requested to fail), codes and decodes the rate set, and stops the speed reduction processing. For example, failure of the EVS code to slow down may result from either the calling session border controller SBC not sending the desired probability to the calling terminal or the calling terminal not receiving the desired rate sent by the calling session border controller SBC.
As an example, the flow of the voice call implementation method provided by the embodiment of the present invention may also be shown in fig. 2 to 3:
the calling side initiates a VoNR voice call service, wherein the Invite message carries a coding request for audio, and generally includes the following media line fields (caller preferred EVS coding):
Media Type:audio
Media Attribute(a):rtpmap:110EVS/16000/1
and (II) the calling side SBC triggers the PCF to establish the special QOS FLOW, and the calling side wireless side establishes the special QOS FLOW to ensure GBR service.
And thirdly, since the called side opens the CRBT service and the calling side supports the CRBT, CAT AS (CRBT service providing server, CRBT AS) corrects 180ring fed back by the called side, and sends an UPDATE message to the calling side to require the calling side to carry out media modification, and the calling side guarantees the wireless transmission of the CRBT 5QI1 service at GBR guarantee rate (the calling side corrects the originally established special QOS FLOW to guarantee the GBR service of the CRBT).
And (IV) after the calling side finishes media modification, feeding back the success of CAT AS (color ring AS) media modification through the UPDATE, and transmitting 180ring to the calling side by the CAT AS (color ring AS).
And fifthly, the calling side starts to receive the downlink RTP data packet of the color ring through the special QOS FLOW bearer.
And (six) recording a Timestamp and a Sequence number by the calling side when receiving the color ring RTP data packet (AMR coding mode), and analyzing the packet loss rate of the color ring downlink RTP data packet, wherein the purpose of the RTP protocol is to provide an end-to-end transmission service of real-time data (such as interactive audio), and the RTP has no connection concept.
And (seventh), after the calling side receives the first color ring RTP data packet, carrying out sliding window statistics on packet loss rate in a second unit, and before the calling side does not receive a called side response message (200 ok for invite), defining the calling terminal as a downlink RTP quality difference state once the packet loss rate exceeds a preset packet loss rate threshold value in a plurality of continuous time periods.
If the calling side receives the response message (200 ok for invite) before the continuous multiple sliding windows are not reached, the calling side stops counting the sliding windows of the ring back tone packet loss, and changes the process into a normal response flow.
And (eight) aiming at the downlink RTP poor-state calling party, judging whether calling side call media negotiation coding is in an EVS coding mode (obtained by 183SESSION PROGRESS message), and whether the call guarantee rate of the VoRN voice call service of the EVS coding is higher than or equal to the color ring guarantee rate of the color ring service (obtained by QOS FLOW correction after 183SESSION PROGRESS message and QOS FLOW correction after UPDATE message after color ring trigger).
The specific information parameter acquisition of the calling side can be seen in the following steps:
in the process of initiating voice call, a calling side judges that the voice call is made by using the media-type value in the INVITE message as audio;
after receiving the called code negotiation 183SESSION PROGRESS message, the calling side completes negotiation confirmation to be EVS code, and carries out call guarantee rate modification on the post voice call QOS FLOW so as to obtain call guarantee rate requirements during voice call of the calling side;
the called side opens the CRBT service, CAT AS (CRBT AS) requests the calling side to change the early media coding and decoding format through the UPDATE message, and changes QOS FLOW required by the CRBT to obtain the CRBT guarantee rate requirement of the CRBT service;
for the EVS coding call of the calling party in the downlink RTP poor quality state, if the EVS coding voice call negotiation code is judged to require the call guarantee rate to be lower than the color ring guarantee rate of the color ring service, the original flow is maintained, and the later EVS coding mode reduction flow is not performed; if the EVS coding voice call negotiation code is judged to require the call guarantee rate to be higher than or equal to the color ring guarantee rate of the color ring service, entering into a flow of an EVS coding mode after an RTP data packet of the first EVS coding of the call is received.
The (nine) EVS codec contains two modes, namely EVS Primary and EVS AMR-WB IO (Adaptive Multi Rate Wideband-Interoperational), wherein the EVS AMR-WB IO mode is compatible with AMR-WB (format is different), and the conversion between the EVS AMR-WB IO mode and the EVS AMR-WB IO mode only changes the RTP-related packet header and does not code the voice payload part, so that the consumption of resources is less.
And (ten) the calling side initiates an EVS (event control and sense protocol) deceleration flow through RTCP (APP) after receiving the RTP voice packet coded by the first EVS, and the speed can refer to 3GPP TS 26.664 protocol Table A.3.
(eleven) the calling side initiates the speed reduction requirement through the D (Definition) field change in the CMR in the RTP packet, and the specific initiating flow is as follows:
the calling UE constructs an RTCP APP request message, the RTCP APP request message is transmitted to the calling side through a GTP-U tunnel and UPF, and the RTCP APP request message carries an expected speed which is expected to be reached after the speed is reduced;
and if the expected rate is concentrated in the coding and decoding rate of the calling session boundary controller SBC, modifying the CMR of the RTP sent to the calling terminal into the expected rate, and initiating EVS coding and speed reduction.
The calling side SBC detects a certain number of uplink voice RTP data packets and judges whether the calling terminal finishes the speed reduction of the speed, namely whether the EVS coding speed adopted by the uplink RTP data packets is the expected speed.
The calling side SBC constructs an RTCP APP response message to inform the calling UE of the EVS code speed reduction result:
if the VoNR voice call service rate is adjusted to the expected rate, the RTCP APP response message carries an EVS coding speed reduction result (success), a service uplink rate before adjustment, an adjusted service uplink rate and a coding and decoding rate set.
If the VoNR voice call service rate is not adjusted to the expected rate, the RTCP APP response message carries an EVS code speed reduction result (the speed regulation of the calling terminal is requested to fail), codes and decodes the rate set, and stops the speed reduction processing.
Therefore, the embodiment of the invention calculates the packet loss rate in the process of the color ring, judges whether the calling side needs to perform the down coding on the voice call service with high EVS coding, reduces the probability of complaint of the user by automatically judging and guaranteeing the maximum experience of the user in the calling process, and improves the key index of the complaint rate of operators.
Referring to fig. 4, fig. 4 is a block diagram of a voice call implementing apparatus 10 according to an embodiment of the present invention, where the voice call implementing apparatus 10 includes:
the call media negotiation module 11 is configured to send a VoNR voice call request to a called terminal, perform a call media negotiation with the called terminal, and confirm that a VoNR voice call service adopts an EVS codec and a call guarantee rate of the VoNR voice call service;
the color ring back tone media negotiation module 12 is configured to perform color ring back tone media negotiation with a color ring back tone service media server after the call media negotiation is completed, and confirm a color ring back tone guarantee rate of the color ring back tone service;
the packet loss rate calculation module 13 is configured to receive a color ring RTP packet after completing the color ring media negotiation, and calculate a packet loss rate of the color ring RTP packet;
the EVS code deceleration request module 14 is configured to send an EVS code deceleration request to the calling session border controller SBC after the calling and called parties establish a call connection if the call guarantee rate is greater than or equal to the color ring guarantee rate when it is determined that a preset packet loss condition is met before the calling and called parties establish the call connection; wherein, the packet loss condition includes: the packet loss rate obtained by calculation in the current period is larger than a preset packet loss rate threshold, the EVS code speed reduction request carries the expected rate of the VoNR voice call service, and the expected rate is smaller than the call guarantee rate;
an EVS code deceleration module 15, configured to receive the desired rate returned by the calling session border controller SBC to the calling terminal in case of supporting the desired rate.
Optionally, the packet loss condition further includes: and the packet loss rate obtained by calculation in a plurality of continuous preset periods before the current time period is larger than the packet loss rate threshold value.
Optionally, the voice call implementing apparatus 10 further includes:
and the first call guarantee rate maintenance module is used for maintaining the call guarantee rate after the calling party and the called party establish the call connection when the condition that the packet loss condition is met does not exist before the calling party and the called party establish the call connection.
Optionally, the voice call implementing apparatus 10 further includes:
and the second call guarantee rate maintenance module is used for maintaining the call guarantee rate after the calling party and the called party establish the call connection if the call guarantee rate is smaller than the color ring guarantee rate when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined.
Optionally, said receiving said desired rate returned by said calling session border controller SBC to the calling terminal in case of supporting said desired rate comprises:
and receiving the expected rate returned to the calling terminal by the calling session border controller SBC under the condition that the codec rate set of the calling session border controller SBC is detected to comprise the expected rate.
Optionally, the voice call implementing apparatus 10 further includes:
the voice RTP data packet sending module is used for sending the voice RTP data packet to the calling session border controller SBC;
and the EVS code speed reduction result message receiving module is used for receiving the EVS code speed reduction result message returned to the calling terminal by the calling session border controller SBC based on the voice RTP data packet.
It should be noted that, the working process of each module in the voice call implementing apparatus 10 according to the embodiment of the present invention may refer to the working process of the voice call implementing method according to the above embodiment, which is not described herein.
The embodiment of the invention also provides a voice call realization system, which comprises a calling terminal, a called terminal, a color ring back tone service media server, a calling session boundary controller SBC and a called session boundary controller SBC, wherein the calling terminal executes the voice call realization method according to any embodiment.
In the embodiment of the present invention, the information interaction flow of each device in the voice call implementing system may refer to fig. 2, and the specific interaction process is described above, which is not described herein again.
The embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program; wherein the computer program, when executed, controls a device in which the computer readable storage medium is located to execute the voice call implementing method according to any one of the embodiments.
Referring to fig. 5, fig. 5 is a block diagram of an electronic device 20 according to an embodiment of the present invention, where the electronic device 20 includes: a processor 21, a memory 22 and a computer program stored in said memory 22 and executable on said processor 21. The processor 21, when executing the computer program, implements the steps of the above-described embodiment of the method for implementing a voice call. Alternatively, the processor 21 may implement the functions of the modules/units in the above-described device embodiments when executing the computer program.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used to describe the execution of the computer program in the electronic device 20.
The electronic device 20 may be a computing device such as a desktop computer, a notebook computer, a palm computer, and a cloud server. The electronic device 20 may include, but is not limited to, a processor 21, a memory 22. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the electronic device 20 and is not meant to be limiting of the electronic device 20, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device 20 may also include input-output devices, network access devices, buses, etc.
The processor 21 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 21 is a control center of the electronic device 20, and connects various parts of the entire electronic device 20 using various interfaces and lines.
The memory 22 may be used to store the computer program and/or module, and the processor 21 may implement various functions of the electronic device 20 by executing or executing the computer program and/or module stored in the memory 22, and invoking data stored in the memory 22. The memory 22 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the integrated modules/units of the electronic device 20 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each of the method embodiments described above when executed by the processor 21. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. The voice call implementation method is characterized by being applied to a calling terminal, and comprises the following steps:
sending a VoNR voice call request to a called terminal, carrying out call media negotiation with the called terminal, and confirming that the VoNR voice call service adopts EVS encoding and decoding and the call guarantee rate of the VoNR voice call service;
after the call media negotiation is completed, performing the color ring media negotiation with a color ring service media server, and confirming the color ring guarantee rate of the color ring service;
after the negotiation of the CRBT media is completed, a CRBT RTP data packet is received, and the packet loss rate of the CRBT RTP data packet is calculated;
when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined, if the call guarantee rate is greater than or equal to the color ring guarantee rate, after the calling party and the called party establish the call connection, an EVS coding deceleration request is sent to a calling session border controller SBC; wherein, the packet loss condition includes: the packet loss rate obtained by calculation in the current period is larger than a preset packet loss rate threshold, the EVS code speed reduction request carries the expected rate of the VoNR voice call service, and the expected rate is smaller than the call guarantee rate;
receiving said desired rate returned by said calling session border controller SBC to the calling terminal in case of supporting said desired rate.
2. The voice call implementing method as claimed in claim 1, wherein the packet loss condition further comprises: and the packet loss rate obtained by calculation in a plurality of continuous preset periods before the current time period is larger than the packet loss rate threshold value.
3. The voice call implementing method according to any one of claims 1-2, characterized in that the voice call implementing method further comprises:
when the condition that the packet loss condition is met is not found before the calling party and the called party establish the call connection, the call guarantee rate is maintained after the calling party and the called party establish the call connection.
4. The voice call implementing method according to any one of claims 1-2, characterized in that the voice call implementing method further comprises:
when the condition that the preset packet loss condition is met before the calling party and the called party establish the call connection is determined, if the call guarantee rate is smaller than the color ring guarantee rate, the call guarantee rate is maintained after the calling party and the called party establish the call connection.
5. The voice call implementation method according to claim 1, characterized in that said receiving said desired rate returned by said calling session border controller SBC to the calling terminal in support of said desired rate comprises:
and receiving the expected rate returned to the calling terminal by the calling session border controller SBC under the condition that the codec rate set of the calling session border controller SBC is detected to comprise the expected rate.
6. The voice call implementing method according to claim 1, characterized in that after said receiving said desired rate returned by said calling session border controller SBC to the calling terminal in support of said desired rate, said voice call implementing method further comprises:
sending a voice RTP data packet to the calling session border controller SBC;
and receiving an EVS coding deceleration result message returned by the calling session border controller SBC to the calling terminal based on the voice RTP data packet.
7. A voice call implementing apparatus, comprising:
the call media negotiation module is used for sending a VoNR voice call request to the called terminal, carrying out call media negotiation with the called terminal, and confirming that the VoNR voice call service adopts EVS encoding and decoding and the call guarantee rate of the VoNR voice call service;
the CRBT media negotiation module is used for carrying out CRBT media negotiation with the CRBT service media server after the conversation media negotiation is completed, and confirming the CRBT guarantee rate of the CRBT service;
the packet loss rate calculation module is used for receiving the color ring RTP data packet after the color ring media negotiation is completed, and calculating the packet loss rate of the color ring RTP data packet;
the EVS code speed-down request module is used for sending an EVS code speed-down request to a calling session boundary controller SBC after the calling party and the called party establish call connection if the call guarantee rate is greater than or equal to the CRBT guarantee rate when the condition that the preset packet loss condition is met before the calling party and the called party establish call connection is determined; wherein, the packet loss condition includes: the packet loss rate obtained by calculation in the current period is larger than a preset packet loss rate threshold, the EVS code speed reduction request carries the expected rate of the VoNR voice call service, and the expected rate is smaller than the call guarantee rate;
and the EVS coding speed reduction module is used for receiving the expected speed returned by the calling session border controller SBC to the calling terminal under the condition of supporting the expected speed.
8. An electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the voice call implementation method according to any of claims 1-6 when the computer program is executed.
9. A voice call implementing system, characterized by comprising a calling terminal, a called terminal, a color ring service media server, a calling session border controller SBC and a called session border controller SBC, wherein the calling terminal executes the voice call implementing method according to any one of claims 1-6.
10. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls a device in which the computer-readable storage medium is located to perform the voice call implementing method according to any one of claims 1 to 6.
CN202310889495.7A 2023-07-19 2023-07-19 Voice call realization method, device, equipment, system and storage medium Pending CN117041232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310889495.7A CN117041232A (en) 2023-07-19 2023-07-19 Voice call realization method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310889495.7A CN117041232A (en) 2023-07-19 2023-07-19 Voice call realization method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN117041232A true CN117041232A (en) 2023-11-10

Family

ID=88627136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310889495.7A Pending CN117041232A (en) 2023-07-19 2023-07-19 Voice call realization method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN117041232A (en)

Similar Documents

Publication Publication Date Title
US11349900B2 (en) Voice encoding and sending method and apparatus
CN106937073B (en) Video calling code rate adjustment method, device and mobile terminal based on VoLTE
JP4927333B2 (en) Bandwidth adaptation
KR101015178B1 (en) Method for radio resource control requested codec rate control for voip
RU2374774C2 (en) Method and device for control of voice services speed in mobile communication system that supports voice services via packet network
EP3866474B1 (en) Video self-adaptation method, related device and storage medium
WO2008110930A2 (en) Method of transmitting data in a communication system
US11032334B2 (en) Enhanced call downgrade reason indicator
WO2021180202A1 (en) Auxiliary-link-based call compensation system and apparatus, and chip
CN101047476B (en) Method and device for selecting modulation mode
CN106856472A (en) Video call method, device and mobile terminal based on VoLTE
WO2017167224A1 (en) Method and device for adjusting video encoding rate
EP4114026A1 (en) Video transmission method and system, and related device and storage medium
CN117041232A (en) Voice call realization method, device, equipment, system and storage medium
CN107404363B (en) Method, system, terminal and network side equipment for adjusting voice code rate
US8422447B2 (en) Cellular network
US20160269056A1 (en) Methods, Network Nodes, Computer Programs and Computer Program Products for Managing Processing of an Audio Stream
CN106231618A (en) A kind of method and device sending encoding and decoding renegotiation request
EP1809065A1 (en) Method and system for adjusting the traffic category for a real time stream transmission
CN112398854B (en) Method and apparatus for determining codec mode set for traffic communication
CN111934823B (en) Data transmission method, radio access network equipment and user plane functional entity
CN113905132B (en) Video color ring playing method, device and computer readable storage medium
WO2022007619A1 (en) Video transmission method, device, system, and storage medium
EP4358591A1 (en) Data transmission method and related device
CN111770297A (en) Method for reducing video call flow consumption

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