CN103595978A - Negotiation coding resolution method used for video communication and system thereof - Google Patents
Negotiation coding resolution method used for video communication and system thereof Download PDFInfo
- Publication number
- CN103595978A CN103595978A CN201210291670.4A CN201210291670A CN103595978A CN 103595978 A CN103595978 A CN 103595978A CN 201210291670 A CN201210291670 A CN 201210291670A CN 103595978 A CN103595978 A CN 103595978A
- Authority
- CN
- China
- Prior art keywords
- terminal
- code distinguishability
- calling terminal
- terminal called
- media stream
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims description 31
- 238000010586 diagram Methods 0.000 description 16
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a negotiation coding resolution method used for video communication and a system thereof. The negotiation coding resolution method used for the video communication is characterized in that a calling terminal carries out pre-negotiation with a called terminal; when the calling terminal and the called terminal support the coding resolution negotiation, the calling terminal and the called terminal carry out the negotiation by using a maximum coding and decoding resolution which can be supported by a side; if a maximum coding resolution of the calling terminal is not greater than a maximum decoding resolution of the called terminal, the calling terminal uses the coding resolution corresponding to sending data to carry out coding processing on the sending data so as to generate a media stream and the media stream is sent to the called terminal, and the called terminal uses coding resolution information specifically adopted by the calling terminal to carry out decoding on the media stream. Therefore, two parties of communication can establish video communication with different resolutions according to a specific condition of a network side, and service quality of the video communication and a communication experience of a user can be increased.
Description
Technical field
The present invention relates to the communications field, particularly relate to a kind of for consult the method and system of code distinguishability in video communication.
Background technology
The development of mobile Internet, has promoted the growth of intelligent terminal industrial chain, and smart mobile phone, panel computer become the focus of terminal market.The lifting of the release of new operating system and chip handling property, make all kinds of terminals that have a screen possess the ability of supporting exploitation video communication function, operator, terminal development Shang, the Internet manufacturer develop one after another and release based on the Internet or 3G(The Third Generation, 3G (Third Generation) Moblie technology) point-to-point video communication function.Facetime from IPhone4 is to the true product of all kinds of nets, and the application of video communication is more and more extensive.
When point-to-point video communication, terminal must be used same encoding and decoding resolution to communicate.And at present due to heterogeneous networks upstream bandwidth and downlink bandwidth situation different, some user's downlink bandwidths are more than 10 times of upstream bandwidth, existing symmetry consults to cause the resolution of video communication terminal Code And Decode necessary identical, as long as video communication both sides have the upstream bandwidth of one end not enough, in order to reduce code stream, just must all use lower resolution to carry out video communication, can not make full use of the network bandwidth, cause user to experience very poor.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of for consult the method and system of code distinguishability in video communication, communicating pair is held consultation by the maximum encoding and decoding resolution that can support according to this side, thereby communicating pair can be set up the video communication of different resolution, and can make full use of the network bandwidth, improve the service quality of video communication and user's communication experiences.
According to an aspect of the present invention, provide a kind of for consult the method for code distinguishability in video communication, comprising:
Calling terminal is by consulting in advance with terminal called, judges whether that calling terminal and terminal called all support code distinguishability to consult;
If calling terminal and terminal called all support code distinguishability to consult, when calling terminal sends data to terminal called, calling terminal sends and consults solicited message to terminal called;
Terminal called receives to be consulted, after solicited message, the maximal solution code distinguishability of terminal called to be sent to calling terminal;
Calling terminal judges whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called;
If the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal;
Calling terminal sends to terminal called by Media Stream;
Terminal called utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
According to a further aspect in the invention, provide a kind of for consult the calling terminal of code distinguishability in video communication, comprising:
The first pre-negotiation element, for consulting in advance with terminal called, to judge whether calling terminal and terminal called all support code distinguishability to consult;
The first transmitting element, for when calling terminal sends data to terminal called, if calling terminal and terminal called all support code distinguishability to consult, sends and consults solicited message to terminal called; Indication according to the first codec unit, sends to terminal called by Media Stream;
The first receiving element, for sending and consult, after solicited message, to receive the maximal solution code distinguishability that terminal called sends to terminal called at the first transmitting element;
The first recognition unit, for judging whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called; If the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, indicate the first codec unit to adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data;
The first codec unit, be used for according to the indication of the first recognition unit, adopt the code distinguishability corresponding with sending data to sending the data processing of encode, to generate Media Stream, wherein in the packet header of Media Stream, there is the specifically code distinguishability information of employing of calling terminal; Indicate the first transmitting element that Media Stream is sent to terminal called.
According to a further aspect in the invention, provide a kind of for consult the terminal called of code distinguishability in video communication, comprising:
The second pre-negotiation element, for consulting in advance with calling terminal, judges whether that calling terminal and terminal called all support code distinguishability to consult;
The second receiving element, when all supporting that at calling terminal and terminal called code distinguishability is consulted, receives the negotiation solicited message that calling terminal sends, and indicates the second transmitting element that the maximal solution code distinguishability of terminal called is sent to calling terminal; Receive the Media Stream that calling terminal sends, wherein in the packet header of Media Stream, have the concrete code distinguishability information adopting of calling terminal, the Media Stream of indicating the second codec unit to send calling terminal is decoded;
The second transmitting element, for according to the indication of the second receiving element, sends to calling terminal by the maximal solution code distinguishability of terminal called;
The second codec unit, for according to the indication of the second receiving element, utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
According to a further aspect in the invention, provide a kind of and comprise calling terminal and terminal called for consult the system of code distinguishability in video communication, wherein:
Calling terminal, be used for by consulting in advance with terminal called, judge whether that calling terminal and terminal called all support code distinguishability to consult, if calling terminal and terminal called all support code distinguishability to consult, when sending data to terminal called, to terminal called, send and consult solicited message, after receiving the terminal called maximal solution code distinguishability of terminal called transmission, judge whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called, if the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal, Media Stream is sent to terminal called,
Terminal called, for after receiving negotiation solicited message, sends to calling terminal by the maximal solution code distinguishability of terminal called, receives the Media Stream that calling terminal sends, and utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
The present invention utilizes the maximum encoding and decoding resolution that this side can be supported to hold consultation by calling terminal and terminal called, if the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal, Media Stream is sent to terminal called, terminal called is receiving the Media Stream of calling terminal transmission, utilize the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.Thereby communicating pair can be set up according to the actual conditions of network side the video communication of different resolution, and can make full use of the network bandwidth, improve the service quality of video communication and user's communication experiences.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that the present invention consults an embodiment of code distinguishability method 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 an embodiment of Media Stream method.
Fig. 4 is the schematic diagram that the present invention consults an embodiment of calling terminal of code distinguishability in video communication.
Fig. 5 is the schematic diagram that the present invention consults another embodiment of calling terminal of code distinguishability in video communication.
Fig. 6 is the schematic diagram that the present invention consults an embodiment of terminal called of code distinguishability in video communication.
Fig. 7 is the schematic diagram that the present invention consults another embodiment of terminal called of code distinguishability in video communication.
Fig. 8 is the schematic diagram that the present invention consults an embodiment of code distinguishability system in video communication.
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention is wherein described.
Fig. 1 is the schematic diagram that the present invention consults an embodiment of code distinguishability method in video communication.As shown in Figure 1, the method step of consulting code distinguishability in video communication of the present embodiment is as follows:
Code distinguishability method is provided in the video communication providing based on the above embodiment of the present invention, and calling terminal is by consulting in advance with terminal called, judges whether that calling terminal and terminal called all support code distinguishability to consult.When calling terminal and terminal called all support that code distinguishability is consulted, calling terminal and terminal called utilize the maximum encoding and decoding resolution that this side can be supported to hold consultation, if the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal, Media Stream is sent to terminal called, terminal called is receiving the Media Stream of calling terminal transmission, utilize the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.Thereby communicating pair can be set up according to the actual conditions of network side the video communication of different resolution, and can improve the service quality of video communication and user's communication experiences.
Wherein it should be noted that, because those skilled in the art can adopt multiple existing concrete mode, specifically carry out pre-negotiation, therefore its concrete mode is not launched to explanation here.
Preferably, calling terminal, according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of calling terminal.When calling terminal sends negotiation solicited message to terminal called, consult the maximal solution code distinguishability that solicited message comprises calling terminal.
Preferably, terminal called receives and consults, after solicited message, according to the uplink and downlink bandwidth of this side, to calculate maximum code distinguishability and the maximal solution code distinguishability of terminal called, and the maximal solution code distinguishability of terminal called is sent to calling terminal.
Because maximum code distinguishability and the maximal solution code distinguishability of communicating pair all depends on the upstream and downstream bandwidth of this side separately, the negotiation result of therefore carrying out based on this can make full use of the network bandwidth, improves 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.As shown in Figure 2, the method step of consulting code distinguishability in video communication is as shown in Figure 2:
Preferably, terminal called receives and consults, after solicited message, according to the uplink and downlink bandwidth of this side, to calculate maximum code distinguishability and the maximal solution code distinguishability of terminal called.
Hence one can see that, and when in calling terminal and terminal called, at least one party does not support that code distinguishability is consulted, calling terminal adopts existing mode to carry out code distinguishability negotiation and coding processing.When calling terminal and terminal called all support that code distinguishability is consulted, when the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream; When if the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called, the maximal solution code distinguishability that calling terminal adopts terminal called is to sending the data processing of encoding, to generate Media Stream.Thereby communicating pair can be according to whether supporting whether the maximum code distinguishability of code distinguishability negotiation and calling terminal is greater than the maximal solution code distinguishability of terminal called, determine concrete coded system, thereby can make full use of the network bandwidth, improve telecommunication service quality and user's communication experiences.
For example, the maximum code distinguishability of calling terminal is CIF(Common Intermediate Format, CLV Common Intermediate Format), the maximal solution code distinguishability of terminal called is 720P.Because CIF is not more than the maximum decoding capability 720P of terminal called, so calling terminal can adopt the code stream of CIF coding.
Fig. 3 is the schematic diagram that terminal called of the present invention sends an embodiment of Media Stream method.When terminal called sends Media Stream to calling terminal, carry out following methods step:
Hence one can see that, and when in calling terminal and terminal called, at least one party does not support that code distinguishability is consulted, terminal called adopts existing mode to carry out code distinguishability negotiation and coding processing.When calling terminal and terminal called all support that code distinguishability is consulted, when the maximum code distinguishability of terminal called is not more than the maximal solution code distinguishability of calling terminal, terminal called adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream; When if the maximum code distinguishability of terminal called is greater than the maximal solution code distinguishability of calling terminal, the maximal solution code distinguishability that terminal called adopts calling terminal is to sending the data processing of encoding, to generate Media Stream.Thereby communicating pair can be according to whether supporting whether the maximum code distinguishability of code distinguishability negotiation and terminal called is greater than the maximal solution code distinguishability of calling terminal, determine concrete coded system, thereby can make full use of the network bandwidth, improve telecommunication service quality and user's communication experiences.
For example, the maximum code distinguishability of terminal called is D1, and the maximal solution code distinguishability of calling terminal is also D1.Because the maximum code distinguishability of terminal called is identical with the maximal solution code distinguishability D1 of calling terminal, so terminal called can adopt the code stream of D1 coding.
Fig. 4 is the schematic diagram that the present invention consults an embodiment of calling terminal of code distinguishability in video communication.As shown in Figure 4, calling terminal comprises:
The first pre-negotiation element 401, for consulting in advance with terminal called, to judge whether calling terminal and terminal called all support code distinguishability to consult.
The first transmitting element 402, for when calling terminal sends data to terminal called, if calling terminal and terminal called all support code distinguishability to consult, sends and consults solicited message to terminal called; Indication according to the first codec unit 405, sends to terminal called by Media Stream.
The first receiving element 403, for sending and consult, after solicited message, to receive the maximal solution code distinguishability that terminal called sends to terminal called at the first transmitting element 402.
The first recognition unit 404, for judging whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called; If the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, indicate the first codec unit 405 to adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data.
The first codec unit 405, be used for according to the indication of the first recognition unit 404, adopt the code distinguishability corresponding with sending data to sending the data processing of encode, to generate Media Stream, wherein in the packet header of Media Stream, there is the specifically code distinguishability information of employing of calling terminal; Indicate the first transmitting element 402 that Media Stream is sent to terminal called.
The calling terminal of consulting code distinguishability in video communication providing based on the above embodiment of the present invention, calling terminal is by consulting in advance with terminal called, judges whether that calling terminal and terminal called all support code distinguishability to consult.When calling terminal and terminal called all support that code distinguishability is consulted, calling terminal and terminal called utilize the maximum encoding and decoding resolution that this side can be supported to hold consultation, if the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal, Media Stream is sent to terminal called.Thereby communicating pair can be set up according to the actual conditions of network side the video communication of different resolution, and can improve the service quality of video communication and user's communication experiences.
Preferably, when the first codec unit 405 is also greater than the maximal solution code distinguishability of terminal called for the maximum code distinguishability at calling terminal, the maximal solution code distinguishability that adopts terminal called is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal; Then carry out indication the first transmitting element 402 and Media Stream is sent to the operation of terminal called.
Preferably, the first coding unit 405 is not also when supporting that calling terminal and terminal called at least one party code distinguishability is consulted, utilize existing mode and calling terminal to carry out code distinguishability negotiation, and utilize to consult the code distinguishability that obtains to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal; Then carry out indication the first transmitting element 402 and Media Stream is sent to the operation of terminal called.
Fig. 5 is the schematic diagram that the present invention consults another embodiment of calling terminal of code distinguishability in video communication.Compare with embodiment illustrated in fig. 4, in the embodiment shown in fig. 5, calling terminal also comprises the first computing unit 501, for according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of calling terminal.
The first transmitting element 402 also when send consulting solicited message to terminal called, the maximal solution code distinguishability of adding calling terminal in consulting solicited message.
Preferably, the Media Stream that the first receiving element 403 also sends for receiving terminal called, wherein in the packet header of the Media Stream receiving, there is the concrete code distinguishability information adopting of terminal called, and the Media Stream of indicating 405 pairs of terminal calleds of the first codec unit to send is decoded.
The first codec unit 405 also, for according to the indication of the first receiving element 403, utilizes the concrete code distinguishability information adopting of terminal called to decode to Media Stream.
Fig. 6 is the schematic diagram that the present invention consults an embodiment of terminal called of code distinguishability in video communication.As shown in Figure 6, terminal called comprises:
The second pre-negotiation element 601, for consulting in advance with calling terminal, judges whether that calling terminal and terminal called all support code distinguishability to consult.
The second receiving element 602, when all supporting that at calling terminal and terminal called code distinguishability is consulted, receives the negotiation solicited message that calling terminal sends, and indicates the second transmitting element 603 that the maximal solution code distinguishability of terminal called is sent to calling terminal; Receive the Media Stream that calling terminal sends, wherein in the packet header of Media Stream, have the concrete code distinguishability information adopting of calling terminal, the Media Stream of indicating 604 pairs of calling terminals of the second codec unit to send is decoded.
The second transmitting element 603, for according to the indication of the second receiving element 602, sends to calling terminal by the maximal solution code distinguishability of terminal called.
The second codec unit 604, for according to the indication of the second receiving element 602, utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
The calling terminal of consulting code distinguishability in video communication providing based on the above embodiment of the present invention, calling terminal is by consulting in advance with terminal called, judges whether that calling terminal and terminal called all support code distinguishability to consult.When calling terminal and terminal called all support that code distinguishability is consulted, terminal called sends to calling terminal to carry out coding negotiation the maximal solution code distinguishability of terminal called, and after receiving the Media Stream of calling terminal transmission, utilize in packet header of Media Stream and there is the concrete code distinguishability information adopting of calling terminal, Media Stream is decoded.Thereby communicating pair can be set up according to the actual conditions of network side the video communication of different resolution, and can improve the service quality of video communication and user's communication experiences.
Fig. 7 is the schematic diagram that the present invention consults another embodiment of terminal called of code distinguishability in video communication.Compare with embodiment illustrated in fig. 6, in the embodiment shown in fig. 7, terminal called also comprises the second recognition unit 701, for when terminal called sends data to calling terminal, if calling terminal and terminal called all support code distinguishability to consult, judge whether the maximum code distinguishability of terminal called is greater than the maximal solution code distinguishability of calling terminal; If the maximum code distinguishability of terminal called is not more than the maximal solution code distinguishability of calling terminal, indicate the second codec unit 604 to adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data.
The second codec unit 604 is also for according to the indication of the second recognition unit 701, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; And indicate the second transmitting element 603 that Media Stream is sent to calling terminal.
The second transmitting element 603, also for according to the indication of the second codec unit 604, sends to calling terminal by Media Stream.
Preferably, when the second codec unit 604 is also greater than the maximal solution code distinguishability of calling terminal for the maximum code distinguishability at terminal called, the maximal solution code distinguishability that adopts calling terminal is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; Then carry out indication the second transmitting element 603 and Media Stream is sent to the operation of calling terminal.
Preferably, the second codec unit 604 is not also when supporting that calling terminal and terminal called at least one party code distinguishability is consulted, utilize existing mode to carry out code distinguishability negotiation, and use to consult the code distinguishability that obtains to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; Then carry out indication the second transmitting element 603 and Media Stream is sent to the operation of calling terminal.
Preferably, terminal called also comprises the second computing unit 702, for receiving at the second receiving element 602 after the negotiation solicited message of calling terminal transmission, according to the uplink and downlink bandwidth of this side, calculate maximum code distinguishability and the maximal solution code distinguishability of terminal called, and indicate the second transmitting element 603 that the maximal solution code distinguishability of terminal called is sent to calling terminal.
Fig. 8 is the schematic diagram that the present invention consults an embodiment of code distinguishability system in video communication.As shown in Figure 8, system comprises calling terminal 801 and terminal called 802.Wherein:
Calling terminal 801, be used for by consulting in advance with terminal called 802, judge whether that calling terminal 801 and terminal called 802 all support code distinguishability to consult, if calling terminal 801 all supports code distinguishability to consult with terminal called 802, when sending data to terminal called 802, to terminal called 802, send and consult solicited message, after receiving the terminal called maximal solution code distinguishability of terminal called 802 transmissions, judge whether the maximum code distinguishability of calling terminal 801 is greater than the maximal solution code distinguishability of terminal called, if the maximum code distinguishability of calling terminal 801 is not more than the maximal solution code distinguishability of terminal called 802, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal 801, Media Stream is sent to terminal called 802.
Terminal called 802, for after receiving negotiation solicited message, the maximal solution code distinguishability of terminal called 802 is sent to calling terminal 801, receive the Media Stream that calling terminal 801 sends, utilize the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
Code distinguishability system is provided in the video communication providing based on the above embodiment of the present invention, and calling terminal is by consulting in advance with terminal called, judges whether that calling terminal and terminal called all support code distinguishability to consult.When calling terminal and terminal called all support that code distinguishability is consulted, calling terminal and terminal called utilize the maximum encoding and decoding resolution that this side can be supported to hold consultation, if the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal, Media Stream is sent to terminal called, terminal called is receiving the Media Stream of calling terminal transmission, utilize the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.Thereby communicating pair can be set up according to the actual conditions of network side the video communication of different resolution, and can improve the service quality of video communication and user's communication experiences.
Preferably, when calling terminal 801 is also greater than the maximal solution code distinguishability of terminal called 802 for the maximum code distinguishability at calling terminal 801, the maximal solution code distinguishability that adopts terminal called 802 is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal 801; Then carry out the operation that Media Stream is sent to terminal called 802.
Preferably, calling terminal 801 is not also for when calling terminal 801 supports that with terminal called 802 at least one party code distinguishability is consulted, utilize existing mode to carry out code distinguishability negotiation, and utilize to consult the code distinguishability that obtains to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal 801; Then carry out the operation that Media Stream is sent to terminal called 802.
Preferably, calling terminal 801, specifically according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of calling terminal 801; Also for sending to terminal called 802 while consulting solicited message, the maximal solution code distinguishability of adding calling terminal 801 in consulting solicited message.
Preferably, terminal called 802 is also for when sending data to calling terminal 801, if calling terminal 801 all supports code distinguishability to consult with terminal called 802, judge whether the maximum code distinguishability of terminal called 802 is greater than the maximal solution code distinguishability of calling terminal 801; If the maximum code distinguishability of terminal called 802 is not more than the maximal solution code distinguishability of calling terminal, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called 802; Media Stream is sent to calling terminal 801.
Calling terminal 801 is also for utilizing the concrete code distinguishability information adopting of terminal called 802 to decode to Media Stream.
Preferably, when terminal called 802 is also greater than the maximal solution code distinguishability of calling terminal 801 for the maximum code distinguishability at terminal called 802, the maximal solution code distinguishability that adopts calling terminal 801 is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called 802; Then carry out the operation that Media Stream is sent to calling terminal 801.
Preferably, terminal called 802 is not also for when calling terminal 801 supports that with terminal called 802 at least one party code distinguishability is consulted, utilize existing mode to carry out code distinguishability negotiation, and utilize to consult the code distinguishability that obtains to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called 802; Then carry out the operation that Media Stream is sent to calling terminal 801.
Preferably, terminal called 802 also, for after receiving negotiation solicited message, according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of terminal called 802; The maximal solution code distinguishability of terminal called 802 is sent to calling terminal 801.
Preferably, calling terminal 801 is the calling terminal described in arbitrary embodiment in above-mentioned Fig. 4 and Fig. 5.Terminal called 802 is the terminal called described in arbitrary embodiment in above-mentioned Fig. 6 and Fig. 7.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment with various modifications that the present invention's design is suitable for special-purpose.
Claims (21)
1. for consult a method for code distinguishability in video communication, it is characterized in that, comprising:
Calling terminal is by consulting in advance with terminal called, judges whether that calling terminal and terminal called all support code distinguishability to consult;
If calling terminal and terminal called all support code distinguishability to consult, when calling terminal sends data to terminal called, calling terminal sends and consults solicited message to terminal called;
Terminal called receives to be consulted, after solicited message, the maximal solution code distinguishability of terminal called to be sent to calling terminal;
Calling terminal judges whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called;
If the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, calling terminal adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal;
Calling terminal sends to terminal called by Media Stream;
Terminal called utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
2. method according to claim 1, is characterized in that,
If the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called, the maximal solution code distinguishability that calling terminal adopts terminal called is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal;
Then carry out calling terminal and Media Stream is sent to the step of terminal called.
3. method according to claim 1 and 2, is characterized in that,
The step that calling terminal sends negotiation solicited message to terminal called comprises:
Calling terminal, according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of calling terminal;
Calling terminal sends and consults solicited message to terminal called, consults the maximal solution code distinguishability that solicited message comprises calling terminal.
4. method according to claim 3, is characterized in that,
When terminal called sends data to calling terminal, if calling terminal and terminal called all support code distinguishability to consult, terminal called judges whether the maximum code distinguishability of terminal called is greater than the maximal solution code distinguishability of calling terminal;
If the maximum code distinguishability of terminal called is not more than the maximal solution code distinguishability of calling terminal, terminal called adopts the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called;
Terminal called sends to calling terminal by Media Stream;
Calling terminal utilizes the concrete code distinguishability information adopting of terminal called to decode to Media Stream.
5. method according to claim 4, is characterized in that,
If the maximum code distinguishability of terminal called is greater than the maximal solution code distinguishability of calling terminal, the maximal solution code distinguishability that terminal called adopts calling terminal is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called;
Then carry out terminal called and Media Stream is sent to the step of calling terminal.
6. method according to claim 1 and 2, is characterized in that,
Terminal called receives to be consulted, after solicited message, to send to the step of calling terminal to comprise the maximal solution code distinguishability of terminal called:
Terminal called receives to be consulted, after solicited message, according to the uplink and downlink bandwidth of this side, to calculate maximum code distinguishability and the maximal solution code distinguishability of terminal called;
Terminal called sends to calling terminal by the maximal solution code distinguishability of terminal called.
7. for consult a calling terminal for code distinguishability in video communication, it is characterized in that, comprising:
The first pre-negotiation element, for consulting in advance with terminal called, to judge whether calling terminal and terminal called all support code distinguishability to consult;
The first transmitting element, for when calling terminal sends data to terminal called, if calling terminal and terminal called all support code distinguishability to consult, sends and consults solicited message to terminal called; Indication according to the first codec unit, sends to terminal called by Media Stream;
The first receiving element, for sending and consult, after solicited message, to receive the maximal solution code distinguishability that terminal called sends to terminal called at the first transmitting element;
The first recognition unit, for judging whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called; If the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, indicate the first codec unit to adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data;
The first codec unit, be used for according to the indication of the first recognition unit, adopt the code distinguishability corresponding with sending data to sending the data processing of encode, to generate Media Stream, wherein in the packet header of Media Stream, there is the specifically code distinguishability information of employing of calling terminal; Indicate the first transmitting element that Media Stream is sent to terminal called.
8. calling terminal according to claim 7, is characterized in that,
When the first codec unit is also greater than the maximal solution code distinguishability of terminal called for the maximum code distinguishability at calling terminal, the maximal solution code distinguishability that adopts terminal called is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal; Then carry out indication the first transmitting element and Media Stream is sent to the operation of terminal called.
9. according to the calling terminal described in claim 7 or 8, it is characterized in that, calling terminal also comprises the first computing unit, for according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of calling terminal;
The first transmitting element also when send consulting solicited message to terminal called, the maximal solution code distinguishability of adding calling terminal in consulting solicited message.
10. calling terminal according to claim 9, is characterized in that,
The Media Stream that the first receiving element also sends for receiving terminal called, wherein in the packet header of the Media Stream receiving, have the concrete code distinguishability information adopting of terminal called, and the Media Stream of indicating the first codec unit to send terminal called is decoded;
The first codec unit also, for according to the indication of the first receiving element, utilizes the concrete code distinguishability information adopting of terminal called to decode to Media Stream.
11. 1 kinds for consult the terminal called of code distinguishability in video communication, it is characterized in that, comprising:
The second pre-negotiation element, for consulting in advance with calling terminal, judges whether that calling terminal and terminal called all support code distinguishability to consult;
The second receiving element, when all supporting that at calling terminal and terminal called code distinguishability is consulted, receives the negotiation solicited message that calling terminal sends, and indicates the second transmitting element that the maximal solution code distinguishability of terminal called is sent to calling terminal; Receive the Media Stream that calling terminal sends, wherein in the packet header of Media Stream, have the concrete code distinguishability information adopting of calling terminal, the Media Stream of indicating the second codec unit to send calling terminal is decoded;
The second transmitting element, for according to the indication of the second receiving element, sends to calling terminal by the maximal solution code distinguishability of terminal called;
The second codec unit, for according to the indication of the second receiving element, utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
12. terminal calleds according to claim 11, it is characterized in that, terminal called also wraps the second recognition unit, for when terminal called sends data to calling terminal, if calling terminal and terminal called all support code distinguishability to consult, judge whether the maximum code distinguishability of terminal called is greater than the maximal solution code distinguishability of calling terminal; If the maximum code distinguishability of terminal called is not more than the maximal solution code distinguishability of calling terminal, indicate the second codec unit to adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data;
The second codec unit is also for according to the indication of the second recognition unit, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; And indicate the second transmitting element that Media Stream is sent to calling terminal;
The second transmitting element also, for according to the indication of the second codec unit, sends to calling terminal by Media Stream.
13. terminal calleds according to claim 12, is characterized in that,
When the second codec unit is also greater than the maximal solution code distinguishability of calling terminal for the maximum code distinguishability at terminal called, the maximal solution code distinguishability that adopts calling terminal is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; Then carry out indication the second transmitting element and Media Stream is sent to the operation of calling terminal.
14. according to the terminal called described in claim 11 or 12, it is characterized in that, terminal called also comprises the second computing unit, for receiving at the second receiving element after the negotiation solicited message of calling terminal transmission, according to the uplink and downlink bandwidth of this side, calculate maximum code distinguishability and the maximal solution code distinguishability of terminal called, and indicate the second transmitting element that the maximal solution code distinguishability of terminal called is sent to calling terminal.
15. 1 kinds for consult the system of code distinguishability in video communication, it is characterized in that, comprises calling terminal and terminal called, wherein:
Calling terminal, be used for by consulting in advance with terminal called, judge whether that calling terminal and terminal called all support code distinguishability to consult, if calling terminal and terminal called all support code distinguishability to consult, when sending data to terminal called, to terminal called, send and consult solicited message, after receiving the terminal called maximal solution code distinguishability of terminal called transmission, judge whether the maximum code distinguishability of calling terminal is greater than the maximal solution code distinguishability of terminal called, if the maximum code distinguishability of calling terminal is not more than the maximal solution code distinguishability of terminal called, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal, Media Stream is sent to terminal called,
Terminal called, for after receiving negotiation solicited message, sends to calling terminal by the maximal solution code distinguishability of terminal called, receives the Media Stream that calling terminal sends, and utilizes the concrete code distinguishability information adopting of calling terminal to decode to Media Stream.
16. systems according to claim 15, is characterized in that,
When calling terminal is also greater than the maximal solution code distinguishability of terminal called for the maximum code distinguishability at calling terminal, the maximal solution code distinguishability that adopts terminal called is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of calling terminal; Then carry out the operation that Media Stream is sent to terminal called.
17. according to the system described in claim 15 or 16, it is characterized in that,
Calling terminal, specifically according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of calling terminal; Also when send consulting solicited message to terminal called, the maximal solution code distinguishability of adding calling terminal in consulting solicited message.
18. systems according to claim 17, is characterized in that,
Terminal called also, for when sending data to calling terminal, if calling terminal and terminal called all support code distinguishability to consult, judges whether the maximum code distinguishability of terminal called is greater than the maximal solution code distinguishability of calling terminal; If the maximum code distinguishability of terminal called is not more than the maximal solution code distinguishability of calling terminal, adopt the code distinguishability corresponding with sending data to the processing of encoding of transmission data, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; Media Stream is sent to calling terminal;
Calling terminal is also for utilizing the concrete code distinguishability information adopting of terminal called to decode to Media Stream.
19. systems according to claim 18, is characterized in that,
When terminal called is also greater than the maximal solution code distinguishability of calling terminal for the maximum code distinguishability at terminal called, the maximal solution code distinguishability that adopts calling terminal is to sending the data processing of encoding, to generate Media Stream, wherein in the packet header of Media Stream, there is the concrete code distinguishability information adopting of terminal called; Then carry out the operation that Media Stream is sent to calling terminal.
20. according to the system described in claim 15 or 16, it is characterized in that,
Terminal called also, for after receiving negotiation solicited message, according to the uplink and downlink bandwidth of this side, calculates maximum code distinguishability and the maximal solution code distinguishability of terminal called; The maximal solution code distinguishability of terminal called is sent to calling terminal.
21. systems according to claim 15, is characterized in that:
Calling terminal is the calling terminal described in any one in claim 7-10.
Terminal called is the terminal called described in any one in claim 11-14.
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 true CN103595978A (en) | 2014-02-19 |
| CN103595978B 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) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105812705A (en) * | 2014-12-31 | 2016-07-27 | 华为终端(东莞)有限公司 | Video communication method, terminal and system |
| CN105828016A (en) * | 2016-04-28 | 2016-08-03 | 上海斐讯数据通信技术有限公司 | Video conversation method and video conversation terminal |
| CN105992027A (en) * | 2015-01-30 | 2016-10-05 | 中兴通讯股份有限公司 | Video signal processing method and device |
| 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 | 广东以诺通讯有限公司 | A 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 |
| WO2023123870A1 (en) * | 2021-12-29 | 2023-07-06 | 天翼数字生活科技有限公司 | Method and system for realizing home multimedia gateway |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030222973A1 (en) * | 2002-05-29 | 2003-12-04 | Kazushige Hiroi | Video telephone system and terminal device therefor |
| CN1633177A (en) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | Frame rate adjustment method of 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 |
-
2012
- 2012-08-16 CN CN201210291670.4A patent/CN103595978B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030222973A1 (en) * | 2002-05-29 | 2003-12-04 | Kazushige Hiroi | Video telephone system and terminal device therefor |
| CN1633177A (en) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | Frame rate adjustment method of 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 |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105812705A (en) * | 2014-12-31 | 2016-07-27 | 华为终端(东莞)有限公司 | Video communication method, terminal and system |
| US9998704B2 (en) | 2014-12-31 | 2018-06-12 | Huawei Technologies Co., Ltd. | Video communication method and system, and terminal |
| 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 | 广东以诺通讯有限公司 | A 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 |
| WO2023123870A1 (en) * | 2021-12-29 | 2023-07-06 | 天翼数字生活科技有限公司 | Method and system for realizing home multimedia gateway |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103595978B (en) | 2017-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103595978A (en) | Negotiation coding resolution method used for video communication and system thereof | |
| CN101964705A (en) | Communication device, communication system, communication method, communication program and communication circuit | |
| CN110603767B (en) | Transmission method, device and storage medium for hybrid automatic repeat request feedback | |
| CN102833345A (en) | Method, apparatus and system for sharing content between devices | |
| CN103152716A (en) | Automatic recharging method and mobile communication terminal thereof | |
| CN1972494B (en) | Processing method for signaling tracking | |
| US10448455B2 (en) | Radio communications gateway and radio communications terminal | |
| CN109699049B (en) | Method and device for determining user plane protocol stack type | |
| CN102843434A (en) | Method, device and system for sharing contents among equipment | |
| CN1988709A (en) | Signalling tracking device | |
| CN101160983A (en) | Method, device and system for processing data stream | |
| CN101650872A (en) | System and method for collecting power utilization information | |
| CN102065391B (en) | Short message platform fusion system and short message processing method | |
| CN101384007A (en) | Inter-network data transmission method, apparatus and communication device and system | |
| 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 | |
| CN104426854A (en) | Method and system for implementing agency call | |
| CN1988480A (en) | Signalling tracing processing method | |
| CN101237620B (en) | Transmission method and media gateway for impulse coding modulation code stream | |
| CN114244813B (en) | Abnormal call processing method, device and electronic equipment | |
| CN104994054A (en) | Method of transmitting grouped data based on TD-SCDMA transparent transmission voice channel, and mobile terminal | |
| US20240267417A1 (en) | Exchanging Status Messages During a Call | |
| CN103401833A (en) | Media cipher/decipher switching method and device | |
| EP2448258A1 (en) | Video media server for realizing video intercommunication gateway function and video intercommunication method | |
| 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 |