CN107404462B - Method and device for adjusting call parameters - Google Patents

Method and device for adjusting call parameters Download PDF

Info

Publication number
CN107404462B
CN107404462B CN201610339877.2A CN201610339877A CN107404462B CN 107404462 B CN107404462 B CN 107404462B CN 201610339877 A CN201610339877 A CN 201610339877A CN 107404462 B CN107404462 B CN 107404462B
Authority
CN
China
Prior art keywords
call
preset
parameter
parameters
call quality
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.)
Active
Application number
CN201610339877.2A
Other languages
Chinese (zh)
Other versions
CN107404462A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610339877.2A priority Critical patent/CN107404462B/en
Publication of CN107404462A publication Critical patent/CN107404462A/en
Application granted granted Critical
Publication of CN107404462B publication Critical patent/CN107404462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to a method and a device for adjusting call parameters, and relates to the technical field of communication. According to the method and the device, the call quality parameter within the preset duration is obtained in the call process, the preset call parameter matched with the call quality parameter is determined from a plurality of preset call parameters based on the call quality parameter, the current call parameter is adjusted to be the determined preset call parameter, and the determined preset call parameter is sent to the opposite communication terminal through the appointed protocol.

Description

Method and device for adjusting call parameters
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting call parameters.
Background
With the rapid development of communication technology, a Voice over LTE (Long Term Evolution, Voice service over LTE) technology comes, where the VoLTE is an IP (Internet Protocol) data transmission technology, that is, a terminal can implement a Voice call service through an IP network by using the VoLTE technology. In the process of implementing a voice call service, a negotiation for call parameters is usually required, for example, the call parameters include a sampling rate or a coding format of a codec.
Currently, in the VoLTE technology, the call parameter is usually negotiated when establishing a call connection, that is, when establishing a call connection, a terminal negotiates a call parameter with a communication peer through a Session Initiation Protocol (SIP), for example, a sampling rate is 8 khz, and a coding format is EVS (Enhanced Voice Services). After the terminal negotiates the call parameters with the opposite communication terminal through the SIP, the call parameters are usually fixed and unchangeable in the voice call process.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for adjusting call parameters.
In a first aspect, a method for adjusting call parameters is provided, where the method includes:
in the conversation process, obtaining conversation quality parameters within a preset duration;
determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters based on the call quality parameter;
and adjusting the current call parameter to the determined preset call parameter, and sending the determined preset call parameter to the opposite communication terminal through a specified protocol.
Optionally, the call quality parameter includes any one of a packet loss rate and a network signal strength, where the packet loss rate is a ratio of a number of lost data packets to a number of voice data packets in a process of transmitting the voice data packets.
Optionally, the plurality of preset call parameters each include at least one of a codec sampling rate and a coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
when the call quality parameter includes the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold value within the preset time length, determining a first preset call parameter in the preset call parameters as a preset call parameter matched with the call quality parameter, wherein the first preset call parameter includes at least one of a minimum codec sampling rate and an adaptive multi-rate AMR coding format;
and when the packet loss rate is smaller than the first preset threshold value within the preset duration, determining a second preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the second preset call parameter comprises at least one of a maximum codec sampling rate and an enhanced voice call service EVS coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
when the call quality parameters comprise the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, determining a second preset call parameter in the preset call parameters as a preset call parameter matched with the call quality parameters, wherein the second preset call parameter comprises at least one of a maximum codec sampling rate and an enhanced voice call service (EVS) coding format;
and when the network signal strength is smaller than the second preset threshold value within the preset duration, determining a first preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the first preset call parameter comprises at least one of a minimum codec sampling rate and an AMR coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matched with the call quality parameter from a plurality of preset call parameters includes any one of the following implementation manners:
when the call quality parameter includes the packet loss rate, determining a first preset range of the packet loss rate within the preset time length from a plurality of first preset ranges, determining a preset call parameter corresponding to the first preset range of the packet loss rate within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter;
when the call quality parameters comprise the network signal strength, determining a second preset range of the network signal strength within the preset time length from a plurality of second preset ranges, determining preset call parameters corresponding to the second preset range of the network signal strength within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameters as the preset call parameters matched with the call quality parameters.
Optionally, the specified protocol comprises a session initiation protocol SIP or a real-time transport control protocol RTCP.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
sending a parameter acquisition message to core network equipment, wherein the parameter acquisition message carries the call quality parameters, and the parameter acquisition message is used for indicating the core network equipment to determine and return preset call parameters matched with the call quality parameters from the preset call parameters;
and receiving a parameter adjusting message sent by the core network device, wherein the parameter adjusting message carries a preset call parameter matched with the call quality parameter, and the parameter adjusting message is used for indicating the terminal to adjust the current call parameter based on the preset call parameter matched with the call quality parameter.
In a second aspect, an apparatus for adjusting call parameters is provided, the apparatus comprising:
the acquisition module is used for acquiring call quality parameters within a preset time length in the call process;
the determining module is used for determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters based on the call quality parameter;
and the adjusting module is used for adjusting the current call parameter to the determined preset call parameter and sending the determined preset call parameter to the opposite communication terminal through a specified protocol.
Optionally, the call quality parameter includes any one of a packet loss rate and a network signal strength, where the packet loss rate is a ratio of a number of lost data packets to a number of voice data packets in a process of transmitting the voice data packets.
Optionally, the plurality of preset call parameters each include at least one of a codec sampling rate and a coding format.
Optionally, the determining module includes:
a first determining unit, configured to determine, when the call quality parameter includes the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold within the preset time period, a first preset call parameter in the preset call parameters as a preset call parameter matched with the call quality parameter, where the first preset call parameter includes at least one of a minimum codec sampling rate and an adaptive multi-rate AMR coding format;
a second determining unit, configured to determine, when the packet loss rate is smaller than the first preset threshold within the preset duration, a second preset call parameter of the multiple preset call parameters as a preset call parameter matching the call quality parameter, where the second preset call parameter includes at least one of a maximum codec sampling rate and an EVS encoding format of an enhanced voice call service.
Optionally, the determining module further comprises:
a third determining unit, configured to determine a second preset call parameter of the multiple preset call parameters as a preset call parameter matched with the call quality parameter when the call quality parameter includes the network signal strength and the network signal strength is greater than or equal to a second preset threshold within the preset duration, where the second preset call parameter includes at least one of a maximum codec sampling rate and an EVS encoding format;
a fourth determining unit, configured to determine, when the network signal strength is smaller than the second preset threshold within the preset duration, a first preset call parameter of the multiple preset call parameters as a preset call parameter matched with the call quality parameter, where the first preset call parameter includes at least one of a minimum codec sampling rate and an AMR coding format.
Optionally, the determining module further comprises:
a fifth determining unit, configured to determine, when the call quality parameter includes the packet loss rate, a first preset range in which the packet loss rate is located within the preset time duration from among a plurality of first preset ranges, determine, from among the plurality of preset call parameters, a preset call parameter corresponding to the first preset range in which the packet loss rate is located within the preset time duration, and determine the determined preset call parameter as a preset call parameter that matches the call quality parameter;
a sixth determining unit, configured to determine, when the call quality parameter includes the network signal strength, a second preset range in which the network signal strength is located within the preset time duration from among a plurality of second preset ranges, determine, from among the plurality of preset call parameters, a preset call parameter corresponding to the second preset range in which the network signal strength is located within the preset time duration, and determine the determined preset call parameter as a preset call parameter that matches the call quality parameter.
Optionally, the specified protocol comprises a session initiation protocol SIP or a real-time transport control protocol RTCP.
Optionally, the determining module includes:
a sending unit, configured to send a parameter obtaining message to a core network device, where the parameter obtaining message carries the call quality parameter, and the parameter obtaining message is used to instruct the core network device to determine from the multiple preset call parameters and return a preset call parameter matched with the call quality parameter;
a receiving unit, configured to receive a parameter adjustment message sent by the core network device, where the parameter adjustment message carries a preset call parameter matching the call quality parameter, and the parameter adjustment message is used to instruct the terminal to adjust a current call parameter based on the preset call parameter matching the call quality parameter.
In a third aspect, an apparatus for adjusting call parameters is provided, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in the conversation process, obtaining conversation quality parameters within a preset duration;
determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters based on the call quality parameter;
and adjusting the current call parameter to the determined preset call parameter, and sending the determined preset call parameter to the opposite communication terminal through a specified protocol.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the conversation process, the terminal acquires conversation quality parameters in preset duration, wherein the conversation quality parameters can be used for indicating the conversation quality in the preset duration, when the conversation quality parameters are detected to change, the conversation parameters can be adjusted based on the conversation quality parameters in the preset duration, namely, the terminal determines the preset conversation parameters matched with the conversation quality parameters from a plurality of preset conversation parameters based on the conversation quality parameters and adjusts the current conversation parameters into the determined preset conversation parameters, so that when the conversation quality changes, the conversation parameters can be dynamically adjusted correspondingly to adapt to the current conversation quality parameters, and the adaptability is improved. In addition, in order to inform the correspondent node that the call parameter is changed, the terminal also sends the determined preset call parameter to the correspondent node through a specified protocol.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method for adjusting call parameters according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method for adjusting call parameters according to another exemplary embodiment.
Fig. 3 is a block diagram illustrating an apparatus for adjusting call parameters according to an example embodiment.
Fig. 4 is a block diagram illustrating an apparatus 400 for adjusting call parameters according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the embodiment of the present disclosure, the method for adjusting call parameters may be performed by a terminal, where the terminal may be at least used for implementing VoLTE voice call, where the terminal may be a call device such as a mobile phone.
Fig. 1 is a flowchart illustrating a method for adjusting call parameters according to an exemplary embodiment, where the method for adjusting call parameters may include the following steps:
in step 101, in the process of a call, a call quality parameter within a preset duration is obtained.
In step 102, a preset call parameter matching the call quality parameter is determined from a plurality of preset call parameters based on the call quality parameter.
In step 103, the current call parameter is adjusted to the determined preset call parameter, and the determined preset call parameter is sent to the correspondent node through a specified protocol.
In the embodiment of the present disclosure, in a call process, a terminal obtains a call quality parameter within a preset duration, where the call quality parameter may be used to indicate a call quality within the preset duration, and when it is detected that the call quality parameter changes, the call parameter may be adjusted based on the call quality parameter within the preset duration, that is, the terminal determines, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters, and adjusts a current call parameter to the determined preset call parameter, so that when the call quality changes, the call parameter may be dynamically adjusted correspondingly to adapt to the current call quality parameter, thereby improving adaptability. In addition, in order to inform the correspondent node that the call parameter is changed, the terminal also sends the determined preset call parameter to the correspondent node through a specified protocol.
Optionally, the call quality parameter includes any one of a packet loss rate and a network signal strength, where the packet loss rate is a ratio of a number of lost data packets to a number of voice data packets in a process of transmitting the voice data packets.
Optionally, the plurality of preset call parameters each include at least one of a codec sampling rate and a coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
when the call quality parameter includes the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold value within the preset time length, determining a first preset call parameter in the preset call parameters as a preset call parameter matched with the call quality parameter, wherein the first preset call parameter includes at least one of a minimum codec sampling rate and an adaptive multi-rate AMR coding format;
and when the packet loss rate is smaller than the first preset threshold value within the preset duration, determining a second preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the second preset call parameter comprises at least one of a maximum codec sampling rate and an enhanced voice call service (EVS) coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
when the call quality parameter includes the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, determining a second preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the second preset call parameter includes at least one of a maximum codec sampling rate and an enhanced voice call service (EVS) coding format;
and when the network signal strength is smaller than the second preset threshold value within the preset duration, determining a first preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the first preset call parameter comprises at least one of a minimum codec sampling rate and an AMR coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes any one of the following implementation manners:
when the call quality parameter includes the packet loss rate, determining a first preset range of the packet loss rate within the preset time length from a plurality of first preset ranges, determining a preset call parameter corresponding to the first preset range of the packet loss rate within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter;
when the call quality parameter includes the network signal strength, determining a second preset range of the network signal strength within the preset time length from a plurality of second preset ranges, determining a preset call parameter corresponding to the second preset range of the network signal strength within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter.
Optionally, the specified protocol comprises a session initiation protocol, SIP, or a real-time transport control protocol, RTCP.
Optionally, determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
sending a parameter acquisition message to the core network equipment, wherein the parameter acquisition message carries the call quality parameter, and the parameter acquisition message is used for indicating the core network equipment to determine and return a preset call parameter matched with the call quality parameter from the preset call parameters;
and receiving a parameter adjusting message sent by the core network device, wherein the parameter adjusting message carries a preset call parameter matched with the call quality parameter, and the parameter adjusting message is used for indicating the terminal to adjust the current call parameter based on the preset call parameter matched with the call quality parameter.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 2 is a flowchart illustrating a method for adjusting call parameters according to another exemplary embodiment, where the method for adjusting call parameters is used in a terminal for example, the method for adjusting call parameters may include the following steps:
in step 201, during a call, a call quality parameter within a preset duration is obtained.
In the process of implementing voice call, the terminal needs to negotiate call parameters with the opposite communication terminal, for example, the size of the sampling rate of the codec or the coding format used needs to be negotiated. At present, when a call is initially established, a terminal negotiates call parameters with a communication opposite terminal, and the call parameters are not changed any more in the call process.
However, since the terminal is likely to move continuously during the call, for example, the terminal is likely to move from an area with strong network signals to an area with poor network signals, in this case, the call parameters negotiated with the opposite communication end when the call is established are likely not to be adapted to the current call requirement, and thus, voice distortion, such as call interruption and the like, may be caused.
Therefore, in the embodiment of the present disclosure, in the process of a call, the terminal obtains a call quality parameter within a preset duration, and determines whether to adjust the current call parameter based on the call quality parameter, so that the terminal can dynamically adjust the call parameter according to the difference of the call quality parameters, so that the call parameter can adapt to the current call requirement.
The call quality parameter includes any one of a packet loss rate and a network signal strength, where the packet loss rate is a ratio of a number of lost data packets to a number of voice data packets in a process of transmitting the voice data packets.
The preset duration may be set by a user according to actual needs in a user-defined manner, or may be set by a default terminal, which is not limited in the embodiment of the present disclosure.
It should be noted that, in the embodiment of the present disclosure, the call quality parameter is only described as an example that the call quality parameter includes any one of a packet loss rate and a network signal strength, in another embodiment, the call quality parameter may further include other parameters, and the embodiment of the present disclosure does not limit this.
In step 202, a preset call parameter matching the call quality parameter is determined from a plurality of preset call parameters based on the call quality parameter.
Based on the call quality parameter, determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters may include any one of the following possible implementation manners:
the first mode is as follows: and the terminal determines a preset call parameter matched with the call quality parameter from a plurality of preset call parameters based on the call quality parameter. In this implementation manner, the terminal stores the preset call parameters in advance.
The second mode is as follows: the terminal sends a parameter obtaining message to the core network device, the parameter obtaining message carries the call quality parameter, the parameter obtaining message is used for indicating the core network device to determine and return a preset call parameter matched with the call quality parameter from the preset call parameters, a parameter adjusting message sent by the core network device is received, the parameter adjusting message carries the preset call parameter matched with the call quality parameter, and the parameter adjusting message is used for indicating the terminal to adjust the current call parameter based on the preset call parameter matched with the call quality parameter.
In this implementation manner, the core network device stores the plurality of preset call parameters in advance, after the terminal sends a parameter acquisition message to the core network device, the core network device determines a preset call parameter matching the call quality parameter from the plurality of preset call parameters, and generates a parameter adjustment message based on the determined preset call parameter, and then the core network device sends the parameter adjustment message to the terminal, and accordingly, after the terminal receives the parameter adjustment message, the terminal extracts the determined preset call parameter from the parameter adjustment message.
In a possible implementation manner, the parameter adjustment message may be sent to the terminal through a specified protocol, where the specified protocol includes SIP or RTCP (Real Time Transport Control protocol).
It should be noted that, in the above two implementation manners, the specific implementation process of determining, by the terminal and the core network device, the preset call parameter matched with the call quality parameter from the plurality of preset call parameters is similar, and a description thereof is not separately described below.
In addition, it should be noted that, in the embodiment of the present disclosure, the specified protocol only includes SIP or RTCP for example, and in another embodiment, the specified protocol may further include other protocols, which is not limited in the embodiment of the present disclosure.
The preset call parameters comprise at least one of a sampling rate and a coding format of a coder and a decoder. When the plurality of preset call parameters simultaneously include the codec sampling rate and the coding format, the terminal may simultaneously adjust the codec sampling rate and the coding format, or may only adjust any one of the codec sampling rate and the coding format.
The determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from among a plurality of preset call parameters according to the difference of the call quality parameters may include any one of the following implementation manners (1) to (2):
(1) when the preset call parameter includes the missing data packet data, based on the call quality parameter, determining the preset call parameter matched with the call quality parameter from a plurality of preset call parameters may include any one of the following a-b implementation manners:
a. when the call quality parameter includes a packet loss Rate, and the packet loss Rate is greater than or equal to a first preset threshold value within the preset duration, determining a first preset call parameter of the preset call parameters as a preset call parameter matched with the call quality parameter, where the first preset call parameter includes at least one of a minimum codec sampling Rate and an AMR (Adaptive Multi Rate) coding format.
In this implementation, when the packet loss rate is greater than or equal to the first preset threshold within the preset time period, it indicates that the current network signal is likely to be poor, in this case, if a larger codec sampling rate or a more complex encoding format, for example, EVS (Enhanced Voice Services), is used, the amount of data to be transmitted is large, in the transmission process, the error rate is high, so that the number of packet loss data packets is large, the voice is easy to be distorted, and therefore, in this case, the terminal typically employs a smaller codec sampling rate, or a simpler coding format, or a smaller codec sampling rate and a simpler coding format are simultaneously adopted, that is, when the terminal detects that the packet loss rate is greater than or equal to a first preset threshold value within a preset time period, the first preset call parameter is determined as the preset call parameter matched with the call quality parameter.
Otherwise, when the packet loss rate is smaller than the first preset threshold within the preset duration, determining a second preset call parameter of the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, where the second preset call parameter includes at least one of a maximum codec sampling rate and an EVS (enhanced voice call service) encoding format.
That is, when the packet loss rate is smaller than the first preset threshold within the preset duration, it indicates that the network signal is better, and in this case, the terminal may use a larger codec sampling rate and a more complex coding format, so as to achieve the effect of high-definition voice communication.
The first preset threshold may be set by a user according to actual needs in a self-defined manner, or may be set by a default of a terminal, which is not limited in the embodiment of the present disclosure.
b. When the call quality parameter includes a packet loss rate, determining a first preset range in which the packet loss rate is located within a preset time length from a plurality of first preset ranges, determining a preset call parameter corresponding to the first preset range in which the packet loss rate is located within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter.
The plurality of first preset ranges may be set by a user according to actual requirements in a self-defined manner, or may be set by a terminal in a default manner, which is not limited in the embodiment of the present disclosure.
In contrast to the implementation a described above, in this implementation, the packet loss rate case is divided into a plurality of ranges, and accordingly, the call parameter may also comprise a plurality, for example, the call parameter may comprise a codec sampling rate, in which case, the codec sampling rate includes not only the minimum codec sampling rate and the maximum codec sampling rate, for example, for the case of a large packet loss rate, the codec sampling rate may include a plurality of smaller codec sampling rates, for example, the codec sampling rate may include 500Hz, 1000Hz, 1500Hz, and 2000Hz, the terminal selects a codec sampling rate corresponding to a first preset range in which the packet loss rate is located within the preset time period from among the plurality of smaller codec sampling rates, and determines the selected codec sampling rate as the call parameter matching the call quality parameter.
Similarly, when the packet loss rate is smaller within the preset time period, the codec sampling rate includes a plurality of larger codec sampling rates, in this case, the process of determining the call parameter matching the call quality parameter is similar to the above, and will not be described in detail here.
In addition, in this implementation, when the call parameter includes a coding mode, the coding mode may also include a plurality of coding modes, and the principle thereof is similar to the principle of the call parameter including the codec sampling rate, and is not described in detail here. Of course, the encoding method may also include only AMR and EVS, in which case, the call parameter may be adjusted by combining multiple codec sampling rates, which is not limited in the embodiment of the present disclosure.
(2) When the preset call parameter includes the network signal strength, determining, based on the call quality parameter, a preset call parameter matched with the call quality parameter from a plurality of preset call parameters, wherein the preset call parameter may include any one of the following c-d implementation manners:
c. and when the call quality parameter comprises the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, determining a second preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the second preset call parameter comprises at least one of a maximum codec sampling rate and an EVS coding format.
Otherwise, when the network signal strength is smaller than the second preset threshold within the preset duration, determining a first preset call parameter of the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, where the first preset call parameter includes at least one of a minimum codec sampling rate and an AMR coding format.
Wherein the principle is similar to that in the implementation of a above and will not be described in detail here.
The second preset threshold may be set by a user according to actual needs in a self-defined manner, or may be set by a default of a terminal, which is not limited in the embodiment of the present disclosure.
d. When the call quality parameter includes the network signal strength, determining a second preset range of the network signal strength within the preset time length from a plurality of second preset ranges, determining a preset call parameter corresponding to the second preset range of the network signal strength within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter.
The plurality of second preset ranges can be set by a user according to actual needs in a self-defined manner, and can also be set by a terminal in a default manner, which is not limited by the embodiment of the disclosure.
Wherein the principle is similar to that in the above b implementation and will not be described in detail here.
It should be noted that, in the embodiment of the present disclosure, only the AMR coding format is used when the call quality is poor, and the EVS coding format is used when the call quality is good, which is not limited in the embodiment of the present disclosure, in another embodiment, other coding formats may also be used for the above two cases.
In addition, it should be noted that, in the embodiment of the present disclosure, the description is only given by taking an example that each of the plurality of preset call parameters includes at least one of a codec sampling rate and a coding format, and in another embodiment, each of the plurality of preset call parameters may further include other parameters, which is not limited in the embodiment of the present disclosure.
In step 203, the current call parameter is adjusted to the determined preset call parameter, and the determined preset call parameter is sent to the correspondent node through a specified protocol.
The specific implementation process of sending the determined preset call parameter to the correspondent node through the specified protocol may include: the terminal can add the determined call parameters in the designated field of the designated protocol, or modify the current call parameters into the determined call parameters in the designated field, and carry the determined preset call parameters to the opposite communication terminal by transmitting the designated protocol.
For example, when the specified Protocol includes SIP, the terminal may modify the current call parameter into the determined call parameter in SDP (Session Description Protocol) in the SIP Protocol, and send the modified call parameter to the correspondent node through the SIP Protocol.
In the embodiment of the present disclosure, in a call process, a terminal obtains a call quality parameter within a preset duration, where the call quality parameter may be used to indicate a call quality within the preset duration, and when it is detected that the call quality parameter changes, the call parameter may be adjusted based on the call quality parameter within the preset duration, that is, the terminal determines, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters, and adjusts a current call parameter to the determined preset call parameter, so that when the call quality changes, the call parameter may be dynamically adjusted correspondingly to adapt to the current call quality parameter, thereby improving adaptability. In addition, in order to inform the correspondent node that the call parameter is changed, the terminal also sends the determined preset call parameter to the correspondent node through a specified protocol.
In addition, it should be noted that, in the embodiment of the present invention, the explanation is only given by taking an example that the terminal acquires the call quality parameter within the preset duration during the call, and determines the preset call parameter matching the call quality parameter from the plurality of preset call parameters based on the call quality parameter, in another embodiment, the core network device may also determine the call parameter matching the signal strength of the cell where the current terminal is located based on the signal strength of the cell where the current terminal is located, and then sends the determined call parameter to the terminal to instruct the terminal to adjust the current call parameter based on the determined call parameter.
That is, in the call process, the core network device determines a call parameter matched with the signal strength of the cell where the terminal is currently located according to the network coverage condition and the measurement report reported by the terminal, and sends a parameter adjustment message to the terminal, where the parameter adjustment message carries the determined call parameter, and after receiving the parameter adjustment message, the terminal adjusts the current call parameter to the determined call parameter. The embodiment of the present invention is not limited thereto.
The core network device determines a call parameter matching the signal strength of the cell in which the current terminal is located based on the signal strength of the cell in which the current terminal is located, and similarly to the manner in which the terminal in the implementation manner (2) determines a preset call parameter matching the call quality parameter from a plurality of preset call parameters based on the network signal strength, which is not described herein again.
Fig. 3 is a block diagram illustrating an apparatus for adjusting call parameters according to an example embodiment. The device for adjusting call parameters can be implemented by software, hardware or a combination of the two, and comprises:
an obtaining module 310, configured to obtain, during a call, a call quality parameter within a preset duration;
a determining module 320, configured to determine, based on the call quality parameter, a preset call parameter matching the call quality parameter from multiple preset call parameters;
the adjusting module 330 is configured to adjust the current call parameter to the determined preset call parameter, and send the determined preset call parameter to the correspondent node through a specified protocol.
Optionally, the call quality parameter includes any one of a packet loss rate and a network signal strength, where the packet loss rate is a ratio of a number of lost data packets to a number of voice data packets in a process of transmitting the voice data packets.
Optionally, the plurality of preset call parameters each include at least one of a codec sampling rate and a coding format.
Optionally, the determining module 320 includes:
a first determining unit, configured to determine a first preset call parameter of the multiple preset call parameters as a preset call parameter matched with the call quality parameter when the call quality parameter includes the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold within the preset time duration, where the first preset call parameter includes at least one of a minimum codec sampling rate and an adaptive multi-rate AMR coding format;
a second determining unit, configured to determine a second preset session parameter of the multiple preset session parameters as a preset session parameter matched with the session quality parameter when the packet loss rate is smaller than the first preset threshold within the preset duration, where the second preset session parameter includes at least one of a maximum codec sampling rate and an EVS encoding format of an enhanced voice session service.
Optionally, the determining module 320 further includes:
a third determining unit, configured to determine a second preset call parameter of the multiple preset call parameters as a preset call parameter matched with the call quality parameter when the call quality parameter includes the network signal strength and the network signal strength is greater than or equal to a second preset threshold within the preset duration, where the second preset call parameter includes at least one of a maximum codec sampling rate and an EVS encoding format;
a fourth determining unit, configured to determine, when the network signal strength is smaller than the second preset threshold within the preset duration, a first preset call parameter of the multiple preset call parameters as a preset call parameter matched with the call quality parameter, where the first preset call parameter includes at least one of a minimum codec sampling rate and an AMR coding format.
Optionally, the determining module 320 further includes:
a fifth determining unit, configured to determine, when the call quality parameter includes the packet loss rate, a first preset range in which the packet loss rate is located within the preset time duration from among a plurality of first preset ranges, determine, from among the plurality of preset call parameters, a preset call parameter corresponding to the first preset range in which the packet loss rate is located within the preset time duration, and determine the determined preset call parameter as a preset call parameter that matches the call quality parameter;
a sixth determining unit, configured to determine, when the call quality parameter includes the network signal strength, a second preset range in which the network signal strength is located within the preset time duration from among a plurality of second preset ranges, determine, from among the plurality of preset call parameters, a preset call parameter corresponding to the second preset range in which the network signal strength is located within the preset time duration, and determine the determined preset call parameter as a preset call parameter that matches the call quality parameter.
Optionally, the specified protocol comprises a session initiation protocol, SIP, or a real-time transport control protocol, RTCP.
The determining module 320 includes:
a sending unit, configured to send a parameter obtaining message to a core network device, where the parameter obtaining message carries the call quality parameter, and the parameter obtaining message is used to instruct the core network device to determine from the multiple preset call parameters and return a preset call parameter matched with the call quality parameter;
a receiving unit, configured to receive a parameter adjustment message sent by the core network device, where the parameter adjustment message carries a preset call parameter matching the call quality parameter, and the parameter adjustment message is used to instruct the terminal to adjust a current call parameter based on the preset call parameter matching the call quality parameter.
In the embodiment of the present disclosure, in a call process, a terminal obtains a call quality parameter within a preset duration, where the call quality parameter may be used to indicate a call quality within the preset duration, and when it is detected that the call quality parameter changes, the call parameter may be adjusted based on the call quality parameter within the preset duration, that is, the terminal determines, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters, and adjusts a current call parameter to the determined preset call parameter, so that when the call quality changes, the call parameter may be dynamically adjusted correspondingly to adapt to the current call quality parameter, thereby improving adaptability. In addition, in order to inform the correspondent node that the call parameter is changed, the terminal also sends the determined preset call parameter to the correspondent node through a specified protocol.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram illustrating an apparatus 400 for adjusting call parameters according to an exemplary embodiment. For example, the apparatus 400 may be a cell phone, a telephony device, or the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of adjusting call parameters, the method comprising:
in the conversation process, obtaining conversation quality parameters within a preset duration;
determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters based on the call quality parameter;
and adjusting the current call parameter to the determined preset call parameter, and sending the determined preset call parameter to the opposite communication terminal through a specified protocol.
Optionally, the call quality parameter includes any one of a packet loss rate and a network signal strength, where the packet loss rate is a ratio of a number of lost data packets to a number of voice data packets in a process of transmitting the voice data packets.
Optionally, the plurality of preset call parameters each include at least one of a codec sampling rate and a coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
when the call quality parameter includes the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold value within the preset time length, determining a first preset call parameter in the preset call parameters as a preset call parameter matched with the call quality parameter, wherein the first preset call parameter includes at least one of a minimum codec sampling rate and an adaptive multi-rate AMR coding format;
and when the packet loss rate is smaller than the first preset threshold value within the preset duration, determining a second preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the second preset call parameter comprises at least one of a maximum codec sampling rate and an enhanced voice call service (EVS) coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
when the call quality parameter includes the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, determining a second preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the second preset call parameter includes at least one of a maximum codec sampling rate and an enhanced voice call service (EVS) coding format;
and when the network signal strength is smaller than the second preset threshold value within the preset duration, determining a first preset call parameter in the plurality of preset call parameters as a preset call parameter matched with the call quality parameter, wherein the first preset call parameter comprises at least one of a minimum codec sampling rate and an AMR coding format.
Optionally, the determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes any one of the following implementation manners:
when the call quality parameter includes the packet loss rate, determining a first preset range of the packet loss rate within the preset time length from a plurality of first preset ranges, determining a preset call parameter corresponding to the first preset range of the packet loss rate within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter;
when the call quality parameter includes the network signal strength, determining a second preset range of the network signal strength within the preset time length from a plurality of second preset ranges, determining a preset call parameter corresponding to the second preset range of the network signal strength within the preset time length from the plurality of preset call parameters, and determining the determined preset call parameter as a preset call parameter matched with the call quality parameter.
Optionally, the specified protocol comprises a session initiation protocol, SIP, or a real-time transport control protocol, RTCP.
Optionally, determining, based on the call quality parameter, a preset call parameter matching the call quality parameter from a plurality of preset call parameters includes:
sending a parameter acquisition message to the core network equipment, wherein the parameter acquisition message carries the call quality parameter, and the parameter acquisition message is used for indicating the core network equipment to determine and return a preset call parameter matched with the call quality parameter from the preset call parameters;
and receiving a parameter adjusting message sent by the core network equipment, wherein the parameter adjusting message carries a preset call parameter matched with the call quality parameter.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A method for adjusting call parameters is applied to a voice over long term evolution (VoLTE) technology, and comprises the following steps:
in the call process, obtaining call quality parameters in a preset time length, wherein the preset time length is set by terminal default or user definition, the call quality parameters comprise any one of packet loss rate and network signal strength, and the packet loss rate refers to the ratio of the number of lost data packets to the number of voice data packets in the process of transmitting the voice data packets;
determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters prestored in the terminal based on the call quality parameter, wherein the plurality of preset call parameters comprise codec sampling rate and coding format; or, based on the call quality parameter, sending a parameter acquisition message carrying the call quality parameter to a core network device, and receiving a parameter adjustment message sent by the core network device, where the parameter acquisition message is used to instruct the core network device to determine and return a preset call parameter matching the call quality parameter from a plurality of preset call parameters pre-stored in the core network device, the parameter adjustment message carries the preset call parameter matching the call quality parameter, and the parameter adjustment message is used to instruct the terminal to adjust the current call parameter based on the preset call parameter matching the call quality parameter;
adjusting the current call parameter to the determined preset call parameter; adding the determined preset call parameter in a designated field of a designated protocol, or modifying the current call parameter into the determined preset call parameter in the designated field of the designated protocol; carrying the determined preset call parameters to a communication opposite terminal by transmitting the specified protocol;
when the call quality parameters include the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold value within the preset time length, the preset call parameters matched with the call quality parameters are the minimum codec sampling rate and the adaptive multi-rate AMR coding format in the preset call parameters; when the packet loss rate is smaller than the first preset threshold value within the preset duration, the preset call parameters matched with the call quality parameters are the maximum codec sampling rate and the EVS (enhanced voice call service) encoding format in the preset call parameters;
when the call quality parameters comprise the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, the preset call parameters matched with the call quality parameters are the maximum codec sampling rate and the EVS coding format in the preset call parameters; and when the network signal strength is smaller than the second preset threshold value within the preset duration, the preset call parameter matched with the call quality parameter is the minimum codec sampling rate and the AMR coding format in the plurality of preset call parameters.
2. The method of claim 1, wherein the specified protocol comprises a Session Initiation Protocol (SIP) or a real-time transport control protocol (RTCP).
3. An apparatus for adjusting call parameters, applied to a voice over long term evolution (VoLTE) technology, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a call quality parameter in a preset time length in the call process, the preset time length is set by a terminal default or a user self-defining, the call quality parameter comprises any one of a packet loss rate and network signal strength, and the packet loss rate is the ratio of the number of lost data packets to the number of voice data packets in the voice data packet transmission process;
the determining module is used for determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters stored in the terminal in advance based on the call quality parameter, wherein the plurality of preset call parameters comprise a codec sampling rate and a coding format; alternatively, the first and second electrodes may be,
the determining module includes:
a sending unit, configured to send a parameter acquisition message carrying the call quality parameter to a core network device based on the call quality parameter, where the parameter acquisition message is used to instruct the core network device to determine and return a preset call parameter matching the call quality parameter from a plurality of preset call parameters pre-stored in the core network device;
a receiving unit, configured to receive a parameter adjustment message sent by the core network device, where the parameter adjustment message carries a preset call parameter matching the call quality parameter, and the parameter adjustment message is used to instruct the terminal to adjust a current call parameter based on the preset call parameter matching the call quality parameter;
the adjusting module is used for adjusting the current call parameter to the determined preset call parameter; adding the determined preset call parameter in a designated field of a designated protocol, or modifying the current call parameter into the determined preset call parameter in the designated field of the designated protocol; carrying the determined preset call parameters to a communication opposite terminal by transmitting the specified protocol;
when the call quality parameters include the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold value within the preset time length, the preset call parameters matched with the call quality parameters are the minimum codec sampling rate and the adaptive multi-rate AMR coding format in the preset call parameters; when the packet loss rate is smaller than the first preset threshold value within the preset duration, the preset call parameters matched with the call quality parameters are the maximum codec sampling rate and the EVS (enhanced voice call service) encoding format in the preset call parameters;
when the call quality parameters comprise the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, the preset call parameters matched with the call quality parameters are the maximum codec sampling rate and the EVS coding format in the preset call parameters; and when the network signal strength is smaller than the second preset threshold value within the preset duration, the preset call parameter matched with the call quality parameter is the minimum codec sampling rate and the AMR coding format in the plurality of preset call parameters.
4. The apparatus of claim 3, wherein the specified protocol comprises a Session Initiation Protocol (SIP) or a real-time transport control protocol (RTCP).
5. An apparatus for adjusting call parameters, applied to a voice over long term evolution (VoLTE) technology, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in the call process, obtaining call quality parameters in a preset time length, wherein the preset time length is set by terminal default or user definition, the call quality parameters comprise any one of packet loss rate and network signal strength, and the packet loss rate refers to the ratio of the number of lost data packets to the number of voice data packets in the process of transmitting the voice data packets;
determining a preset call parameter matched with the call quality parameter from a plurality of preset call parameters prestored in the terminal based on the call quality parameter, wherein the plurality of preset call parameters comprise codec sampling rate and coding format; or, based on the call quality parameter, sending a parameter acquisition message carrying the call quality parameter to a core network device, and receiving a parameter adjustment message sent by the core network device, where the parameter acquisition message is used to instruct the core network device to determine and return a preset call parameter matching the call quality parameter from a plurality of preset call parameters pre-stored in the core network device, the parameter adjustment message carries the preset call parameter matching the call quality parameter, and the parameter adjustment message is used to instruct the terminal to adjust the current call parameter based on the preset call parameter matching the call quality parameter;
adjusting the current call parameter to the determined preset call parameter; adding the determined preset call parameter in a designated field of a designated protocol, or modifying the current call parameter into the determined preset call parameter in the designated field of the designated protocol; carrying the determined preset call parameters to a communication opposite terminal by transmitting the specified protocol;
when the call quality parameters include the packet loss rate and the packet loss rate is greater than or equal to a first preset threshold value within the preset time length, the preset call parameters matched with the call quality parameters are the minimum codec sampling rate and the adaptive multi-rate AMR coding format in the preset call parameters; when the packet loss rate is smaller than the first preset threshold value within the preset duration, the preset call parameters matched with the call quality parameters are the maximum codec sampling rate and the EVS (enhanced voice call service) encoding format in the preset call parameters;
when the call quality parameters comprise the network signal strength and the network signal strength is greater than or equal to a second preset threshold value within the preset duration, the preset call parameters matched with the call quality parameters are the maximum codec sampling rate and the EVS coding format in the preset call parameters; and when the network signal strength is smaller than the second preset threshold value within the preset duration, the preset call parameter matched with the call quality parameter is the minimum codec sampling rate and the AMR coding format in the plurality of preset call parameters.
6. A computer readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of the method of any of claims 1-2.
CN201610339877.2A 2016-05-20 2016-05-20 Method and device for adjusting call parameters Active CN107404462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610339877.2A CN107404462B (en) 2016-05-20 2016-05-20 Method and device for adjusting call parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610339877.2A CN107404462B (en) 2016-05-20 2016-05-20 Method and device for adjusting call parameters

Publications (2)

Publication Number Publication Date
CN107404462A CN107404462A (en) 2017-11-28
CN107404462B true CN107404462B (en) 2021-03-23

Family

ID=60389281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610339877.2A Active CN107404462B (en) 2016-05-20 2016-05-20 Method and device for adjusting call parameters

Country Status (1)

Country Link
CN (1) CN107404462B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102816B (en) * 2018-08-14 2020-12-29 Oppo广东移动通信有限公司 Encoding control method and device and electronic equipment
CN111107561B (en) * 2018-10-29 2022-07-19 展讯通信(上海)有限公司 DRX parameter obtaining and configuring method, user terminal, base station and readable storage medium
CN111294447A (en) * 2020-02-17 2020-06-16 Oppo广东移动通信有限公司 Noise reduction method and device, electronic equipment and storage medium
CN114760603B (en) * 2022-04-19 2023-09-05 安天科技集团股份有限公司 Communication method, device, core network equipment and system of mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764184A (en) * 2005-10-20 2006-04-26 中兴通讯股份有限公司 Real-time flow media communication transmission system and method
EP2323295A2 (en) * 1998-03-16 2011-05-18 Sony Corporation A method and apparatus for assigning codes
CN103259945A (en) * 2013-05-20 2013-08-21 苏州洲际传书信息科技有限公司 Method for achieving speech coding dynamic switching in voip conversation according to network condition
CN103916367A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and apparatus for transmission of multimedia data
CN104320385A (en) * 2014-10-10 2015-01-28 中麦通信网络有限公司 Mobile terminal voice communication implementation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2323295A2 (en) * 1998-03-16 2011-05-18 Sony Corporation A method and apparatus for assigning codes
CN1764184A (en) * 2005-10-20 2006-04-26 中兴通讯股份有限公司 Real-time flow media communication transmission system and method
CN103916367A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and apparatus for transmission of multimedia data
CN103259945A (en) * 2013-05-20 2013-08-21 苏州洲际传书信息科技有限公司 Method for achieving speech coding dynamic switching in voip conversation according to network condition
CN104320385A (en) * 2014-10-10 2015-01-28 中麦通信网络有限公司 Mobile terminal voice communication implementation method and device

Also Published As

Publication number Publication date
CN107404462A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN109076561B (en) Resource allocation method and device
WO2017107470A1 (en) Method and device for establishing wireless connection
CN107404462B (en) Method and device for adjusting call parameters
CN105094732A (en) Screen display method and apparatus
CN112114765A (en) Screen projection method and device and storage medium
US10009283B2 (en) Method and device for processing information
EP2986020A1 (en) Method and apparatus for adjusting video quality based on network environment
CN111654354A (en) Detection method, device and storage medium of Maximum Transmission Unit (MTU)
CN111010721A (en) Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN105227426B (en) Application interface switching method and device and terminal equipment
US10348793B2 (en) Method, device and medium for determining coding format
CN108401518B (en) Channel coordination method and device
WO2023015535A1 (en) Method and apparatus for performing small data transmission, method and apparatus for determining random access message transmission mode, device, and storage medium
CN110213531B (en) Monitoring video processing method and device
CN114898760A (en) Voice coding method, device, electronic equipment and storage medium
CN110268779B (en) Direct connection link data sending and direct connection link resource configuration method and device
EP3310022B1 (en) Method and apparatus for voice call
CN109565718B (en) Method and device for transmitting message
CN111800836A (en) Communication method, communication device, electronic equipment and storage medium
CN110945941B (en) Identification sending method, identification receiving method, information sending method and device
CN113489853B (en) Voice communication method and device, terminal and storage medium
WO2022147764A1 (en) Method and apparatus for accessing unlicensed channel, and device and storage medium
CN117278982B (en) Video call method, device, equipment and storage medium
WO2023028926A1 (en) Auxiliary information-based method and apparatus for resource selection, and storage medium
WO2024016344A1 (en) Reception parameter adjusting methods and apparatuses, and storage medium

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
GR01 Patent grant
GR01 Patent grant