CN103595978B - Method and system for consulting code distinguishability in video communication - Google Patents
Method and system for consulting code distinguishability in video communication Download PDFInfo
- Publication number
- CN103595978B CN103595978B CN201210291670.4A CN201210291670A CN103595978B CN 103595978 B CN103595978 B CN 103595978B CN 201210291670 A CN201210291670 A CN 201210291670A CN 103595978 B CN103595978 B CN 103595978B
- Authority
- CN
- China
- Prior art keywords
- terminal
- calling terminal
- terminal called
- code distinguishability
- called
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a kind of method and system for consulting code distinguishability in video communication.Wherein in for the method for consulting code distinguishability in video communication, calling terminal carries out pre-negotiated by with terminal called, when calling terminal and terminal called support that code distinguishability is consulted, calling terminal and terminal called are held consultation using the maximum encoding and decoding resolution ratio that this side can be supported, if the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, then calling terminal uses and sends the corresponding code distinguishability of data and carry out coded treatment to generate Media Stream to sending data, and by media stream to terminal called, terminal called is decoded using the code distinguishability information that calling terminal is specifically used to Media Stream.So as to communicating pair can set up the video communication of different resolution according to the actual conditions of network side, and the service quality of video communication and the communication experiences of user can be improved.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of method for consulting code distinguishability in video communication
And system.
Background technology
The development of mobile Internet, has promoted the growth of intelligent terminal industrial chain, and smart mobile phone, panel computer turn into terminal
The focus in market.The release of new operating system and the lifting of chip process performance so that all kinds of terminals for having screen possess
The ability of exploitation video communication function is supported, operator, terminal development business, internet manufacturer develop release based on internet one after another
Or 3G(The Third Generation, G mobile communication)Point-to-point video communication function.From IPhone4
Facetime to the true product of all kinds of nets, the application of video communication is more and more extensive.
In point-to-point video communication, terminal must be communicated using same encoding and decoding resolution ratio.And at present by
Different in heterogeneous networks upstream bandwidth and downlink bandwidth situation, some user's downlink bandwidths are upstream bandwidths more than 10 times,
Existing asymmetric negotiation causes the resolution ratio that video communication terminal is coded and decoded necessary identical, as long as video communication both sides have one
The upstream bandwidth at end is not enough, and just all video communication must be carried out using relatively low resolution ratio to reduce code stream, it is impossible to fully sharp
With the network bandwidth, cause Consumer's Experience very poor.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method for consulting code distinguishability in video communication
And system, communicating pair is held consultation by the maximum encoding and decoding resolution ratio that can be supported according to this side, so that communicating pair can
To set up the video communication of different resolution, and the network bandwidth can be made full use of, improve video communication service quality and
The communication experiences of user.
According to an aspect of the present invention, there is provided a kind of method for consulting code distinguishability in video communication, bag
Include:
Calling terminal carries out pre-negotiated by with terminal called, judges whether that calling terminal supports coding with terminal called
Resolution ratio is consulted;
If calling terminal supports that code distinguishability is consulted with terminal called, data are sent to terminal called in calling terminal
When, calling terminal sends to terminal called consults solicited message;
After terminal called receives negotiation solicited message, the maximum decoding resolution of terminal called is sent to caller end
End;
Calling terminal judges whether the maximum code distinguishability of calling terminal is more than the maximum decoding resolution of terminal called;
If the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, calling terminal is adopted
Coded treatment is carried out to sending data with the code distinguishability corresponding with data are sent, to generate Media Stream, wherein in media
There is the code distinguishability information that calling terminal is specifically used in the packet header of stream;
Calling terminal is by media stream to terminal called;
Terminal called is decoded using the code distinguishability information that calling terminal is specifically used to Media Stream.
According to another aspect of the present invention, there is provided a kind of caller end for consulting code distinguishability in video communication
End, including:
First pre-negotiated unit, for carrying out pre-negotiated with terminal called, to judge whether are calling terminal and terminal called
Support that code distinguishability is consulted;
First transmitting element, for when calling terminal sends data to terminal called, if calling terminal and terminal called
Support that code distinguishability is consulted, and is sent to terminal called and is consulted solicited message;According to the instruction of the first codec unit, by matchmaker
Body stream is sent to terminal called;
First receiving unit, for after the first transmitting element sends negotiation solicited message to terminal called, receiving called
The maximum decoding resolution that terminal sends;
Whether the first recognition unit, the maximum code distinguishability for judging calling terminal is more than the maximal solution of terminal called
Code distinguishability;If the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, it indicates that first
Codec unit carries out coded treatment using the code distinguishability corresponding with data are sent to sending data;
First codec unit, for the instruction according to the first recognition unit, using the coding corresponding with data are sent
Resolution ratio carries out coded treatment to sending data, to generate Media Stream, wherein having with calling terminal in the packet header of Media Stream
The code distinguishability information that body is used;Indicate the first transmitting element by media stream to terminal called.
According to another aspect of the present invention, there is provided a kind of called end for consulting code distinguishability in video communication
End, including:
Second pre-negotiated unit, for carrying out pre-negotiated with calling terminal, judges whether that calling terminal is equal with terminal called
Support that code distinguishability is consulted;
Second receiving unit, for when calling terminal and terminal called support that code distinguishability is consulted, receiving caller
The negotiation solicited message that terminal sends, and indicate the second transmitting element that the maximum decoding resolution of terminal called is sent into caller
Terminal;The Media Stream that calling terminal sends is received, wherein having the coding that calling terminal is specifically used in the packet header of Media Stream
Resolution information, indicates the second codec unit to decode the Media Stream that calling terminal sends;
Second transmitting element, for the instruction according to the second receiving unit, the maximum decoding resolution of terminal called is sent out
Give calling terminal;
Second codec unit, for the instruction according to the second receiving unit, the coding specifically used using calling terminal
Resolution information is decoded to Media Stream.
According to another aspect of the present invention, there is provided a kind of system for consulting code distinguishability in video communication, bag
Calling terminal and terminal called are included, wherein:
Calling terminal, for carrying out pre-negotiated by with terminal called, judges whether that calling terminal is propped up with terminal called
Code distinguishability negotiation is held, if calling terminal supports that code distinguishability is consulted with terminal called, number is being sent to terminal called
According to when, to terminal called send consult solicited message, receiving terminal called transmission terminal called maximum decoding resolution
Afterwards, judge whether the maximum code distinguishability of calling terminal is more than the maximum decoding resolution of terminal called, if calling terminal
Maximum code distinguishability is not more than the maximum decoding resolution of terminal called, then differentiated using the coding corresponding with data are sent
Rate carries out coded treatment to sending data, to generate Media Stream, wherein having calling terminal specifically to adopt in the packet header of Media Stream
Code distinguishability information, by media stream to terminal called;
Terminal called, for after negotiation solicited message is received, the maximum decoding resolution of terminal called being sent to
Calling terminal, receives the Media Stream that calling terminal sends, and the code distinguishability information specifically used using calling terminal is to media
Stream is decoded.
The present invention is assisted by calling terminal and terminal called using the maximum encoding and decoding resolution ratio that this side can be supported
Business, if the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, calling terminal use with
Send the corresponding code distinguishability of data carries out coded treatment to sending data, to generate Media Stream, wherein in Media Stream
There is the code distinguishability information that calling terminal is specifically used, by media stream to terminal called, terminal called exists in packet header
The Media Stream that calling terminal sends is received, the code distinguishability information specifically used using calling terminal is solved to Media Stream
Code.The video communication of different resolution can be set up according to the actual conditions of network side so as to communicating pair, and can be abundant
Using the network bandwidth, the service quality of video communication and the communication experiences of user are improved.
Brief description of the drawings
Fig. 1 is the schematic diagram that the present invention consults code distinguishability method one embodiment in video communication.
Fig. 2 is the schematic diagram that the present invention consults another embodiment of code distinguishability method in video communication.
Fig. 3 is the schematic diagram that terminal called of the present invention sends Media Stream method one embodiment.
Fig. 4 is the schematic diagram of calling terminal one embodiment that the present invention consults code distinguishability in video communication.
Fig. 5 is the schematic diagram of another embodiment of calling terminal that the present invention consults code distinguishability in video communication.
Fig. 6 is the schematic diagram of terminal called one embodiment that the present invention consults code distinguishability in video communication.
Fig. 7 is the schematic diagram of another embodiment of terminal called that the present invention consults code distinguishability in video communication.
Fig. 8 is the schematic diagram that the present invention consults code distinguishability system one embodiment in video communication.
Specific embodiment
The present invention is described more fully with reference to the accompanying drawings, wherein illustrating exemplary embodiment of the invention.
Fig. 1 is the schematic diagram that the present invention consults code distinguishability method one embodiment in video communication.Such as Fig. 1 institutes
Show, the method and step that code distinguishability is consulted in video communication of the present embodiment is as follows:
Step 101, calling terminal carries out pre-negotiated by with terminal called, judges whether that calling terminal is equal with terminal called
Support that code distinguishability is consulted.
Step 102, if calling terminal supports that code distinguishability is consulted with terminal called, in calling terminal to terminal called
When sending data, calling terminal sends to terminal called consults solicited message.
Step 103, after terminal called receives negotiation solicited message, the maximum decoding resolution of terminal called is sent to
Calling terminal.
Step 104, calling terminal judges whether the maximum code distinguishability of calling terminal is more than the maximal solution of terminal called
Code distinguishability.
Step 105, if the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, leads
Be terminal carries out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream, its
In in the packet header of Media Stream have calling terminal specifically use code distinguishability information.
Step 106, calling terminal is by media stream to terminal called.
Step 107, terminal called is decoded using the code distinguishability information that calling terminal is specifically used to Media Stream.
Based on the above embodiment of the present invention provide video communication in consult code distinguishability method, calling terminal by with
Terminal called carries out pre-negotiated, judges whether that calling terminal supports that code distinguishability is consulted with terminal called.In calling terminal
When supporting that code distinguishability is consulted with terminal called, calling terminal and terminal called are solved using maximum volume that this side can be supported
Code distinguishability is held consultation, if the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called,
Calling terminal carries out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream,
The code distinguishability information that there is calling terminal specifically to use wherein in the packet header of Media Stream, media stream is given and is called eventually
End, terminal called is receiving the Media Stream that calling terminal sends, the code distinguishability information pair specifically used using calling terminal
Media Stream is decoded.So as to the video that communicating pair can set up different resolution according to the actual conditions of network side leads to
Letter, and the service quality of video communication and the communication experiences of user can be improved.
Wherein it should be noted that because those skilled in the art can specifically be performed using various existing concrete modes
Pre-negotiated, therefore explanation is not launched to its concrete mode here.
Preferably, calling terminal according to the uplink and downlink bandwidth of this side, differentiate by the maximum coding for calculating calling terminal
Rate and maximum decoding resolution.Calling terminal sends when consulting solicited message to terminal called, and consulting solicited message includes caller
The maximum decoding resolution of terminal.
Preferably, terminal called receive negotiation solicited message after, according to the uplink and downlink bandwidth of this side, calculate by
The maximum code distinguishability and maximum decoding resolution of terminal are, and the maximum decoding resolution of terminal called is sent to caller
Terminal.
Because the maximum code distinguishability and maximum decoding resolution of communicating pair both depend on the up-downgoing of respective this side
Bandwidth, therefore the negotiation result for carrying out based on this can make full use of the network bandwidth, improve the service quality of video communication.
Fig. 2 is the schematic diagram that the present invention consults another embodiment of code distinguishability method in video communication.Such as Fig. 2 institutes
Show, the method and step that code distinguishability is consulted in video communication is as shown in Figure 2:
Step 201, calling terminal carries out pre-negotiated with terminal called.
Step 202, calling terminal judges whether that calling terminal supports code distinguishability with terminal called by pre-negotiated
Consult.If calling terminal does not support that code distinguishability is consulted with least one party in terminal called, step 203 is performed;If caller
Terminal supports that code distinguishability is consulted with terminal called, then perform step 204.
Step 203, calling terminal carries out code distinguishability negotiation using existing mode and terminal called, and using negotiation
The code distinguishability for obtaining carries out coded treatment to sending data, to generate Media Stream, wherein having in the packet header of Media Stream
The code distinguishability information that calling terminal is specifically used.Then step 209 is performed.
Step 204, when calling terminal sends data to terminal called, calling terminal sends to terminal called consults request
Information, consulting solicited message includes the maximum decoding resolution of calling terminal.Preferably, calling terminal according to the up of this side and
Downlink bandwidth, calculates the maximum code distinguishability and maximum decoding resolution of calling terminal.
Step 205, after terminal called receives negotiation solicited message, the maximum decoding resolution of terminal called is sent to
Calling terminal.
Preferably, terminal called receive negotiation solicited message after, according to the uplink and downlink bandwidth of this side, calculate by
It is the maximum code distinguishability and maximum decoding resolution of terminal.
Step 206, calling terminal judges whether the maximum code distinguishability of calling terminal is more than the maximal solution of terminal called
Code distinguishability.If the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, step is performed
207;If the maximum code distinguishability of calling terminal is more than the maximum decoding resolution of terminal called, step 208 is performed.
Step 207, calling terminal is carried out at coding using the code distinguishability corresponding with data are sent to sending data
Reason, to generate Media Stream, wherein having the code distinguishability information that calling terminal is specifically used in the packet header of Media Stream.Then
Perform step 209.
Step 208, calling terminal carries out coded treatment using the maximum decoding resolution of terminal called to sending data, with
Generation Media Stream, wherein having the code distinguishability information that calling terminal is specifically used in the packet header of Media Stream.
Step 209, calling terminal is by media stream to terminal called.
Step 210, terminal called is decoded using the code distinguishability information that calling terminal is specifically used to Media Stream.
It follows that when at least one party does not support that code distinguishability is consulted in calling terminal and terminal called, then caller
Terminal carries out code distinguishability negotiation and coded treatment using existing mode.Coding point is supported in calling terminal and terminal called
When resolution is consulted, when the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, caller end
End carries out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream;If caller
When the maximum code distinguishability of terminal is more than the maximum decoding resolution of terminal called, calling terminal uses the maximum of terminal called
Decoding resolution carries out coded treatment to sending data, to generate Media Stream.So as to communicating pair can be according to whether support coding
Whether the maximum code distinguishability of resolution ratio negotiation and calling terminal is more than the maximum decoding resolution of terminal called, comes true
Fixed specific coded system, so as to the network bandwidth can be made full use of, improves the communication experiences of telecommunication service quality and user.
For example, the maximum code distinguishability of calling terminal is CIF(Common Intermediate Format, it is general in
Between form), the maximum decoding resolution of terminal called is 720P.It is not more than the maximum decoding capability of terminal called due to CIF
720P, therefore calling terminal can be using the code stream of CIF codings.
Fig. 3 is the schematic diagram that terminal called of the present invention sends Media Stream method one embodiment.In terminal called to caller
When terminal sends Media Stream, following methods step is performed:
Step 301, when terminal called sends data to calling terminal, judges whether calling terminal props up with terminal called
Hold code distinguishability negotiation.If calling terminal does not support that code distinguishability is consulted, and performs step with least one party in terminal called
Rapid 302;If calling terminal supports that code distinguishability is consulted with terminal called, step 303 is performed.
Step 302, terminal called carries out code distinguishability negotiation using existing mode and calling terminal, and using negotiation
The code distinguishability for obtaining carries out coded treatment to sending data, to generate Media Stream, wherein having in the packet header of Media Stream
The code distinguishability information that terminal called is specifically used.Then step 306 is performed.
Step 303, terminal called judges whether the maximum code distinguishability of terminal called is more than the maximal solution of calling terminal
Code distinguishability.If the maximum code distinguishability of terminal called is not more than the maximum decoding resolution of calling terminal, step is performed
304;If the maximum code distinguishability of terminal called is more than the maximum decoding resolution of calling terminal, step 305 is performed.
Step 304, terminal called is carried out at coding using the code distinguishability corresponding with data are sent to sending data
Reason, to generate Media Stream, wherein having the code distinguishability information that terminal called is specifically used in the packet header of Media Stream.Then
Perform step 306.
Step 305, terminal called carries out coded treatment using the maximum decoding resolution of calling terminal to sending data, with
Generation Media Stream, wherein having the code distinguishability information that terminal called is specifically used in the packet header of Media Stream.
Step 306, terminal called is by media stream to calling terminal.
Step 307, calling terminal is decoded using the code distinguishability information that terminal called is specifically used to Media Stream.
It follows that when at least one party does not support that code distinguishability is consulted in calling terminal and terminal called, being then called
Terminal carries out code distinguishability negotiation and coded treatment using existing mode.Coding point is supported in calling terminal and terminal called
When resolution is consulted, when the maximum code distinguishability of terminal called is not more than the maximum decoding resolution of calling terminal, it is called eventually
End carries out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream;If called
When the maximum code distinguishability of terminal is more than the maximum decoding resolution of calling terminal, terminal called uses the maximum of calling terminal
Decoding resolution carries out coded treatment to sending data, to generate Media Stream.So as to communicating pair can be according to whether support coding
Whether the maximum code distinguishability of resolution ratio negotiation and terminal called is more than the maximum decoding resolution of calling terminal, comes true
Fixed specific coded system, so as to the network bandwidth can be made full use of, improves the communication experiences of telecommunication service quality and user.
For example, the maximum code distinguishability of terminal called is D1, the maximum decoding resolution of calling terminal is also D1.Due to
The maximum code distinguishability of terminal called is identical with the maximum decoding resolution D1 of calling terminal, therefore terminal called can use D1
The code stream of coding.
Fig. 4 is the schematic diagram of calling terminal one embodiment that the present invention consults code distinguishability in video communication.Such as
Shown in Fig. 4, calling terminal includes:
First pre-negotiated unit 401, for carrying out pre-negotiated with terminal called, to judge that calling terminal and terminal called be
It is no to support that code distinguishability is consulted.
First transmitting element 402, for when calling terminal sends data to terminal called, if calling terminal and called end
Support that code distinguishability is consulted, and is sent to terminal called and is consulted solicited message in end;According to the finger of the first codec unit 405
Show, by media stream to terminal called.
First receiving unit 403, for after the first transmitting element 402 sends negotiation solicited message to terminal called, connecing
Receive the maximum decoding resolution that terminal called sends.
Whether the first recognition unit 404, the maximum code distinguishability for judging calling terminal is more than terminal called most
Big decoding resolution;If the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, it indicates that
First codec unit 405 carries out coded treatment using the code distinguishability corresponding with data are sent to sending data.
First codec unit 405, for the instruction according to the first recognition unit 404, using corresponding with data are sent
Code distinguishability to send data carry out coded treatment, to generate Media Stream, wherein in the packet header of Media Stream have caller
The code distinguishability information that terminal is specifically used;Indicate the first transmitting element 402 by media stream to terminal called.
Based on the calling terminal for consulting code distinguishability in video communication that the above embodiment of the present invention is provided, caller end
End carries out pre-negotiated by with terminal called, judges whether that calling terminal supports that code distinguishability is consulted with terminal called.
When calling terminal supports that code distinguishability is consulted with terminal called, calling terminal and terminal called utilize what this side can be supported
Maximum encoding and decoding resolution ratio is held consultation, if the maximum code distinguishability of calling terminal is not more than the maximal solution code division of terminal called
Resolution, then calling terminal using with send the corresponding code distinguishability of data and carry out coded treatment to sending data, to generate
Media Stream, wherein there is the code distinguishability information that calling terminal is specifically used in the packet header of Media Stream, by media stream
To terminal called.The video communication of different resolution can be set up according to the actual conditions of network side so as to communicating pair, and
The service quality of video communication and the communication experiences of user can be improved.
Preferably, the first codec unit 405 is additionally operable to be more than terminal called in the maximum code distinguishability of calling terminal
Maximum decoding resolution when, using terminal called maximum decoding resolution to send data carry out coded treatment, with generate
Media Stream, wherein having the code distinguishability information that calling terminal is specifically used in the packet header of Media Stream;Then instruction is performed
First transmitting element 402 by media stream to terminal called operation.
Preferably, the first coding unit 405 is additionally operable at least one party in calling terminal and terminal called and does not support coding
When resolution ratio is consulted, code distinguishability negotiation is carried out using existing mode and calling terminal, and the coding obtained using negotiation
Resolution ratio carries out coded treatment to sending data, to generate Media Stream, wherein having with calling terminal in the packet header of Media Stream
The code distinguishability information that body is used;Then perform indicate the first transmitting element 402 by media stream to terminal called behaviour
Make.
Fig. 5 is the schematic diagram of another embodiment of calling terminal that the present invention consults code distinguishability in video communication.With
Embodiment illustrated in fig. 4 is compared, and in the embodiment shown in fig. 5, calling terminal also includes the first computing unit 501, for according to this
The uplink and downlink bandwidth of side, calculates the maximum code distinguishability and maximum decoding resolution of calling terminal.
First transmitting element 402 is additionally operable to be sent to terminal called when consulting solicited message, adds in solicited message is consulted
Plus the maximum decoding resolution of calling terminal.
Preferably, the first receiving unit 403 is additionally operable to receive the Media Stream that terminal called sends, wherein in the media for receiving
There is the code distinguishability information that terminal called is specifically used in the packet header of stream, and indicate the first codec unit 405 pairs to be called
The Media Stream that terminal sends is decoded.
First codec unit 405 is additionally operable to the instruction according to the first receiving unit 403, is specifically used using terminal called
Code distinguishability information Media Stream is decoded.
Fig. 6 is the schematic diagram of terminal called one embodiment that the present invention consults code distinguishability in video communication.Such as
Shown in Fig. 6, terminal called includes:
Second pre-negotiated unit 601, for carrying out pre-negotiated with calling terminal, judges whether calling terminal and terminal called
Support that code distinguishability is consulted.
Second receiving unit 602, for when calling terminal and terminal called support that code distinguishability is consulted, receiving master
The negotiation solicited message for making terminal send, and indicate the second transmitting element 603 to send the maximum decoding resolution of terminal called
To calling terminal;The Media Stream that calling terminal sends is received, wherein having calling terminal specifically to use in the packet header of Media Stream
Code distinguishability information, indicate the second codec unit 604 Media Stream that calling terminal sends is decoded.
Second transmitting element 603, for the instruction according to the second receiving unit 602, by the maximal solution code division of terminal called
Resolution is sent to calling terminal.
Second codec unit 604, for the instruction according to the second receiving unit 602, is specifically used using calling terminal
Code distinguishability information Media Stream is decoded.
Based on the calling terminal for consulting code distinguishability in video communication that the above embodiment of the present invention is provided, caller end
End carries out pre-negotiated by with terminal called, judges whether that calling terminal supports that code distinguishability is consulted with terminal called.
When calling terminal supports that code distinguishability is consulted with terminal called, terminal called sends out the maximum decoding resolution of terminal called
Calling terminal is given to carry out coding negotiation, and after the Media Stream for receiving calling terminal transmission, using the packet header of Media Stream
In have calling terminal specifically use code distinguishability information, Media Stream is decoded.So as to communicating pair can basis
The actual conditions of network side sets up the video communication of different resolution, and can improve service quality and the user of video communication
Communication experiences.
Fig. 7 is the schematic diagram of another embodiment of terminal called that the present invention consults code distinguishability in video communication.With
Embodiment illustrated in fig. 6 is compared, and in the embodiment shown in fig. 7, terminal called also includes the second recognition unit 701, for called
When terminal sends data to calling terminal, if calling terminal supports that code distinguishability is consulted with terminal called, judge called whole
Whether the maximum code distinguishability at end is more than the maximum decoding resolution of calling terminal;If the maximum code distinguishability of terminal called
The no more than maximum decoding resolution of calling terminal, it indicates that the second codec unit 604 is using corresponding with data are sent
Code distinguishability carries out coded treatment to sending data.
Second codec unit 604 is additionally operable to the instruction according to the second recognition unit 701, using corresponding with data are sent
Code distinguishability carry out coded treatment to sending data, have to generate Media Stream, wherein in the packet header of Media Stream it is called eventually
The specific code distinguishability information for using in end;And indicate the second transmitting element 603 by media stream to calling terminal.
Second transmitting element 603 is additionally operable to the instruction according to the second codec unit 604, by media stream to caller end
End.
Preferably, the second codec unit 604 is additionally operable to be more than calling terminal in the maximum code distinguishability of terminal called
Maximum decoding resolution when, using calling terminal maximum decoding resolution to send data carry out coded treatment, with generate
There is the code distinguishability information that terminal called is specifically used in the packet header of Media Stream, wherein Media Stream;Then perform and indicate the
Two transmitting elements 603 by media stream to calling terminal operation.
Preferably, the second codec unit 604 is additionally operable at least one party in calling terminal and terminal called and does not support volume
When code distinguishability is consulted, code distinguishability negotiation is carried out using existing mode, and the code distinguishability pair obtained using negotiation
Sending data carries out coded treatment, to generate Media Stream, wherein having what terminal called was specifically used in the packet header of Media Stream
Code distinguishability information;Then perform indicate the second transmitting element 603 by media stream to calling terminal operation.
Preferably, terminal called also includes the second computing unit 702, for receiving caller in the second receiving unit 602
After the negotiation solicited message that terminal sends, according to the uplink and downlink bandwidth of this side, the maximum coding point of terminal called is calculated
Resolution and maximum decoding resolution, and indicate the second transmitting element 603 that the maximum decoding resolution of terminal called is sent into master
It is terminal.
Fig. 8 is the schematic diagram that the present invention consults code distinguishability system one embodiment in video communication.Such as Fig. 8 institutes
Show, system includes calling terminal 801 and terminal called 802.Wherein:
Calling terminal 801, for carrying out pre-negotiated by with terminal called 802, judges whether calling terminal 801 and is called
Terminal 802 supports that code distinguishability is consulted, if calling terminal 801 supports that code distinguishability is consulted with terminal called 802,
When sending data to terminal called 802, sent to terminal called 802 and consult solicited message, sent terminal called 802 is received
Terminal called maximum decoding resolution after, judge whether the maximum code distinguishability of calling terminal 801 is more than terminal called
Maximum decoding resolution, if the maximal solution code division that the maximum code distinguishability of calling terminal 801 is not more than terminal called 802 is distinguished
Rate, then carry out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream, wherein
The code distinguishability information that there is calling terminal 801 specifically to use in the packet header of Media Stream, media stream is given and is called eventually
End 802.
Terminal called 802, for after negotiation solicited message is received, by the maximum decoding resolution of terminal called 802
Calling terminal 801 is sent to, the Media Stream that calling terminal 801 sends is received, the coding specifically used using calling terminal is differentiated
Rate information is decoded to Media Stream.
Based on the above embodiment of the present invention provide video communication in consult code distinguishability system, calling terminal by with
Terminal called carries out pre-negotiated, judges whether that calling terminal supports that code distinguishability is consulted with terminal called.In calling terminal
When supporting that code distinguishability is consulted with terminal called, calling terminal and terminal called are solved using maximum volume that this side can be supported
Code distinguishability is held consultation, if the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called,
Calling terminal carries out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream,
The code distinguishability information that there is calling terminal specifically to use wherein in the packet header of Media Stream, media stream is given and is called eventually
End, terminal called is receiving the Media Stream that calling terminal sends, the code distinguishability information pair specifically used using calling terminal
Media Stream is decoded.So as to the video that communicating pair can set up different resolution according to the actual conditions of network side leads to
Letter, and the service quality of video communication and the communication experiences of user can be improved.
Preferably, calling terminal 801 is additionally operable to be more than terminal called 802 in the maximum code distinguishability of calling terminal 801
Maximum decoding resolution when, using terminal called 802 maximum decoding resolution to send data carry out coded treatment, with life
Into Media Stream, wherein having the code distinguishability information that calling terminal 801 is specifically used in the packet header of Media Stream;Then perform
By media stream to terminal called 802 operation.
Preferably, calling terminal 801 is additionally operable at least one party in calling terminal 801 and terminal called 802 and does not support volume
When code distinguishability is consulted, code distinguishability negotiation is carried out using existing mode, and using the code distinguishability for consulting to obtain to hair
Sending data carries out coded treatment, to generate Media Stream, wherein having what calling terminal 801 was specifically used in the packet header of Media Stream
Code distinguishability information;Then perform by media stream to terminal called 802 operation.
Preferably, calling terminal 801 calculates calling terminal 801 most with specific reference to the uplink and downlink bandwidth of this side
Big code distinguishability and maximum decoding resolution;When being additionally operable to send negotiation solicited message to terminal called 802, consulting to ask
The maximum decoding resolution of calling terminal 801 is added in information.
Preferably, terminal called 802 is additionally operable to when data are sent to calling terminal 801, if calling terminal 801 with it is called
Whether terminal 802 supports that code distinguishability is consulted, judge the maximum code distinguishability of terminal called 802 more than calling terminal
801 maximum decoding resolution;If the maximal solution code division that the maximum code distinguishability of terminal called 802 is not more than calling terminal is distinguished
Rate, then carry out coded treatment using the code distinguishability corresponding with data are sent to sending data, to generate Media Stream, wherein
There is the code distinguishability information that terminal called 802 is specifically used in the packet header of Media Stream;By media stream to caller end
End 801.
The code distinguishability information that calling terminal 801 is additionally operable to specifically be used using terminal called 802 is carried out to Media Stream
Decoding.
Preferably, terminal called 802 is additionally operable to be more than calling terminal 801 in the maximum code distinguishability of terminal called 802
Maximum decoding resolution when, using calling terminal 801 maximum decoding resolution to send data carry out coded treatment, with life
Into Media Stream, wherein having the code distinguishability information that terminal called 802 is specifically used in the packet header of Media Stream;Then perform
By media stream to calling terminal 801 operation.
Preferably, terminal called 802 is additionally operable at least one party in calling terminal 801 and terminal called 802 and does not support volume
When code distinguishability is consulted, code distinguishability negotiation is carried out using existing mode, and the code distinguishability pair obtained using negotiation
Sending data carries out coded treatment, to generate Media Stream, wherein having terminal called 802 specifically to use in the packet header of Media Stream
Code distinguishability information;Then perform by media stream to calling terminal 801 operation.
Preferably, terminal called 802 is additionally operable to after negotiation solicited message is received, the uplink and downlink band according to this side
Width, calculates the maximum code distinguishability and maximum decoding resolution of terminal called 802;By the maximum decoding of terminal called 802
Resolution ratio is sent to calling terminal 801.
Preferably, calling terminal of the calling terminal 801 described in any embodiment in above-mentioned Fig. 4 and Fig. 5.Terminal called
802 terminal called described in any embodiment in above-mentioned Fig. 6 and Fig. 7.
Description of the invention is given for the sake of example and description, and is not exhaustively or by the present invention
It is limited to disclosed form.Many modifications and variations are for the ordinary skill in the art obvious.Select and retouch
State embodiment and be to more preferably illustrate principle of the invention and practical application, and one of ordinary skill in the art is managed
The solution present invention is suitable to the various embodiments with various modifications of special-purpose so as to design.
Claims (11)
1. it is a kind of in video communication consult code distinguishability method, it is characterised in that including:
Calling terminal carries out pre-negotiated by with terminal called, judges whether that calling terminal supports that coding is differentiated with terminal called
Rate is consulted;
If calling terminal supports that code distinguishability is consulted with terminal called, when calling terminal sends data to terminal called,
Calling terminal sends to terminal called consults solicited message;
After terminal called receives negotiation solicited message, the maximum decoding resolution of terminal called is sent to calling terminal;
Calling terminal judges whether the maximum code distinguishability of calling terminal is more than the maximum decoding resolution of terminal called;
If the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, calling terminal use with
Send the corresponding code distinguishability of data carries out coded treatment to sending data, to generate Media Stream;If calling terminal is most
Big code distinguishability is more than the maximum decoding resolution of terminal called, then calling terminal is distinguished using the maximal solution code division of terminal called
Rate carries out coded treatment to sending data, to generate Media Stream;There is calling terminal specifically to adopt wherein in the packet header of Media Stream
Code distinguishability information;
Calling terminal is by media stream to terminal called;
Terminal called is decoded using the code distinguishability information that calling terminal is specifically used to Media Stream.
2. method according to claim 1, it is characterised in that
Calling terminal sends the step of consulting solicited message to terminal called to be included:
Calling terminal calculates the maximum code distinguishability of calling terminal and maximum decoding according to the uplink and downlink bandwidth of this side
Resolution ratio;
Calling terminal sends to terminal called consults solicited message, and consulting solicited message includes that the maximal solution code division of calling terminal is distinguished
Rate.
3. method according to claim 2, it is characterised in that
When terminal called sends data to calling terminal, if calling terminal supports that code distinguishability is consulted with terminal called,
Terminal called judges whether the maximum code distinguishability of terminal called is more than the maximum decoding resolution of calling terminal;
If the maximum code distinguishability of terminal called is not more than the maximum decoding resolution of calling terminal, terminal called use with
Send the corresponding code distinguishability of data carries out coded treatment to sending data, to generate Media Stream, wherein in Media Stream
There is the code distinguishability information that terminal called is specifically used in packet header;
Terminal called is by media stream to calling terminal;
Calling terminal is decoded using the code distinguishability information that terminal called is specifically used to Media Stream.
4. method according to claim 3, it is characterised in that
If the maximum code distinguishability of terminal called uses caller more than the maximum decoding resolution of calling terminal, terminal called
The maximum decoding resolution of terminal carries out coded treatment to sending data, to generate Media Stream, wherein in the packet header of Media Stream
With the code distinguishability information that terminal called is specifically used;
Then perform terminal called by media stream to calling terminal the step of.
5. method according to claim 1, it is characterised in that
After terminal called receives negotiation solicited message, the maximum decoding resolution of terminal called is sent to the step of calling terminal
Suddenly include:
After terminal called receives negotiation solicited message, according to the uplink and downlink bandwidth of this side, terminal called is calculated most
Big code distinguishability and maximum decoding resolution;
The maximum decoding resolution of terminal called is sent to calling terminal by terminal called.
6. it is a kind of in video communication consult code distinguishability calling terminal, it is characterised in that including:
First pre-negotiated unit, for carrying out pre-negotiated with terminal called, to judge whether calling terminal and terminal called prop up
Hold code distinguishability negotiation;
First transmitting element, for when calling terminal sends data to terminal called, if calling terminal is propped up with terminal called
Code distinguishability negotiation is held, is sent to terminal called and is consulted solicited message;According to the instruction of the first codec unit, by Media Stream
It is sent to terminal called;
First receiving unit, for after the first transmitting element sends negotiation solicited message to terminal called, receiving terminal called
The maximum decoding resolution of transmission;
Whether the first recognition unit, the maximum code distinguishability for judging calling terminal is more than the maximal solution code division of terminal called
Resolution;If the maximum code distinguishability of calling terminal is not more than the maximum decoding resolution of terminal called, it indicates that first compiles solution
Code unit carries out coded treatment using the code distinguishability corresponding with data are sent to sending data;
First codec unit, for the instruction according to the first recognition unit, is differentiated using the coding corresponding with data are sent
Rate carries out coded treatment to sending data, to generate Media Stream;It is additionally operable to be more than quilt in the maximum code distinguishability of calling terminal
When being the maximum decoding resolution of terminal, coded treatment is carried out to sending data using the maximum decoding resolution of terminal called,
To generate Media Stream;There is the code distinguishability information that calling terminal is specifically used wherein in the packet header of Media Stream;Indicate the
One transmitting element is by media stream to terminal called.
7. calling terminal according to claim 6, it is characterised in that calling terminal also includes the first computing unit, is used for
According to the uplink and downlink bandwidth of this side, the maximum code distinguishability and maximum decoding resolution of calling terminal are calculated;
First transmitting element is additionally operable to be sent to terminal called when consulting solicited message, and caller end is added in solicited message is consulted
The maximum decoding resolution at end.
8. calling terminal according to claim 7, it is characterised in that
First receiving unit is additionally operable to receive the Media Stream that terminal called sends, wherein having in the packet header of the Media Stream for receiving
The code distinguishability information that terminal called is specifically used, and indicate the first codec unit to flow into the media that terminal called sends
Row decoding;
First codec unit is additionally operable to the instruction according to the first receiving unit, and the coding specifically used using terminal called is differentiated
Rate information is decoded to Media Stream.
9. it is a kind of in video communication consult code distinguishability terminal called, it is characterised in that including:
Second pre-negotiated unit, for carrying out pre-negotiated with calling terminal, judges whether that calling terminal is supported with terminal called
Code distinguishability is consulted;
Second receiving unit, for when calling terminal and terminal called support that code distinguishability is consulted, receiving calling terminal
The negotiation solicited message of transmission, and indicate the second transmitting element that the maximum decoding resolution of terminal called is sent into caller end
End;The Media Stream that calling terminal sends is received, wherein having the coding point that calling terminal is specifically used in the packet header of Media Stream
Resolution information, indicates the second codec unit to decode the Media Stream that calling terminal sends;
Second transmitting element, for the instruction according to the second receiving unit, the maximum decoding resolution of terminal called is sent to
Calling terminal;
Second codec unit, for the instruction according to the second receiving unit, the coding specifically used using calling terminal is differentiated
Rate information is decoded to Media Stream;
Wherein, terminal called also includes the second recognition unit, for when terminal called sends data to calling terminal, if main
Make terminal support that code distinguishability is consulted with terminal called, judge the maximum code distinguishability of terminal called whether more than caller
The maximum decoding resolution of terminal;If the maximal solution code division that the maximum code distinguishability of terminal called is not more than calling terminal is distinguished
Rate, it indicates that the second codec unit is carried out at coding using the code distinguishability corresponding with data are sent to sending data
Reason;
Second codec unit is additionally operable to the instruction according to the second recognition unit, is differentiated using the coding corresponding with data are sent
Rate carries out coded treatment to sending data, to generate Media Stream;The maximum code distinguishability in terminal called is additionally operable to more than master
When being the maximum decoding resolution of terminal, coded treatment is carried out to sending data using the maximum decoding resolution of calling terminal,
To generate Media Stream;There is the code distinguishability information that terminal called is specifically used wherein in the packet header of Media Stream;And indicate the
Two transmitting elements are by media stream to calling terminal;
Second transmitting element is additionally operable to the instruction according to the second codec unit, by media stream to calling terminal.
10. terminal called according to claim 9, it is characterised in that terminal called also includes the second computing unit, is used for
After the negotiation solicited message that the second receiving unit receives calling terminal transmission, according to the uplink and downlink bandwidth of this side, meter
Calculate the maximum code distinguishability and maximum decoding resolution of terminal called, and indicate the second transmitting element by terminal called most
Big decoding resolution is sent to calling terminal.
11. a kind of systems for consulting code distinguishability in video communication, it is characterised in that including such as claim 6-8
Any one of calling terminal, and the terminal called as described in claim 9 or 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210291670.4A CN103595978B (en) | 2012-08-16 | 2012-08-16 | Method and system for consulting code distinguishability in video communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210291670.4A CN103595978B (en) | 2012-08-16 | 2012-08-16 | Method and system for consulting code distinguishability in video communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103595978A CN103595978A (en) | 2014-02-19 |
CN103595978B true CN103595978B (en) | 2017-06-16 |
Family
ID=50085944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210291670.4A Active CN103595978B (en) | 2012-08-16 | 2012-08-16 | Method and system for consulting code distinguishability in video communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103595978B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812705B (en) * | 2014-12-31 | 2019-04-12 | 华为终端(东莞)有限公司 | A kind of video communication method, terminal and system |
CN105992027A (en) * | 2015-01-30 | 2016-10-05 | 中兴通讯股份有限公司 | Video signal processing method and device |
CN105828016A (en) * | 2016-04-28 | 2016-08-03 | 上海斐讯数据通信技术有限公司 | Video conversation method and video conversation terminal |
CN107205128A (en) * | 2017-05-11 | 2017-09-26 | 西安万像电子科技有限公司 | Display methods, the device and system of file |
CN108810607A (en) * | 2018-07-11 | 2018-11-13 | 深圳市东微智能科技股份有限公司 | Bitstreams switching method, apparatus, computer equipment and storage medium |
CN110830748A (en) * | 2019-12-19 | 2020-02-21 | 广东以诺通讯有限公司 | Video call method and system |
CN112822517A (en) * | 2021-01-08 | 2021-05-18 | 西安万像电子科技有限公司 | Resolution adaptation method and device and nonvolatile storage medium |
CN116193163A (en) * | 2021-11-29 | 2023-05-30 | 广州迈聆信息科技有限公司 | Method, device, equipment and storage medium for dynamically switching resolution of video stream |
CN114915615B (en) * | 2021-12-29 | 2024-03-19 | 天翼数字生活科技有限公司 | Method and system for realizing home multimedia gateway |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633177A (en) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | Method of frame rate adjusting for video communication system |
CN101146204A (en) * | 2006-09-12 | 2008-03-19 | 腾讯科技(深圳)有限公司 | Quality adjusting method and device for instant communication video |
CN101345842A (en) * | 2007-07-09 | 2009-01-14 | 田新雪 | Video-telephone system and its operation mode |
CN101431673A (en) * | 2008-12-05 | 2009-05-13 | 腾讯科技(深圳)有限公司 | Video communication system and method |
CN101651816A (en) * | 2009-09-02 | 2010-02-17 | 中兴通讯股份有限公司 | Method, device and system for creating videophone session |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3775346B2 (en) * | 2002-05-29 | 2006-05-17 | 株式会社日立製作所 | Videophone system and terminal device thereof |
-
2012
- 2012-08-16 CN CN201210291670.4A patent/CN103595978B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633177A (en) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | Method of frame rate adjusting for video communication system |
CN101146204A (en) * | 2006-09-12 | 2008-03-19 | 腾讯科技(深圳)有限公司 | Quality adjusting method and device for instant communication video |
CN101345842A (en) * | 2007-07-09 | 2009-01-14 | 田新雪 | Video-telephone system and its operation mode |
CN101431673A (en) * | 2008-12-05 | 2009-05-13 | 腾讯科技(深圳)有限公司 | Video communication system and method |
CN101651816A (en) * | 2009-09-02 | 2010-02-17 | 中兴通讯股份有限公司 | Method, device and system for creating videophone session |
Also Published As
Publication number | Publication date |
---|---|
CN103595978A (en) | 2014-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103595978B (en) | Method and system for consulting code distinguishability in video communication | |
KR100900934B1 (en) | System and method for increasing data throughput using a block acknowledgement | |
US20130322348A1 (en) | Channel switching scheme for wireless communication | |
TW200816834A (en) | Method of switching modes of uplink transmission in a wireless communication system | |
CN108430094B (en) | Reduce method, apparatus and terminal that WIFI and LTE is interfered with each other | |
CN107483710A (en) | The method and apparatus that service is provided for terminal in a wireless communication system | |
WO2018129770A1 (en) | Terminal communication method and communication device | |
CN105897462A (en) | Data transmission processing method and apparatus, and terminal | |
CN110149167A (en) | Method and device for dynamically adjusting codes, mobile terminal and storage medium | |
CA2806337C (en) | System and method for joint voice and data transmission | |
JP5217266B2 (en) | Broadband wireless communication device | |
CN105979495B (en) | Method for improving call quality, radio network controller and core network | |
JP6320421B2 (en) | Decoding early stop feedback method, apparatus and system | |
CN101650872B (en) | System and method for collecting power utilization information | |
CN108513320A (en) | A kind of method and device of coding/decoding negotiation | |
CN101841789B (en) | Video communication method and system, and method for activating video communication of packet switched domain | |
CN106576271B (en) | Method and apparatus for speech coding rate adjustment | |
WO2015032072A1 (en) | Data sending method, apparatus and device | |
CN101237620B (en) | Transmission method and media gateway for impulse coding modulation code stream | |
CN106231618B (en) | A kind of method and device sending encoding and decoding renegotiation request | |
CN107535008B (en) | Data transmission method and device | |
US9313688B2 (en) | Base station and communication resource allocation method thereof, and user equipment and communication control method thereof | |
KR20230126702A (en) | Method, device, and system for configuring sidelink DRX | |
CN102484851B (en) | Using a common media gateway node and a coordinated codec by an originating and a terminating call control node | |
CN108076013B (en) | Multi-channel terminal multi-party call method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |