CN107404462A - Adjust the method and device of session parameter - Google Patents

Adjust the method and device of session parameter Download PDF

Info

Publication number
CN107404462A
CN107404462A CN201610339877.2A CN201610339877A CN107404462A CN 107404462 A CN107404462 A CN 107404462A CN 201610339877 A CN201610339877 A CN 201610339877A CN 107404462 A CN107404462 A CN 107404462A
Authority
CN
China
Prior art keywords
parameter
speech quality
default session
session parameter
default
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.)
Granted
Application number
CN201610339877.2A
Other languages
Chinese (zh)
Other versions
CN107404462B (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

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)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure is directed to a kind of method and device for adjusting session parameter, it is related to communication technical field.The disclosure is in communication process, obtain the speech quality parameter in preset duration, based on the speech quality parameter, the default session parameter matched with the speech quality parameter is determined from multiple default session parameters, it is identified default session parameter by current talking parameter adjustment, and session parameter is preset by determined by by specified protocol and sent to Correspondent Node, so, when speech quality changes, it accordingly can dynamically adjust session parameter, to adapt to current speech quality parameter, adaptability is improved.

Description

Adjust the method and device of session parameter
Technical field
This disclosure relates to communication technical field, more particularly to the method and device of adjustment session parameter.
Background technology
With the fast development of the communication technology, VoLTE (Voice over LTE (Long Term Evolution, Long Term Evolution), the speech business on LTE) technology arises at the historic moment, and the VoLTE is a kind of IP (Internet Protocol, procotol) data transmission technology, it that is to say, by the VoLTE technologies, terminal can lead to Cross IP network and realize voice calling service.Wherein, during voice calling service is realized, it usually needs right Session parameter is held consultation, for example, the session parameter includes sample rate or coded format of codec etc..
At present, in VoLTE technologies, the session parameter typically is consulted when establishing call connection, It is that, when establishing call connection, terminal passes through SIP (Session Initiation Protocol, conversation initial Change agreement) consult session parameter with Correspondent Node, for example, sample rate is 8 KHzs, coded format EVS (Enhanced Voice Services, enhanced voice service) etc..Terminal passes through the SIP and the communication pair After end consults session parameter, in voice call process, the session parameter is usually fixed constant.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method and dress for adjusting session parameter Put.
First aspect, there is provided a kind of method for adjusting session parameter, methods described include:
In communication process, the speech quality parameter in preset duration is obtained;
Based on the speech quality parameter, determined and the speech quality parameter from multiple default session parameters The default session parameter of matching;
It is identified default session parameter by current talking parameter adjustment, and will be determined by specified protocol Default session parameter send to Correspondent Node.
Alternatively, the speech quality parameter includes any of packet loss and network signal intensity, described to lose Bag rate refers to that lost data packets quantity in transmitting audio data packet procedures accounts for the ratio of VoP quantity.
Alternatively, the multiple default session parameter is included in codec sample rate and coded format at least One.
Alternatively, it is described to be based on the speech quality parameter, from multiple default session parameters determine with it is described The default session parameter of speech quality parameter matching, including:
When the speech quality parameter includes the packet loss, and the packet loss is big in the preset duration When the first predetermined threshold value, the in the multiple default session parameter first default session parameter is determined For the default session parameter matched with the speech quality parameter, the described first default session parameter includes minimum It is at least one in codec sample rate and AMR AMR coded formats;
, will be the multiple pre- when the packet loss is less than first predetermined threshold value in the preset duration If the second default session parameter is defined as the default call ginseng matched with the speech quality parameter in session parameter Number, the described second default session parameter include maximum codec sample rate and enhanced voice call service It is at least one in EVS coded formats.
Alternatively, it is described to be based on the speech quality parameter, from multiple default session parameters determine with it is described The default session parameter of speech quality parameter matching, including:
When the speech quality parameter includes the network signal intensity, and the network signal intensity is described When being more than or equal to the second predetermined threshold value in preset duration, in the multiple default session parameter second is preset Session parameter is defined as the default session parameter matched with the speech quality parameter, the described second default call Parameter is included at least one in maximum codec sample rate and enhanced voice call service EVS coded formats It is individual;
When the network signal intensity is less than second predetermined threshold value in the preset duration, by described in What the first default session parameter was defined as matching with the speech quality parameter in multiple default session parameters presets Session parameter, the described first default session parameter are included in minimum codec sample rate and AMR coded formats It is at least one.
Alternatively, it is described to be based on the speech quality parameter, from multiple default session parameters determine with it is described The default session parameter of speech quality parameter matching, including any of mode is implemented as described below:
When the speech quality parameter includes the packet loss, from multiple first preset ranges, institute is determined Packet loss the first preset range residing in the preset duration is stated, from the multiple default session parameter, Determine to preset session parameter corresponding to the packet loss the first preset range residing in the preset duration, The default session parameter that identified default session parameter is defined as matching with the speech quality parameter;
When the speech quality parameter includes the network signal intensity, from multiple second preset ranges, The network signal intensity the second preset range residing in the preset duration is determined, from the multiple pre- If in session parameter, determine the network signal intensity the second preset range residing in the preset duration Corresponding default session parameter, identified default session parameter is defined as and the speech quality parameter The default session parameter matched somebody with somebody.
Alternatively, the specified protocol includes Session initiation protocol SIP or RTCP Real-time Transport Control Protocol RTCP.
Alternatively, it is described to be based on the speech quality parameter, from multiple default session parameters determine with it is described The default session parameter of speech quality parameter matching, including:
Parameter acquiring message is sent to equipment of the core network, the parameter acquiring message carries the speech quality ginseng Number, the parameter acquiring message are used to indicate the equipment of the core network from the multiple default session parameter really Determine and return the default session parameter matched with the speech quality parameter;
Receive the parameter adjustment message that the equipment of the core network is sent, the parameter adjustment message carry with it is described The default session parameter of speech quality parameter matching, the parameter adjustment message are used to indicate that the terminal is based on The default session parameter matched with the speech quality parameter, is adjusted to current talking parameter.
Second aspect, there is provided a kind of device for adjusting session parameter, described device include:
Acquisition module, in communication process, obtaining the speech quality parameter in preset duration;
Determining module, for based on the speech quality parameter, being determined from multiple default session parameters and institute State the default session parameter of speech quality parameter matching;
Adjusting module, for being identified default session parameter by current talking parameter adjustment, and pass through finger Determine agreement default session parameter by determined by send to Correspondent Node.
Alternatively, the speech quality parameter includes any of packet loss and network signal intensity, described to lose Bag rate refers to that lost data packets quantity in transmitting audio data packet procedures accounts for the ratio of VoP quantity.
Alternatively, the multiple default session parameter is included in codec sample rate and coded format at least One.
Alternatively, the determining module includes:
First determining unit, for including the packet loss, and the packet loss when the speech quality parameter When being more than or equal to the first predetermined threshold value in the preset duration, by the multiple default session parameter One default session parameter is defined as the default session parameter matched with the speech quality parameter, and described first is pre- If session parameter is included at least one in minimum codec sample rate and AMR AMR coded formats It is individual;
Second determining unit, for being less than the described first default threshold in the preset duration when the packet loss During value, the in the multiple default session parameter second default session parameter is defined as joining with the speech quality The default session parameter of number matching, the described second default session parameter include maximum codec sample rate and increasing It is at least one in strong type voice call service EVS coded formats.
Alternatively, the determining module also includes:
3rd determining unit, for including the network signal intensity when the speech quality parameter, and it is described , will be the multiple default when network signal intensity is more than or equal to the second predetermined threshold value in the preset duration The second default session parameter is defined as the default call ginseng matched with the speech quality parameter in session parameter Number, the described second default session parameter include maximum codec sample rate and enhanced voice call service It is at least one in EVS coded formats;
4th determining unit, for being less than described second in the preset duration when the network signal intensity During predetermined threshold value, the in the multiple default session parameter first default session parameter is defined as and the call The default session parameter of mass parameter matching, the described first default session parameter sample including minimum codec It is at least one in rate and AMR coded formats.
Alternatively, the determining module also includes:
5th determining unit, for when the speech quality parameter includes the packet loss, from multiple first In preset range, the packet loss the first preset range residing in the preset duration is determined, from described In multiple default session parameters, the packet loss the first preset range residing in the preset duration is determined Corresponding default session parameter, identified default session parameter is defined as and the speech quality parameter The default session parameter matched somebody with somebody;
6th determining unit, for when the speech quality parameter includes the network signal intensity, from more In individual second preset range, determine that the network signal intensity is residing second default in the preset duration Scope, from the multiple default session parameter, determine the network signal intensity in the preset duration Corresponding to the second residing preset range preset session parameter, by identified default session parameter be defined as with The default session parameter of the speech quality parameter matching.
Alternatively, the specified protocol includes Session initiation protocol SIP or RTCP Real-time Transport Control Protocol RTCP.
Alternatively, the determining module includes:
Transmitting element, for sending parameter acquiring message to equipment of the core network, the parameter acquiring message carries The speech quality parameter, the parameter acquiring message are used to indicate the equipment of the core network from the multiple pre- If the default session parameter matched with the speech quality parameter is determined and returned in session parameter;
Receiving unit, the parameter adjustment message sent for receiving the equipment of the core network, the parameter adjustment Message carries the default session parameter matched with the speech quality parameter, and the parameter adjustment message is used to refer to Show that the terminal based on the default session parameter matched with the speech quality parameter, is entered to current talking parameter Row adjustment.
The third aspect, there is provided a kind of device for adjusting session parameter, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
In communication process, the speech quality parameter in preset duration is obtained;
Based on the speech quality parameter, determined and the speech quality parameter from multiple default session parameters The default session parameter of matching;
It is identified default session parameter by current talking parameter adjustment, and will be determined by specified protocol Default session parameter send to Correspondent Node.
The technical scheme provided by this disclosed embodiment can include the following benefits:In communication process, Terminal obtains the speech quality parameter in preset duration, wherein, the speech quality parameter can serve to indicate that Speech quality in the preset duration, when detecting that the speech quality parameter changes, you can based on this Speech quality parameter in preset duration, is adjusted to session parameter, that is to say, terminal is based on the call Mass parameter, the default session parameter matched with the speech quality parameter is determined from multiple default session parameters, And current talking parameter adjustment is preset into session parameter to be identified, in this way, being changed in speech quality When, session parameter accordingly can be dynamically adjusted, to adapt to current speech quality parameter, improves adaptation Property.In addition, in order to notify that Correspondent Node session parameter is changed, the terminal will also by specified protocol Identified default session parameter is sent to the Correspondent Node.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, The disclosure can not be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows and meets the disclosure Embodiment, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of method flow diagram of adjustment session parameter according to an exemplary embodiment.
Fig. 2 is a kind of method flow diagram of adjustment session parameter according to another exemplary embodiment.
Fig. 3 is a kind of block diagram of the device of adjustment session parameter according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the device 400 of adjustment session parameter according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following retouches State when being related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they are only and some aspects phase one being described in detail in such as appended claims, the disclosure The example of the apparatus and method of cause.
In the disclosed embodiments, the method for the adjustment session parameter can be performed by terminal, and the terminal is at least It can be used for realizing VoLTE voice calls, wherein, the terminal can be that the call of such as mobile phone or the like is set It is standby.
Fig. 1 is a kind of method flow diagram of adjustment session parameter according to an exemplary embodiment, the tune The method of whole session parameter can include following steps:
In a step 101, in communication process, the speech quality parameter in preset duration is obtained.
In a step 102, based on the speech quality parameter, determined from multiple default session parameters logical with this Talk about the default session parameter of mass parameter matching.
In step 103, it is identified default session parameter by current talking parameter adjustment, and passes through finger Determine agreement default session parameter by determined by send to Correspondent Node.
In the disclosed embodiments, in communication process, terminal obtains the speech quality parameter in preset duration, Wherein, the speech quality parameter can serve to indicate that the speech quality in the preset duration, when detecting that this is logical When words mass parameter changes, you can based on speech quality parameter in the preset duration, session parameter is entered Row adjustment, it that is to say, terminal is based on the speech quality parameter, determine and be somebody's turn to do from multiple default session parameters The default session parameter of speech quality parameter matching, and be identified default logical by current talking parameter adjustment Parameter is talked about, in this way, when speech quality changes, accordingly can dynamically adjust session parameter, with suitable Should before speech quality parameter, improve adaptability.In addition, in order to notify Correspondent Node session parameter to send out Change is given birth to, the terminal is also preset session parameter by determined by by specified protocol and sent to the Correspondent Node.
Alternatively, the speech quality parameter includes any of packet loss and network signal intensity, the packet loss Refer to that lost data packets quantity in transmitting audio data packet procedures accounts for the ratio of VoP quantity.
Alternatively, the plurality of default session parameter is included at least one in codec sample rate and coded format It is individual.
Alternatively, the speech quality parameter should be based on, be determined and the call matter from multiple default session parameters The default session parameter of parameter matching is measured, including:
When the speech quality parameter includes the packet loss, and the packet loss is more than or equal in the preset duration During the first predetermined threshold value, the in the plurality of default session parameter first default session parameter is defined as and the call The default session parameter of mass parameter matching, the first default session parameter include minimum codec sample rate With it is at least one in AMR AMR coded formats;
When the packet loss is less than first predetermined threshold value in the preset duration, the plurality of default call is joined The second default session parameter is defined as the default session parameter matched with the speech quality parameter in number, and this second Default session parameter is included in maximum codec sample rate and enhanced voice call service EVS coded formats It is at least one.
Alternatively, the speech quality parameter should be based on, be determined and the call matter from multiple default session parameters The default session parameter of parameter matching is measured, including:
When the speech quality parameter includes the network signal intensity, and the network signal intensity is in the preset duration It is when being inside more than or equal to the second predetermined threshold value, the in the plurality of default session parameter second default session parameter is true It is set to the default session parameter matched with the speech quality parameter, the second default session parameter includes maximum compile It is at least one in decoder sample rate and enhanced voice call service EVS coded formats;
, will be the plurality of default when the network signal intensity is less than second predetermined threshold value in the preset duration The first default session parameter is defined as the default session parameter matched with the speech quality parameter in session parameter, The first default session parameter includes at least one in minimum codec sample rate and AMR coded formats.
Alternatively, the speech quality parameter should be based on, be determined and the call matter from multiple default session parameters The default session parameter of parameter matching is measured, including any of mode is implemented as described below:
When the speech quality parameter includes the packet loss, from multiple first preset ranges, the packet loss is determined Rate the first preset range residing in the preset duration, from the plurality of default session parameter, it is determined that this is lost Session parameter is preset corresponding to bag rate the first preset range residing in the preset duration, it is pre- by determined by If session parameter is defined as the default session parameter matched with the speech quality parameter;
When the speech quality parameter includes the network signal intensity, from multiple second preset ranges, it is determined that The network signal intensity the second preset range residing in the preset duration, from the plurality of default session parameter In, determine to preset call corresponding to the network signal intensity the second preset range residing in the preset duration Parameter, the default session parameter that identified default session parameter is defined as matching with the speech quality parameter.
Alternatively, the specified protocol includes Session initiation protocol SIP or RTCP Real-time Transport Control Protocol RTCP.
Alternatively, based on the speech quality parameter, determined and the speech quality from multiple default session parameters The default session parameter of parameter matching, including:
Parameter acquiring message is sent to equipment of the core network, the parameter acquiring message carries the speech quality parameter, The parameter acquiring message be used for indicate the equipment of the core network determined from the plurality of default session parameter and return with The default session parameter of speech quality parameter matching;
The parameter adjustment message of equipment of the core network transmission is received, the parameter adjustment message carries and the call matter Measure parameter matching default session parameter, the parameter adjustment message be used for indicate the terminal be based on it is described The default session parameter of speech quality parameter matching, is adjusted to current talking parameter.
Above-mentioned all optional technical schemes, the alternative embodiment of the disclosure can be formed according to any combination, this Open embodiment no longer repeats this one by one.
Fig. 2 is a kind of method flow diagram of adjustment session parameter according to another exemplary embodiment, this Embodiment is used to be illustrated in terminal in the method for the adjustment session parameter, the adjustment session parameter Method can include following steps:
In step 201, in communication process, the speech quality parameter in preset duration is obtained.
In voice call process is realized, terminal needs to consult session parameter with Correspondent Node, for example, it is desired to Consult the size of codec sample rate or used coded format etc..At present, terminal initially set up it is logical Session parameter is consulted during words with Correspondent Node, also, the session parameter no longer changes in communication process.
But because terminal is likely to constantly moving in communication process, for example, terminal be likely to from The strong region of network signal is moved to the region of network signal difference, in this case, above-mentioned to establish call When the session parameter that consults with Correspondent Node be likely to that current call demand can not be adapted to, so as to Voice distortion can be caused, such as, call is intermittent etc..
Therefore, in the disclosed embodiments, during call, terminal obtains the call in preset duration Mass parameter, and the speech quality parameter is based on, judge whether to need to be adjusted current session parameter, In this way, terminal is different according to the speech quality parameter, the session parameter can be dynamically adjusted so that the call Parameter can adapt in current call demand.
Wherein, the speech quality parameter includes any of packet loss and network signal intensity, and the packet loss is Refer to the ratio that lost data packets quantity in transmitting audio data packet procedures accounts for VoP quantity.
Wherein, above-mentioned preset duration can be by user's self-defined setting according to the actual requirements, can also be by terminal Default setting, the embodiment of the present disclosure are not limited this.
It should be noted that in the disclosed embodiments, be only with the speech quality parameter include packet loss and Illustrated exemplified by any of network signal intensity, in another embodiment, the speech quality parameter may be used also Not limited this including other parameters, the embodiment of the present disclosure.
In step 202, based on the speech quality parameter, determined from multiple default session parameters logical with this Talk about the default session parameter of mass parameter matching.
Wherein, based on the speech quality parameter, determine to join with the speech quality from multiple default session parameters The default session parameter of number matching can include following any possible implementation:
First way:The speech quality parameter is based on by the terminal oneself, from multiple default session parameters It is determined that the default session parameter matched with the speech quality parameter.Wherein, in this kind of implementation, the end The plurality of default session parameter is previously stored with end.
The second way:The terminal will send parameter acquiring message to equipment of the core network, the parameter acquiring message The speech quality parameter is carried, the parameter acquiring message is used to indicate that the equipment of the core network leads to from the plurality of preset The default session parameter matched with the speech quality parameter is determined and returned in words parameter, is received the core net and is set The parameter adjustment message that preparation is sent, parameter adjustment message carrying match default logical with the speech quality parameter Parameter is talked about, the parameter adjustment message is used to indicate that the terminal is default logical based on what is matched with the speech quality parameter Parameter is talked about, current talking parameter is adjusted.
In this kind of implementation, the equipment of the core network is previously stored with the plurality of default session parameter, terminal After sending parameter acquiring message to the equipment of the core network, the equipment of the core network is from the plurality of default session parameter It is determined that the default session parameter matched with the speech quality parameter, and the default session parameter based on determined by, Parameter adjustment message is generated, afterwards, the parameter adjustment message is sent to the terminal, phase by the equipment of the core network Ying Di, it is pre- determined by extraction from the parameter adjustment message after the terminal receives the parameter adjustment message If session parameter.
Wherein, in a kind of possible implementation, the parameter adjustment message can be sent by specified protocol To the terminal, wherein, the specified protocol include SIP or RTCP (Real Time Transport Control, RTCP Real-time Transport Control Protocol).
It should be noted that in above two implementation, terminal and equipment of the core network lead to from multiple preset It is similar with the specific implementation process of the default session parameter of speech quality parameter matching to talk about determination in parameter, under Introduction is made a distinction in text not to this.
In addition, it is necessary to explanation, in the disclosed embodiments, be only with the specified protocol include SIP or Illustrated exemplified by RTCP, in another embodiment, the specified protocol can also include other agreements, this public affairs Embodiment is opened not limit this.
Wherein, above-mentioned multiple default session parameters are included at least one in codec sample rate and coded format It is individual.Wherein, when the plurality of default session parameter is simultaneously including the codec sample rate with the coded format, Terminal can be adjusted to the codec sample rate and the coded format simultaneously, can also be only to the volume solution Code any of device sample rate and the coded format are adjusted.
Wherein, it is different according to speech quality parameter, it is above-mentioned to be based on the speech quality parameter, lead to from multiple preset The default session parameter for determining to match with the speech quality parameter in words parameter can include following (1)-(2) It is any in implementation:
(1), when this, which presets session parameter, includes lost data packets data, based on the speech quality parameter, The default session parameter for determining to match with the speech quality parameter from multiple default session parameters can be included such as It is any in lower a-b implementations:
A, when the speech quality parameter includes packet loss, and the packet loss is more than or equal in the preset duration During the first predetermined threshold value, the in the plurality of default session parameter first default session parameter is defined as and the call The default session parameter of mass parameter matching, the first default session parameter include minimum codec sample rate With it is at least one in AMR (Adaptive Multi Rate, AMR) coded format.
In this kind of implementation, when packet loss is more than or equal to the first predetermined threshold value in preset duration, then The network signal for illustrating to be likely to current is poor, in this case, if using larger codec Sample rate or complex coded format, and for example, EVS (Enhanced Voice Services, it is enhanced Voice call service), then the data volume transmitted will be very big, will cause the bit error rate high in transmitting procedure, from And causing the quantity of packet loss packet more, the easy distortion of voice, therefore, in this case, terminal is led to Frequently with less codec sample rate, or better simply coded format, or less volume is used simultaneously Decoder sample rate and better simply coded format, that is to say, terminal is detecting packet loss in preset duration Inside it is more than or equal to the first predetermined threshold value, the first default session parameter is defined as and the speech quality parameter The default session parameter matched somebody with somebody.
Conversely, when the packet loss is less than first predetermined threshold value in the preset duration, will be the plurality of default The second default session parameter is defined as the default session parameter matched with the speech quality parameter in session parameter, The second default session parameter includes maximum codec sample rate and enhanced voice call service EVS is encoded It is at least one in form.
It that is to say, when the packet loss is less than first predetermined threshold value in the preset duration, illustrate that network is believed Number preferably, in this case, terminal can use larger codec sample rate, more complicated coding Form, to reach the effect of high definition voice call.
Wherein, above-mentioned first predetermined threshold value can be by user's self-defined setting according to the actual requirements, can also be by Terminal default setting, the embodiment of the present disclosure are not limited this.
B, when the speech quality parameter includes packet loss, from multiple first preset ranges, when determining that this is default The first preset range in length residing for packet loss, from multiple default session parameters, determine in the preset duration Session parameter is preset corresponding to the first preset range residing for packet loss, it is true that session parameter is preset by determined by It is set to the default session parameter matched with the speech quality parameter.
Wherein, the plurality of first preset range can be by user's self-defined setting according to the actual requirements, can also By terminal default setting, the embodiment of the present disclosure is not limited this.
Compared with above-mentioned a implementations, in this kind of implementation, packet loss situation is divided into multiple Scope, correspondingly, the session parameter also include it is multiple, using the session parameter include codec sample rate as Example, in this case, the codec sample rate not only only include minimum codec sample rate and most Big codec sample rate, for example, for packet loss it is larger in the case of, the codec sample rate can be with Including multiple smaller codec sample rates, for example, the codec sample rate can include 500Hz, 1000Hz, 1500Hz and 2000Hz, terminal are selected from the plurality of smaller codec sample rate with being somebody's turn to do Codec sample rate corresponding to the first preset range in preset duration residing for packet loss, and will be selected Codec sample rate is defined as the session parameter matched with the speech quality parameter.
Similarly, when packet loss is smaller in the preset duration, the codec sample rate includes multiple larger volumes Decoder sample rate, in this case, it is determined that the process of the session parameter matched with the speech quality parameter It is similar to the above, it is not detailed herein.
In addition, in this kind of implementation, when the session parameter includes coded system, the coded system also may be used So that including multiple, the principle that its principle includes codec sample rate with above-mentioned session parameter is similar, here not It is described in detail again.Certainly, the coded system can also only include AMR and two kinds of EVS, in such case Under, session parameter can be adjusted with reference to multiple codec sample rates, the embodiment of the present disclosure to this not Limit.
(2), when this, which presets session parameter, includes network signal intensity, based on the speech quality parameter, from It is as follows to determine that the default session parameter matched with the speech quality parameter can include in multiple default session parameters It is any in c-d implementations:
C, when the speech quality parameter includes the network signal intensity, and the network signal intensity is when this is preset When being more than or equal to the second predetermined threshold value in long, by the in the plurality of default session parameter second default session parameter It is defined as the default session parameter matched with the speech quality parameter, the second default session parameter includes maximum It is at least one in codec sample rate and EVS coded formats.
Conversely, when the network signal intensity is less than second predetermined threshold value in the preset duration, this is more The first default session parameter is defined as the default call matched with the speech quality parameter in individual default session parameter Parameter, the first default session parameter are included at least one in minimum codec sample rate and AMR coded formats It is individual.
Wherein, the principle is similar with the principle in above-mentioned a implementations, is not detailed herein.
Wherein, above-mentioned second predetermined threshold value can be by user's self-defined setting according to the actual requirements, can also be by Terminal default setting, the embodiment of the present disclosure are not limited this.
D, when the speech quality parameter includes network signal intensity, from multiple second preset ranges, it is determined that The network signal intensity the second preset range residing in the preset duration, from the plurality of default session parameter In, determine to preset call corresponding to the network signal intensity the second preset range residing in the preset duration Parameter, the default session parameter that identified default session parameter is defined as matching with the speech quality parameter.
Wherein, the plurality of second preset range can also may be used by user's self-defined setting according to the actual requirements Not limited this by terminal default setting, the embodiment of the present disclosure.
Wherein, the principle is similar with the principle in above-mentioned b implementations, is not detailed herein.
It should be noted that only it is to use AMR to compile when speech quality is poor in the disclosed embodiments Code form, when speech quality is preferable using being illustrated exemplified by EVS coded formats, in another embodiment, For above-mentioned two situations, other coded formats can also be respectively adopted, the embodiment of the present disclosure is not limited this It is fixed.
In addition, it is necessary to explanation, is wrapped with the plurality of default session parameter in the disclosed embodiments Include it is at least one in codec sample rate and coded format exemplified by illustrate, in another embodiment, should Each default session parameter can also include other parameters, the embodiment of the present disclosure pair in multiple default session parameters This is not limited.
In step 203, it is identified default session parameter by current talking parameter adjustment, and passes through finger Determine agreement default session parameter by determined by send to Correspondent Node.
Wherein, identified default session parameter is sent to the specific implementation of Correspondent Node by specified protocol Process can include:Terminal can be added in the specific field of the specified protocol determined by session parameter, Or current session parameter is revised as identified session parameter in the specific field, and pass through biography The defeated specified protocol, default session parameter is carried to Correspondent Node by determined by.
For example, when the specified protocol includes SIP, terminal can be in the SDP (Session in the Session Initiation Protocol Description Protocol, Session Description Protocol) in current session parameter is revised as identified call Parameter, and sent by the Session Initiation Protocol to the Correspondent Node.
In the disclosed embodiments, in communication process, terminal obtains the speech quality parameter in preset duration, Wherein, the speech quality parameter can serve to indicate that the speech quality in the preset duration, when detecting that this is logical When words mass parameter changes, you can based on speech quality parameter in the preset duration, session parameter is entered Row adjustment, it that is to say, terminal is based on the speech quality parameter, determine and be somebody's turn to do from multiple default session parameters The default session parameter of speech quality parameter matching, and be identified default logical by current talking parameter adjustment Parameter is talked about, in this way, when speech quality changes, accordingly can dynamically adjust session parameter, with suitable Should before speech quality parameter, improve adaptability.In addition, in order to notify Correspondent Node session parameter to send out Change is given birth to, the terminal is also preset session parameter by determined by by specified protocol and sent to the Correspondent Node.
In addition, it is necessary to explanation, in embodiments of the present invention, be only with communication process by the terminal The speech quality parameter in preset duration is obtained, and is based on the speech quality parameter, from multiple default call ginsengs Illustrated exemplified by the default session parameter for determining to match with the speech quality parameter in number, in another embodiment In, can also by signal intensity of the equipment of the core network based on cell where present terminal, it is determined that with the current end The session parameter of the signal intensity matching of cell where end, afterwards, this is sent to by identified session parameter Terminal, to indicate that terminal session parameter based on determined by is adjusted to current talking parameter.
It that is to say, in communication process, survey that equipment of the core network reports according to network coverage situation and terminal Amount report, it is determined that be currently located the session parameter that the signal intensity of cell matches with the terminal, and to the terminal Parameter adjustment message is sent, session parameter, the terminal determined by carrying receive in the parameter adjustment message After the parameter adjustment message, current session parameter is adjusted to identified session parameter.The present invention is implemented Example is not limited this.
Wherein, signal intensity of the above-mentioned equipment of the core network based on cell where present terminal, it is determined that current with this The session parameter of the signal intensity matching of cell where terminal, net is based on terminal in above-mentioned implementation (2) Network signal intensity, the default call ginseng matched with the speech quality parameter is determined from multiple default session parameters Number similarly, repeats no more here.
Fig. 3 is a kind of device block diagram of adjustment session parameter according to an exemplary embodiment.The adjustment The device of session parameter can be implemented in combination with by software, hardware or both, the dress of the adjustment session parameter Put including:
Acquisition module 310, in communication process, obtaining the speech quality parameter in preset duration;
Determining module 320, for based on the speech quality parameter, determining and being somebody's turn to do from multiple default session parameters The default session parameter of speech quality parameter matching;
Adjusting module 330, for being identified default session parameter by current talking parameter adjustment, and pass through Specified protocol is preset session parameter by determined by and sent to Correspondent Node.
Alternatively, the speech quality parameter includes any of packet loss and network signal intensity, the packet loss Refer to that lost data packets quantity in transmitting audio data packet procedures accounts for the ratio of VoP quantity.
Alternatively, the plurality of default session parameter is included at least one in codec sample rate and coded format It is individual.
Alternatively, the determining module 320 includes:
First determining unit, for including the packet loss when the speech quality parameter, and the packet loss is pre- at this If be more than or equal to the first predetermined threshold value in duration, by the in the plurality of default session parameter first default call Parameter is defined as the default session parameter matched with the speech quality parameter, and the first default session parameter includes It is at least one in minimum codec sample rate and AMR AMR coded formats;
Second determining unit, for when the packet loss is less than first predetermined threshold value in the preset duration, In the plurality of default session parameter second default session parameter is defined as matching with the speech quality parameter pre- If session parameter, the second default session parameter includes maximum codec sample rate and enhanced voice call Service at least one in EVS coded formats.
Alternatively, the determining module 320 also includes:
3rd determining unit, for including the network signal intensity when the speech quality parameter, and the network is believed When number intensity is more than or equal to the second predetermined threshold value in the preset duration, by the plurality of default session parameter Second default session parameter is defined as default session parameter match with the speech quality parameter, and this second is preset Session parameter is included in maximum codec sample rate and enhanced voice call service EVS coded formats at least One;
4th determining unit, for being less than the second default threshold in the preset duration when the network signal intensity During value, the in the plurality of default session parameter first default session parameter is defined as and the speech quality parameter The default session parameter matched somebody with somebody, the first default session parameter includes minimum codec sample rate and AMR is encoded It is at least one in form.
Alternatively, the determining module 320 also includes:
5th determining unit, for when the speech quality parameter includes the packet loss, being preset from multiple first In scope, the packet loss the first preset range residing in the preset duration is determined, is led to from the plurality of preset Talk about in parameter, determine to preset call corresponding to the packet loss the first preset range residing in the preset duration Parameter, the default session parameter that identified default session parameter is defined as matching with the speech quality parameter;
6th determining unit, for when the speech quality parameter includes the network signal intensity, from multiple In two preset ranges, the network signal intensity the second preset range residing in the preset duration is determined, from In the plurality of default session parameter, determine that the network signal intensity is residing second default in the preset duration Session parameter is preset corresponding to scope, identified default session parameter is defined as and the speech quality parameter The default session parameter of matching.
Alternatively, the specified protocol includes Session initiation protocol SIP or RTCP Real-time Transport Control Protocol RTCP.
The determining module 320 includes:
Transmitting element, for sending parameter acquiring message to equipment of the core network, the parameter acquiring message carries should Speech quality parameter, the parameter acquiring message are used to indicate the equipment of the core network from the plurality of default session parameter It is middle to determine and return to the default session parameter matched with the speech quality parameter;
Receiving unit, for receiving the parameter adjustment message of equipment of the core network transmission, the parameter adjustment message The default session parameter matched with the speech quality parameter is carried, the parameter adjustment message is described for indicating Terminal is adjusted based on the default session parameter matched with the speech quality parameter to current talking parameter.
In the disclosed embodiments, in communication process, terminal obtains the speech quality parameter in preset duration, Wherein, the speech quality parameter can serve to indicate that the speech quality in the preset duration, when detecting that this is logical When words mass parameter changes, you can based on speech quality parameter in the preset duration, session parameter is entered Row adjustment, it that is to say, terminal is based on the speech quality parameter, determine and be somebody's turn to do from multiple default session parameters The default session parameter of speech quality parameter matching, and be identified default logical by current talking parameter adjustment Parameter is talked about, in this way, when speech quality changes, accordingly can dynamically adjust session parameter, with suitable Should before speech quality parameter, improve adaptability.In addition, in order to notify Correspondent Node session parameter to send out Change is given birth to, the terminal is also preset session parameter by determined by by specified protocol and sent to the Correspondent Node.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation relevant It is described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the device 400 of adjustment session parameter according to an exemplary embodiment. For example, device 400 can be mobile phone, verbal system etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply module 406, multimedia groupware 408, audio-frequency assembly 410, the interface of input/output (I/O) 412, sensor cluster 414, and communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, call, count According to communication, camera operation and record operate associated operation.Processing component 402 can include one or more Individual processor 420 carrys out execute instruction, to complete all or part of step of above-mentioned method.In addition, processing Component 402 can include one or more modules, the interaction being easy between processing component 402 and other assemblies. For example, processing component 402 can include multi-media module, to facilitate multimedia groupware 408 and processing component Interaction between 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These The example of data includes the instruction of any application program or method for being operated on device 400, contact person Data, telephone book data, message, picture, video etc..Memory 404 can be by any kind of volatile Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), Programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, Disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include electricity Management system, one or more power supplys, and other are for device 400 with generating, managing and distributing power supply phase The component of association.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).Such as Fruit screen includes touch panel, and screen may be implemented as touch-screen, to receive the input signal from user. Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel. The touch sensor can the not only border of sensing touch or sliding action, but also detect and the touch Or the duration and pressure that slide is related.In certain embodiments, multimedia groupware 408 includes one Individual front camera and/or rear camera.When device 400 is in operator scheme, such as screening-mode or video During pattern, front camera and/or rear camera can receive outside multi-medium data.It is each preposition to take the photograph As head and rear camera can be a fixed optical lens system or have focal length and optical zoom energy Power.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes One microphone (MIC), when device 400 is in operator scheme, such as call model, logging mode and voice During recognition mode, microphone is configured as receiving external audio signal.The audio signal received can be entered One step is stored in memory 404 or sent via communication component 416.In certain embodiments, audio-frequency assembly 410 also include a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface, above-mentioned peripheral interface between processing component 402 and peripheral interface module Module can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, sound Measure button, start button and locking press button.
Sensor cluster 414 includes one or more sensors, for providing various aspects for device 400 State estimation.For example, sensor cluster 414 can detect opening/closed mode of device 400, component Relative positioning, such as the display and keypad that the component is device 400, sensor cluster 414 may be used also Changed with the position of 400 1 components of detection means 400 or device, the presence that user contacts with device 400 Or it is not present, the orientation of device 400 or acceleration/deceleration and the temperature change of device 400.Sensor cluster 414 Proximity transducer can be included, be configured to detect depositing for neighbouring object in no any physical contact .Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, be used for Used in imaging applications.In certain embodiments, the sensor cluster 414 can also include acceleration biography Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the logical of wired or wireless way between device 400 and other equipment Letter.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or they Combination.In one exemplary embodiment, communication component 416 is received from outside wide via broadcast channel The broadcast singal or broadcast related information of broadcast management system.In one exemplary embodiment, the communication component 416 also include near-field communication (NFC) module, to promote junction service.For example, can base in NFC module In radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real It is existing, for performing the above method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instructing is additionally provided Matter, such as the memory 404 including instruction, above-mentioned instruction can be performed with complete by the processor 420 of device 400 Into the above method.Deposited for example, the non-transitorycomputer readable storage medium can be ROM, arbitrary access Reservoir (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by mobile terminal During computing device so that mobile terminal is able to carry out a kind of method for adjusting session parameter, and this method includes:
In communication process, the speech quality parameter in preset duration is obtained;
Based on the speech quality parameter, determine to match with the speech quality parameter from multiple default session parameters Default session parameter;
It is identified default session parameter by current talking parameter adjustment, and will be determined by specified protocol Default session parameter send to Correspondent Node.
Alternatively, the speech quality parameter includes any of packet loss and network signal intensity, the packet loss Refer to that lost data packets quantity in transmitting audio data packet procedures accounts for the ratio of VoP quantity.
Alternatively, the plurality of default session parameter is included at least one in codec sample rate and coded format It is individual.
Alternatively, the speech quality parameter should be based on, be determined and the call matter from multiple default session parameters The default session parameter of parameter matching is measured, including:
When the speech quality parameter includes the packet loss, and the packet loss is more than or equal in the preset duration During the first predetermined threshold value, the in the plurality of default session parameter first default session parameter is defined as and the call The default session parameter of mass parameter matching, the first default session parameter include minimum codec sample rate With it is at least one in AMR AMR coded formats;
When the packet loss is less than first predetermined threshold value in the preset duration, the plurality of default call is joined The second default session parameter is defined as the default session parameter matched with the speech quality parameter in number, and this second Default session parameter is included in maximum codec sample rate and enhanced voice call service EVS coded formats It is at least one.
Alternatively, the speech quality parameter should be based on, be determined and the call matter from multiple default session parameters The default session parameter of parameter matching is measured, including:
When the speech quality parameter includes the network signal intensity, and the network signal intensity is in the preset duration It is when being inside more than or equal to the second predetermined threshold value, the in the plurality of default session parameter second default session parameter is true It is set to the default session parameter matched with the speech quality parameter, the second default session parameter includes maximum compile It is at least one in decoder sample rate and enhanced voice call service EVS coded formats;
, will be the plurality of default when the network signal intensity is less than second predetermined threshold value in the preset duration The first default session parameter is defined as the default session parameter matched with the speech quality parameter in session parameter, The first default session parameter includes at least one in minimum codec sample rate and AMR coded formats.
Alternatively, the speech quality parameter should be based on, be determined and the call matter from multiple default session parameters The default session parameter of parameter matching is measured, including any of mode is implemented as described below:
When the speech quality parameter includes the packet loss, from multiple first preset ranges, the packet loss is determined Rate the first preset range residing in the preset duration, from the plurality of default session parameter, it is determined that this is lost Session parameter is preset corresponding to bag rate the first preset range residing in the preset duration, it is pre- by determined by If session parameter is defined as the default session parameter matched with the speech quality parameter;
When the speech quality parameter includes the network signal intensity, from multiple second preset ranges, it is determined that The network signal intensity the second preset range residing in the preset duration, from the plurality of default session parameter In, determine to preset call corresponding to the network signal intensity the second preset range residing in the preset duration Parameter, the default session parameter that identified default session parameter is defined as matching with the speech quality parameter.
Alternatively, the specified protocol includes Session initiation protocol SIP or RTCP Real-time Transport Control Protocol RTCP.
Alternatively, based on the speech quality parameter, determined and the speech quality from multiple default session parameters The default session parameter of parameter matching, including:
Parameter acquiring message is sent to equipment of the core network, the parameter acquiring message carries the speech quality parameter, The parameter acquiring message be used for indicate the equipment of the core network determined from the plurality of default session parameter and return with The default session parameter of speech quality parameter matching;
The parameter adjustment message of equipment of the core network transmission is received, the parameter adjustment message carries and the call matter Measure the default session parameter of parameter matching.
Those skilled in the art will readily occur to this public affairs after considering specification and putting into practice invention disclosed herein The other embodiments opened.The application is intended to any modification, purposes or the adaptations of the disclosure, These modifications, purposes or adaptations follow the general principle of the disclosure and are not disclosed including the disclosure Common knowledge or conventional techniques in the art.Description and embodiments are considered only as exemplary , the true scope and spirit of the disclosure are pointed out by following claim.
It should be appreciated that the accurate knot that the disclosure is not limited to be described above and is shown in the drawings Structure, and various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.

Claims (17)

  1. A kind of 1. method for adjusting session parameter, it is characterised in that methods described includes:
    In communication process, the speech quality parameter in preset duration is obtained;
    Based on the speech quality parameter, determined and the speech quality parameter from multiple default session parameters The default session parameter of matching;
    It is identified default session parameter by current talking parameter adjustment, and will be determined by specified protocol Default session parameter send to Correspondent Node.
  2. 2. the method as described in claim 1, it is characterised in that the speech quality parameter includes packet loss Any of with network signal intensity, the packet loss refers to lost data packets in transmitting audio data packet procedures Quantity accounts for the ratio of VoP quantity.
  3. 3. the method as described in claim 1, it is characterised in that the multiple default session parameter includes It is at least one in codec sample rate and coded format.
  4. 4. method as claimed in claim 2 or claim 3, it is characterised in that described to be joined based on the speech quality Number, the default session parameter matched with the speech quality parameter, bag are determined from multiple default session parameters Include:
    When the speech quality parameter includes the packet loss, and the packet loss is big in the preset duration When the first predetermined threshold value, the in the multiple default session parameter first default session parameter is determined For the default session parameter matched with the speech quality parameter, the described first default session parameter includes minimum It is at least one in codec sample rate and AMR AMR coded formats;
    , will be the multiple pre- when the packet loss is less than first predetermined threshold value in the preset duration If the second default session parameter is defined as the default call ginseng matched with the speech quality parameter in session parameter Number, the described second default session parameter include maximum codec sample rate and enhanced voice call service It is at least one in EVS coded formats.
  5. 5. method as claimed in claim 2 or claim 3, it is characterised in that described to be joined based on the speech quality Number, the default session parameter matched with the speech quality parameter, bag are determined from multiple default session parameters Include:
    When the speech quality parameter includes the network signal intensity, and the network signal intensity is described When being more than or equal to the second predetermined threshold value in preset duration, in the multiple default session parameter second is preset Session parameter is defined as the default session parameter matched with the speech quality parameter, the described second default call Parameter is included at least one in maximum codec sample rate and enhanced voice call service EVS coded formats It is individual;
    When the network signal intensity is less than second predetermined threshold value in the preset duration, by described in What the first default session parameter was defined as matching with the speech quality parameter in multiple default session parameters presets Session parameter, the described first default session parameter are included in minimum codec sample rate and AMR coded formats It is at least one.
  6. 6. method as claimed in claim 2 or claim 3, it is characterised in that described to be joined based on the speech quality Number, the default session parameter matched with the speech quality parameter, bag are determined from multiple default session parameters Include any of the mode of being implemented as described below:
    When the speech quality parameter includes the packet loss, from multiple first preset ranges, institute is determined Packet loss the first preset range residing in the preset duration is stated, from the multiple default session parameter, Determine to preset session parameter corresponding to the packet loss the first preset range residing in the preset duration, The default session parameter that identified default session parameter is defined as matching with the speech quality parameter;
    When the speech quality parameter includes the network signal intensity, from multiple second preset ranges, The network signal intensity the second preset range residing in the preset duration is determined, from the multiple pre- If in session parameter, determine the network signal intensity the second preset range residing in the preset duration Corresponding default session parameter, identified default session parameter is defined as and the speech quality parameter The default session parameter matched somebody with somebody.
  7. 7. the method as described in claim 1, it is characterised in that the specified protocol includes conversation initialization Agreement SIP or RTCP Real-time Transport Control Protocol RTCP.
  8. 8. the method as described in claim 1, it is characterised in that it is described to be based on the speech quality parameter, The default session parameter matched with the speech quality parameter is determined from multiple default session parameters, including:
    Parameter acquiring message is sent to equipment of the core network, the parameter acquiring message carries the speech quality ginseng Number, the parameter acquiring message are used to indicate the equipment of the core network from the multiple default session parameter really Determine and return the default session parameter matched with the speech quality parameter;
    Receive the parameter adjustment message that the equipment of the core network is sent, the parameter adjustment message carry with it is described The default session parameter of speech quality parameter matching, the parameter adjustment message are used to indicate that the terminal is based on The default session parameter matched with the speech quality parameter, is adjusted to current talking parameter.
  9. 9. a kind of device for adjusting session parameter, it is characterised in that described device includes:
    Acquisition module, in communication process, obtaining the speech quality parameter in preset duration;
    Determining module, for based on the speech quality parameter, being determined from multiple default session parameters and institute State the default session parameter of speech quality parameter matching;
    Adjusting module, for being identified default session parameter by current talking parameter adjustment, and pass through finger Determine agreement default session parameter by determined by send to Correspondent Node.
  10. 10. device as claimed in claim 9, it is characterised in that the speech quality parameter includes packet loss Any of rate and network signal intensity, the packet loss refer to lose data in transmitting audio data packet procedures Bag quantity accounts for the ratio of VoP quantity.
  11. 11. device as claimed in claim 9, it is characterised in that the multiple default session parameter wraps Include at least one in codec sample rate and coded format.
  12. 12. the device as described in claim 10 or 11, it is characterised in that the determining module includes:
    First determining unit, for including the packet loss, and the packet loss when the speech quality parameter When being more than or equal to the first predetermined threshold value in the preset duration, by the multiple default session parameter One default session parameter is defined as the default session parameter matched with the speech quality parameter, and described first is pre- If session parameter is included at least one in minimum codec sample rate and AMR AMR coded formats It is individual;
    Second determining unit, for being less than the described first default threshold in the preset duration when the packet loss During value, the in the multiple default session parameter second default session parameter is defined as joining with the speech quality The default session parameter of number matching, the described second default session parameter include maximum codec sample rate and increasing It is at least one in strong type voice call service EVS coded formats.
  13. 13. the device as described in claim 10 or 11, it is characterised in that the determining module also includes:
    3rd determining unit, for including the network signal intensity when the speech quality parameter, and it is described , will be the multiple default when network signal intensity is more than or equal to the second predetermined threshold value in the preset duration The second default session parameter is defined as the default call ginseng matched with the speech quality parameter in session parameter Number, the described second default session parameter include maximum codec sample rate and enhanced voice call service It is at least one in EVS coded formats;
    4th determining unit, for being less than described second in the preset duration when the network signal intensity During predetermined threshold value, the in the multiple default session parameter first default session parameter is defined as and the call The default session parameter of mass parameter matching, the described first default session parameter sample including minimum codec It is at least one in rate and AMR coded formats.
  14. 14. the device as described in claim 10 or 11, it is characterised in that the determining module also includes:
    5th determining unit, for when the speech quality parameter includes the packet loss, from multiple first In preset range, the packet loss the first preset range residing in the preset duration is determined, from described In multiple default session parameters, the packet loss the first preset range residing in the preset duration is determined Corresponding default session parameter, identified default session parameter is defined as and the speech quality parameter The default session parameter matched somebody with somebody;
    6th determining unit, for when the speech quality parameter includes the network signal intensity, from more In individual second preset range, determine that the network signal intensity is residing second default in the preset duration Scope, from the multiple default session parameter, determine the network signal intensity in the preset duration Corresponding to the second residing preset range preset session parameter, by identified default session parameter be defined as with The default session parameter of the speech quality parameter matching.
  15. 15. device as claimed in claim 9, it is characterised in that the specified protocol includes conversation initial Change agreement SIP or RTCP Real-time Transport Control Protocol RTCP.
  16. 16. device as claimed in claim 9, it is characterised in that the determining module includes:
    Transmitting element, for sending parameter acquiring message to equipment of the core network, the parameter acquiring message carries The speech quality parameter, the parameter acquiring message are used to indicate the equipment of the core network from the multiple pre- If the default session parameter matched with the speech quality parameter is determined and returned in session parameter;
    Receiving unit, the parameter adjustment message sent for receiving the equipment of the core network, the parameter adjustment Message carries the default session parameter matched with the speech quality parameter, and the parameter adjustment message is used to refer to Show that the terminal based on the default session parameter matched with the speech quality parameter, is entered to current talking parameter Row adjustment.
  17. 17. a kind of device for adjusting session parameter, it is characterised in that described device includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    In communication process, the speech quality parameter in preset duration is obtained;
    Based on the speech quality parameter, determined and the speech quality parameter from multiple default session parameters The default session parameter of matching;
    It is identified default session parameter by current talking parameter adjustment, and will be determined by specified protocol Default session parameter send to Correspondent Node.
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 true CN107404462A (en) 2017-11-28
CN107404462B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107561A (en) * 2018-10-29 2020-05-05 展讯通信(上海)有限公司 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
CN109102816B (en) * 2018-08-14 2020-12-29 Oppo广东移动通信有限公司 Encoding control method and device and electronic equipment
CN114760603A (en) * 2022-04-19 2022-07-15 安天科技集团股份有限公司 Communication method and device of mobile terminal, core network equipment and system

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

Cited By (6)

* 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
CN111107561A (en) * 2018-10-29 2020-05-05 展讯通信(上海)有限公司 DRX parameter obtaining and configuring method, user terminal, base station and readable storage medium
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
CN114760603A (en) * 2022-04-19 2022-07-15 安天科技集团股份有限公司 Communication method and device of mobile terminal, core network equipment and system
CN114760603B (en) * 2022-04-19 2023-09-05 安天科技集团股份有限公司 Communication method, device, core network equipment and system of mobile terminal

Also Published As

Publication number Publication date
CN107404462B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN104580637B (en) Telephone number labeling method, terminal and Cloud Server
CN104159230B (en) Call recognition methods and device
CN107404462A (en) Adjust the method and device of session parameter
CN106506031B (en) Adjust the method and device of talk back equipment frequency
CN105391621B (en) Information communicating method and device
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN105376144B (en) Information processing method and device
CN104581615B (en) service providing method and device
CN104636110A (en) Method and device for controlling volume
CN106101456A (en) A kind of method and device of call contact
CN108521609A (en) Determine the method, apparatus and terminal of pushing video type
CN107846730A (en) Call transferring method and device
CN107820684A (en) Channel Detection, method for sending information, device and communication equipment
CN104333641B (en) Call method and device
CN105163391A (en) Data transmission method, terminal and wireless access point
CN105530381A (en) Call hanging-up method and device
CN104539497B (en) Method for connecting network and device
CN105450861B (en) Information cuing method and device
CN104281431B (en) The method and device that audio plays
CN105100352A (en) Method and device for acquiring contact information
CN105100201A (en) Data packet capturing method and data packet capturing device
EP3264735B1 (en) Method and device for determining coding format in volte
CN104994211A (en) Incoming call prompting method, device and system
CN104917995A (en) Realization method and device of off-line video communication
CN104601413B (en) Network estimation method and device

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