CN102238196A - SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message - Google Patents
SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message Download PDFInfo
- Publication number
- CN102238196A CN102238196A CN2011102355137A CN201110235513A CN102238196A CN 102238196 A CN102238196 A CN 102238196A CN 2011102355137 A CN2011102355137 A CN 2011102355137A CN 201110235513 A CN201110235513 A CN 201110235513A CN 102238196 A CN102238196 A CN 102238196A
- Authority
- CN
- China
- Prior art keywords
- attached
- token
- streaming media
- info
- message
- 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 discloses a method for transmitting auxiliary flow control information through an INFO message in a centralized management mode session based on an SIP (Session Initiation Protocol). A session auxiliary flow token is controlled by a carried and extended MIME (Multipurpose Internet Mail Extensions) media type through the INFO message, so that the aim of dynamically managing the SIP session auxiliary flow is fulfilled. A token management message comprises token requesting, token request responding, token releasing and token withdrawing. A message is transmitted in the message format of XML (Extensive Makeup Language). The message contents are easy and flexible, and are easy to process and extend.
Description
Technical field
The present invention relates to a kind ofly in centralized management pattern meeting, transmit the method for attached flow control information by INFO based on the Session Initiation Protocol of RFC3261 standard.
Background technology
At present, become one of video conferencing technology standard of main flow based on the conferencing technology of Session Initiation Protocol, and attached stream technology is also along with a kind of important application of developing into of video conferencing technology.For an attached stream, can only there be a user to send attached Streaming Media in the meeting, other users then can only receive.Therefore need apply control to attached Streaming Media sending permission, finish the switching of source of media, promptly so-called token (token) control.The application that only has the attached stream of wall scroll can be called double fluid again.At present, the most attached view that fails to be convened for lack of a quorum still only limits 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 finish, more common and perfect, but how to distinguish the relation between many Media Streams that have attached stream and how to realize that the transmitting-receiving control of attached stream is not very clearly unified.Therefore, how to realize the sign and the Token Control of attached stream, become this key in application place.
In double-current technology, mainly be to increase " a=content:slides " (referring to RFC4796) by media parameter row to illustrate that this is an attached stream at SDP to the sign of attached stream.But only increase this journey explanation, can't realize realizing control respectively under the situation of many attached streams.
To the control of attached stream, mainly be control to token.A participant obtains token, just has the power that sends attached stream, and the participant who does not obtain token can only receive attached flow data.In the SIP meeting, can realize control by realizing BFCP agreement (referring to RFC4582) to token.In SDP negotiation,, connect, realize the control of token then by the message mechanism of BFCP definition by TCP by 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 complexity, having a plurality of sip agents between terminal and the Conference server transmits message, each acts on behalf of all treatments B FCP message and be difficult to assurance, therefore, possible network reason causes TCP to connect and fails.In addition, when H.323 network docks, with respect to the attached stream protocol of network H.323 H.239, BFCP is too complicated, is not easy conversion.
Summary of the invention
The objective of the invention is to overcome the deficiency that prior art exists, provide a kind of and can realize attached stream token transmission and the attached method of flow control of handling of SIP meeting easily.
To achieve the above object of the invention, the technical solution adopted in the present invention is: a kind of attached method of flow control of SIP meeting based on INFO is provided, set up attached Streaming Media passage by the negotiation of SDP between conference terminal and the Conference server, after media negotiation is finished, control the token transmission by the INFO that has expansion MIME medium type, realize the proper communication of the attached Streaming Media of meeting; Described expansion MIME medium type is identical with " application/xml " content format among the RFC3023, and can be designated the mime type of Token Control message.
Expansion MIME medium type is " application/tokencontrol+xml ", and wherein " tokencontrol+xml " is designated Token Control message; Token Control message is added on the head of INFO, is designated " Content-Type:application/tokencontrol+xml ".
The technical scheme that employing INFO control token of the present invention transmits comprises following concrete operating procedure:
1, Conference server is opened attached stream option when conference creation, distributes token resource, and it is unallocated to preset token;
2, after the conference terminal of the attached stream of support inserted Conference server by SDP negotiation, this terminal acquiescence was to receive only attached Streaming Media, does not send attached Streaming Media; Described SDP negotiation, the property column that is included in the attached Streaming Media of terminal adds a=content:slides and a=sendrecv; Property column at the attached Streaming Media of Conference server response adds a=content:slides and a=sendrecv; To having the conference terminal of many attached Streaming Medias, if need open control, then add delegation's attribute " a=label:value " again and identify many attached flow points, wherein, value gets nonnegative integral value for distinguishing the attached Streaming Media numbering of different attached streams;
3, the conference terminal that need to send attached stream by INFO to Conference server application token; The method of described application token is: have in the message body of xml form at INFO, comprise the attached Streaming Media of mandatory parameter action type and optional parameters numbering, wherein mandatory parameter class of operation offset is request; If an attached Streaming Media, attached Streaming Media numbering be optional in request message, if many attached Streaming Medias are identical in the value that then attached Streaming Media is numbered and the step 2;
4, Conference server is handled the application token of conference terminal, the result that will apply for token by INFO returns to conference terminal, its method is: have in the message body of xml form at INFO, comprise the mandatory parameter action type, the mandatory parameter operating result, the attached Streaming Media numbering of optional parameters, wherein the class of operation offset is response, the operating result value is for accepting or refusal, and is identical in attached Streaming Media numbering and the step 2; If return acceptance, then conference terminal can send attached Streaming Media; Refuse then conference terminal can not send attached Streaming Media if return;
5, token normally reclaims, and comprises following dual mode:
(1) conference terminal sends by INFO and discharges token message, its method is: have in the message body of xml form at INFO, comprise the mandatory parameter action type, the attached Streaming Media numbering of optional parameters, class of operation offset wherein is for discharging, and attached Streaming Media is identical when numbering with the application token.
(2) Conference server initiatively sends INFO and regains token, its method is: have in the message body of xml form at INFO, comprise the mandatory parameter action type, the attached Streaming Media numbering of optional parameters, class of operation offset wherein is for regaining, and attached Streaming Media is identical when numbering with the application token.
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, by supporting the label value, satisfy the control of many attached streams;
4, adopt the message body content of XML form, be convenient to expansion and parsing;
5, adopt INFO, because a lot of information is included 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 mutually of double-current agreement of network.
Description of drawings
Fig. 1 is a kind of SIP conference system schematic diagram that the embodiment of the invention provides;
Fig. 2 is the flow chart that embodiment of the invention conference terminal adds meeting;
Fig. 3 is an embodiment of the invention Token Control interaction diagrams.
Embodiment
Below in conjunction with drawings and Examples the present invention is further described.
Embodiment 1
Referring to accompanying drawing 1, it is a kind of SIP conference system schematic diagram of present embodiment, comprises that Conference server and SIP conference terminal are respectively A, B, C; As seen from Figure 1, sip terminal links to each other with Conference server by sip agent; Medium between three conference terminals of A/B/C and the Conference server can intercommunication; For simplicity, H.263 three attached Streaming Medias of terminal that illustrate in this example are, and medium can encoding and decoding each other, and Conference server only is responsible for the reception and the distribution of attached stream.Present embodiment only comprises an attached stream, and promptly usually said double fluid is so be also referred to as double-current meeting.
Present embodiment adopts expansion mime type " application/tokencontrol+xml ", and message format thes contents are as follows:
1, token request comprises mandatory parameter action type type and the attached Streaming Media numbering of optional parameters label, is mainly used in the application operation of terminal use before sending attached stream.Wherein the type value is " request ".Under the situation of having only an attached stream, label is optionally in request message, and under many attached stream situations, the value of label during with media negotiation among the SDP label value in the media description identical, label gets nonnegative integral value, refers in particular to a certain stream.Its message format is as follows:
2, token application result response comprises mandatory parameter action type type, mandatory parameter operating result result, and the attached Streaming Media numbering of optional parameters label is used for server the result of token application is returned to terminal.Wherein the type value is " response ", and the result value is " granted " (acceptance) or " denied " (refusal), and label illustrates with token request.Its message format is as follows:
3, terminal initiatively discharges token, comprises that the attached Streaming Media of mandatory parameter action type type and optional parameters compiles label, and the user who is used to have token initiatively discharges the token operation.Wherein the type value is " release ", and label illustrates with token request.Its message format is as follows:
4, server is regained token, comprises the attached Streaming Media volume of mandatory parameter action type type and optional parameters label, is used for server and sends to the operation of terminal withdrawal token.Wherein the type value is " withdraw ", and label illustrates with token request.Its message format is as follows:
Referring to accompanying drawing 2, it is the flow chart that the present embodiment conference terminal adds meeting; Present embodiment is set up a free meeting of supporting double fluid as follows:
1,, on Conference server, creates a free meeting of supporting attached stream by control desk.When meeting had just been created, token was thought dereliction, did not therefore receive the attached Streaming Media of any terminal;
2, Conference server requires SI P terminal A/B/C to add meeting, Conference server sends the invite request that has the SDP description to sip terminal A, B or C, after terminal is received request, send 180 Temporary Response message, send the 200 OK response messages that have SDP, joining meeting to terminal behind the Conference server loopback ACK behind the off-hook.Fig. 2 only is the media negotiation part of explanation joining meeting to terminal, does not limit the mode of signaling process and joining meeting to terminal, and 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=-22IN?IP4192.168.1.62
s=TouchFace?1.0
c=IN?IP4192.168.1.62
t=00
A=group:LS 12/*mid value be 1 with 2 be one group of relevant stream, need synchronous */
m=audio?30000RTP/AVP?0101
a=fmtp:1010-15
a=rtpmap:101telephone-event/8000
a=sendrecv
a=mid:1
m=video?30002RTP/AVP?34
a=fmtp:34QCIF=2CIF=3MaxBR=1960
a=sendrecv
a=mid:2
m=video?6000RTP/AVP?34
C=INIP4192.168.1.62/* and main flow can not be same media address */
a=fmtp:34CIF=1MaxBR=7680
a=sendrecv
a=mid:3
The attached traffic identifier of a=label:1/*, unique * in the meeting/
A=content:slides/* represent be an attached stream */;
3, referring to accompanying drawing 3, it is present embodiment Token Control interaction diagrams, can be seen by Fig. 1, and in the present embodiment, terminal A sends INFO request token (request) to Conference server, and message format is (down together) as previously mentioned; After Conference server is handled, discovery token dereliction and applicant have the right to send attached stream, then send token request result (response) by INFO to terminal A, are worth to be " granted ", and the attached Streaming Media of media channel receiving terminal A is set, and Media Stream is transmitted to terminal B and C; Terminal A is provided with attached Streaming Media sendaisle after handling the token result, sends attached Streaming Media to Conference server; At this moment terminal B and C can see the attached stream media information that A sends;
4, based on the operating result of step 3, 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 attached Streaming Media, still receive only attached Streaming Media;
5, based on the operating result of step 3, 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 by INFO and regains token message (withdraw), and the medium of cancellation receiving terminal A, being provided with terminal A media channel attribute is only to send; Terminal A cancels the transmission of attached Streaming Media after receiving and regaining token message; Conference server sends token request result (response) by INFO to terminal C, is worth to be " granted ", and the attached Streaming Media of media channel receiving terminal C is set, and Media Stream is transmitted to terminal A and B; Terminal C is provided with attached Streaming Media sendaisle after handling the token result, sends attached Streaming Media to Conference server; At this moment terminal A and B can see the attached stream media information that C sends;
6, terminal C has initiatively sent release token message (release) to Conference server by INFO, and cancels the transmission of attached 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 send the participant of attached Streaming Media in the meeting.
Claims (5)
1. attached method of flow control of SIP meeting based on INFO, it is characterized in that: set up attached Streaming Media passage by the negotiation of SDP between conference terminal and the Conference server, after media negotiation is finished, control the token transmission by the INFO that has expansion MIME medium type, realize the proper communication of the attached Streaming Media of meeting; Described expansion MIME medium type is identical with " application/xml " content format among the RFC3023, and can be designated the mime type of Token Control message.
2. a kind of attached method of flow control of SIP meeting according to claim 1 based on INFO, it is characterized in that: expansion MIME medium type is " application/tokencontrol+xml ", and wherein " tokencontrol+xml " is designated Token Control message; Token Control message is added on the head of INFO, is designated " Content-Type:application/tokencontrol+xml ".
3. a kind of attached method of flow control of SIP meeting based on INFO according to claim 1 is characterized in that: adopt the transmission of INFO control token, comprise the steps:
(1) Conference server is opened attached stream option when conference creation, distributes token resource, and it is unallocated to preset token;
(2) after the conference terminal of the attached stream of support inserted Conference server by SDP negotiation, this terminal acquiescence was to receive only attached Streaming Media, does not send attached Streaming Media; Described SDP negotiation, the property column that is included in the attached Streaming Media of terminal adds a=content:slides and a=sendrecv; Property column at the attached Streaming Media of Conference server response adds a=content:slide s and a=sendrecv; To having the conference terminal of many attached Streaming Medias, if need open control, then add delegation's attribute " a=label:value " again and identify many attached flow points, wherein, value gets nonnegative integral value for distinguishing the attached Streaming Media numbering of different attached streams;
(3) conference terminal that need to send attached stream by INFO to Conference server application token; The method of described application token is: have in the message body of xml form at INFO, comprise the attached Streaming Media of mandatory parameter action type and optional parameters numbering, wherein mandatory parameter class of operation offset is request; If an attached Streaming Media, attached Streaming Media numbering be optional in request message, if many attached Streaming Medias are identical in the value that then attached Streaming Media is numbered and the step (2);
(4) Conference server is handled the application token of conference terminal, the result that will apply for token by INFO returns to conference terminal, its method is: have in the message body of xml form at INFO, comprise the mandatory parameter action type, the mandatory parameter operating result, the attached Streaming Media numbering of optional parameters, wherein the class of operation offset is response, the operating result value is for accepting or refusal, and is identical in attached Streaming Media numbering and the step (2); If return acceptance, then conference terminal can send attached Streaming Media; Refuse then conference terminal can not send attached Streaming Media if return;
(5) token normally reclaims.
4. a kind of attached method of flow control of SIP meeting based on INFO according to claim 3 is characterized in that: the normal recovery of the described token of step (5) comprises: conference terminal sends by INFO and discharges token message; Its method is: has in the message body of xml form at INFO, comprises the mandatory parameter action type, and the attached Streaming Media numbering of optional parameters, class of operation offset wherein is for discharging, and attached Streaming Media is identical when numbering with the application token.
5. a kind of attached method of flow control of SIP meeting according to claim 3 based on INFO; it is characterized in that: the normal recovery of the described token of step (5) comprises: Conference server initiatively sends INFO and regains token; its method is: have in the message body of xml form at INFO; comprise the mandatory parameter action type; the attached Streaming Media numbering of optional parameters; class of operation offset wherein is for regaining, and attached Streaming Media is identical when numbering with the application token.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102355137A CN102238196A (en) | 2011-08-17 | 2011-08-17 | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102355137A CN102238196A (en) | 2011-08-17 | 2011-08-17 | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102238196A true CN102238196A (en) | 2011-11-09 |
Family
ID=44888401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102355137A Pending CN102238196A (en) | 2011-08-17 | 2011-08-17 | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102238196A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102394871A (en) * | 2011-10-24 | 2012-03-28 | 苏州新海宜通信科技股份有限公司 | Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information |
CN102413140A (en) * | 2011-11-30 | 2012-04-11 | 江苏奇异点网络有限公司 | Network teaching method for supporting speech interaction |
CN102595095A (en) * | 2011-12-09 | 2012-07-18 | 中兴通讯股份有限公司 | Method and device for achieving dual-streaming video conferences |
WO2016206428A1 (en) * | 2015-06-23 | 2016-12-29 | 中兴通讯股份有限公司 | Method, device and system for realizing hybrid dual-stream in video conference |
CN107453935A (en) * | 2016-05-31 | 2017-12-08 | 华为技术有限公司 | Reclaim the method, apparatus and conference system of conferencing resource |
CN109379346A (en) * | 2018-09-29 | 2019-02-22 | 福建星网智慧科技股份有限公司 | A kind of Conference control result response method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459816A (en) * | 2007-12-14 | 2009-06-17 | 深圳华为通信技术有限公司 | Method, system and device for controlling auxiliary stream token in multi-point bi-stream conference |
CN101753571A (en) * | 2009-12-11 | 2010-06-23 | 中兴通讯股份有限公司 | Method, device and system for realizing double video flow transmission |
CN102137080A (en) * | 2010-06-30 | 2011-07-27 | 华为技术有限公司 | Method, device and system for cross-platform conference convergence |
-
2011
- 2011-08-17 CN CN2011102355137A patent/CN102238196A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459816A (en) * | 2007-12-14 | 2009-06-17 | 深圳华为通信技术有限公司 | Method, system and device for controlling auxiliary stream token in multi-point bi-stream conference |
CN101753571A (en) * | 2009-12-11 | 2010-06-23 | 中兴通讯股份有限公司 | Method, device and system for realizing double video flow transmission |
CN102137080A (en) * | 2010-06-30 | 2011-07-27 | 华为技术有限公司 | Method, device and system for cross-platform conference convergence |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102394871A (en) * | 2011-10-24 | 2012-03-28 | 苏州新海宜通信科技股份有限公司 | Attached flow control method of SIP (Session Initiation Protocol) conference based on INFO information |
CN102413140A (en) * | 2011-11-30 | 2012-04-11 | 江苏奇异点网络有限公司 | Network teaching method for supporting speech interaction |
CN102595095A (en) * | 2011-12-09 | 2012-07-18 | 中兴通讯股份有限公司 | Method and device for achieving dual-streaming video conferences |
WO2016206428A1 (en) * | 2015-06-23 | 2016-12-29 | 中兴通讯股份有限公司 | Method, device and system for realizing hybrid dual-stream in video conference |
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 |
CN109379346A (en) * | 2018-09-29 | 2019-02-22 | 福建星网智慧科技股份有限公司 | A kind of Conference control result response method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5749375B2 (en) | Multi-user real-time transcoding system and method for multimedia sessions | |
US8937889B2 (en) | Decoupled cascaded mixers architechture and related methods | |
EP1924025B1 (en) | Connection establishment method for multi part communication service | |
CN101753961B (en) | Meeting realizing method in video monitoring system and video monitoring meeting system | |
EP2675134B1 (en) | Method for transmitting data from a participant device in a session in an internet protocol (IP) system | |
CN102238196A (en) | SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message | |
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 | |
WO2006057897A2 (en) | Push-to-talk apparatus and method for communication between an application server and media resource function processor | |
CN104620550A (en) | Quality of service for streams over multiple audio video bridging networks | |
CN103118238B (en) | The control method of video conference and video conferencing system | |
CN101471806A (en) | Method for implementing sub-conference, method, device and terminal equipment for implementing private conference | |
WO2012163075A1 (en) | Video conferencing processing method, apparatus and communication system | |
WO2009056031A1 (en) | Controlling method and device of multimedia conference | |
WO2009071005A1 (en) | Method, system, server and client for transmitting media stream data | |
CN101114985B (en) | Coding/decoding transition system and method | |
CN101719903B (en) | Method and system for realizing multi-point control unit cascading of IP multimedia subsystem | |
JP5174812B2 (en) | Method, system and apparatus for instructing media gateway to establish termination connection | |
CN100586107C (en) | Method and communication appliance for transmitting live transmission protocol message | |
CN101005511B (en) | Method and system for reserving QoS resource and conversation establishing and revising medium method | |
US20120023239A1 (en) | Creation Method of Multimedia Service and System Thereof | |
CN101527641A (en) | Realization method, control method and device for sub-conference in multimedia sub-system | |
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 | |
WO2007115472A1 (en) | A method of creating a multiparty conference and a system and device for creating the multiparty conference |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: Avonaco Communication Systems (Suzhou) Co., Ltd. Document name: Notification that Application Deemed to be Withdrawn |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111109 |