CN102394871A - Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information - Google Patents
Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information Download PDFInfo
- Publication number
- CN102394871A CN102394871A CN2011103253662A CN201110325366A CN102394871A CN 102394871 A CN102394871 A CN 102394871A CN 2011103253662 A CN2011103253662 A CN 2011103253662A CN 201110325366 A CN201110325366 A CN 201110325366A CN 102394871 A CN102394871 A CN 102394871A
- Authority
- CN
- China
- Prior art keywords
- token
- info
- streaming media
- attaches
- conference
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to an attached flow control method of an SIP (Session Initiation Protocol) conference based on INFO information. The method is characterized in that: an attached flow media channel is established between a conference terminal and a conference server through consultation of an SDP (Session Description Protocol); after the consultation is finished by a media, a token transmission is controlled through the INFO information with an expanded MIME (Multipurpose Internet Mail Extensions) media type to realize normal communication of conference attached flow medias; token control information is transmitted by adopting the INFO information; because the INFO belongs to an SIP protocol information type, the INFO is convenient to retransmit, transmit and treat and the network influence is reduced; the expanded MIME media type is adopted so that an information content is convenient to distinguish; the control of a plurality of attached flows is satisfied through supporting a label value; the information content which is an XML (Extensive Makeup Language) format is convenient to expand and analyze; by adopting the INFO information, because a lot of information is contained in an information head part, the content of the token control part is more simple; and the token control information and a double-current protocol H.239 of an H.323 network are conveniently and mutually exchanged.
Description
Technical field
The present invention relates to a kind of in centralized management pattern meeting based on the Session Initiation Protocol of RFC3261 standard, the method for attaching flow control information through the INFO transmission.
Background technology
At present, become one of video conferencing technology standard of main flow, and attached the stream technology also along with a kind of important application of developing into of video conferencing technology based on the conferencing technology of Session Initiation Protocol.Attach stream for one, can only have a user to send in the meeting and attach Streaming Media, other users then can only receive.Therefore need apply control to attaching the Streaming Media sending permission, accomplish the switching of source of media, promptly so-called token (token) control.Only have the application that wall scroll attaches stream and can be called double fluid again.At present, most attach the view that fails to be convened for lack of a quorum and still only limit to double-current The Application of Technology.Establishment to Media Stream in the SIP meeting mainly is to pass through SDP negotiation (referring to RFC3264) to accomplish; More common and perfect, be not very clearly unified but how to distinguish the transmitting-receiving control that has the relation between many Media Streams that attach stream and how to realize attaching stream.Therefore, how to realize attaching the sign and the Token Control of stream, become this key in application place.
In double-current technology, mainly be to increase " a=content:slides " (referring to RFC4796) through media parameter row to explain that this is one and attaches stream at SDP to the sign of attaching stream.But only only increase this journey explanation, can't realize realizing control respectively under many situation of attaching stream.
To attaching the control of stream, mainly be control to token.A participant obtains token, just has to send the power of attaching stream, and the participant who does not obtain token can only receive attaches flow data.In the SIP meeting, can realize control through realizing BFCP agreement (referring to RFC4582) to token.In SDP negotiation,, connect, realize the control of token then through the message mechanism of BFCP definition through TCP through specifying BFCP port (referring to RFC4583).The main problem of this kind method is to need extra message mechanism to reach the purpose of Token Control; In the network environment of complicacy; Having a plurality of sip agents between terminal and the Conference server (Conference server) transmits message; Each acts on behalf of all treatments B FCP message and be difficult to assurance, and therefore possibility network reason causes TCP to connect and fails.In addition when H.323 network docks, with respect to network H.323 attach stream protocol H.239, BFCP is too complicated, is not easy conversion.
Summary of the invention
Technical problem to be solved by this invention provides a kind ofly can realize easily attaching that the stream token is transmitted, transmission and the method for flow control that attaches based on the SIP meeting of INFO handled.
The present invention solves the technical scheme that its technical problem takes: a kind of SIP meeting based on INFO attach method of flow control; Negotiation foundation through SDP between conference terminal and the Conference server attaches the Streaming Media passage; After media negotiation is accomplished; INFO through having expansion MIME medium type is controlled the token transmission, realizes that meeting attaches the proper communication of Streaming Media.
Described expansion MIME medium type be with RFC3023 in " application/xml " content format identical, and can be designated the mime type of Token Control message.
The transmission of said employing INFO control token the steps include:
(1) Conference server is opened when conference creation and is attached the stream option, distributes token resource, and it is unallocated to preset token;
(2) request message, after the conference terminal of supporting to attach stream inserted Conference server through SDP negotiation, this terminal acquiescence was to receive only to attach Streaming Media, does not send and attaches Streaming Media; Described SDP negotiation is included in property column interpolation a=content:slides and a=sendrecv that the terminal attaches Streaming Media; The property column that attaches Streaming Media in the Conference server response adds a=content:slides and a=sendrecv; To having many conference terminals that attach Streaming Media, if need attach flow point to many opens control, then add delegation's attribute " a=label:value " again and identify, wherein, nonnegative integral value of value as attaching the Streaming Media numbering, is distinguished the different stream that attaches;
(3) request response needs to send the conference terminal that attaches stream and passes through INFO to Conference server application token; The method of described application token is: in INFO, have the message body of xml form, wherein comprise mandatory parameter action type and optional parameters and attach the Streaming Media numbering, wherein the class of operation offset is request; Having only under the situation of attaching stream, attaching the Streaming Media numbering is optional in request message, and attaches under the stream situation at many, the value of attaching the Streaming Media numbering during with media negotiation among the SDP label value in the media description identical, refering in particular to a certain attaches stream;
(4) token release message, Conference server are handled the token application and through INFO the result of token application are returned to conference terminal, and its method is: the message body that in INFO, has the xml form; Comprising the mandatory parameter action type; Mandatory parameter operating result, optional parameters attach the Streaming Media numbering, and wherein the class of operation offset is response; The operating result value is attached Streaming Media and numbers identical with the token request explanation for accepting or refusal; If return acceptance, then conference terminal can send and attach Streaming Media; Refuse then conference terminal should not send and attaches Streaming Media if return;
(5) token is regained message; Conference terminal sends through INFO and discharges token message; The message body that in INFO, has the xml form, comprising the mandatory parameter action type, optional parameters attaches the Streaming Media numbering; Wherein the class of operation offset is attached the Streaming Media numbering and explains identical with token request for discharging.
The another kind of method of token recovery message is in the described step (5): Conference server initiatively sends INFO and regains token; The message body that in INFO, has the xml form; Comprising the mandatory parameter action type; Optional parameters attaches the Streaming Media numbering, and wherein the class of operation offset is attached the Streaming Media numbering and explains identical with token request for regaining.
Compared with prior art, the invention has the advantages that:
1, adopt INFO transmission Token Control message, because INFO belongs to the Session Initiation Protocol type of message, convenient forwarding, transmission and processing have reduced web influence;
2, adopt the MIME medium type of expansion, the convenient message body content of distinguishing;
3, through supporting the label value, satisfy many controls that attach stream;
4, adopt the message body content of XML form, be convenient to expansion and parsing;
5, adopt INFO, because a lot of packets of information is contained in message header, the content of Token Control part can be more terse;
6, Token Control message can make things convenient for and the H.323 H.239 conversion each other of double-current agreement of network.
Description of drawings
Fig. 1 is the system schematic that the embodiment of the invention provides;
Fig. 2 is an embodiment of the invention joining meeting to terminal flow chart;
Fig. 3 is an embodiment of the invention Token Control flow chart.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further described:
Present embodiment adopts expansion mime type " application/tokencontrol+xml ", and message format thes contents are as follows:
1), token request comprises that mandatory parameter action type type and optional parameters attach Streaming Media numbering label, are mainly used in the application of terminal use before transmission attaches stream and operate.Wherein the type value is " request ".Having only under the situation of attaching stream, label is optional in request message, and attaches under the stream situation at many, the value of label during with media negotiation among the SDP label value in the media description identical, refer in particular to a certain stream.Its message format is following:
<?xml?version="1.0"?encoding="UTF-8"?>
<tokencontrol?version="1.0">
<command?type="request"?label=value>
</tokencontrol>
2), token application result response, comprise mandatory parameter action type type, mandatory parameter operating result result, optional parameters attach Streaming Media numbering label, be used for server the result of token application is returned to the terminal.Wherein the type value is " response ", and the result value is perhaps " denied " (refusal) of " granted " (acceptance), and label explains with token request.Its message format is following:
<?xml?version="1.0"?encoding="UTF-8"?>
<tokencontrol?version="1.0">
<command?type="response"?result="result"?label=value>
</tokencontrol>
3), the terminal initiatively discharges token, comprises that mandatory parameter action type type and optional parameters attach Streaming Media and compile label, the user who is used to have token initiatively discharges the token operation.Wherein the type value is " release ", and label explains with token request.Its message format is following:
<?xml?version="1.0"?encoding="UTF-8"?>
<tokencontrol?version="1.0">
<command?type="release"?label=value>
</tokencontrol>
4), server regains token, comprises that mandatory parameter action type type and optional parameters attach Streaming Media and compile label, be used for server and send to the terminal and regain token and operate.Wherein the type value is " withdraw ", and label explains with token request.Its message format is following:
<?xml?version="1.0"?encoding="UTF-8"?>
<tokencontrol?version="1.0">
<command?type=" withdraw"?label=value>
</tokencontrol>
Referring to accompanying drawing 1, it is the system schematic of present embodiment, and wherein A, B, C are sip terminals, and the centre is the Conference server of SIP meeting.Visible by Fig. 1, sip terminal links to each other with Conference server through sip agent; Medium between three conference terminals of A/B/C and the Conference server can intercommunication; For simplicity, three terminals of explaining in this example attach Streaming Media and are H.263, and medium can encoding and decoding each other, and Conference server only is responsible for attaching the reception and the distribution of stream.Present embodiment attaches stream for only comprising one, and usually said double fluid, so be also referred to as double-current meeting.
Set up a free meeting of supporting double fluid through following mode:
1,, on Conference server, creates the free meeting that a support attaches stream through control desk.When meeting had just been created, token was thought dereliction, did not therefore receive the Streaming Media that attaches at any terminal;
2, referring to accompanying drawing 2; Conference server requires sip terminal A/B/C to add meeting; Conference server sends to sip terminal A, B or C and has the invite request that SDP describes, and after request is received at the terminal, sends 180 Temporary Response message; The back transmission of selecting a good opportunity has the 200 OK response messages of SDP, joining meeting to terminal behind the Conference server loopback ACK.2 in accompanying drawing does not limit the mode of signaling process and joining meeting to terminal for the media negotiation parts of joining meeting to terminal are described, the terminal can be passed through other modes (for example IVR) and insert meeting.Wherein the form of SDP negotiation is exemplified below:
v=0
o=?-?2?2?IN?IP4?192.168.1.62
s=TouchFace?1.0
c=IN?IP4?192.168.1.62
t=0?0
A=group:LS 1 2/* mid value be 1 with 2 be one group of relevant stream, need synchronous */
m=audio?30000?RTP/AVP?0?101
a=fmtp:101?0-15
a=rtpmap:101?telephone-event/8000
a=sendrecv
a=mid:1
m=video?30002?RTP/AVP?34
a=fmtp:34?QCIF=2?CIF=3?MaxBR=1960
a=sendrecv
a=mid:2
m=?video?6000?RTP/AVP?34
C=IN IP4 192.168.1.62/* and main flow can not be same media address */
a=?fmtp:34?CIF=1?MaxBR=7680
a=sendrecv
a=mid:3
A=label:1/* attaches traffic identifier, unique * in the meeting/
A=content:slides/* represent be one attach stream */
3, referring to accompanying drawing 3, terminal A sends INFO request token (request) to Conference server; After Conference server is handled; Discovery token dereliction and applicant have the right to send and attach stream, then send token request result (response) through INFO to terminal A, are worth to be " granted "; And media channel receiving terminal A is set attaches Streaming Media, and Media Stream is transmitted to terminal B and C; After terminal A handles the token result, be provided with and attach the Streaming Media sendaisle, send to Conference server and attach Streaming Media; At this moment terminal B and C can see the stream media information that attaches of A transmission.
4, referring to accompanying drawing 3, based on 3 operating results, terminal A has token, and terminal B sends INFO request token (request) to Conference server; After Conference server is handled, find that token has had main and applicant B priority to be lower than terminal A (this only judges a kind of in the strategy can change decision method), sends the INFO that refusal distributes token to terminal B; After terminal B receives the token refuse information, can not send and attach Streaming Media, still receive only and attach Streaming Media.
5, referring to accompanying drawing 3, based on 3 operating results, terminal A has token, and terminal C sends INFO request token (request) to Conference server; After Conference server is handled; (this only judges a kind of in the strategy to find to have had main but applicant C priority to be higher than terminal A by token; Can change decision method); The Conference server Conference server sends to terminal A through INFO and regains token message (withdraw), and the medium of cancellation receiving terminal A, and being provided with terminal A media channel attribute is only to send; After terminal A received and regains token message, cancellation attached the transmission of Streaming Media; Conference server sends token request result (response) through INFO to terminal C, is worth to be " granted ", and media channel receiving terminal C is set attaches Streaming Media, and Media Stream is transmitted to terminal A and B; After terminal C handles the token result, be provided with and attach the Streaming Media sendaisle, send to Conference server and attach Streaming Media; At this moment terminal A and B can see the stream media information that attaches of C transmission.
6, referring to accompanying drawing 3, terminal C has initiatively sent release token message (release) to Conference server through INFO, and cancellation attaches the transmission of Streaming Media; After Conference server receives that terminal C initiatively discharges token message, the medium of cancellation receiving terminal C, being provided with terminal C media channel attribute is only to send.This moment, token became no major state again, did not have to send the participant who attaches Streaming Media in the meeting.
Claims (4)
1. method of flow control that attaches based on the SIP meeting of INFO; It is characterized in that: the negotiation foundation through SDP between conference terminal and the Conference server attaches the Streaming Media passage; After media negotiation is accomplished; INFO through having expansion MIME medium type is controlled the token transmission, realizes that meeting attaches the proper communication of Streaming Media.
2. the SIP meeting based on INFO according to claim 1 attach method of flow control; It is characterized in that: described expansion MIME medium type for RFC3023 in " application/xml " content format identical, and can be designated the mime type of Token Control message.
3. the SIP meeting based on INFO according to claim 1 and 2 attach method of flow control, it is characterized in that: the transmission of said employing INFO control token the steps include:
(1) Conference server is opened when conference creation and is attached the stream option, distributes token resource, and it is unallocated to preset token;
(2) request message, after the conference terminal of supporting to attach stream inserted Conference server through SDP negotiation, this terminal acquiescence was to receive only to attach Streaming Media, does not send and attaches Streaming Media; Described SDP negotiation is included in property column interpolation a=content:slides and a=sendrecv that the terminal attaches Streaming Media; The property column that attaches Streaming Media in the Conference server response adds a=content:slides and a=sendrecv; To having many conference terminals that attach Streaming Media, if need attach flow point to many opens control, then add delegation's attribute " a=label:value " again and identify, wherein, nonnegative integral value of value as attaching the Streaming Media numbering, is distinguished the different stream that attaches;
(3) request response needs to send the conference terminal that attaches stream and passes through INFO to Conference server application token; The method of described application token is: in INFO, have the message body of xml form, wherein comprise mandatory parameter action type and optional parameters and attach the Streaming Media numbering, wherein the class of operation offset is request; Having only under the situation of attaching stream, attaching the Streaming Media numbering is optional in request message, and attaches under the stream situation at many, the value of attaching the Streaming Media numbering during with media negotiation among the SDP label value in the media description identical, refering in particular to a certain attaches stream;
(4) token release message, Conference server are handled the token application and through INFO the result of token application are returned to conference terminal, and its method is: the message body that in INFO, has the xml form; Comprising the mandatory parameter action type; Mandatory parameter operating result, optional parameters attach the Streaming Media numbering, and wherein the class of operation offset is response; The operating result value is attached Streaming Media and numbers identical with the token request explanation for accepting or refusal; If return acceptance, then conference terminal can send and attach Streaming Media; Refuse then conference terminal should not send and attaches Streaming Media if return;
(5) token is regained message; Conference terminal sends through INFO and discharges token message; The message body that in INFO, has the xml form, comprising the mandatory parameter action type, optional parameters attaches the Streaming Media numbering; Wherein the class of operation offset is attached the Streaming Media numbering and explains identical with token request for discharging.
4. the SIP meeting based on INFO according to claim 3 attach method of flow control; It is characterized in that: the another kind of method of token recovery message is in the described step (5): Conference server initiatively sends INFO and regains token; The message body that in INFO, has the xml form, comprising the mandatory parameter action type, optional parameters attaches the Streaming Media numbering; Wherein the class of operation offset is attached the Streaming Media numbering and explains identical with token request for regaining.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103253662A CN102394871A (en) | 2011-10-24 | 2011-10-24 | Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103253662A CN102394871A (en) | 2011-10-24 | 2011-10-24 | Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102394871A true CN102394871A (en) | 2012-03-28 |
Family
ID=45862080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103253662A Pending CN102394871A (en) | 2011-10-24 | 2011-10-24 | Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102394871A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453935A (en) * | 2016-05-31 | 2017-12-08 | 华为技术有限公司 | Reclaim the method, apparatus and conference system of conferencing resource |
CN110798457A (en) * | 2019-10-22 | 2020-02-14 | 厦门亿联网络技术股份有限公司 | Auxiliary flow control method based on SIP and conference system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753571A (en) * | 2009-12-11 | 2010-06-23 | 中兴通讯股份有限公司 | Method, device and system for realizing double video flow transmission |
CN102238196A (en) * | 2011-08-17 | 2011-11-09 | 艾诺通信***(苏州)有限责任公司 | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message |
-
2011
- 2011-10-24 CN CN2011103253662A patent/CN102394871A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753571A (en) * | 2009-12-11 | 2010-06-23 | 中兴通讯股份有限公司 | Method, device and system for realizing double video flow transmission |
CN102238196A (en) * | 2011-08-17 | 2011-11-09 | 艾诺通信***(苏州)有限责任公司 | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453935A (en) * | 2016-05-31 | 2017-12-08 | 华为技术有限公司 | Reclaim the method, apparatus and conference system of conferencing resource |
CN107453935B (en) * | 2016-05-31 | 2021-01-15 | 华为技术有限公司 | Method and device for recovering conference resources and conference system |
CN110798457A (en) * | 2019-10-22 | 2020-02-14 | 厦门亿联网络技术股份有限公司 | Auxiliary flow control method based on SIP and conference system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5749375B2 (en) | Multi-user real-time transcoding system and method for multimedia sessions | |
US10778731B2 (en) | Communications methods, apparatus and systems for conserving media resource function resources | |
CN101753961B (en) | Meeting realizing method in video monitoring system and video monitoring meeting system | |
CN101026616A (en) | Multimedia subsystem based interactive media session establishing system and method | |
CN100518297C (en) | A multipoint control unit video conference system based on SIP protocol and realization method | |
WO2012000347A1 (en) | Method, apparatus and sysyem for cross-platform conference convergence | |
US8619564B2 (en) | Synchronized bandwidth reservations for real-time communications | |
US10523730B2 (en) | Real-time transport protocol (RTP) media conference server routing engine | |
CN102238196A (en) | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message | |
CN101483749A (en) | Video meeting implementing method and system based on media server | |
CN101114985B (en) | Coding/decoding transition system and method | |
WO2009056031A1 (en) | Controlling method and device of multimedia conference | |
US20120023239A1 (en) | Creation Method of Multimedia Service and System Thereof | |
CN101635919A (en) | Encryption method and encryption system of IMS conference medium data of IP multimedia system | |
US20160072884A1 (en) | Method and apparatus for requesting media replication in a collaborative communication session, and method and apparatus for assigning a communication medium for a collaborative communication session | |
CN101119292B (en) | Method of negotiating data traffic transmission between gateways | |
CN102394871A (en) | Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information | |
US20120219130A1 (en) | Method, device and system for media session negotiation | |
WO2012175228A1 (en) | Methods and apparatus for advertising endpoint device capabilities for sending/receiving simultaneous media streams | |
Shibeshi et al. | Using an RTSP Proxy to implement the IPTV Media Function via a streaming server | |
CN101119216A (en) | Method and system of interactive seat information under separation framework | |
WO2009043241A1 (en) | A method, system and device for controling media stream by the service providing entity | |
KR101451111B1 (en) | Method and apparatus for providing video conference service | |
CN101047718B (en) | System, method and server for implementing media consultation | |
EP1729475A1 (en) | SIP based floor control method in "Push to" over cellular services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120328 |