CN103384247B - A kind of Video Multicast implementation method based on SIP supervisory control system - Google Patents

A kind of Video Multicast implementation method based on SIP supervisory control system Download PDF

Info

Publication number
CN103384247B
CN103384247B CN201310281828.4A CN201310281828A CN103384247B CN 103384247 B CN103384247 B CN 103384247B CN 201310281828 A CN201310281828 A CN 201310281828A CN 103384247 B CN103384247 B CN 103384247B
Authority
CN
China
Prior art keywords
sip
monitor client
ipc
server
sip monitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310281828.4A
Other languages
Chinese (zh)
Other versions
CN103384247A (en
Inventor
陈嗣文
钟添华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201310281828.4A priority Critical patent/CN103384247B/en
Publication of CN103384247A publication Critical patent/CN103384247A/en
Application granted granted Critical
Publication of CN103384247B publication Critical patent/CN103384247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of Video Multicast implementation method based on SIP supervisory control system, when Media Stream between SIP monitor client and IPC is via transit server, and after a SIP monitor client and an IPC are connected by server, suppose that now the 2nd SIP monitor client will monitor this IPC, and send INVITE request; Server first-selection confirms the authority of the 2nd SIP monitor client, if had the right, now server is directly by media services allocation medium port, and provides 200OK response; 2nd SIP monitor client response ACK, so far, set up rtp streaming between the 2nd SIP monitor client and server, the audio/video flow of IPC is forwarded to a SIP monitor client and the 2nd SIP monitor client by network in charge.The inventive method can realize multiple user and check an IPC simultaneously, and can ensure to monitor quality.

Description

A kind of Video Multicast implementation method based on SIP supervisory control system
Technical field
The present invention relates to a kind of communication and areas of information technology, be specifically related to a kind of Video Multicast implementation method based on SIP supervisory control system.
Background technology
At present, SIP (SessionInitiationProtocol) agreement relies on it open, and flexibly, the features such as autgmentability is strong, have become the consensus standard of IP network communication, especially at NGN, played the part of core protocol role in IMS network.Moreover, SIP also replaces some other agreement gradually, becomes the consensus standard of supervisory control system.We know, primary video monitor session and an audio frequency and video session basic simlarity, the former can be considered the subset of the latter, essential difference is, audio/video communication is that two-way audio and video stream and video monitoring only have the video flowing from camera to monitoring client (audio stream can be two-way). a typical SIP supervisory control system and a SIP audio frequency and video telephone system alternatively basically identical.
In the practical application of supervisory control system, there is such demand, multiple exactly user checks the call flow of an IPC (IPCamera) according to Session Initiation Protocol simultaneously.Each client can set up a session with IPC, and this makes IPC can transmit multipath media stream simultaneously, for IPC, performance is difficult to reply, and simultaneously as accessing terminal, transmission bandwidth is also difficult to ensure.These will cause whole video monitor quality greatly to reduce.In order to avoid this kind of situation, some IPC only allows a road video session, if when having the second road video monitor request, it can provide 486 responses, is refused, tells that opposite end IPC is just busy; Some then can enter Call Waiting flow process.And these methods can not solve practical application request.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of Video Multicast implementation method based on SIP supervisory control system, can realizes multiple user and check an IPC simultaneously, and can ensure to monitor quality.
The present invention is achieved in that a kind of Video Multicast implementation method based on SIP supervisory control system, and described SIP supervisory control system comprises server, an IPC and at least two SIP monitor client, and described server comprises again SIP signalling service and media services; It is characterized in that: described Video Multicast implementation method comprises A, B, C tri-kinds of situations below:
When Media Stream between A, SIP monitor client and IPC is via transit server, and after a SIP monitor client and an IPC are connected by server, suppose that now the 2nd SIP monitor client will monitor this IPC, and send INVITE request;
Steps A 1, server first-selection confirms the authority of the 2nd SIP monitor client, if had the right, now server is directly by media services allocation medium port, and provides 200OK response;
Steps A 2, the 2nd SIP monitor client send ACK, and so far, set up rtp streaming between the 2nd SIP monitor client and server, the audio/video flow of IPC is forwarded to a SIP monitor client and the 2nd SIP monitor client by network in charge;
Suppose a SIP monitor client, the 2nd SIP monitor client, the IP address of the media services of IPC and server is respectively: IP1, IP2, IP3, IP4; One SIP monitor client, the 2nd SIP monitor client monitors IPC simultaneously, then 6 RTP connections that audio frequency and video monitor are:
One SIP monitor client:
Audio stream: ip1/portA1<->ip4/portA4-1;
Video flowing: ip1/portV1<->ip4/portV4-1;
2nd SIP monitor client:
Audio stream: ip2/portA2<->ip4/portA4-2;
Video flowing: ip2/portV2<->ip4/portV4-2;
IPC:
Audio stream: ip3/portA3<->ip4/portA4-3;
Video flowing: ip3/portV3<->ip4/portV4-3;
B, set up session with SIP monitor client as IPC, and Media Stream is direct-connected, and after a SIP monitor client and an IPC are connected by server, supposes that now the 2nd SIP monitor client will monitor this IPC, and initiate INVITE;
Step B1, server check the session status of IPC, first reply the 2nd SIP monitor client 100Trying;
Step B2, server initiate Re-Invite to a SIP monitor client and IPC simultaneously; In the SDP carried, media address is the IP address of media services and the echo port of distribution, to redirect on media server by the media of a SIP monitor client and IPC;
Step B3, a SIP monitor client and IPC provide 200OK response;
Step B4, server send ACK confirmation message respectively to a SIP monitor client and IPC;
Step B5, simultaneously provide to the 2nd SIP monitor client IP address and the port that media address information that 200OK response carries SDP is media server;
Step B6, the 2nd SIP monitor client provide ACK; So far, whole system completes the switching of Media Stream;
The dismounting of C, session: entered Video Multicast pattern at a SIP monitor client, the 2nd SIP monitor client and an IPC, and suppose that now a SIP monitor client exits;
Step C1, a SIP monitor client send BYE;
Step C2, server judge that IPC has two-way session, and therefore can not hang up IPC, it directly responds 200OK, remove the media link between a SIP monitor client simultaneously; Now, the session of the 2nd SIP monitor client and IPC proceeds;
Step C3, the 2nd SIP monitor client exit, and send BYE;
Step C4, service judge that the session on IPC is all exited, and therefore send BYE to IPC;
Step C5, service receive the bye of IPC; Send 200OK to the 2nd SIP monitor client, so far session is all removed.
Further, a described SIP monitor client and the 2nd SIP monitor client have propaganda directed to communicate function and propaganda directed to communicate simultaneously time, increase stereo process module in the media services of described server, after mixing the audio stream from a SIP monitor client and the 2nd SIP monitor client, be sent to IPC; Or described server only allows the client obtaining microphone to propaganda directed to communicate, and realized by expansion SIPINFO, MESSAGE message.
Tool of the present invention has the following advantages: the present invention well solves the application demand that multiple SIP monitor client monitors an IPC simultaneously, whole Call-Control1 and distribution of media and media processing etc. have all been come by server, Service control is flexible. for terminal, without the need to extra realization, just can support that this applies, compatible strong.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the structural representation of typical SIP supervisory control system.
Fig. 2 be the inventive method the first add the process chart of supervision situation.
Fig. 3 be the inventive method the first add the RTP connection diagram of supervision situation.
Fig. 4 is the process chart that the inventive method the second adds supervision situation.
Fig. 5 is the process chart of the inventive method session teardown situation.
Embodiment
As shown in Figure 1, be a kind of structural representation of typical SIP supervisory control system, it mainly contains 3 class role compositions:
Server, the core of whole system, consists predominantly of SIP signalling service and media services, and it is responsible for realizing endpoint registration, certification, session route and management, and the function such as the transfer of Media Stream.
IPC is exactly IP camera, and it is also SIPUA.And the audiovisual compression of collection coding can be transmitted by RTP, the audio frequency and video rtp streaming that opposite end transmits can be play simultaneously.
SIP monitor client, be also a SIPUA, it can receive the RTP audio/video flow of IPC, and decoding is play, and have at some simultaneously and propaganda directed to communicate in the supervisory control system of function, the sound collection of supervisor can also be encoded and is packaged into rtp streaming is transferred to IPC.
In the application of reality, described server can be an equipment, also can be the set of some equipment, wherein mediaserver(media services), SIPserver(SIP signalling service) and can be man-to-man relation, also can be the relation of multi-to-multi, wherein database can be had, certification, storage server etc., but this does not affect content of the present invention, description the present invention for simplicity, server is referred to as the logic entity that realizes aforementioned all functions by us.
It is in said system, because some system has the design of P2P, therefore Media Stream is between the terminals deposited via transit server and direct-connected two kinds of situations, thus, Video Multicast implementation method of the present invention comprises A, B, C tri-kinds of situations below, and wherein, A and B is after a SIP monitor client and an IPC are connected by server, add again the situation of a SIP monitor client, and C is the situation of session teardown:
A, as shown in Figure 2, when the Media Stream between SIP monitor client and IPC is via transit server,
First the process that connected by server of a SIP monitor client and IPC1 is as follows:
1, a SIP monitor client initiates INVITE request, calling IPC1;
2, after server confirms the authority of a SIP monitor client, 100TRYING is provided;
3, server initiates INVITE request to IPC1 simultaneously, and wherein SDP carries IP and the port of media services;
4, IPC1 provides 200OK response;
5, server is to a SIP monitor client, and what reply 200OK, SDP carried is the IP of media services and the port of distribution;
6, a SIP monitor client sends ACK.So far the monitor session of a SIP monitor client and IPC1 is set up, and the Media Stream between a SIP monitor client and IPC1, via transit server intercommunication.
Now, suppose that now the 2nd SIP monitor client will monitor this IPC1, and send INVITE request, then processing method of the present invention is carried out in the steps below;
Steps A 1, server first-selection confirms the authority of the 2nd SIP monitor client, if had the right, now server is directly by media services allocation medium port, and provides 200OK response;
Steps A 2, the 2nd SIP monitor client send ACK, and so far, set up rtp streaming between the 2nd SIP monitor client and server, the audio/video flow of IPC1 is forwarded to a SIP monitor client and the 2nd SIP monitor client by network in charge;
As shown in Figure 3, be the path profile of above-mentioned Media Stream, suppose a SIP monitor client, the 2nd SIP monitor client, the IP address of the media services of IPC1 and server is respectively: IP1, IP2, IP3, IP4; One SIP monitor client, the 2nd SIP monitor client monitors IPC1 simultaneously, then 6 RTP connections that audio frequency and video monitor are:
One SIP monitor client:
Audio stream: ip1/portA1<->ip4/portA4-1;
Video flowing: ip1/portV1<->ip4/portV4-1;
2nd SIP monitor client:
Audio stream: ip2/portA2<->ip4/portA4-2;
Video flowing: ip2/portV2<->ip4/portV4-2;
IPC1:
Audio stream: ip3/portA3<->ip4/portA4-3;
Video flowing: ip3/portV3<->ip4/portV4-3;
Some details that should be noted that:
Due to monitoring application, it is unidirectional video communication.Monitoring client for the process of audio/video flow and voice and video telephone slightly different.Wherein, for video flowing, monitoring client can not send video flowing, if after monitoring client is positioned at NAT, monitoring client must after session establishment, and initiatively outwards send the packet of some, object gets through NAT link.For audio frequency media link, in like manner, a described SIP monitor client and the 2nd SIP monitor client have propaganda directed to communicate function and propaganda directed to communicate simultaneously time, stereo process module is increased in the media services of described server, after mixing the audio stream from a SIP monitor client and the 2nd SIP monitor client, be sent to IPC; Or described server only allows to obtain the client of microphone and propagandas directed to communicate, and realized by methods such as INFO or MESSAGE that expand SIP.
B, set up session with SIP monitor client as IPC, and when Media Stream is direct-connected.
As shown in Figure 4, first a SIP monitor client and IPC1 are connected by server, step 1 ~ 6 one in its connection procedure and A to, will not repeat herein, after a SIP monitor client and an IPC are connected by server, suppose that now the 2nd SIP monitor client will monitor this IPC, and initiate INVITE; Then processing method of the present invention is carried out in the steps below:
Step B1, server check the session status of IPC, first reply the 2nd SIP monitor client 100Trying;
Step B2, server initiate Re-Invite to a SIP monitor client and IPC simultaneously; In the SDP carried, media address is the IP address of media services and the echo port of distribution, to redirect on media server by the media of a SIP monitor client and IPC;
Step B3, a SIP monitor client and IPC provide 200OK response;
Step B4, server send ACK confirmation message respectively to a SIP monitor client and IPC;
Step B5, simultaneously provide to the 2nd SIP monitor client IP address and the port that media address information that 200OK response carries SDP is media server;
Step B6, the 2nd SIP monitor client provide ACK; So far, whole system completes the switching of Media Stream;
The dismounting of C, session:
As shown in Figure 5, enter Video Multicast pattern at a SIP monitor client, the 2nd SIP monitor client and an IPC, and supposed that now a SIP monitor client exits;
Step C1, a SIP monitor client send BYE;
Step C2, server judge that IPC has two-way session, and therefore can not hang up IPC, it directly responds 200OK, remove the media link between a SIP monitor client simultaneously; Now, the session of the 2nd SIP monitor client and IPC proceeds;
Step C3, the 2nd SIP monitor client exit, and send BYE;
Step C4, service judge that the session on IPC is all exited, and therefore send BYE to IPC;
Step C5, service receive the BYE of IPC, and send 200OK to the 2nd SIP monitor client, so far session is all removed.
As above, the present invention well solves the application demand that multiple SIP monitor client monitors an IPC simultaneously, whole Call-Control1 and distribution of media and media processing etc. have all been come by server, Service control is flexible. for terminal, without the need to extra realization, just can support that this applies, compatible strong.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.

Claims (2)

1., based on a Video Multicast implementation method for SIP supervisory control system, described SIP supervisory control system comprises server, an IPC and at least two SIP monitor client, and described server comprises again SIP signalling service and media services; It is characterized in that: described Video Multicast implementation method comprises A, B, C tri-kinds of situations below:
When Media Stream between A, SIP monitor client and IPC is via transit server, and after a SIP monitor client and an IPC are connected by server, suppose that now the 2nd SIP monitor client will monitor this IPC, and send INVITE request;
Steps A 1, server first-selection confirms the authority of the 2nd SIP monitor client, if had the right, now server is directly by media services allocation medium port, and provides 200OK response;
Steps A 2, the 2nd SIP monitor client send ACK, and so far, set up rtp streaming between the 2nd SIP monitor client and server, the audio/video flow of IPC is forwarded to a SIP monitor client and the 2nd SIP monitor client by network in charge;
Suppose a SIP monitor client, the 2nd SIP monitor client, the IP address of the media services of IPC and server is respectively: IP1, IP2, IP3, IP4; One SIP monitor client, the 2nd SIP monitor client monitors IPC simultaneously, then 6 RTP connections that audio frequency and video monitor are:
One SIP monitor client:
Audio stream: ip1/portA1<->ip4/portA4-1;
Video flowing: ip1/portV1<->ip4/portV4-1;
2nd SIP monitor client:
Audio stream: ip2/portA2<->ip4/portA4-2;
Video flowing: ip2/portV2<->ip4/portV4-2;
IPC:
Audio stream: ip3/portA3<->ip4/portA4-3;
Video flowing: ip3/portV3<->ip4/portV4-3;
B, set up session with SIP monitor client as IPC, and Media Stream is direct-connected, and after a SIP monitor client and an IPC are connected by server, supposes that now the 2nd SIP monitor client will monitor this IPC, and initiate INVITE;
Step B1, server check the session status of IPC, first reply the 2nd SIP monitor client 100Trying;
Step B2, server initiate Re-Invite to a SIP monitor client and IPC simultaneously; In the SDP carried, media address is the IP address of media services and the echo port of distribution, to redirect on media server by the media of a SIP monitor client and IPC;
Step B3, a SIP monitor client and IPC provide 200OK response;
Step B4, server send ACK confirmation message respectively to a SIP monitor client and IPC;
Step B5, simultaneously provide to the 2nd SIP monitor client IP address and the port that media address information that 200OK response carries SDP is media server;
Step B6, the 2nd SIP monitor client provide ACK; So far, whole system completes the switching of Media Stream;
The dismounting of C, session: entered Video Multicast pattern at a SIP monitor client, the 2nd SIP monitor client and an IPC, and suppose that now a SIP monitor client exits;
Step C1, a SIP monitor client send BYE;
Step C2, server judge that IPC has two-way session, and therefore can not hang up IPC, it directly responds 200OK, remove the media link between a SIP monitor client simultaneously; Now, the session of the 2nd SIP monitor client and IPC proceeds;
Step C3, the 2nd SIP monitor client exit, and send BYE;
Step C4, service judge that the session on IPC is all exited, and therefore send BYE to IPC;
Step C5, service receive the bye of IPC; Send 200OK to the 2nd SIP monitor client, so far session is all removed.
2. a kind of Video Multicast implementation method based on SIP supervisory control system according to claim 1, it is characterized in that: a described SIP monitor client and the 2nd SIP monitor client have propaganda directed to communicate function and propaganda directed to communicate simultaneously time, stereo process module is increased in the media services of described server, after mixing the audio stream from a SIP monitor client and the 2nd SIP monitor client, be sent to IPC; Or described server only allows the client obtaining microphone to propaganda directed to communicate, and realized by expansion SIPINFO, MESSAGE message.
CN201310281828.4A 2013-07-05 2013-07-05 A kind of Video Multicast implementation method based on SIP supervisory control system Active CN103384247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310281828.4A CN103384247B (en) 2013-07-05 2013-07-05 A kind of Video Multicast implementation method based on SIP supervisory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310281828.4A CN103384247B (en) 2013-07-05 2013-07-05 A kind of Video Multicast implementation method based on SIP supervisory control system

Publications (2)

Publication Number Publication Date
CN103384247A CN103384247A (en) 2013-11-06
CN103384247B true CN103384247B (en) 2016-03-30

Family

ID=49491942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310281828.4A Active CN103384247B (en) 2013-07-05 2013-07-05 A kind of Video Multicast implementation method based on SIP supervisory control system

Country Status (1)

Country Link
CN (1) CN103384247B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559396B (en) * 2015-09-30 2019-12-06 中国电信股份有限公司 Media multicast method and system based on Web real-time communication
CN105635158A (en) * 2016-01-07 2016-06-01 福建星网智慧科技股份有限公司 Speech call automatic warning method based on SIP (Session Initiation Protocol)
CN106791695A (en) * 2017-01-13 2017-05-31 邦彦技术股份有限公司 The distribution method and its device of a kind of monitor video
CN109194697B (en) * 2018-11-01 2021-05-25 杭州当虹科技股份有限公司 Internet monitoring method under GB28181 by SIP protocol
CN110971873B (en) * 2019-11-20 2021-04-20 武汉虹信技术服务有限责任公司 Real-time monitoring method, monitoring system and storage medium
CN112118442A (en) * 2020-09-18 2020-12-22 平安科技(深圳)有限公司 AI video call quality analysis method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913533A (en) * 2006-09-05 2007-02-14 北京天地互连信息技术有限公司 Remote video monitoring system based on session initialize protocol and its implementing method
CN101106485A (en) * 2007-06-29 2008-01-16 中兴通讯股份有限公司 A method and system for using SIP soft terminal to realize monitoring of call center system
CN101110719A (en) * 2007-08-24 2008-01-23 中兴通讯股份有限公司 Method and system for legally monitoring IP multimedia subsystem network
CN101895569A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Implementation method of video browsing, IMS video monitoring system and front monitoring front-end

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913533A (en) * 2006-09-05 2007-02-14 北京天地互连信息技术有限公司 Remote video monitoring system based on session initialize protocol and its implementing method
CN101106485A (en) * 2007-06-29 2008-01-16 中兴通讯股份有限公司 A method and system for using SIP soft terminal to realize monitoring of call center system
CN101110719A (en) * 2007-08-24 2008-01-23 中兴通讯股份有限公司 Method and system for legally monitoring IP multimedia subsystem network
CN101895569A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Implementation method of video browsing, IMS video monitoring system and front monitoring front-end

Also Published As

Publication number Publication date
CN103384247A (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN103384247B (en) A kind of Video Multicast implementation method based on SIP supervisory control system
CN107968928B (en) A kind of method and apparatus of terminal communication
CN108121588B (en) A kind of method and its view networking access server of access external resource
JP4648458B2 (en) Control of service quality in communication systems
CN108810456B (en) A kind of monitoring video flow transfers method and system
CN101924772B (en) Communication system and method supporting cross-network and cross-terminal realization of multimedia session merging
CN100574467C (en) A kind of band width control method and terminal equipment
JP2009522830A5 (en)
WO2009059559A1 (en) A multimedia session call control method and the application server thereof
CN101674228B (en) Method, device and system for realizing streaming media communication
CN108881149B (en) Access method and system of video telephone equipment
CN101197772A (en) Method, device and system for implementing multiple paths on media face
CN110121049A (en) A kind of IMS conference medium method of flow control and device
US20240007509A1 (en) Interactive calling for internet-of-things
CN104994067A (en) System and method for SIP network to access RTSP monitoring network
EP3051805B1 (en) Endpoint information interaction processing method, apparatus and telepresence endpoint
US7221384B2 (en) Method for operating a multimedia communications network
EP4064635B1 (en) Method for realizing voice-over-ip communication sessions between a calling party and a called party, telecommunications network, transport forwarding path network entity or proxy call state control function entity or functionality or software defined network entity or functionality, program and computer-readable medium
JP4926250B2 (en) Method, system, and network entity for obtaining session description protocol capability information
CN110099025A (en) A kind of call method and device based on view networking
CN102752296B (en) Integrated digital recording method of scheduling business of electric network
RU2491740C1 (en) Method and system to provide call transfer service for subscriber of access gateway control function
CN101459631A (en) Virtual media gateway selection method, apparatus and system
WO2006116933A1 (en) A method, system and equipment for realizing intercommunication between the ip domains
EP2590378A1 (en) Method and system for audio broadcast in video surveillance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant