CN107396028A - The processing method and mobile terminal of a kind of video calling - Google Patents
The processing method and mobile terminal of a kind of video calling Download PDFInfo
- Publication number
- CN107396028A CN107396028A CN201710731008.9A CN201710731008A CN107396028A CN 107396028 A CN107396028 A CN 107396028A CN 201710731008 A CN201710731008 A CN 201710731008A CN 107396028 A CN107396028 A CN 107396028A
- Authority
- CN
- China
- Prior art keywords
- network
- levels
- grade
- controlled plant
- mobile terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The present invention provides a kind of processing method and mobile terminal of video calling, and method includes:In video call process, obtain the network under network residing for mobile terminal and consult code check, and the Video coding transmission code rate of detection mobile terminal;If the Video coding transmission code rate of mobile terminal is more than network and consults code check, the first controlled plant and the second controlled plant are alternately adjusted to first object value and the second desired value;If first controlled plant is in the first object value, and second controlled plant is in second desired value, and frame of video is encoded and exported.The processing method of video calling provided in an embodiment of the present invention, mobile terminal can alternately adjust video encoding quality and frame per second, realization reduces coding bit rate output to adapt to network negotiation code check, so as to avoid directly reduce in the prior art video encoding quality to it is minimum and the problem of cause video speech quality low, improve the quality of video calling.
Description
Technical field
The present invention relates to the processing method and mobile terminal of communication technical field, more particularly to a kind of video calling.
Background technology
The video calling function the most frequently used as mobile terminal, can transmit both call sides in real time between mobile terminals
Voice and image, realize that both call sides carry out aspectant communication.But in order to ensure the Internet resources of same cell,
Virtual network operator would generally limit the peak transfer rate of video calling, and when network environment or network quality are deteriorated, depending on
The peak transfer rate of frequency call can also reduce.And when peak transfer rate reduces, in specific frame per second and Video coding matter
Under amount, the size of the frame of video of transmitted per unit time, which encodes bit rate output, may exceed peak transfer rate, so as to cause
Network transmission packet loss in video call process, cause occur flower screen or interim card in video call process.
In order to avoid occurring network transmission packet loss in video call process, mobile terminal is needed by reducing video calling
Video coding bit rate output meets the limitation of peak transfer rate.At present during Video coding bit rate output is reduced, lead to
Be often to first pass through regulation video encoding quality, reduce video encoding quality, if video encoding quality adjust to it is minimum when still not
It can meet, then Video coding bit rate output is further reduced by reducing frame per second.But due to video encoding quality adjust to
When minimum, mosaic or fuzzy phenomenon occurs in the frame of video in video call process, so as to reduce video calling
Quality.
It can be seen that current mobile terminal in the Video coding bit rate output in reducing video call process, is present easily
By video encoding quality adjust to it is minimum and the problem of cause video speech quality low.
The content of the invention
The embodiment of the present invention provides a kind of processing method and mobile terminal of video calling, to solve current mobile terminal
In the Video coding bit rate output in reducing video call process, draw because existing and easily minimizing video encoding quality
Play the problem of video speech quality is low.
In a first aspect, the embodiments of the invention provide a kind of processing method of video calling, applied to mobile terminal, bag
Include:
In video call process, obtain the network under network residing for the mobile terminal and consult code check, and detection institute
State the Video coding transmission code rate of mobile terminal;
If the Video coding transmission code rate of the mobile terminal is more than the network and consults code check, by the first controlled plant and
Second controlled plant is alternately adjusted to first object value and the second desired value, wherein, first controlled plant and described second
Controlled plant is respectively video encoding quality and frame per second, or first controlled plant and second controlled plant are respectively
Frame per second and video encoding quality;
If first controlled plant is in the first object value, and second controlled plant is in second mesh
Scale value, frame of video is encoded and exported, wherein, when encoding and exporting the frame of video, the Video coding of video calling
Transmission code rate is less than or equal to the network and consults code check.
Second aspect, a kind of mobile terminal is also provided in the embodiment of the present invention, including:
Detection module, consult code in video call process, obtaining the network under network residing for the mobile terminal
Rate, and the Video coding transmission code rate of the detection mobile terminal;
Adjustment module, will if the Video coding transmission code rate for the mobile terminal, which is more than the network, consults code check
First controlled plant and the second controlled plant are alternately adjusted to first object value and the second desired value, wherein, first regulation
Object and second controlled plant are respectively video encoding quality and frame per second, or first controlled plant and described second
Controlled plant is respectively frame per second and video encoding quality;
Processing module, if being in the first object value, and second controlled plant for first controlled plant
In second desired value, frame of video is encoded and exported, wherein, when encoding and exporting the frame of video, video
The Video coding transmission code rate of call is less than or equal to the network and consults code check.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory, are stored in described
On memory and the computer program that can run on the processor, the computer program is by real during the computing device
The step of processing method of existing above-mentioned video calling.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable recording medium, the computer-readable storage
Computer program is stored with medium, the computer program realizes the processing method of above-mentioned video calling when being executed by processor
The step of.
So, in the embodiment of the present invention, in video call process, if the Video coding bit rate output of mobile terminal is more than
Network consults code check, and mobile terminal alternately regulation video encoding quality and frame per second, realization can make the reduction of coding bit rate output
Consult code check to adapt to network, video encoding quality is directly reduced in the prior art to minimum and cause video to lead to so as to avoid
Low-quality problem is talked about, improves the quality of video calling.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the processing method of video calling provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the processing method of another video calling provided in an embodiment of the present invention;
Fig. 3 is the flow signal for replacing regulation process in a kind of processing method of video calling provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of adjustment module in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structural representation of adjustment unit in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structural representation of detection module in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of the processing method of video calling provided in an embodiment of the present invention, should
For mobile terminal, as shown in figure 1, comprising the following steps:
Step 101, in video call process, obtain network under network residing for the mobile terminal and consult code check, with
And the Video coding transmission code rate of the detection mobile terminal.
In the embodiment of the present invention, it is that mobile terminal carries out video frame transmission under its residing network that above-mentioned network, which consults code check,
Peak transfer rate.Network under network residing for the above-mentioned acquisition mobile terminal consults code check, can be mobile terminal inspection
The network signal intensity surveyed under its residing network, and the network signal intensity detected is fed back into network side equipment, network side
Network corresponding to the network signal intensity is consulted code check after network signal intensity is received and is sent to mobile terminal by equipment.
In addition, in video call process, mobile terminal can also be examined under current video encoding quality and frame per second
Its Video coding transmission code rate is surveyed, above-mentioned Video coding transmission code rate is the actual speed rate that mobile terminal carries out video frame transmission.
Certainly, above-mentioned mobile terminal detects its Video coding transmission rate, can be that the network in the case where obtaining its residing network consults code
Carry out after rate or before or the network with obtaining under its residing network is consulted code check and carried out simultaneously, herein not
It is defined.
If the Video coding transmission code rate of step 102, the mobile terminal, which is more than the network, consults code check, first is adjusted
Object and the second controlled plant is saved alternately to adjust to first object value and the second desired value.
In the embodiment of the present invention, if the network that above-mentioned steps 101 are got under network residing for mobile terminal consults code check, with
And detect the video frequency coding rate of mobile terminal, mobile terminal may determine that mobile terminal Video coding transmission code rate whether
Consult code check more than network, if the Video coding transmission code rate of mobile terminal is more than network and consults code check, mobile terminal can be with
Alternately regulation video encoding quality and frame per second, reduce Video coding transmission code rate and consult code check to adapt to network.
Wherein, video encoding quality or frame per second are higher, and the internal memory of the frame of video in video call process is bigger, then moves
The Video coding transmission code rate of terminal is higher;Video encoding quality or frame per second are lower, and the internal memory of frame of video is smaller, then mobile whole
The Video coding transmission code rate at end is lower.Mobile terminal can using video encoding quality as the first controlled plant and frame per second as
Second controlled plant, or using frame per second as the first controlled plant and video encoding quality as the second controlled plant, pass through by
Alternately regulation to first object value and the second desired value, is realized video encoding quality for first controlled plant and the second controlled plant
And frame per second reduces, the Video coding transmission code rate of mobile terminal is reduced.
In addition, above-mentioned alternately adjust the first controlled plant and the second controlled plant to first object value and the second target
Value can be mobile terminal according to each self-corresponding default amplitude of accommodation of the first controlled plant and the second controlled plant, to the
The value of one controlled plant and the value of the second controlled plant are adjusted at least once, until the Video coding of mobile terminal transmits
Code check is less than or equal to network and consults code check.
Such as:If the first controlled plant is video encoding quality, the second controlled plant is frame per second, and is preset in mobile terminal
Have single regulation video encoding quality and frame per second the amplitude of accommodation, mobile terminal according to the amplitude of accommodation of video encoding quality with
And the amplitude of accommodation of frame per second, 2 regulations have been carried out to video encoding quality and frame per second respectively, that is, have realized the video of mobile terminal
During coding transmission code check meets that being less than or equal to network consults code check, 4 drops are carried out to Video coding transmission code rate
High adjustment operates, wherein, the 1st operation and the 3rd operation are by adjusting video encoding quality, and the 2nd operation and the 4th behaviour
Make to realize by adjusting frame per second;Can also be that the 1st operation and the 4th are operated by adjusting video encoding quality, and the 2nd behaviour
Make and the 3rd operation is by adjusting frame per second realization etc..
If step 103, first controlled plant are in the first object value, and second controlled plant is in institute
The second desired value is stated, frame of video is encoded and exported.
In the embodiment of the present invention, if above-mentioned steps 102 are respectively adjusted the first controlled plant and the second controlled plant to
One desired value and the second desired value, mobile terminal can will be encoded and exported in video, even first object object be regarding
Frequency coding quality and the second destination object is frame per second, mobile terminal encodes according to first object value to frame of video, and will compile
Frame of video after code exports according to the second desired value;If first object object is frame per second and the second destination object is Video coding matter
Amount, mobile terminal encode according to the second desired value to frame of video, and the frame of video after coding is defeated according to first object value
Go out so that mobile terminal Video coding transmission code rate of video calling in coding and output video frame is less than or equal to network
Consult code check, Video coding transmission code rate adapts to the limitation of the peak transfer rate of its residing network, so as to reduce generation video
The possibility of frame data packet loss, lift the quality of video calling.
In the embodiment of the present invention, above-mentioned mobile terminal can be any mobile terminal that can carry out video calling, such as:
Mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (LaptopComputer), individual digital help
Manage (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device,
) or wearable device (Wearable Device) etc. MID.
So, in the embodiment of the present invention, in video call process, if the Video coding bit rate output of mobile terminal is more than
Network consults code check, and mobile terminal alternately regulation video encoding quality and frame per second, realization can make the reduction of coding bit rate output
Consult code check to adapt to network, video encoding quality is directly reduced in the prior art to minimum and cause video to lead to so as to avoid
Low-quality problem is talked about, improves the quality of video calling.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow sheet of the processing method of video calling provided in an embodiment of the present invention, such as
Shown in Fig. 2, comprise the following steps:
Step 201, in video call process, obtain network under network residing for the mobile terminal and consult code check, with
And the Video coding transmission code rate of the detection mobile terminal.
In the embodiment of the present invention, the network under network residing for the above-mentioned acquisition mobile terminal consults code check, can move
Dynamic terminal detects the network signal intensity under its residing network, and the network signal intensity detected is fed back into network side and set
Standby, network corresponding to the network signal intensity is consulted code check after network signal intensity is received and is sent to by network side equipment
Mobile terminal.
Or optionally, above-mentioned steps 201, it can include:In video call process, the mobile terminal institute is detected
Locate the network signal intensity under network;According to network condition grade and the preset relation of the scope of network signal intensity, it is determined that inspection
Network condition grade corresponding to the network signal intensity measured, wherein, each network condition grade and a network signal intensity
Scope is corresponding;Consult the preset relation of code check according to network condition grade and network, it is determined that strong with the network signal that detects
Network corresponding to network condition grade corresponding to degree consults code check;Detect the Video coding transmission code rate of the mobile terminal.
In present embodiment, network side equipment can be strong for mobile terminal configuration network condition grade and network signal in advance
The relation of the scope of degree, and network condition grade consult the relation of code check with network, so that mobile terminal can be according to net
Network signal intensity, quickly determine that the network under its residing network consults code check, improve Video coding in video call process and transmit
The efficiency of code rate adjustment.
If the Video coding transmission code rate of step 202, the mobile terminal, which is more than the network, consults code check, according to first
Predetermined level list and the second predetermined level list, by first controlled plant and second controlled plant alternately regulation to
First object grade and the second goal gradient.
The rank list associated with the first controlled plant i.e. can be pre-set in the embodiment of the present invention, in mobile terminal
One predetermined level list, and the rank list associated with the second controlled plant i.e. the second predetermined level list, if above-mentioned steps
Video coding transmission code rate is more than network negotiation code check in 201, and mobile terminal can be according to the first predetermined level list and second
Predetermined level list, the first controlled plant and the second controlled plant are alternately adjusted, so that the Video coding transmission after alternately adjusting
Code check is less than or equal to above-mentioned network and consults code check.Above-mentioned first controlled plant can be video encoding quality and the second regulation
Object is frame per second;Or above-mentioned first controlled plant can be frame per second and the second controlled plant is video encoding quality.
Wherein, it is above-mentioned according to the first predetermined level list and the second predetermined level list, by the first controlled plant and second
Alternately regulation can be that mobile terminal is reducing Video coding transmission to first object grade and the second goal gradient to controlled plant
During code check, the grade to the first controlled plant and the grade of the second controlled plant are adjusted at least once respectively, and are made
During the value of first controlled plant is adjusted to minimum by currency, the second controlled plant is adjusted at least once;
Or make the second controlled plant value adjusted by currency to minimum during, to the second controlled plant carry out at least once
Regulation.Such as:Can be during Video coding transmission code rate is reduced, the grade to the first controlled plant it is adjacent twice
During regulation, the grade of the second controlled plant is adjusted at least once.
Optionally, it is as shown in figure 3, above-mentioned according to the first predetermined level list and the second predetermined level list, first is adjusted
The step of object and the alternating regulation of the second controlled plant are to first object grade and the second goal gradient is saved, can be included:
S1, the grade of first controlled plant adjusted to K2 levels by K1 levels, wherein, the K1 levels are described
Present level of first controlled plant in described first the presets list;The K1 levels and the K2 levels are adjacent grade
Or it is separated by least one grade between the K1 levels and the K2 levels;
S2, under the K2 levels and L1 levels, detect the current Video coding transmission code rate of the mobile terminal, and sentence
Whether the disconnected current Video coding transmission code rate detected, which is more than the network, is consulted code check, wherein, the L1 levels are institute
State present level of second controlled plant in described second the presets list;
If S3, the current Video coding transmission code rate detected, which are more than the network, consults code check, described second is adjusted
The grade of section object is adjusted to L2 levels by L1 levels, wherein, the L1 levels and the L2 levels for adjacent grade or
It is separated by least one grade between the L1 levels and the L2 levels;
S4, under the K2 levels and the L2 levels, continue to detect the current Video coding transmission of the mobile terminal
Code check, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check;
If S5, the current Video coding transmission code rate detected, which are more than the network, consults code check, by the K2 levels
As the K1 levels, and the L2 levels are as the L1 levels, and re-execute step S1-S4;
If the current Video coding transmission code rate detected in S6, step S2 or step S4 is less than or equal to described
Network transmission code check, then by the grade of the first controlled plant obtained in step S1 or step S3 and the second controlled plant etc.
Level, respectively as first object grade and the second goal gradient.
In present embodiment, mobile terminal is handed over to the grade of the first controlled plant and the grade of the second controlled plant
Can be that the grade of the first controlled plant and the second regulation pair are being adjusted in the way of intersecting one by one during being adjusted
The grade of elephant is adjacent to reduce twice that is, before Video coding transmission code rate decreases below or consults code check equal to network
The controlled plant of the operation of Video coding transmission code rate is different, i.e., it is once the first controlled plant of regulation to reduce twice in operation,
Another time is the second controlled plant of regulation, can further reduce generation video encoding quality and be reduced to minimum possibility.
Such as:If the first controlled plant is video encoding quality, and default first predetermined level list includes grade
A1, grade A2, grade A3 and grade A4, and grade A1 values of video encoding quality into A4 reduce successively;Second regulation pair
As for frame per second, and default second predetermined level list includes grade B1, grade B2, grade B3 and grade B4, and grade
B1 values of video encoding quality into B4 reduce successively, if the Video coding transmission code rate in above-mentioned steps 201 is assisted more than network
Business's code check, and if the current grade of video encoding quality is grade A1 and the current grade of frame per second is B1, mobile terminal
It can adjust successively in the following order to realize the reduction of Video coding transmission code rate:By the grade of video encoding quality by etc.
Level A1 is down to grade A2, and the grade of frame per second will be worth into grade B2 by grade B1, the grade of video encoding quality is dropped by grade A2
To grade A3, the grade of frame per second will be worth grade B3 by grade B2, the grade of video encoding quality is down to grade by grade A3
A4, the grade of frame per second will be worth grade B4 by grade B3;If during reducing Video coding transmission code rate in the order described above,
When complete wherein Primary regulation rear video coding transmission code check be less than or equal to network consult code check, then mobile terminal stop after
The continuous regulation operation performed after this time regulation, and using grade corresponding to the video encoding quality after this time regulation as first
Goal gradient, grade corresponding to frame per second is as the second goal gradient, such as after the grade of frame per second will be worth into grade B3 by grade B2
Video coding transmission code rate is less than or equal to network and consults code check, then makees grade A3 as first object grade, grade B3
For the second goal gradient.
In addition, when above-mentioned K1 levels and above-mentioned K2 levels are adjacent grade, mobile terminal can adjust first step by step
The grade of controlled plant;And when being separated by least one grade between above-mentioned K1 levels and K2 levels, mobile terminal is right each time
The regulation of first controlled plant can cross over multiple grades.Similarly, above-mentioned L1 levels and above-mentioned L2 levels are adjacent grade
Or it is separated by least one grade between above-mentioned L1 levels and above-mentioned L2 levels, the regulation for the second controlled plant is mobile whole
End can also step by step adjust or be adjusted across multiple grades.
In the embodiment of the present invention, above-mentioned video encoding quality is the parameter for weighing video quality in video call process, depending on
Frequency coding quality is lower, and the video quality after coding is lower.Optionally, above-mentioned video encoding quality can be by quantization parameter table
Sign.Wherein, quantization parameter (Quatization Parameter, QP) can with accurate characterization video encoding quality, quantization parameter
Value is bigger, and video encoding quality is lower;The value of quantization parameter is smaller, and video encoding quality is higher, so as to by alternately adjusting
Quantization parameter and frame per second are saved, realizes the reduction of Video coding transmission code rate.Certainly, above-mentioned video encoding quality can also be by measuring
Change the parameter characterizations such as step-length, be not defined herein.
In addition, it is necessary to which explanation, above-mentioned according to the first predetermined level list and the second predetermined level list, alternately adjust
The grade of the grade of first controlled plant and the second controlled plant, can be according to the first regulation pair in the first predetermined level list
The value of second controlled plant and the relation of grade in the value of elephant and the relation of grade, and the second predetermined level list, by first
The grade rise of controlled plant reduces, it is only necessary to regulation every time can be realized the reduction of Video coding transmission code rate i.e.
Can, it is not defined herein.
Such as:If above-mentioned first controlled plant is the video encoding quality characterized by QP, and in the first predetermined level list,
QP values raise as grade reduces;And second controlled plant be frame per second, and the value of frame per second reduces as grade reduces, if on
State the Video coding transmission code rate in step 201 and be more than network negotiation code check, then during Video coding transmission code rate is reduced,
Regulation for QP can adjust the rise of its grade, and the regulation to frame per second can adjust its grade to reduce.
Step 203, determine that value corresponding to first object grade described in the first predetermined level list is first object
Value.
In the embodiment of the present invention, if above-mentioned steps 202 adjust the grade of the first controlled plant to first object grade, move
Dynamic terminal can determine the according to the corresponding relation of default grade in the first predetermined level list and the value of the first controlled plant
Value is first object value corresponding to one goal gradient.
Step 204, determine that value corresponding to the second goal gradient described in the second predetermined level list is the second target
Value.
In the embodiment of the present invention, if above-mentioned steps 202 adjust the grade of the second controlled plant to the second goal gradient, move
Dynamic terminal can determine the second target according to the second predetermined level list middle grade and the preset relation of the value of the second controlled plant
Value is the second desired value corresponding to grade.
If step 205, first controlled plant are in the first object value, and second controlled plant is in institute
The second desired value is stated, frame of video is encoded and exported.
In the embodiment of the present invention, if above-mentioned steps 203 determine first object value and step 204 determines the second desired value, move
Dynamic terminal can be encoded and transmitted to frame of video, and mobile terminal video when being encoded and being transmitted to frame of video
The Video coding transmission code rate of call is less than or equal to the network and consults code check, and video requency frame data packet loss occurs so as to reduce
Possibility, lift the quality of video calling.
In the embodiment of the present invention, according to the first predetermined level list and the second predetermined level list, by the first controlled plant
Alternately adjusted to first object grade and the second goal gradient with the second controlled plant;Determine in the first predetermined level list
Value is first object value corresponding to the first object grade;Determine second target etc. described in the second predetermined level list
Value is the second desired value corresponding to level.Mobile terminal, can be in the grade of regulation video encoding quality according to predetermined level list
During adjust frame per second grade, realize to the alternating of video encoding quality and frame per second adjust, and lifted reduce coding output code
Regulation efficiency during rate.
Referring to Fig. 4, Fig. 4 is a kind of structural representation for mobile terminal that the present invention implements offer, as shown in figure 4, mobile
Terminal 400 includes detection module 401, adjustment module 402 and the processing module 403 being sequentially connected:
Detection module 401, consult in video call process, obtaining the network under network residing for the mobile terminal
Code check, and the Video coding transmission code rate of the detection mobile terminal;
Adjustment module 402, if the Video coding transmission code rate for the mobile terminal, which is more than the network, consults code check,
First controlled plant and the second controlled plant are alternately adjusted to first object value and the second desired value, wherein, described first adjusts
Section object and second controlled plant are respectively video encoding quality and frame per second, or first controlled plant and described the
Two controlled plants are respectively frame per second and video encoding quality;
Processing module 403, if being in the first object value, and second regulation pair for first controlled plant
As in second desired value, frame of video being encoded and being exported, wherein, when encoding and exporting the frame of video, depending on
The Video coding transmission code rate of frequency call is less than or equal to the network and consults code check.
Optionally, as shown in figure 5, the adjustment module 402 includes:
Adjustment unit 4021, for according to the first predetermined level list and the second predetermined level list, by the first regulation pair
As alternately being adjusted with the second controlled plant to first object grade and the second goal gradient, wherein, the first predetermined level row
Table is the rank list associated with first controlled plant, and the second predetermined level list is and the described second regulation pair
As the rank list of association;
First determining unit 4022, for determining described in the first predetermined level list corresponding to first object grade
It is worth for first object value;
Second determining unit 4023, for determining described in the second predetermined level list corresponding to the second goal gradient
It is worth for the second desired value.
Optionally, as shown in fig. 6, the adjustment unit 4021 includes:
First regulator unit 40211, for the grade of first controlled plant to be adjusted to K2 levels by K1 levels,
Wherein, the K1 levels are present level of first controlled plant in described first the presets list;The K1 levels with
The K2 levels are separated by least one grade between adjacent grade or the K1 levels and the K2 levels;
First detection sub-unit 40212, it is current under the K2 levels and L1 levels, detecting the mobile terminal
Video coding transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code
Rate, wherein, the L1 levels are present level of second controlled plant in described second the presets list;
Second regulator unit 40213, if being passed for the current Video coding that first detection sub-unit detects
Defeated code check is more than the network and consults code check, and the grade of second controlled plant is adjusted to L2 levels by L1 levels, wherein,
The L1 levels and the L2 levels are separated by least one between adjacent grade or the L1 levels and the L2 levels
Grade;
Second detection sub-unit 40214, under the K2 levels and the L2 levels, continuing to detect the movement eventually
Current Video coding transmission code rate is held, and whether the current Video coding transmission code rate for judging to detect is more than the network
Consult code check;
Subelement 40215 is controlled, if consulting for the current Video coding transmission code rate detected more than the network
Code check, using the K2 levels as the K1 levels, and the L2 levels are as the L1 levels, and control described first to adjust
Knot unit 40211, first detection sub-unit 40212, second regulator unit 40213 and second detection
Subelement 40214 re-executes action;
Determination subelement 40216, if for first detection sub-unit 40212 or second detection sub-unit
The 40214 current Video coding transmission code rates detected are less than or equal to the network transmission code check, then by described first
The grade for the first controlled plant that regulator unit 40211 or second regulator unit 40213 obtain and the second regulation
The grade of object, respectively as first object grade and the second goal gradient.
Optionally, the video encoding quality is characterized by quantization parameter.
Optionally, as shown in fig. 7, the detection module 401 includes:
Network quality detection unit 4011, in video call process, detecting under network residing for the mobile terminal
Network signal intensity;
Network condition determining unit 4012, the default pass for the scope according to network condition grade and network signal intensity
System, it is determined that network condition grade corresponding to the network signal intensity detected, wherein, each network condition grade is believed with a network
The scope of number intensity is corresponding;
Consult code check determining unit 4013, for consulting the preset relation of code check according to network condition grade and network, really
Network corresponding to fixed network condition grade corresponding with the network signal intensity detected consults code check;
Transmission code rate detection unit 4014, for detecting the Video coding transmission code rate of the mobile terminal.
Mobile terminal 400 can realize each process that the mobile terminal of Fig. 1 embodiments into Fig. 3 is realized, to avoid weight
It is multiple, repeat no more here.
The mobile terminal 400 of the embodiment of the present invention, in video call process, if the Video coding output code of mobile terminal
Rate is more than network and consults code check, and mobile terminal alternately regulation video encoding quality and frame per second, realization can make coding output code
Rate reduces consults code check to adapt to network, and video encoding quality is directly reduced in the prior art to minimum and cause so as to avoid
The problem of video speech quality is low, improve the quality of video calling.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, is stored on the memory simultaneously
The computer program that can be run on the processor, above-mentioned video is realized when the computer program is by the computing device
Each process of the processing method embodiment of call, and identical technique effect can be reached, it is no longer superfluous here to avoid repeating
State.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize each mistake of the processing method embodiment of above-mentioned video calling when being executed by processor
Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium
Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD etc..
Referring to Fig. 8, Fig. 8 is a kind of structural representation for mobile terminal that the present invention implements offer, as shown in figure 8, mobile
Terminal 800 includes:At least one processor 801, memory 802, at least one network interface 804 and user interface 803.It is mobile
Each component in terminal 800 is coupled by bus system 805.It is understood that bus system 805 is used to realize these groups
Connection communication between part.Bus system 805 is in addition to including data/address bus, in addition to power bus, controlling bus and state
Signal bus.But for the sake of clear explanation, various buses are all designated as bus system 805 in fig. 8.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, mobile terminal 800 also includes:It is stored on memory 802 and can be on processor 801
The computer program of operation, can be the computer program in application program 8022, computer program is by processor specifically
801 realize following steps when performing:In video call process, the network obtained under network residing for the mobile terminal consults code
Rate, and the Video coding transmission code rate of the detection mobile terminal;If the Video coding transmission code rate of the mobile terminal is big
Consult code check in the network, the first controlled plant and the second controlled plant are alternately adjusted to first object value and the second target
Value, wherein, first controlled plant and second controlled plant are respectively video encoding quality and frame per second, or described the
One controlled plant and second controlled plant are respectively frame per second and video encoding quality;If first controlled plant is in institute
First object value is stated, and second controlled plant is in second desired value, and frame of video is encoded and exported, its
In, when encoding and exporting the frame of video, the Video coding transmission code rate of video calling is assisted less than or equal to the network
Business's code check.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe computer-readable recording medium in this area such as memory or electrically erasable programmable memory, register.The meter
Calculation machine readable storage medium storing program for executing is located at memory 802, and processor 801 reads the information in memory 802, is completed with reference to its hardware
The step of stating method.Specifically, computer program is stored with the computer-readable recording medium, computer program is by processor
801 realize each step of the processing method embodiment such as above-mentioned video calling when performing.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software
Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or
Realized outside processor.
Optionally, following steps can be also realized when computer program is performed by processor 801:Arranged according to the first predetermined level
Table and the second predetermined level list, by first controlled plant and second controlled plant alternately regulation to first object etc.
Level and the second goal gradient, wherein, the first predetermined level list is the rank list associated with first controlled plant,
And the second predetermined level list is the rank list associated with second controlled plant;Determine first predetermined level
Value is first object value corresponding to first object grade described in list;Determine second described in the second predetermined level list
Value is the second desired value corresponding to goal gradient.
Optionally, following steps can be also realized when computer program is performed by processor 801:S1, described first is adjusted
The grade of object is adjusted to K2 levels by K1 levels, wherein, the K1 levels and the K2 levels are adjacent grade or institute
It is present level of first controlled plant in described first the presets list to state K1 levels;The K1 levels and the K2
It is separated by least one grade between level;S2, under the K2 levels and L1 levels, detect the current video of the mobile terminal and compile
Code transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check, and sentence
Whether the disconnected current Video coding transmission code rate detected, which is more than the network, is consulted code check, wherein, the L1 levels are institute
State present level of second controlled plant in described second the presets list;If the current video that S3, step S2 are detected is compiled
Code transmission code rate is more than the network and consults code check, then adjusts the grade of second controlled plant to L2 by L1 levels
Level, wherein, the L1 levels and the L2 levels are separated by between adjacent grade or the L1 levels and the L2 levels
At least one grade;S4, under the K2 levels and the L2 levels, continue to detect the current Video coding of the mobile terminal
Transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check, and judge
Whether the current Video coding transmission code rate detected, which is more than the network, is consulted code check;What if S5, step S4 were detected works as
Preceding Video coding transmission code rate is more than the network and consults code check, using the K2 levels as the K1 levels, and it is described
L2 levels re-execute step S1-S4 as the L1 levels;If detected in S6, step S2 or step S4 current
Video coding transmission code rate be less than or equal to the network transmission code check, then will obtained in step S1 or step S3
The grade of the grade of one controlled plant and the second controlled plant, respectively as first object grade and the second goal gradient.
Optionally, the video encoding quality is characterized by quantization parameter.
Optionally, following steps can be also realized when computer program is performed by processor 801:In video call process,
Detect the network signal intensity under network residing for the mobile terminal;According to default network condition grade and network signal intensity
Scope relation, it is determined that network condition grade corresponding to the network signal intensity detected, wherein, each network condition grade
It is corresponding with the scope of a network signal intensity;Consult the relation of code check according to default network condition grade and network, it is determined that
Network corresponding to network condition grade corresponding with the network signal intensity detected consults code check;Detect the mobile terminal
Video coding transmission code rate.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 800 of the embodiment of the present invention, in video call process, if the Video coding output code of mobile terminal
Rate is more than network and consults code check, and mobile terminal alternately regulation video encoding quality and frame per second, realization can make coding output code
Rate reduces consults code check to adapt to network, and video encoding quality is directly reduced in the prior art to minimum and cause so as to avoid
The problem of video speech quality is low, improve the quality of video calling.
Referring to Fig. 9, Fig. 9 is a kind of structural representation for mobile terminal that the present invention implements offer, Fig. 1 can be realized extremely
In Fig. 3 in embodiment the processing method of video calling details, and reach identical effect.As shown in figure 9, mobile terminal 900
Including radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940, processor
950th, voicefrequency circuit 960, communication module 970 and power supply 980.
Wherein, input block 930 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal
The signal input that 900 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 930 can
With including contact panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses the operations of any suitable object or annex on contact panel 931 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 950 again, and the order sent of reception processing device 950 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block
930 can also include other input equipments 932, and other input equipments 932 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 940 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal 900.Display unit 940 may include display panel 941, optionally, can use LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring the touch operation on or near it, processor 950 is sent to determine the type of touch event, is followed by subsequent processing device
950 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..The touch-screen of the embodiment of the present invention is soft
Property screen, organic nesa coating of CNT is posted in two faces of flexible screen.
Wherein processor 950 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module that are stored in first memory 921, and call storage
Data in second memory 922, the various functions and processing data of mobile terminal 900 are performed, so as to mobile terminal 900
Carry out integral monitoring.Optionally, processor 950 may include one or more processing units.
In embodiments of the present invention, mobile terminal also includes:It is stored in first memory 921 and can be on processor 950
The computer program of operation, computer program realize following steps when being performed by processor 950:In video call process, obtain
The network under network residing for the mobile terminal is taken to consult code check, and the Video coding transmission code of the detection mobile terminal
Rate;If the Video coding transmission code rate of the mobile terminal, which is more than the network, consults code check, by the first controlled plant and second
Controlled plant is alternately adjusted to first object value and the second desired value, wherein, first controlled plant and second regulation
Object is respectively video encoding quality and frame per second, or first controlled plant and second controlled plant are respectively frame per second
And video encoding quality;If first controlled plant is in the first object value, and second controlled plant is in institute
The second desired value is stated, frame of video is encoded and exported, wherein, when encoding and exporting the frame of video, video calling
Video coding transmission code rate is less than or equal to the network and consults code check.
Optionally, following steps can be also realized when computer program is performed by processor 950:Arranged according to the first predetermined level
Table and the second predetermined level list, by first controlled plant and second controlled plant alternately regulation to first object etc.
Level and the second goal gradient, wherein, the first predetermined level list is the rank list associated with first controlled plant,
And the second predetermined level list is the rank list associated with second controlled plant;Determine first predetermined level
Value is first object value corresponding to first object grade described in list;Determine second described in the second predetermined level list
Value is the second desired value corresponding to goal gradient.
Optionally, following steps can be also realized when computer program is performed by processor 950:S1, described first is adjusted
The grade of object is adjusted to K2 levels by K1 levels, wherein, the K1 levels are that first controlled plant is pre- described first
If the present level in list;The K1 levels are adjacent grade or the K1 levels and the K2 with the K2 levels
It is separated by least one grade between level;S2, under the K2 levels and L1 levels, detect the current video of the mobile terminal and compile
Code transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check, and sentence
Whether the disconnected current Video coding transmission code rate detected, which is more than the network, is consulted code check, wherein, the L1 levels are institute
State present level of second controlled plant in described second the presets list;If the current video that S3, step S2 are detected is compiled
Code transmission code rate is more than the network and consults code check, then adjusts the grade of second controlled plant to L2 by L1 levels
Level, wherein, the L1 levels and the L2 levels are separated by between adjacent grade or the L1 levels and the L2 levels
At least one grade;S4, under the K2 levels and the L2 levels, continue to detect the current Video coding of the mobile terminal
Transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check, and judge
Whether the current Video coding transmission code rate detected, which is more than the network, is consulted code check;What if S5, step S4 were detected works as
Preceding Video coding transmission code rate is more than the network and consults code check, using the K2 levels as the K1 levels, and it is described
L2 levels re-execute step S1-S4 as the L1 levels;If detected in S6, step S2 or step S4 current
Video coding transmission code rate be less than or equal to the network transmission code check, then will obtained in step S1 or step S3
The grade of the grade of one controlled plant and the second controlled plant, respectively as first object grade and the second goal gradient.
Optionally, the video encoding quality is characterized by quantization parameter.
Optionally, following steps can be also realized when computer program is performed by processor 950:In video call process,
Detect the network signal intensity under network residing for the mobile terminal;According to network condition grade and the scope of network signal intensity
Preset relation, it is determined that network condition grade corresponding to the network signal intensity detected, wherein, each network condition grade with
The scope of one network signal intensity is corresponding;Consult the preset relation of code check according to network condition grade and network, it is determined that with inspection
Network corresponding to network condition grade corresponding to the network signal intensity measured consults code check;Detect the video of the mobile terminal
Coding transmission code check.
Mobile terminal 900 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 900 of the embodiment of the present invention, in video call process, if the Video coding output code of mobile terminal
Rate is more than network and consults code check, and mobile terminal alternately regulation video encoding quality and frame per second, realization can make coding output code
Rate reduces consults code check to adapt to network, and video encoding quality is directly reduced in the prior art to minimum and cause so as to avoid
The problem of video speech quality is low, improve the quality of video calling.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
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 mobile terminal and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, it can be passed through
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the division of unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, mobile terminal or unit
Or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If function is realized in the form of SFU software functional unit and as independent production marketing or in use, can stored
In a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words to existing
The part for having part that technology contributes or the technical scheme can be embodied in the form of software product, the computer
Software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be personal meter
Calculation machine, server, or network equipment etc.) perform all or part of step of each embodiment method of the present invention.It is and foregoing
Storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, it is only embodiment of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered
Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (12)
- A kind of 1. processing method of video calling, applied to mobile terminal, it is characterised in that including:In video call process, obtain the network under network residing for the mobile terminal and consult code check, and the detection shifting The Video coding transmission code rate of dynamic terminal;If the Video coding transmission code rate of the mobile terminal, which is more than the network, consults code check, by the first controlled plant and second Controlled plant is alternately adjusted to first object value and the second desired value, wherein, first controlled plant and second regulation Object is respectively video encoding quality and frame per second, or first controlled plant and second controlled plant are respectively frame per second And video encoding quality;If first controlled plant is in the first object value, and second controlled plant is in second target Value, frame of video is encoded and exported, wherein, when encoding and exporting the frame of video, the Video coding of video calling passes Defeated code check is less than or equal to the network and consults code check.
- 2. according to the method for claim 1, it is characterised in that described to replace the first controlled plant and the second controlled plant The step of regulation is to first object value and the second desired value, including:According to the first predetermined level list and the second predetermined level list, by first controlled plant and second regulation pair As alternately regulation to first object grade and the second goal gradient, wherein, the first predetermined level list be and described first The rank list of controlled plant association, and the second predetermined level list is the grade row associated with second controlled plant Table;Determine that value corresponding to first object grade described in the first predetermined level list is the first object value;Determine that value corresponding to the second goal gradient described in the second predetermined level list is second desired value.
- 3. according to the method for claim 2, it is characterised in that described default etc. according to the first predetermined level list and second Level list, first controlled plant and second controlled plant are alternately adjusted to first object grade and the second target etc. The step of level, including:S1, the grade of first controlled plant adjusted to K2 levels by K1 levels, wherein, the K1 levels are described first Present level of the controlled plant in described first the presets list;The K1 levels and the K2 levels for adjacent grade or It is separated by least one grade between the K1 levels and the K2 levels;S2, under the K2 levels and L1 levels, detect the current Video coding transmission code rate of the mobile terminal, and judge to examine Whether the current Video coding transmission code rate measured, which is more than the network, is consulted code check, wherein, the L1 levels are described the Present level of two controlled plants in described second the presets list;If the current Video coding transmission code rate that S3, step S2 are detected is more than the network and consults code check, by described the The grade of two controlled plants is adjusted to L2 levels by L1 levels, wherein, the L1 levels and the L2 levels are adjacent grade Or it is separated by least one grade between the L1 levels and the L2 levels;S4, under the K2 levels and the L2 levels, continue to detect the current Video coding transmission code rate of the mobile terminal, And whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check;If the current Video coding transmission code rate that S5, step S4 are detected, which is more than the network, consults code check, by the K2 Level is used as the K1 levels, and the L2 levels as the L1 levels, and re-executes step S1-S4;If the current Video coding transmission code rate detected in S6, step S2 or step S4 is less than or equal to the network Transmission code rate, then by the grade of the first controlled plant obtained in step S1 or step S3 and the grade of the second controlled plant, Respectively as first object grade and the second goal gradient.
- 4. according to the method for claim 1, it is characterised in that the video encoding quality is characterized by quantization parameter.
- 5. according to the method for claim 1, it is characterised in that it is described in video call process, obtain described mobile whole Network under network residing for end consults code check, and the step of Video coding transmission code rate of the detection mobile terminal, including:In video call process, the network signal intensity under network residing for the mobile terminal is detected;According to network condition grade and the preset relation of the scope of network signal intensity, it is determined that the network signal intensity pair detected The network condition grade answered, wherein, each network condition grade is corresponding with the scope of a network signal intensity;Consult the preset relation of code check according to network condition grade and network, it is determined that corresponding with the network signal intensity detected Network corresponding to network condition grade consults code check;Detect the Video coding transmission code rate of the mobile terminal.
- A kind of 6. mobile terminal, it is characterised in that including:Detection module, consult code check in video call process, obtaining the network under network residing for the mobile terminal, with And the Video coding transmission code rate of the detection mobile terminal;Adjustment module, if the Video coding transmission code rate for the mobile terminal, which is more than the network, consults code check, by first Controlled plant and the second controlled plant are alternately adjusted to first object value and the second desired value, wherein, first controlled plant It is respectively video encoding quality and frame per second with second controlled plant, or first controlled plant and second regulation Object is respectively frame per second and video encoding quality;Processing module, if the first object value is in for first controlled plant, and second controlled plant is in Second desired value, frame of video is encoded and exported, wherein, when encoding and exporting the frame of video, video calling Video coding transmission code rate be less than or equal to the network consult code check.
- 7. mobile terminal according to claim 6, it is characterised in that the adjustment module includes:Adjustment unit, for according to the first predetermined level list and the second predetermined level list, by first controlled plant and Second controlled plant is alternately adjusted to first object grade and the second goal gradient, wherein, the first predetermined level row Table is the rank list associated with first controlled plant, and the second predetermined level list is and the described second regulation pair As the rank list of association;First determining unit, for determining that value corresponding to first object grade described in the first predetermined level list is first Desired value;Second determining unit, for determining that value corresponding to the second goal gradient described in the second predetermined level list is second Desired value.
- 8. mobile terminal according to claim 7, it is characterised in that the adjustment unit includes:First regulator unit, for the grade of first controlled plant to be adjusted to K2 levels by K1 levels, wherein, it is described K1 levels are present level of first controlled plant in described first the presets list;The K1 levels and the K2 levels It is separated by least one grade between adjacent grade or the K1 levels and the K2 levels;First detection sub-unit, under the K2 levels and L1 levels, detecting the current Video coding of the mobile terminal Transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code check, wherein, institute It is present level of second controlled plant in described second the presets list to state L1 levels;Second regulator unit, if being more than for the current Video coding transmission code rate that first detection sub-unit detects The network consults code check, and the grade of second controlled plant is adjusted to L2 levels by L1 levels, wherein, the L1 levels It is separated by least one grade between adjacent grade or the L1 levels and the L2 levels with the L2 levels;Second detection sub-unit, it is current under the K2 levels and the L2 levels, continuing to detect the mobile terminal Video coding transmission code rate, and whether the current Video coding transmission code rate for judging to detect is more than the network and consults code Rate;Subelement is controlled, if the current Video coding transmission code rate for detecting, which is more than the network, consults code check, by institute K2 levels are stated as the K1 levels, and the L2 levels are as the L1 levels, and control first regulator unit, First detection sub-unit, second regulator unit and second detection sub-unit re-execute action;Determination subelement, if current being regarded for what first detection sub-unit or second detection sub-unit detected Frequency coding transmission code check is less than or equal to the network transmission code check, then by first regulator unit or described second The grade of the first controlled plant and the grade of the second controlled plant that regulator unit obtains, respectively as first object grade and Second goal gradient.
- 9. mobile terminal according to claim 6, it is characterised in that the video encoding quality is characterized by quantization parameter.
- 10. mobile terminal according to claim 6, it is characterised in that the detection module includes:Network quality detection unit, in video call process, detecting the letter of the network under network residing for the mobile terminal Number intensity;Network condition determining unit, for the default relation of the scope according to network condition grade and network signal intensity, really Network condition grade corresponding to the network signal intensity that regular inspection measures, wherein, each network condition grade and a network signal are strong The scope of degree is corresponding;Consult code check determining unit, for consulting the preset relation of code check according to network condition grade and network, it is determined that with detection Network corresponding to network condition grade corresponding to the network signal intensity arrived consults code check;Transmission code rate detection unit, for detecting the Video coding transmission code rate of the mobile terminal.
- 11. a kind of mobile terminal, it is characterised in that including processor, memory is stored on the memory and can be described The computer program run on processor, the computer program are realized during the computing device as in claim 1 to 5 The step of processing method of video calling described in any one.
- 12. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the place of the video calling as any one of claim 1 to 5 is realized when the computer program is executed by processor The step of reason method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710731008.9A CN107396028B (en) | 2017-08-23 | 2017-08-23 | A kind of processing method and mobile terminal of video calling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710731008.9A CN107396028B (en) | 2017-08-23 | 2017-08-23 | A kind of processing method and mobile terminal of video calling |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107396028A true CN107396028A (en) | 2017-11-24 |
CN107396028B CN107396028B (en) | 2019-11-22 |
Family
ID=60345460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710731008.9A Active CN107396028B (en) | 2017-08-23 | 2017-08-23 | A kind of processing method and mobile terminal of video calling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396028B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108521609A (en) * | 2018-02-27 | 2018-09-11 | 北京达佳互联信息技术有限公司 | Determine the method, apparatus and terminal of pushing video type |
CN109729296A (en) * | 2019-01-02 | 2019-05-07 | 京东方科技集团股份有限公司 | The radio transmitting method of signal output apparatus, display equipment and HDMI signal |
WO2019178716A1 (en) * | 2018-03-19 | 2019-09-26 | Qualcomm Incorporated | Adaptive video bitrate for power saving |
CN112235307A (en) * | 2020-10-16 | 2021-01-15 | 维沃移动通信有限公司 | Video call method and device and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119483A (en) * | 2006-07-31 | 2008-02-06 | 联想(北京)有限公司 | Source quality based video stream transmission velocity regulation means |
US7693157B2 (en) * | 2006-04-25 | 2010-04-06 | Microsoft Corporation | Quality of service support for A/V streams |
CN101977185A (en) * | 2010-10-14 | 2011-02-16 | 杭州海康威视数字技术股份有限公司 | Digital video recorder in video monitoring system and network connection control method thereof |
US20110158552A1 (en) * | 2009-12-28 | 2011-06-30 | Kabushiki Kaisha Toshiba | Quality adjusting apparatus and image quality adjusting method |
CN102307300A (en) * | 2011-08-17 | 2012-01-04 | 杭州华三通信技术有限公司 | Video connection control method and equipment |
CN103686227A (en) * | 2012-09-17 | 2014-03-26 | 南京中兴力维软件有限公司 | Method, device and system for capturing and coding audio/video of mobile terminal |
CN103763216A (en) * | 2014-01-24 | 2014-04-30 | 深圳市华宝电子科技有限公司 | System and method for adjusting data transmission |
US20140355958A1 (en) * | 2011-08-30 | 2014-12-04 | Sonic Ip, Inc. | Systems and Methods for Encoding Alternative Streams of Video for Playback on Playback Devices Having Predetermined Display Aspect Ratios and Network Connection Maximum Data Rates |
CN105791735A (en) * | 2014-12-24 | 2016-07-20 | 中国电信股份有限公司 | Method and system for dynamically adjusting video call code streams |
CN106850615A (en) * | 2017-01-24 | 2017-06-13 | 华为技术有限公司 | A kind of method of code rate control, relevant apparatus and system |
US20170237986A1 (en) * | 2016-02-11 | 2017-08-17 | Samsung Electronics Co., Ltd. | Video encoding method and electronic device adapted thereto |
-
2017
- 2017-08-23 CN CN201710731008.9A patent/CN107396028B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7693157B2 (en) * | 2006-04-25 | 2010-04-06 | Microsoft Corporation | Quality of service support for A/V streams |
CN101119483A (en) * | 2006-07-31 | 2008-02-06 | 联想(北京)有限公司 | Source quality based video stream transmission velocity regulation means |
US20110158552A1 (en) * | 2009-12-28 | 2011-06-30 | Kabushiki Kaisha Toshiba | Quality adjusting apparatus and image quality adjusting method |
CN101977185A (en) * | 2010-10-14 | 2011-02-16 | 杭州海康威视数字技术股份有限公司 | Digital video recorder in video monitoring system and network connection control method thereof |
CN102307300A (en) * | 2011-08-17 | 2012-01-04 | 杭州华三通信技术有限公司 | Video connection control method and equipment |
US20140355958A1 (en) * | 2011-08-30 | 2014-12-04 | Sonic Ip, Inc. | Systems and Methods for Encoding Alternative Streams of Video for Playback on Playback Devices Having Predetermined Display Aspect Ratios and Network Connection Maximum Data Rates |
CN103686227A (en) * | 2012-09-17 | 2014-03-26 | 南京中兴力维软件有限公司 | Method, device and system for capturing and coding audio/video of mobile terminal |
CN103763216A (en) * | 2014-01-24 | 2014-04-30 | 深圳市华宝电子科技有限公司 | System and method for adjusting data transmission |
CN105791735A (en) * | 2014-12-24 | 2016-07-20 | 中国电信股份有限公司 | Method and system for dynamically adjusting video call code streams |
US20170237986A1 (en) * | 2016-02-11 | 2017-08-17 | Samsung Electronics Co., Ltd. | Video encoding method and electronic device adapted thereto |
CN106850615A (en) * | 2017-01-24 | 2017-06-13 | 华为技术有限公司 | A kind of method of code rate control, relevant apparatus and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108521609A (en) * | 2018-02-27 | 2018-09-11 | 北京达佳互联信息技术有限公司 | Determine the method, apparatus and terminal of pushing video type |
CN108521609B (en) * | 2018-02-27 | 2019-05-17 | 北京达佳互联信息技术有限公司 | Determine the method, apparatus and terminal of pushing video type |
WO2019178716A1 (en) * | 2018-03-19 | 2019-09-26 | Qualcomm Incorporated | Adaptive video bitrate for power saving |
CN109729296A (en) * | 2019-01-02 | 2019-05-07 | 京东方科技集团股份有限公司 | The radio transmitting method of signal output apparatus, display equipment and HDMI signal |
CN112235307A (en) * | 2020-10-16 | 2021-01-15 | 维沃移动通信有限公司 | Video call method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107396028B (en) | 2019-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107396028A (en) | The processing method and mobile terminal of a kind of video calling | |
CN107466077A (en) | A kind of method for switching network and mobile terminal | |
CN107678641A (en) | A kind of method and mobile terminal into target display interface | |
CN106533988A (en) | Control method for network speed of application and mobile terminal | |
CN106374969A (en) | Antenna switching method and mobile terminal | |
CN107426424B (en) | A kind of charge/discharge control method and mobile terminal | |
CN107509030A (en) | A kind of focusing method and mobile terminal | |
CN107204786A (en) | A kind of switching method and mobile terminal of signal receiving path | |
CN107608863A (en) | The calibration method and mobile terminal that a kind of electricity is shown | |
CN106657806A (en) | Exposure method and mobile terminal | |
CN107317608A (en) | Antenna operating mode system of selection, mobile terminal and computer-readable recording medium | |
CN106933484A (en) | Touch area self-adapting regulation method and mobile terminal | |
CN107148085A (en) | A kind of carrier polymerizing method and mobile terminal | |
CN106502504A (en) | A kind of method and mobile terminal of icon sequence | |
CN106208206A (en) | A kind of wireless charging method and mobile terminal | |
CN107154685A (en) | A kind of reminding method and mobile terminal of the contraposition of wireless charging base | |
CN106357918A (en) | Method for adjusting screen brightness and mobile terminal | |
CN106354303A (en) | Photographed method of mobile terminal and mobile terminal | |
CN106384577A (en) | Backlight adjustment method of display screen, and mobile terminal | |
CN107479822A (en) | A kind of data inputting method and terminal | |
CN107544729A (en) | The interface switching method and mobile terminal of a kind of application | |
CN106095185A (en) | A kind of one-handed performance method and mobile terminal | |
CN106981904A (en) | The method and charge-discharge control system of a kind of charge and discharge control | |
CN107509025A (en) | A kind of camera control method and mobile terminal | |
CN107194907A (en) | A kind of sectional drawing synthetic method and mobile terminal |
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 |