Summary of the invention
The embodiment of the present invention, can be across view in order to solve the above technical problems, provide a kind of video session machinery of consultation and deviceFrequency session platform carries out transmission of video.
The technical solution of the embodiment of the present invention is achieved in that
A kind of video session machinery of consultation, comprising:
User terminal sends media negotiation request, the media association before initiating video session, to video session platformConsult and request the information that the FEC type that the user terminal is supported is carried in asking;
The user terminal receives the media negotiation that the video session platform is sent and responds, in the media negotiation responseCarry the information for the FEC type that the video session platform is supported;
The information for the FEC type that the user terminal is supported according to the video session platform determines current video sessionThe information of FEC type, and the information of identified FEC type is sent to the video session platform.
Preferably, the information of block code and/or convolutional code is included at least in the information of the FEC type;
The block code includes one kind below: inner institute (RS) code, BCH code, Hamming code;
The convolutional code includes one kind below: systematic convolutional code, concatenated coding.
Preferably, the title of the video session and the information of purpose, activity are also carried in the media negotiation requestThe information of time, the medium kind of the video session and control information.
Preferably, video session system belonging to the video session platform and video session belonging to the user terminalSystem is different.
A kind of video session machinery of consultation is applied in video session platform, which comprises
After the first media negotiation request for receiving user terminal transmission, Xiang Suoshu user terminal sends the first media negotiationResponse;Wherein, the letter for the forward error correction FEC type that the user terminal is supported is carried in the first media negotiation requestBreath;The information for the FEC type that the video session platform is supported is carried in the first media negotiation response;
The second media negotiation request that the user terminal is sent is received, is parsed from second media negotiation requestThe information for the FEC type that the user terminal determines out, and the response of the second media negotiation is sent to the user terminal.
Preferably, video session system belonging to the video session platform and video session belonging to the user terminalSystem is different.
A kind of video session consulting device, comprising: the first transmission unit, receiving unit, determination unit and second send singleMember, in which:
First transmission unit, for sending media negotiation request, institute to video session platform before initiating video sessionState the information that the forward error correction FEC type that the user terminal is supported is carried in media negotiation request;
Receiving unit, the media negotiation response sent for receiving the video session platform, the media negotiation responseIn carry the information of the FEC type that the video session platform is supported;
The information of determination unit, the FEC type for being supported according to the video session platform determines current video sessionFEC type information;
Second transmission unit, for sending the information of identified FEC type to the video session platform.
Preferably, the information of block code and/or convolutional code is included at least in the information of the FEC type;
The block code includes one kind below: inner institute code RS, BCH code, Hamming code;
The convolutional code includes one kind below: systematic convolutional code, concatenated coding.
Preferably, the title of the video session and the information of purpose, activity are also carried in the media negotiation requestThe information of time, the medium kind of the video session and control information.
Preferably, video session system belonging to video session system and described device belonging to the video session platformIt is different.
A kind of video session consulting device, be applied to video session platform in, described device include: the first receiving unit,First transmission unit, the second receiving unit, resolution unit and the second transmission unit, in which:
First receiving unit for receiving the first media negotiation request of user terminal transmission, and triggers first hairSend unit;Wherein, the letter for the forward error correction FEC type that the user terminal is supported is carried in the first media negotiation requestBreath;
First transmission unit, for sending the response of the first media negotiation to the user terminal;Wherein, first mediaNegotiate the information that the FEC type that the video session platform is supported is carried in response;
Second receiving unit, the second media negotiation request sent for receiving the user terminal;
Resolution unit, the FEC type determined for parsing the user terminal from second media negotiation requestInformation;
Second transmission unit, for sending the response of the second media negotiation to the user terminal.
Preferably, video session system belonging to the video session platform and video session belonging to the user terminalSystem is different.
In the embodiment of the present invention, before user terminal initiates video session, media negotiation need to be sent to video session platformRequest, informs the information for the FEC type that video session platform user terminal is supported, video session platform is also supported itselfThe information of FEC type notify user terminal, the information of the FEC type that user terminal is supported according to video session platform selects to work asThe information of FEC type used by preceding video session, and the information of selected FEC type is notified into video session platform, thisSample, for user terminal when the FEC by choosing encodes current video session, video session platform can decode the viewFrequency session realizes the video session transmission across video session platform to ensure that the normal transmission of video session.The present invention is realThe technical solution for applying example ensure that the video session transmission across video session platform, ensure that the reliability of video session transmission,The user experience is improved.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, by the following examples and referring to attached drawing, rightThe present invention is further described.
Fig. 1 is the flow chart of the video session machinery of consultation of the embodiment of the present invention one, as shown in Figure 1, the embodiment of the present inventionOne video session machinery of consultation the following steps are included:
Step 101, user terminal sends media negotiation request to video session platform before initiating video session.
In the embodiment of the present invention, the letter for the FEC type that the user terminal is supported is carried in the media negotiation requestBreath.Here, the information of FEC type mainly includes the information of block code and/or convolutional code;
The block code includes one kind below: inner institute's RS code, BCH code, Hamming code etc.;
The convolutional code includes one kind below: systematic convolutional code, concatenated coding etc..
It, will be first by itself when user terminal realizes the video session across video session platform in the embodiment of the present inventionThe relevant information of the FEC of use is sent to video session platform, to receive the video session platform of video session platform transmissionThe correlative coding information of the FEC supported.
The title of the video session and the information of purpose, activity time are also carried in above-mentioned media negotiation requestInformation, the medium kind of the video session and control information etc..
Step 102, user terminal receives the media negotiation response that the video session platform is sent.
In the embodiment of the present invention, the FEC type that the video session platform is supported is carried in the media negotiation responseInformation.
Step 103, the information for the FEC type that user terminal is supported according to the video session platform determines current video meetingThe information of the FEC type of words, and the information of identified FEC type is sent to the video session platform.
In the embodiment of the present invention, after user terminal receives the information of the FEC type of video session platform support, one is determinedCoding mode, so that user terminal and video session platform support the coding mode, to carry out video council between the two partiesWhen words transmission, identified coding mode is selected, so that user terminal and video session platform phase mutual energy parse video session,Realize the smooth transmission of video session.
In the embodiment of the present invention, video belonging to video session system belonging to video session platform and the user terminalConversational system is different.
Fig. 2 is the flow chart of the video session machinery of consultation of the embodiment of the present invention two, as shown in Fig. 2, the embodiment of the present inventionTwo video session machinery of consultation the following steps are included:
Step 201, after the first media negotiation request for receiving user terminal transmission, Xiang Suoshu user terminal sends firstMedia negotiation response;
Wherein, the forward error correction FEC type that the user terminal is supported is carried in the first media negotiation requestInformation;The information for the FEC type that the video session platform is supported is carried in the first media negotiation response;Here, FECThe information of type mainly includes the information of block code and/or convolutional code;
The block code includes one kind below: inner institute's RS code, BCH code, Hamming code etc.;
The convolutional code includes one kind below: systematic convolutional code, concatenated coding etc..
It, will be first by itself when user terminal realizes the video session across video session platform in the embodiment of the present inventionThe relevant information of the FEC of use is sent to video session platform, to receive the video session platform of video session platform transmissionThe correlative coding information of the FEC supported.
The title of the video session and the information of purpose, activity time are also carried in above-mentioned media negotiation requestInformation, the medium kind of the video session and control information etc..
In the embodiment of the present invention, after user terminal receives the information of the FEC type of video session platform support, one is determinedCoding mode, so that user terminal and video session platform support the coding mode, to carry out video council between the two partiesWhen words transmission, identified coding mode is selected, so that user terminal and video session platform phase mutual energy parse video session,Realize the smooth transmission of video session.
In the embodiment of the present invention, video belonging to video session system belonging to video session platform and the user terminalConversational system is different.
Step 202, the second media negotiation request that the user terminal is sent is received, is asked from second media negotiationThe information for the FEC type that the user terminal determines is parsed in asking, and is sent the second media negotiation to the user terminal and rungIt answers.
After video session platform receives the second media negotiation request of user terminal transmission, determine selected by user terminalThe coding mode of the FEC taken, to use the FEC negotiated with user terminal when carrying out video session transmission with the user terminalCoding mode to video session data carry out encoding and decoding.
Below by way of specific example, the essence of the technical solution for embodiment that the present invention is furture elucidated.
The embodiment of the present invention is to convey about the medium stream information in Multimedia session so that some conversation descriptionRecipient can participate in the session.These information that must be conveyed include: session name and purpose, session activation time, compositionThe medium kind of the session and the control information for receiving these media.
The simplification format of medium stream information can indicate are as follows:
<type>=<value>
One conversation description is made of a session level description and the description of several media-levels, and session level part is with " v="Beginning, media description are started with " m=" row, and the behavior indicated with No. * is optional.
Conversation description includes following information:
V=(version of agreement)
O=(session identifier or the name of conversation establishing person)
S=(session name)
I=* (session information)
U=* (URI of conversation description)
E=* (e-mail address)
P=* (telephone number)
C=* (link information)
B=* (bandwidth information)
Z=* (time zone of session adjusts)
K=* (password of encryption)
A=* (session attribute)
Time description:
T=(session activation time)
R=* (session repetition time)
Media description includes following information:
M=(name of media and transmission address)
I=* (media streams)
C=* (link information)
B=* (bandwidth information)
K=* (password of encryption)
A=* (medium property)
In the embodiment of the present invention, it is also necessary to increase the row about forward error correction FEC type information in media description:
F=<fec><type list><total bits, data bits>
Wherein<fec>is the type of forward error correction FEC, and type is block code (block code), convolutionalCode (convolutional code);<type list>is the specific coding mode in different FEC types, for example, block code have RS, BCH,Hamming code etc., convolutional code have systematic convolutional code, concatenated coding Turbo etc.;<total bits, data bits>it is RSDescription of the code to total bit and data bits.If coding mode has RS code, it should also increase in media description and be compiled about interweavingThe row of code information:
X=<RS code number, total bits>
Wherein<RS code number, total bits>is the square of " RS yardage " × " total bit of each RS code "Battle array.
So, not the terminal of homologous ray and video session platform when carrying out video conference, will for FEC type intoMedia negotiation of row.For representing video conference video session platform with SIP user A GC group connector A, Server B, SIPThe FEC type that user A can support it including SDP in its offer is described, it is assumed that two-way comprising oneVideo flowing (H.261 (load type 31) using encoding and decoding) and FEC type (RS, BCH and Turbo):
V=0
O=A 28908445262890844526IN IP4host.anywhere.com
S=hust
C=IN IP4host.anywhere.com
T=00
M=video 51372RTP/AVP 31
A=rtpmap:31H261/90000
F=block code RS 204188
X=8204
F=block code BCH
F=convolutional code Turbo
F=inactive
SIP user A is sent to the initial offer instruction supported FEC of video flowing of video session platform Server BType, the FEC type that Server B can be supported is BCH and Turbo, so it sends following answer:
V=0
O=A 28908445262890844526IN IP4host.anywhere.com
S=hust
C=IN IP4host.anywhere.com
T=00
M=video 51372RTP/AVP 31
A=rtpmap:31H261/90000
F=block code BCH
F=convolutional code Turbo
F=inactive
SIP user A can choose any one in the two FEC types.So it sends the offer updated, depending onFrequency stream direction is transmitting-receiving:
V=0
O=A 28908445262890844526IN IP4host.anywhere.com
S=hust
C=IN IP4host.anywhere.com
T=00
M=video 51372RTP/AVP 31
A=rtpmap:31H261/90000
F=block code BCH
F=sendrecv
Video session platform Server B receives the FEC type:
V=0
O=A 28908445262890844526IN IP4host.anywhere.com
S=hust
C=IN IP4host.anywhere.com
T=00
M=video 51372RTP/AVP 31
A=rtpmap:31H261/90000
F=block code BCH
F=sendrecv
If video session platform Server B can only support one in N number of FEC type, this FEC class will be selectedType is simultaneously included in answer.SIP user A activates the view using the FEC type for INVITE method is retransmitted at this timeFrequency flows.So far, media negotiation terminates.
Fig. 3 is the flow chart of the video session machinery of consultation of the embodiment of the present invention three, as shown in figure 3, the embodiment of the present inventionVideo session machinery of consultation the following steps are included:
Step 301, user A sends SDP offer message to Server B.First time SDP offer is SIP user AThe FEC type and specifying information for sending itself support give Server B.
Step 302, Server B sends SDP answer message to user A.First time SDP answer is Server BSending itself supports the answer of FEC type to give SIP user A.
Step 303, user A sends SDP offer message to Server B again.Second of SDP offer is SIPIt can choose one in two FEC types that user A and user B are supported, institute after first answer of user A acquisitionServer B is given to update transmission offer.
Step 304, Server B sends SDP answer message to user A again.Second of SDP answer beServer B receives the FEC type.
Fig. 4 is the composed structure schematic diagram of the video session consulting device of the embodiment of the present invention one, as shown in figure 4, this hairThe video session consulting device of bright embodiment includes: the first transmission unit 40, receiving unit 41, determination unit 42 and the second transmissionUnit 43, in which:
First transmission unit 40, for sending media negotiation request to video session platform before initiating video session,The information for the forward error correction FEC type that the user terminal is supported is carried in the media negotiation request;
Receiving unit 41, the media negotiation response sent for receiving the video session platform, the media negotiation are rungThe information for the FEC type that the video session platform is supported is carried in answering;
The information of determination unit 42, the FEC type for being supported according to the video session platform determines current video meetingThe information of the FEC type of words;
Second transmission unit 43, for sending the information of identified FEC type to the video session platform.
In the embodiment of the present invention, the information of block code and/or convolutional code is included at least in the information of the FEC type;
The block code includes one kind below: inner institute code RS, BCH code, Hamming code;
The convolutional code includes one kind below: systematic convolutional code, concatenated coding.
In the embodiment of the present invention, the title of the video session and the letter of purpose are also carried in the media negotiation requestBreath, the information of activity time, the medium kind of the video session and control information.
In the embodiment of the present invention, the video of video session system and the embodiment of the present invention belonging to the video session platformVideo session system belonging to session negotiation device is different.
The video session consulting device of the embodiment of the present invention, is particularly suitable for subscriber terminal side.
It will be appreciated by those skilled in the art that managing the reality of unit everywhere in video session consulting device shown in Fig. 4Existing function can refer to the associated description of aforementioned video session negotiation method and embodiment and understand.Those skilled in the art shouldUnderstand, the function of each processing unit can be and running on the program on processor in video session consulting device shown in Fig. 4It realizes, can also be realized by specific logic circuit.
Fig. 5 is the composed structure schematic diagram of the video session consulting device of the embodiment of the present invention two, as shown in figure 5, this hairThe video session consulting device of bright embodiment is applied in video session platform, and the video session consulting device includes: firstReceiving unit 50, the first transmission unit 51, the second receiving unit 52, resolution unit 53 and the second transmission unit 54, in which:
First receiving unit 50 for receiving the first media negotiation request of user terminal transmission, and triggers described firstTransmission unit 51;Wherein, the forward error correction FEC type that the user terminal is supported is carried in the first media negotiation requestInformation;Here, the information of FEC type mainly includes the information of block code and/or convolutional code;
The block code includes one kind below: inner institute's RS code, BCH code, Hamming code etc.;
The convolutional code includes one kind below: systematic convolutional code, concatenated coding etc..
It, will be first by itself when user terminal realizes the video session across video session platform in the embodiment of the present inventionThe relevant information of the FEC of use is sent to video session platform, to receive the video session platform of video session platform transmissionThe correlative coding information of the FEC supported.
When also carrying the title of the video session and the information of purpose, activity in above-mentioned the first media negotiation requestBetween information, the medium kind of the video session and control information etc..
First transmission unit 52, for sending the response of the first media negotiation to the user terminal;Wherein, first matchmakerBody negotiates the information that the FEC type that the video session platform is supported is carried in response;
Second receiving unit 53, the second media negotiation request sent for receiving the user terminal;
Resolution unit 54, the FEC class determined for parsing the user terminal from second media negotiation requestThe information of type;
Second transmission unit 55, for sending the response of the second media negotiation to the user terminal.
In the embodiment of the present invention, belonging to video session system belonging to the video session platform and the user terminalVideo session system is different.
The video session consulting device of the embodiment of the present invention, is particularly suitable for video session platform side.
It will be appreciated by those skilled in the art that managing the reality of unit everywhere in video session consulting device shown in Fig. 5Existing function can refer to the associated description of aforementioned video session negotiation method and embodiment and understand.Those skilled in the art shouldUnderstand, the function of each processing unit can be and running on the program on processor in video session consulting device shown in fig. 5It realizes, can also be realized by specific logic circuit.
It, in the absence of conflict, can be in any combination between technical solution documented by the embodiment of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed method, apparatus and electronic equipment,It may be implemented in other ways.Apparatus embodiments described above are merely indicative, for example, the unit is drawnPoint, only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components canTo combine, or it is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussedThe mutual coupling of each component part or direct-coupling or communication connection can be through some interfaces, equipment or unitIndirect coupling or communication connection can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unitThe component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network listsIn member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can alsoTo be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentionedIntegrated unit both can take the form of hardware realization, can also realize in the form of hardware adds application function unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass throughThe relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the programWhen being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-onlyMemory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk orThe various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the embodiment of the present invention is realized in the form of applied function module and as independenceProduct when selling or using, also can store in a computer readable storage medium.Based on this understanding, this hairThe technical solution of bright embodiment substantially in other words the part that contributes to existing technology can in the form of application product bodyReveal and, which is stored in a storage medium, including some instructions are with so that a computer is setStandby (can be personal computer, server or network equipment etc.) executes the whole of each embodiment the method for the present inventionOr part.And storage medium above-mentioned include: movable storage device, read-only memory (ROM, Read-Only Memory), withMachine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic or diskMatter.
Scope of protection of the present invention is not limited thereto, those familiar with the art the invention discloses skillIt within the scope of art, can easily think of the change or the replacement, should be covered by the protection scope of the present invention.