CN106231618B - A kind of method and device sending encoding and decoding renegotiation request - Google Patents
A kind of method and device sending encoding and decoding renegotiation request Download PDFInfo
- Publication number
- CN106231618B CN106231618B CN201610581449.0A CN201610581449A CN106231618B CN 106231618 B CN106231618 B CN 106231618B CN 201610581449 A CN201610581449 A CN 201610581449A CN 106231618 B CN106231618 B CN 106231618B
- Authority
- CN
- China
- Prior art keywords
- terminal
- duration
- available bandwidth
- decoding
- encoding
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004891 communication Methods 0.000 claims abstract description 35
- 230000005540 biological transmission Effects 0.000 claims description 17
- 230000001105 regulatory effect Effects 0.000 claims description 12
- 238000012544 monitoring process Methods 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of method and devices for sending encoding and decoding renegotiation request, are related to field of communication technology, to solve the problems, such as multiple users and meanwhile carry out that encoding and decoding are negotiated again and caused by equipment in IMS network processing pressure it is larger.This method comprises: S101, first terminal monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;S102, when the uplink available bandwidth or the downlink available bandwidth are less than preset threshold and the duration is more than preset time period, the first terminal determines the first duration according to the average value of uplink available bandwidth described in the preset time period and the average value of the downlink available bandwidth;S103, the first terminal determine the second duration at random in first duration;S104, the first terminal send the encoding and decoding renegotiation request to the second terminal according to second duration.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and devices for sending encoding and decoding renegotiation request.
Background technique
After mobile network evolves to long term evolution (Long Term Evolution, abbreviation LTE) system, VoLTE (Voice
Over LTE) it is that the major technique of high definition voice communication, HD video call is provided in LTE network.Carrying out voice communication
In the process, the voice communication different for coding mode, required bandwidth is different, right during carrying out video calling
In the resolution ratio video calling different with frame per second, required bandwidth is also different, due to the upstream bandwidth and downlink bandwidth of cell
It is fixed (in general, the upstream bandwidth of LTE network is 50Mbps, downlink bandwidth is 100Mbps), therefore, for resolution ratio
Video calling (or the identical voice communication of coding mode) identical with frame per second, the video calling that a cell can carry out simultaneously
The number of (or high definition voice communication) is limited.
Between user when carrying out video calling or voice communication, if the available bandwidth of cell is insufficient, it will cause calls
There is phenomena such as Caton, frame losing, so that the communication quality of user is greatly influenced, if negotiated between user by encoding and decoding again,
The mode of the resolution ratio and/or frame per second (or coding mode of voice communication) that renegotiate video calling reduces video calling
Bandwidth needed for (or voice communication) can make IP (Internet then again when multiple users carry out encoding and decoding and negotiate simultaneously
Protocol, the agreement interconnected between network) IP multimedia subsystem, IMS (IP Multimedia Subsystem, abbreviation IMS) network
In equipment processing pressure it is larger.
Summary of the invention
The embodiment of the present invention provides a kind of method and device for sending encoding and decoding renegotiation request, to solve due to more
A user carry out simultaneously encoding and decoding negotiate again and caused by equipment in IMS network the larger problem of processing pressure.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of method for sending encoding and decoding renegotiation request, comprising:
S101, first terminal monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
S102, it is less than preset threshold and the duration is more than when the uplink available bandwidth or the downlink available bandwidth
When preset time period, the first terminal according to the average value of uplink available bandwidth described in the preset time period and it is described under
The average value of row available bandwidth determines the first duration, is described the at the time of indicated by the sum of current time and first duration
One terminal sends the moment the latest of encoding and decoding renegotiation request to second terminal, and the preset threshold is the first terminal and institute
State the voice communication that second terminal currently carries out or the bandwidth value that video calling needs;
S103, the first terminal determine the second duration at random in first duration;
S104, the first terminal send the encoding and decoding to the second terminal according to second duration to be negotiated to ask again
It asks.
Second aspect provides a kind of first terminal, comprising:
Monitoring unit, for monitoring the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
Determination unit, for less than preset threshold and continuing when the uplink available bandwidth or the downlink available bandwidth
It, can according to the average value of uplink available bandwidth described in the preset time period and the downlink when time is more than preset time period
The first duration is determined with the average value of bandwidth, at the time of indicated by the sum of current time and first duration eventually for described first
It holds the moment the latest that encoding and decoding renegotiation request is sent to second terminal, the preset threshold is the first terminal and described the
The bandwidth value that the voice communication or video calling that two terminals currently carry out need;
The determination unit is also used in first duration determine the second duration at random;
Transmission unit, for sending the encoding and decoding renegotiation request to the second terminal according to second duration.
The third aspect provides a kind of first terminal, comprising: memory, processor and transmitter, the memory is for depositing
Code is stored up, the processor executes following movement according to the code:
Monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
When it is more than default that the uplink available bandwidth or the downlink available bandwidth, which are less than preset threshold and duration,
Between section when, according to the average value of the average value of uplink available bandwidth described in the preset time period and the downlink available bandwidth
It determines the first duration, is sent out for the first terminal to second terminal at the time of indicated by the sum of current time and first duration
The moment the latest of encoding and decoding renegotiation request is sent, the preset threshold is that the first terminal is currently carried out with the second terminal
Voice communication or video calling need bandwidth value;
Determine the second duration at random in first duration;
The transmitter is negotiated to ask again for sending the encoding and decoding to the second terminal according to second duration
It asks.
Method and device provided in an embodiment of the present invention, first terminal the uplink available bandwidth for determining serving cell or under
When row available bandwidth is less than preset threshold, encoding and decoding renegotiation request is sent to second terminal according to the second duration, due to second
What Shi Changwei was determined at random in the first duration, therefore, the time for the encoding and decoding renegotiation request that each terminal is sent is generally
Therefore difference can solve a large amount of terminal and send encoding and decoding renegotiation request to IMS network simultaneously to cause IMS network
In the excessive problem of equipment processing pressure.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 sends the flow diagram of encoding and decoding renegotiation request between terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of method for sending encoding and decoding renegotiation request provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for another transmission encoding and decoding renegotiation request provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the method for another transmission encoding and decoding renegotiation request provided in an embodiment of the present invention;
Fig. 5 is a kind of composition schematic diagram of first terminal provided in an embodiment of the present invention;
Fig. 6 is the composition schematic diagram of another first terminal provided in an embodiment of the present invention;
Fig. 7 is the composition schematic diagram of another first terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, carrying out the process that encoding and decoding are negotiated between terminal A (caller) and terminal B (called) includes: terminal again
A by encoding and decoding renegotiation request to caller base station send, encoding and decoding renegotiation request by caller base station, caller LTE core network,
Incoming terminal B behind caller IMS, called IMS, called LTE core network and called base station, what it is when terminal A and terminal B progress is video
When call (or voice communication), terminal B determines new resolution ratio and/or frame according to the information for including in encoding and decoding renegotiation request
Rate (or coding mode), and fed back to terminal A.It follows that if when the terminal for sending encoding and decoding renegotiation request simultaneously is excessive,
IMS network then needs to process more encoding and decoding renegotiation requests, this will lead to the processing pressure mistake of the equipment in IMS network
Greatly.The first terminal described in embodiments of the present invention may refer to the process that second terminal sends encoding and decoding renegotiation request
Process in Fig. 1.
The embodiment of the present invention provides a kind of method for sending encoding and decoding renegotiation request, as shown in Figure 2, comprising:
S101, first terminal monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal.
Specifically, terminal can for mobile phone, tablet computer or other may be implemented to carry out video calling between communicating pair
Or the equipment of voice communication.
S102, it is less than preset threshold and the duration is more than when the uplink available bandwidth or the downlink available bandwidth
When preset time period, the first terminal according to the average value of uplink available bandwidth described in the preset time period and it is described under
The average value of row available bandwidth determines the first duration, is described the at the time of indicated by the sum of current time and first duration
One terminal sends the moment the latest of encoding and decoding renegotiation request to second terminal, and the preset threshold is the first terminal and institute
State the voice communication that second terminal currently carries out or the bandwidth value that video calling needs.
It wherein, is 720 pixel/inch (pixels per inch, abbreviation ppi), the video that frame per second is 30 for resolution ratio
Call, required bandwidth is about 2.4M bps (bits per second, abbreviation bps);Resolution ratio is 640p, and frame per second is 30
Video calling, required bandwidth are about 1.6Mbps;Resolution ratio is 640p, the video calling that frame per second is 15, and required bandwidth is about
0.9Mbps.Use adaptive multi-rate broadband coding (Adaptive Multi-rate-Wideband, AMR-WB) 23.85k's
The voice communication that coding mode carries out, required bandwidth is about 50kbps.
Specifically, can determine the first duration by following two mode.
Mode one, the first terminal are according to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2] determine the first duration,
Wherein, T1For the first duration, W is preset duration, and S is the average value of the uplink available bandwidth in the preset time period, and X is
The average value of the downlink available bandwidth in the preset time period, Y are the preset threshold, A1And A2For regulatory factor, T1、
W、S、X、Y、A1And A2It is positive number.
Mode two, the first terminal are according to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2+ F] when determining first
It is long, wherein T1For the first duration, W is preset duration, and S is the average value of the uplink available bandwidth in the preset time period,
X is the average value of the downlink available bandwidth in the preset time period, and Y is the preset threshold, A1And A2For regulatory factor, F
The number for continuously transmitting the encoding and decoding renegotiation request failure for the first terminal apart from the current time recently,
T1、W、S、X、Y、A1And A2It is positive number, F is the integer more than or equal to 0.
In mode one and mode two, W is preset duration, can specifically be provided by manufacturer terminal or network operator,
A1And A2Also be preset value, specifically can according to actual application scenarios determine, F be the first terminal apart from it is described current when
The nearest number for continuously transmitting the encoding and decoding renegotiation request failure is carved, illustratively, if before current time, first
Terminal has sent 5 encoding and decoding renegotiation requests to second terminal, wherein fail for 5 times, then F=5, if in 5 times the 4th at
Function the 5th fails, then F=1, if the 5th success, F=0 in 5 times.
Wherein, the value of W can process performance based on the equipment in IMS network, network congestion when highest encoding and decoding assist again
Quotient's number of request etc. is determined.For example, illustrating the equipment in IMS network when the process performance of the equipment in IMS network is preferable
More encoding and decoding renegotiation request can be handled simultaneously, then the value of W can be set less than normal, and otherwise, the value of W can be set
It is bigger than normal.The value of preset time period can based on user behavior analysis (such as user it is interrupted to poor video quality, voice when enduring
It is long) it is determined.For example, when user to poor video quality endure duration it is longer when, preset time period can be arranged partially
Greatly, otherwise, preset time period can be arranged less than normal.Likewise, A1And A2Value may be based on equipment process performance, user
Behavioural analysis is determined.
In mode one and mode two, the value of S, X is lower or the value of F is bigger, T1Value it is bigger, since the value of S, X are lower
Or F value it is bigger when, illustrate that network condition is poorer, at this time each terminal should not within a short period simultaneously send disappear
Breath, and transmission encoding and decoding renegotiation request that should be in a longer time section successively, therefore, this method can be according to working as
Preceding network condition adjustment terminal sends the length of the period of encoding and decoding renegotiation request.
S103, the first terminal determine the second duration at random in first duration.
Specifically, first terminal can determine the second duration using random algorithm at random in the first duration.
S104, the first terminal send the encoding and decoding to the second terminal according to second duration to be negotiated to ask again
It asks.
Since the second duration is determined at random in the first duration, the encoding and decoding that each terminal is sent are negotiated again
The time of request is generally all different, therefore, can solve a large amount of terminal and sends encoding and decoding renegotiation request to IMS network simultaneously
Problem to cause the equipment processing pressure in IMS network excessive.
Specifically, the encoding and decoding renegotiation request that first terminal is sent to second terminal with second terminal for renegotiating
The resolution ratio and/or frame per second (or coding mode of voice communication) of video calling, for example, if first terminal starts to carry out resolution ratio
For 720p, the video calling that frame per second is 30, when the uplink available bandwidth or downlink available bandwidth of the serving cell of first terminal are small
When 2.4Mbps, illustrate that the uplink available bandwidth of the serving cell of first terminal or downlink available bandwidth can not meet first eventually
End and second terminal video calling, at this point, first terminal can to second terminal send encoding and decoding renegotiation request, by with
Second terminal negotiates to carry out a resolution ratio and/or the lower video calling of frame per second again.
Specifically, S104 can specifically be realized in specific implementation by following 2 kinds of modes.
Mode 1, the first terminal are in T0+ P sends the encoding and decoding renegotiation request to the second terminal, wherein T0
For the current time, P is second duration.
Mode 2, the first terminal are in T0+ P/ (F+1) Xiang Suoshu second terminal sends the encoding and decoding renegotiation request,
Wherein, T0For the current time, P is second duration.
In mode 2, if the value of F is bigger, illustrate that first terminal repeatedly sends encoding and decoding renegotiation request not successfully,
Should then it allow first terminal in T1It is sent as early as possible in period, thus the second duration P calculated at random divided by failure time
Number, to reduce the waiting time that first terminal sends encoding and decoding renegotiation request.In addition, enabling F here since the value of F can be 0
It is preceded by 1 and does divisor again, avoid for the first time when calculating, the case where value of F is 0.
If first terminal employing mode one determines the first duration and employing mode 1 sends encoding and decoding renegotiation request, such as scheme
Shown in 3, after step s 104, the method also includes S105 (1) to S106 (1).
If the first terminal sends the encoding and decoding renegotiation request to the second terminal according to second duration
Success (be denoted as in Fig. 3 condition establishment) executes step S105 (1), if the first terminal is according to second duration to described
Second terminal sends the encoding and decoding renegotiation request failure (it is invalid that condition is denoted as in Fig. 3), executes step S106 (1).
Y is reset to the first terminal and after the second terminal encoding and decoding negotiates again by S105 (1), the first terminal
The bandwidth value that the voice communication of progress or video calling need.
S101 is returned to step after executing step S105 (1).
S106 (1), the first terminal determine before current time and when apart from the current time nearest default
Between the serving cell in section the average value of uplink available bandwidth or the downlink available bandwidth of the serving cell be averaged
Whether value is less than Y.
If so, illustrating that the uplink available bandwidth of the serving cell of first terminal or downlink available bandwidth are not able to satisfy first eventually
End and the current video calling of second terminal or the demand of voice communication execute step S106 (1) return step S102 afterwards, if
It is no, illustrate that the uplink available bandwidth of the serving cell of first terminal and downlink available bandwidth are able to satisfy first terminal and second eventually
The demand of current video calling or voice communication is held, step S106 (1) return step S101 afterwards is executed.
If first terminal employing mode two determines that the first duration or employing mode 2 send encoding and decoding renegotiation request, such as
Shown in Fig. 4, after step s 104, the method also includes S105 (2) to S108 (2).
If the first terminal sends the encoding and decoding renegotiation request to the second terminal according to second duration
Success (be denoted as in Fig. 4 condition establishment) executes step S105 (2), if the first terminal is according to second duration to described
Second terminal sends the encoding and decoding renegotiation request failure (it is invalid that condition is denoted as in Fig. 4), executes step S106 (2).
F is reset to 0 by S105 (2), the first terminal, and Y is reset to the first terminal and the second terminal is compiled
The bandwidth value that the voice communication or video calling that decoding carries out negotiate again after need.
S101 is returned to step after executing step S105 (2).
S106 (2), the first terminal determine before current time and when apart from the current time nearest default
Between the serving cell in section the average value of uplink available bandwidth or the downlink available bandwidth of the serving cell be averaged
Whether value is less than Y.
If so, illustrating that the uplink available bandwidth of the serving cell of first terminal or downlink available bandwidth are not able to satisfy first eventually
End and the current video calling of second terminal or the demand of voice communication, execute step S107 (2);If it is not, illustrating first terminal
Serving cell uplink available bandwidth and downlink available bandwidth is able to satisfy first terminal and the current video of second terminal is logical
Words or the demand of voice communication, execute step S108 (2).
The value of F is increased by 1 by S107 (2), the first terminal.
Execute step S107 (2) return step S102 afterwards.
F is reset to 0 by S108 (2), the first terminal.
Execute step S108 (2) return step S101 afterwards.
Method provided in an embodiment of the present invention, first terminal are available in the uplink available bandwidth or downlink for determining serving cell
When bandwidth is less than preset threshold, encoding and decoding renegotiation request is sent to second terminal according to the second duration, it is a length of when due to second
It is determined at random in the first duration, therefore, the time for the encoding and decoding renegotiation request that each terminal is sent is generally different, because
This, can solve a large amount of terminal and send encoding and decoding renegotiation request to IMS network simultaneously to cause the equipment in IMS network
The excessive problem of processing pressure.
The embodiment of the invention also discloses a kind of first terminals 50, as shown in Figure 5, comprising:
Monitoring unit 501, uplink available bandwidth and downlink for monitoring the serving cell of the first terminal can use band
It is wide;
Determination unit 502, for less than preset threshold and being held when the uplink available bandwidth or the downlink available bandwidth
When the continuous time is more than preset time period, according to the average value of uplink available bandwidth described in the preset time period and the downlink
The average value of available bandwidth determines the first duration, is described first at the time of indicated by the sum of current time and first duration
Terminal to second terminal send encoding and decoding renegotiation request moment the latest, the preset threshold be the first terminal with it is described
The bandwidth value that the voice communication or video calling that second terminal currently carries out need;
The determination unit 502 is also used in first duration determine the second duration at random;
Transmission unit 503 is negotiated to ask again for sending the encoding and decoding to the second terminal according to second duration
It asks.
Optionally, the determination unit 502 is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2] determine the first duration, wherein T1For the first duration, W
For preset duration, S is the average value of the uplink available bandwidth in the preset time period, and X is institute in the preset time period
The average value of downlink available bandwidth is stated, Y is the preset threshold, A1And A2For regulatory factor, T1、W、S、X、Y、A1And A2It is positive
Number.
Optionally, the determination unit 502 is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2+ F] determine the first duration, wherein T1When being first
Long, W is preset duration, and S is the average value of the uplink available bandwidth in the preset time period, and X is the preset time period
The average value of the interior downlink available bandwidth, Y are the preset threshold, A1And A2For regulatory factor, F be the first terminal away from
The number that continuously transmits the encoding and decoding renegotiation request failure nearest from the current time, T1、W、S、X、Y、A1And A2?
For positive number, F is the integer more than or equal to 0.
Optionally, the transmission unit 503 is specifically used for:
In T0+ P sends the encoding and decoding renegotiation request to the second terminal, wherein T0For the current time, P is
Second duration.
Optionally, the transmission unit 503 is specifically used for:
In T0+ P/ (F+1) Xiang Suoshu second terminal sends the encoding and decoding renegotiation request, wherein T0When being described current
It carves, P is second duration.
Optionally, as shown in fig. 6, the first terminal further includes reset cell 504;
The encoding and decoding are sent to the second terminal according to second duration in the transmission unit 503 to negotiate to ask again
Hope for success function, and F is reset to 0 by the reset cell 504, and Y is reset to the first terminal and the second terminal encoding and decoding
After the bandwidth value that the voice communication carried out negotiate again after or video calling need, the monitoring unit 501 is also used to monitor institute
State the uplink available bandwidth and downlink available bandwidth of the serving cell of first terminal;
The encoding and decoding are sent to the second terminal according to second duration in the transmission unit 503 to negotiate to ask again
Failure is asked, and the determination unit 502 determines preset time period before current time and nearest apart from the current time
The average value of the downlink available bandwidth of the average value or serving cell of the uplink available bandwidth of the interior serving cell is small
After Y, the reset cell 504 is used to the value of F increasing by 1, and the determination unit 502 is also used to that band can be used according to the uplink
The average value of wide average value and the downlink available bandwidth determines the first duration;In the transmission unit 503 according to described second
Duration sends the encoding and decoding renegotiation request failure to the second terminal, and the determination unit 502 determines when current
The uplink available bandwidth of the serving cell before quarter and in the current time nearest preset time period is averaged
After the average value of the downlink available bandwidth of value or the serving cell is not less than Y, the monitoring unit 501 is also used to monitor institute
State the uplink available bandwidth and downlink available bandwidth of the serving cell of first terminal.
The movement and the embodiment of the present invention that each unit in the first terminal provided in the embodiment of the present invention executes provide
Method it is consistent, therefore, the beneficial effect of the first terminal in the embodiment of the present invention can be found in the method in the embodiment of the present invention
Described in beneficial effect, details are not described herein again.
In hardware realization, transmission unit in above-described embodiment can be transmitter, monitoring unit and determination unit, this
A little units can be embedded in the form of hardware or independently of in the processor of first terminal, can also being stored in the in a software form
In the memory of one terminal, the corresponding operation of above modules is executed in order to which processor calls, during which can be
Central processor (Central Processing Unit, abbreviation CPU), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC) or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.
The embodiment of the invention also provides a kind of first terminals 70, as shown in fig. 7, comprises: memory 701, processor
702, transmitter 703 and bus system 704.
It wherein, between memory 701, processor 702 and transmitter 703 is coupled by bus system 704,
Middle memory 701 may include random access memory, it is also possible to and it further include nonvolatile memory, a for example, at least disk
Memory.Bus system 704 can be industry standard architecture (Industry Standard Architecture, abbreviation
ISA) bus, external equipment interconnection (Peripheral Component, abbreviation PCI) bus or extended industry-standard architecture
(Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus system 704 can divide
For address bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 7, it is not intended that only convenient for indicating
There are a bus or a type of bus.
The memory 701 is used for store code, and the processor 702 executes following movement according to the code:
Monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
When it is more than default that the uplink available bandwidth or the downlink available bandwidth, which are less than preset threshold and duration,
Between section when, according to the average value of the average value of uplink available bandwidth described in the preset time period and the downlink available bandwidth
It determines the first duration, is sent out for the first terminal to second terminal at the time of indicated by the sum of current time and first duration
The moment the latest of encoding and decoding renegotiation request is sent, the preset threshold is that the first terminal is currently carried out with the second terminal
Voice communication or video calling need bandwidth value;
Determine the second duration at random in first duration;
The transmitter 703 is negotiated again for sending the encoding and decoding to the second terminal according to second duration
Request.
Optionally, the processor 702 is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2] determine the first duration, wherein T1For the first duration, W
For preset duration, S is the average value of the uplink available bandwidth in the preset time period, and X is institute in the preset time period
The average value of downlink available bandwidth is stated, Y is the preset threshold, A1And A2For regulatory factor, T1、W、S、X、Y、A1And A2It is positive
Number.
Optionally, the processor 702 is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2+ F] determine the first duration, wherein T1When being first
Long, W is preset duration, and S is the average value of the uplink available bandwidth in the preset time period, and X is the preset time period
The average value of the interior downlink available bandwidth, Y are the preset threshold, A1And A2For regulatory factor, F be the first terminal away from
The number that continuously transmits the encoding and decoding renegotiation request failure nearest from the current time, T1、W、S、X、Y、A1And A2?
For positive number, F is the integer more than or equal to 0.
Optionally, the transmitter 703 is specifically used for:
In T0+ P sends the encoding and decoding renegotiation request to the second terminal, wherein T0For the current time, P is
Second duration.
Optionally, the transmitter 703 is specifically used for:
In T0+ P/ (F+1) Xiang Suoshu second terminal sends the encoding and decoding renegotiation request, wherein T0When being described current
It carves, P is second duration.
Optionally, the processor 702 is also used to:
After sending the encoding and decoding renegotiation request success to the second terminal according to second duration, by F
0 is reset to, Y is reset into the voice communication carried out the first terminal is negotiated with the second terminal encoding and decoding again after or video
The bandwidth value that call needs, and monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
After sending the encoding and decoding renegotiation request failure to the second terminal according to second duration, determine
The uplink of the serving cell before current time and in the current time nearest preset time period can use band
Whether the average value of the downlink available bandwidth of wide average value or the serving cell is less than Y, if so, by the value increase by 1 of F, and
The first duration is determined according to the average value of the average value of the uplink available bandwidth and the downlink available bandwidth;If it is not, F is reset to
0, and monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal.
The movement and the embodiment of the present invention that each device in the first terminal provided in the embodiment of the present invention executes provide
Method it is consistent, therefore, the beneficial effect of the first terminal in the embodiment of the present invention can be found in the method in the embodiment of the present invention
Described in beneficial effect, details are not described herein again.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the portion of each embodiment the method for the present invention
Step by step.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, abbreviation
ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc. are various can store
The medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (18)
1. a kind of method for sending encoding and decoding renegotiation request characterized by comprising
S101, first terminal monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
S102, it is less than preset threshold and the duration is more than default when the uplink available bandwidth or the downlink available bandwidth
When the period, the first terminal can according to the average value and the downlink of uplink available bandwidth described in the preset time period
The first duration is determined with the average value of bandwidth, at the time of indicated by the sum of current time and first duration eventually for described first
It holds the moment the latest that encoding and decoding renegotiation request is sent to second terminal, the preset threshold is the first terminal and described the
The bandwidth value that the voice communication or video calling that two terminals currently carry out need;
S103, the first terminal determine the second duration at random in first duration;
S104, the first terminal send the encoding and decoding renegotiation request to the second terminal according to second duration.
2. the method according to claim 1, wherein the first terminal is according to described in the preset time period
The average value of the average value of uplink available bandwidth and the downlink available bandwidth determines the first duration, comprising:
The first terminal is according to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2] determine the first duration, wherein T1It is
One duration, W are preset duration, and S is the average value of the uplink available bandwidth in the preset time period, when X is described default
Between in section the downlink available bandwidth average value, Y is the preset threshold, A1And A2For regulatory factor, T1、W、S、X、Y、A1
And A2It is positive number.
3. the method according to claim 1, wherein the first terminal is according to described in the preset time period
The average value of the average value of uplink available bandwidth and the downlink available bandwidth determines the first duration, comprising:
The first terminal is according to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2+ F] determine the first duration, wherein T1For
First duration, W are preset duration, and S is the average value of the uplink available bandwidth in the preset time period, and X is described default
The average value of the downlink available bandwidth in period, Y are the preset threshold, A1And A2For regulatory factor, F is described first
The terminal number that continuously transmits the encoding and decoding renegotiation request failure nearest apart from the current time, T1、W、S、X、Y、A1
And A2It is positive number, F is the integer more than or equal to 0.
4. method according to claim 1-3, which is characterized in that the first terminal is according to second duration
The encoding and decoding renegotiation request is sent to the second terminal, comprising:
The first terminal is in T0+ P sends the encoding and decoding renegotiation request to the second terminal, wherein T0It is described current
Moment, P are second duration.
5. according to the method described in claim 3, it is characterized in that, the first terminal is according to second duration to described
Two terminals send the encoding and decoding renegotiation request, comprising:
The first terminal is in T0+ P/ (F+1) Xiang Suoshu second terminal sends the encoding and decoding renegotiation request, wherein T0For institute
Current time is stated, P is second duration.
6. according to the method described in claim 3, it is characterized in that, the method also includes:
If the first terminal sends the encoding and decoding renegotiation request success to the second terminal according to second duration,
F is reset to 0 by the first terminal, and Y is reset to the first terminal is negotiated with the second terminal encoding and decoding again after and is carried out
Voice communication or the bandwidth value that needs of video calling, the first terminal continues to execute S101 to S104;
Fail if the first terminal sends the encoding and decoding renegotiation request to the second terminal according to second duration,
The first terminal determines before current time and the service in the current time nearest preset time period
Whether the average value of the downlink available bandwidth of the average value or serving cell of the uplink available bandwidth of cell is less than Y, if so,
The value of F is increased by 1 by the first terminal, and executes step S102 to S104;If it is not, F is reset to 0 by the first terminal, and
S101 is continued to execute to S104.
7. a kind of first terminal characterized by comprising
Monitoring unit, for monitoring the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
Determination unit, for being less than preset threshold and duration when the uplink available bandwidth or the downlink available bandwidth
When more than preset time period, band can be used according to the average value of uplink available bandwidth described in the preset time period and the downlink
Wide average value determines the first duration, at the time of indicated by the sum of current time and first duration for the first terminal to
Second terminal sends the moment the latest of encoding and decoding renegotiation request, and the preset threshold is that the first terminal and described second are whole
The bandwidth value for holding the voice communication currently carried out or video calling to need;
The determination unit is also used in first duration determine the second duration at random;
Transmission unit, for sending the encoding and decoding renegotiation request to the second terminal according to second duration.
8. first terminal according to claim 7, which is characterized in that the determination unit is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2] determine the first duration, wherein T1For the first duration, W is pre-
If duration, S is the average value of the uplink available bandwidth in the preset time period, under X is described in the preset time period
The average value of row available bandwidth, Y are the preset threshold, A1And A2For regulatory factor, T1、W、S、X、Y、A1And A2It is positive number.
9. first terminal according to claim 7, which is characterized in that the determination unit is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2+ F] determine the first duration, wherein T1For the first duration, W is
Preset duration, S are the average value of the uplink available bandwidth in the preset time period, and X is described in the preset time period
The average value of downlink available bandwidth, Y are the preset threshold, A1And A2For regulatory factor, F is described in the first terminal distance
The number for continuously transmitting the encoding and decoding renegotiation request failure of current time recently, T1、W、S、X、Y、A1And A2It is positive
Number, F are the integer more than or equal to 0.
10. according to the described in any item first terminals of claim 7-9, which is characterized in that the transmission unit is specifically used for:
In T0+ P sends the encoding and decoding renegotiation request to the second terminal, wherein T0For the current time, P is described
Second duration.
11. first terminal according to claim 9, which is characterized in that the transmission unit is specifically used for:
In T0+ P/ (F+1) Xiang Suoshu second terminal sends the encoding and decoding renegotiation request, wherein T0For the current time, P
For second duration.
12. first terminal according to claim 9, which is characterized in that the first terminal further includes reset cell;
The encoding and decoding renegotiation request success is sent to the second terminal according to second duration in the transmission unit,
And F is reset to 0 by the reset cell, by Y reset to the first terminal negotiate again with the second terminal encoding and decoding it is laggard
After the bandwidth value that capable voice communication or video calling need, the monitoring unit is also used to monitor the clothes of the first terminal
The uplink available bandwidth and downlink available bandwidth for cell of being engaged in;
The encoding and decoding renegotiation request is sent to the second terminal according to second duration in the transmission unit to fail,
And the determination unit determines before current time and the clothes in the current time nearest preset time period
The average value of the downlink available bandwidth of the average value or serving cell of the uplink available bandwidth for cell of being engaged in is less than after Y, institute
Reset cell is stated for the value of F to be increased by 1, the determination unit is also used to according under the average value of the uplink available bandwidth and this
The average value of row available bandwidth determines the first duration;It is sent out according to second duration to the second terminal in the transmission unit
Send the encoding and decoding renegotiation request to fail, and the determination unit determine before current time and apart from it is described current when
Carve the average value of the uplink available bandwidth of the serving cell in nearest preset time period or the downlink of the serving cell
The average value of available bandwidth is not less than after Y, and the reset cell is used to the value of F resetting to 0, and the monitoring unit is also used to
Monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal.
13. a kind of first terminal characterized by comprising memory, processor and transmitter, the memory is for storing
Code, the processor execute following movement according to the code:
Monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
When the uplink available bandwidth or the downlink available bandwidth are less than preset threshold and the duration is more than preset time period
When, it is determined according to the average value of the average value of uplink available bandwidth described in the preset time period and the downlink available bandwidth
First duration sends to second terminal for the first terminal at the time of indicated by the sum of current time and first duration and compiles
The moment the latest of renegotiation request is decoded, the preset threshold is the first terminal and the language that the second terminal currently carries out
The bandwidth value that sound call or video calling need;
Determine the second duration at random in first duration;
The transmitter, for sending the encoding and decoding renegotiation request to the second terminal according to second duration.
14. first terminal according to claim 13, which is characterized in that the processor is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2] determine the first duration, wherein T1For the first duration, W is pre-
If duration, S is the average value of the uplink available bandwidth in the preset time period, under X is described in the preset time period
The average value of row available bandwidth, Y are the preset threshold, A1And A2For regulatory factor, T1、W、S、X、Y、A1And A2It is positive number.
15. first terminal according to claim 13, which is characterized in that the processor is specifically used for:
According to T1=W [1+ (1-S/Y) A1+(1-X/Y)·A2+ F] determine the first duration, wherein T1For the first duration, W is
Preset duration, S are the average value of the uplink available bandwidth in the preset time period, and X is described in the preset time period
The average value of downlink available bandwidth, Y are the preset threshold, A1And A2For regulatory factor, F is described in the first terminal distance
The number for continuously transmitting the encoding and decoding renegotiation request failure of current time recently, T1、W、S、X、Y、A1And A2It is positive
Number, F are the integer more than or equal to 0.
16. the described in any item first terminals of 3-15 according to claim 1, which is characterized in that the transmitter is specifically used for:
In T0+ P sends the encoding and decoding renegotiation request to the second terminal, wherein T0For the current time, P is described
Second duration.
17. first terminal according to claim 15, which is characterized in that the transmitter is specifically used for:
In T0+ P/ (F+1) Xiang Suoshu second terminal sends the encoding and decoding renegotiation request, wherein T0For the current time, P
For second duration.
18. first terminal according to claim 15, which is characterized in that the processor is also used to:
After sending the encoding and decoding renegotiation request success to the second terminal according to second duration, F is reset
It is 0, Y is reset into the voice communication carried out the first terminal is negotiated with the second terminal encoding and decoding again after or video calling
The bandwidth value needed, and monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal;
After sending the encoding and decoding renegotiation request failure to the second terminal according to second duration, determination is being worked as
The uplink available bandwidth of the serving cell before the preceding moment and in the current time nearest preset time period
Whether the average value of the downlink available bandwidth of average value or the serving cell is less than Y, if so, by the value increase by 1 of F, and according to
The average value of the average value of the uplink available bandwidth and the downlink available bandwidth determines the first duration;If it is not, F is reset to 0, and
Monitor the uplink available bandwidth and downlink available bandwidth of the serving cell of the first terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610581449.0A CN106231618B (en) | 2016-07-21 | 2016-07-21 | A kind of method and device sending encoding and decoding renegotiation request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610581449.0A CN106231618B (en) | 2016-07-21 | 2016-07-21 | A kind of method and device sending encoding and decoding renegotiation request |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106231618A CN106231618A (en) | 2016-12-14 |
CN106231618B true CN106231618B (en) | 2019-06-14 |
Family
ID=57531206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610581449.0A Active CN106231618B (en) | 2016-07-21 | 2016-07-21 | A kind of method and device sending encoding and decoding renegotiation request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106231618B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714750B (en) * | 2018-12-18 | 2020-12-22 | Oppo广东移动通信有限公司 | Call method, device, electronic terminal and medium |
CN111866622B (en) * | 2019-04-25 | 2023-04-14 | 上海诺基亚贝尔股份有限公司 | Reducing power consumption of communication devices |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7446795B2 (en) * | 2004-12-03 | 2008-11-04 | Motorola Inc | Push to video service mode selection using device settings |
WO2011071913A1 (en) * | 2009-12-07 | 2011-06-16 | Interdigital Patent Holdings, Inc. | Method and apparatus for enabling coder selection and rate adaptation for 3gpp for media stremas between a media server and a mobile terminal |
US9338580B2 (en) * | 2011-10-21 | 2016-05-10 | Qualcomm Incorporated | Method and apparatus for packet loss rate-based codec adaptation |
CN103138874B (en) * | 2011-11-23 | 2016-07-06 | 中国移动通信集团公司 | A kind of encoding and decoding dynamic negotiation method and apparatus |
-
2016
- 2016-07-21 CN CN201610581449.0A patent/CN106231618B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106231618A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881780B (en) | Method and server for dynamically adjusting definition mode in video call | |
CN107864084B (en) | The transmission method and device of data packet | |
JP5000381B2 (en) | COMMUNICATION SYSTEM, THRESHOLD MANAGEMENT SERVER, RADIO COMMUNICATION DEVICE, AND COMMUNICATION METHOD | |
CN106301679B (en) | Method and device for adjusting service rate | |
US20080225750A1 (en) | Method of transmitting data in a communication system | |
KR101286915B1 (en) | Method for selecting an access channel or a traffic channel for data transmission | |
CN105187167B (en) | A kind of voice data communication method and device | |
EP3429106A1 (en) | Method and device for reducing packet loss ratio of transmission | |
WO2017166973A1 (en) | Coding scheme configuration method and device | |
TW201505427A (en) | Method, device and system for communication video quality adjustment | |
CN108023869B (en) | Parameter adjusting method and device for multimedia communication and mobile terminal | |
CN105900481B (en) | bandwidth selection method of wireless fidelity technology and access point AP | |
CN112637901A (en) | Data packet distribution method, sender device, receiver device, and storage medium | |
CN109474954A (en) | A kind of session establishing method and device | |
CN109819477A (en) | A kind of method and corresponding entity of processing request | |
CN106231618B (en) | A kind of method and device sending encoding and decoding renegotiation request | |
CN109152049A (en) | Scheduling method for wireless resource, video terminal and access network equipment | |
CN102984784A (en) | Transmitting data over multiple networks | |
CN106101468B (en) | Method and device for determining transmission link | |
CN106027599B (en) | Data transmission channel establishing method, system and server | |
CN107404363B (en) | Method, system, terminal and network side equipment for adjusting voice code rate | |
CN108513320A (en) | A kind of method and device of coding/decoding negotiation | |
WO2023155747A1 (en) | Data coding bitrate adaptive adjustment method, apparatus and device, and storage medium | |
CN109905901B (en) | Network selection method and device and computer readable storage medium | |
CN101001157A (en) | Communication charge |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |