CN104994067A - System and method for SIP network to access RTSP monitoring network - Google Patents

System and method for SIP network to access RTSP monitoring network Download PDF

Info

Publication number
CN104994067A
CN104994067A CN201510269549.5A CN201510269549A CN104994067A CN 104994067 A CN104994067 A CN 104994067A CN 201510269549 A CN201510269549 A CN 201510269549A CN 104994067 A CN104994067 A CN 104994067A
Authority
CN
China
Prior art keywords
sip
rtsp
gateway
media device
map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510269549.5A
Other languages
Chinese (zh)
Other versions
CN104994067B (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.)
Nanjing Sizhou Network Technology Co.,Ltd.
Original Assignee
Nanjing Post and Telecommunication University
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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201510269549.5A priority Critical patent/CN104994067B/en
Publication of CN104994067A publication Critical patent/CN104994067A/en
Application granted granted Critical
Publication of CN104994067B publication Critical patent/CN104994067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Abstract

The invention discloses a system and a method for SIP network to access RTSP monitoring network. A signaling gateway of the system is formed by a SIP mapping gateway and an RTSP mapping gateway. The signaling transform is realized in an application layer without a protocol layer. According to the invention, via the arrangement of the SIP mapping gateway and the RTSP mapping gateway, unvarnished transmission of signaling is realized to enable the SIP work to access the RTSP network, thereby achieving video audio information of the RTSP network is shared in the SIP network.

Description

The system and method for SIP access to netwoks RTSP monitor network
Technical field
The present invention relates to a kind of resource access method and system thereof, specifically SIP(Session Initiation Protocol, session initiation protocol) access to netwoks RTSP(Real Time Streaming Protocol, real time streaming transport protocol) system and method for monitor network.
Background technology
RTSP is real time streaming transport protocol, is an application layer protocol in ICP/IP protocol system.RTSP is architecturally positioned on RTP and RTCP, and it uses TCP or UDP to complete transfer of data.The protocol define one-to-many application and effectively transmit multi-medium data by IP network, be widely used in field of video monitoring.SIP is the multimedia communication protocol formulated by IETF, is widely used in, in the network of circuit switching, next generation network and IP Multimedia System, can supporting and being applied to the multimedia services such as voice, video, data.
Because RTSP agreement and Session Initiation Protocol also exist difference, SIP network can not directly access RTSP monitor network, and the information resources causing RTSP monitor network can not use in SIP network.This had both hindered sharing of RTSP monitor network information, was also unfavorable for the expansion of SIP network application.
Summary of the invention
The object of the invention is to provide a kind of system and method realizing SIP access to netwoks RTSP monitor network, and the method under the condition not changing existing Session Initiation Protocol and RTSP agreement, can realize SIP access to netwoks RTSP network.
The system of SIP access to netwoks RTSP monitor network, comprise the SIP client, sip server, SIP mapping gateway, RTSP mapping gateway and the RTSP media device that connect successively, SIP maps the calling that gateway is initiated for receiving SIP client, RTSP the identity information of RTSP media device or called SIP number is sent to map gateway, after receiving the IP address of the other side that RTSP mapping gateway returns, port and coding, be transmitted to SIP client, and it is normal mutual to keep in conversation procedure; RTSP maps gateway and maps the identity information of the RTSP media device that gateway sends or called SIP number for receiving by SIP, carry out alternately with RTSP media device, then return RTSP media device send the IP address of video or audio frequency, port and coding and map gateway to SIP, and keep the normal interactive action in conversation procedure, this system also comprises for by database corresponding with RTSP media device relation for SIP number, one end connects SIP and maps gateway, and one end connects RTSP and maps gateway.
Described RTSP media device is RTSP monitoring client and/or RTSP server.
The identity information of RTSP media device comprises IP address, port numbers, shared passage, login username and login password.
Utilize the method for the system of SIP access to netwoks RTSP monitor network, comprise the following steps,
Step 1, set up SIP map gateway, be connected respectively with database with sip server;
Step 2, set up RTSP and map gateway, one end connects SIP and maps gateway, and the other end connects RTSP media device, is also connected with database simultaneously;
Step 3, when SIP client needs video or the audio frequency playing certain RTSP media device, SIP client is found out corresponding SIP number and is called out from database, and this calling is directed to SIP and maps gateway;
Step 4, SIP map after gateway receives SIP client calling, make calling be in wait state, then issue RTSP after the identity information taking out the RTSP media device corresponding to called SIP number from database and map gateway; Or called SIP number issued RTSP and map gateway, map gateway by RTSP from database, take out the IP address of the RTSP media device corresponding to called SIP number, port numbers, passage, login user and login password;
If the video of step 5 now on RTSP media device or audio frequency are not forwarded, then the direct SIP that this RTSP media device IP address, port and coding issued maps gateway, otherwise issues SIP map gateway by forwarding the IP address of the server of this video or audio frequency, port and coding;
Step 6, SIP map gateway and connect SIP client calling, complete the mapping process between Session Initiation Protocol and RTSP agreement;
Step 7, SIP client receiver, video or voice data;
Step 8, when SIP map gateway be checked through calling stop after, notice RTSP map gateway stop the mutual of corresponding RTSP media device; Equally, when RTSP map gateway discovery cannot mutual with certain RTSP media device time, it is mutual that notice SIP maps that gateway stops with SIP client.
In step 3, if when SIP client cannot find corresponding SIP number from database, SIP client dynamic creation number in reserved number section is called out.
The present invention maps gateway and RTSP and maps by arranging SIP the transparent transmission that gateway realizes signaling, and can realize signaling in application layer and exchange, make SIP network access RTSP network, the video or the audio-frequency information that realize RTSP network are shared in SIP network.
Accompanying drawing explanation
Fig. 1 is the system construction drawing that the present invention utilizes SIP access to netwoks RTSP monitor network;
Fig. 2 is the method flow diagram that the present invention utilizes SIP access to netwoks RTSP monitor network.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, this system comprises SIP client, sip server, SIP mapping gateway, RTSP mapping gateway and some RTSP monitoring clients and RTSP video server, also comprise for by database corresponding with RTSP media device relation for SIP number, its one end connects SIP and maps gateway, and one end connects RTSP and maps gateway.
Said system is utilized to realize the process of SIP client access RTSP network as shown in Figure 2.Set up SIP and map gateway, it is linked on the sip server in SIP network by some reserved SIP number or number section with Session Initiation Protocol, the information such as the IP address of number certain RTSP media device then corresponding of these reserved SIP numbers or number section, port numbers, passage, login user and login password, these information are stored in SIP number and RTSP media device corresponding relation database.Set up RTSP and map gateway, it can RTSP agreement carry out with based on the video monitoring end of RTSP agreement or video server alternately.
When SIP client needs video or the audio frequency playing certain RTSP monitoring client, SIP client searches corresponding SIP number, then normal call from SIP number with RTSP monitoring client corresponding relation database; When SIP client calls out SIP number corresponding to certain RTSP monitoring client, call information is directed to SIP and maps gateway by sip server.After SIP mapping gateway receives SIP client calling, calling is allowed to be stored in wait state, then from SIP number and RTSP monitoring client corresponding relation database, take out the IP address of the RTSP monitoring client corresponding to called number, port numbers, passage, issue RTSP after the information such as login user and login password group bag and map gateway, or called number is issued RTSP mapping gateway, the IP address that gateway takes out the RTSP monitoring client corresponding to called number from SIP number and RTSP monitoring client corresponding relation database is mapped by RTSP, port numbers, passage, the information such as login user and login password.RTSP map the information such as the IP address of the RTSP monitoring client of gateway corresponding to called number, port numbers, passage, login user and login password and corresponding RTSP monitoring client or video server mutual, after obtaining the other side and to send with Real-time Transport Protocol the information such as the IP address of video or audio frequency, port and coding, if do not have server to forward above-mentioned video or audio frequency, then the direct SIP that issued by above-mentioned information group bag maps gateway, otherwise information group bags such as forwarding the IP address of the server of video or audio frequency, port and coding is issued SIP maps gateway.SIP maps gateway and receives RTSP and map after the other side of sending of gateway sends the information such as the IP address of video or audio frequency, port and coding, initialization information is sent using above-mentioned information as the video of called number or audio frequency, connection SIP client is called out, and completes the mapping process between Session Initiation Protocol and RTSP agreement; The calling of SIP client is being mapped after gateway connects by SIP, obtain certain RTSP monitoring client and send the information such as the IP address of video or audio frequency, port and coding with Real-time Transport Protocol, namely may correspond to receiver, video or voice data; Be checked through after certain calling stops by SIP client when SIP maps gateway, corresponding notice RTSP maps gateway and stops the mutual of certain RTSP monitoring client or video server; Equally, when RTSP map gateway discovery cannot with certain RTSP monitoring client or video server mutual time, it is mutual that notice SIP maps that gateway stops with SIP client.
If SIP client cannot from SIP number with when searching corresponding SIP number RTSP monitoring client corresponding relation database, SIP client dynamic creation number in reserved number section is called out, when after call through, SIP is sent to map gateway with SDP form the information such as the IP address of RTSP monitoring client, port numbers, passage, login user and login password, take defeat if SIP maps gateway, then hang up; If success, then RTSP will be sent to after these information group bags to map gateway, and then RTSP be mapped the other side that gateway sends and send the information such as the IP address of video or audio frequency, port and coding with Real-time Transport Protocol and issue SIP client with SDP form.
Map after gateway sets up mapping relations when SIP maps gateway and RTSP, SIP client can map to SIP the control information that gateway sends the watch-dogs such as The Cloud Terrace by SDP form, after SIP maps gateway reception, group bag sends to RTSP to map gateway, RTSP maps gateway and sends corresponding instruction according to the cradle head control communication protocol of RTSP monitoring client to it, and sent to by instruction results SIP to map gateway, and SIP mapping gateway sends to SIP client by SDP form.
Technological means disclosed in the present invention program is not limited only to the technological means disclosed in above-mentioned execution mode, also comprises the technical scheme be made up of above technical characteristic combination in any.

Claims (5)

  1. The system of 1.SIP access to netwoks RTSP monitor network, is characterized in that, comprises the SIP client, sip server, SIP mapping gateway, RTSP mapping gateway and the RTSP media device that connect successively,
    SIP maps the calling that gateway is initiated for receiving SIP client, RTSP the identity information of RTSP media device or called SIP number is sent to map gateway, after receiving the IP address of the other side that RTSP mapping gateway returns, port and coding, be transmitted to SIP client, and it is normal mutual to keep in conversation procedure;
    RTSP maps gateway and maps the identity information of the RTSP media device that gateway sends or called SIP number for receiving by SIP, carry out alternately with RTSP media device, then return RTSP media device send the IP address of video or audio frequency, port and coding and map gateway to SIP, and keep the normal interactive action in conversation procedure;
    This system also comprises for by database corresponding with RTSP media device relation for SIP number, and one end connects SIP and maps gateway, and one end connects RTSP and maps gateway.
  2. 2. the system of SIP access to netwoks RTSP monitor network according to claim 1, it is characterized in that, described RTSP media device is RTSP monitoring client and/or RTSP server.
  3. 3. the system of SIP access to netwoks RTSP monitor network according to claim 1, is characterized in that, the identity information of RTSP media device comprises IP address, port numbers, shared passage, login username and login password.
  4. 4. utilize the method for the system of the SIP access to netwoks RTSP monitor network described in claim 1, it is characterized in that, comprise the following steps,
    Step 1, set up SIP map gateway, be connected respectively with database with sip server;
    Step 2, set up RTSP and map gateway, one end connects SIP and maps gateway, and the other end connects RTSP media device, is also connected with database simultaneously;
    Step 3, when SIP client needs video or the audio frequency playing certain RTSP media device, SIP client is found out corresponding SIP number and is called out from database, and this calling is directed to SIP and maps gateway;
    Step 4, SIP map after gateway receives SIP client calling, make calling be in wait state, then issue RTSP after the identity information taking out the RTSP media device corresponding to called SIP number from database and map gateway; Or called SIP number issued RTSP and map gateway, map gateway by RTSP from database, take out the IP address of the RTSP media device corresponding to called SIP number, port numbers, passage, login user and login password;
    If the video of step 5 now on RTSP media device or audio frequency are not forwarded, then the direct SIP that this RTSP media device IP address, port and coding issued maps gateway, otherwise issues SIP map gateway by forwarding the IP address of the server of this video or audio frequency, port and coding;
    Step 6, SIP map gateway and connect SIP client calling, complete the mapping process between Session Initiation Protocol and RTSP agreement;
    Step 7, SIP client receiver, video or voice data;
    Step 8, when SIP map gateway be checked through calling stop after, notice RTSP map gateway stop the mutual of corresponding RTSP media device; Equally, when RTSP map gateway discovery cannot mutual with certain RTSP media device time, it is mutual that notice SIP maps that gateway stops with SIP client.
  5. 5. the method for SIP access to netwoks RTSP monitor network according to claim 4, it is characterized in that: in step 3, if when SIP client cannot find corresponding SIP number from database, SIP client dynamic creation number in reserved number section is called out.
CN201510269549.5A 2015-05-25 2015-05-25 SIP network accesses the system and method for RTSP monitoring networks Active CN104994067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510269549.5A CN104994067B (en) 2015-05-25 2015-05-25 SIP network accesses the system and method for RTSP monitoring networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510269549.5A CN104994067B (en) 2015-05-25 2015-05-25 SIP network accesses the system and method for RTSP monitoring networks

Publications (2)

Publication Number Publication Date
CN104994067A true CN104994067A (en) 2015-10-21
CN104994067B CN104994067B (en) 2018-05-18

Family

ID=54305819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510269549.5A Active CN104994067B (en) 2015-05-25 2015-05-25 SIP network accesses the system and method for RTSP monitoring networks

Country Status (1)

Country Link
CN (1) CN104994067B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307149A (en) * 2017-12-29 2018-07-20 上海顶竹通讯技术有限公司 A kind of video proxy system and monitoring method
CN109327435A (en) * 2018-09-20 2019-02-12 安徽云森物联网科技有限公司 Media resource acquisition methods, device and gateway
CN113329040A (en) * 2021-08-03 2021-08-31 江苏怀业信息技术股份有限公司 Protocol conversion method and device in media stream forwarding process
CN114679630A (en) * 2022-05-27 2022-06-28 武汉中科通达高新技术股份有限公司 Data transmission method, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222418A (en) * 2007-01-10 2008-07-16 华为技术有限公司 Method, system and signaling gateway for RTSP client terminal access to SIP media resource
US7724691B2 (en) * 2002-12-30 2010-05-25 Martti Mela Streaming media
CN101953136A (en) * 2007-12-21 2011-01-19 皇家Kpn公司 Method and system for transmitting a multimedia stream
CN102088447A (en) * 2009-12-08 2011-06-08 中国移动通信集团公司 Media control method and system in IMS (IP multimedia subsystem)
CN103428168A (en) * 2012-05-17 2013-12-04 北京信悦通科技有限公司 Method, system and signaling gateway for SIP client side to visit RTSP media resource

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7724691B2 (en) * 2002-12-30 2010-05-25 Martti Mela Streaming media
CN101222418A (en) * 2007-01-10 2008-07-16 华为技术有限公司 Method, system and signaling gateway for RTSP client terminal access to SIP media resource
CN101953136A (en) * 2007-12-21 2011-01-19 皇家Kpn公司 Method and system for transmitting a multimedia stream
CN102088447A (en) * 2009-12-08 2011-06-08 中国移动通信集团公司 Media control method and system in IMS (IP multimedia subsystem)
CN103428168A (en) * 2012-05-17 2013-12-04 北京信悦通科技有限公司 Method, system and signaling gateway for SIP client side to visit RTSP media resource

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307149A (en) * 2017-12-29 2018-07-20 上海顶竹通讯技术有限公司 A kind of video proxy system and monitoring method
CN109327435A (en) * 2018-09-20 2019-02-12 安徽云森物联网科技有限公司 Media resource acquisition methods, device and gateway
CN109327435B (en) * 2018-09-20 2021-05-25 安徽云森物联网科技有限公司 Media resource acquisition method and device and gateway equipment
CN113329040A (en) * 2021-08-03 2021-08-31 江苏怀业信息技术股份有限公司 Protocol conversion method and device in media stream forwarding process
CN113329040B (en) * 2021-08-03 2021-11-02 江苏怀业信息技术股份有限公司 Protocol conversion method and device in media stream forwarding process
CN114679630A (en) * 2022-05-27 2022-06-28 武汉中科通达高新技术股份有限公司 Data transmission method, device and computer readable storage medium
CN114679630B (en) * 2022-05-27 2022-08-30 武汉中科通达高新技术股份有限公司 Data transmission method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN104994067B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN103227788B (en) Realize the method and system that Web page application program and SIP equipment carry out communicating
US8533346B2 (en) SIP-based network video surveillance system and method
CN101026616A (en) Multimedia subsystem based interactive media session establishing system and method
KR101705440B1 (en) Hybrid cloud media architecture for media communications
CN110650260B (en) System and method for intercommunication of network terminal audio internal and external networks
CN102215276A (en) Video monitoring system and method of media traverse of network address translation equipment
US10601880B2 (en) Conference reconstruction in SIP networks
CN108881149B (en) Access method and system of video telephone equipment
CN103428168A (en) Method, system and signaling gateway for SIP client side to visit RTSP media resource
WO2015096302A1 (en) Nat traversal method based on sip media capability re-negotiation, proxy server and system
WO2015180570A1 (en) Data channel establishment method and communications device
WO2019184262A1 (en) Multi-type media data network address translation traversing method, terminal and system
CN104994067A (en) System and method for SIP network to access RTSP monitoring network
WO2015127793A1 (en) Recording method, voice exchanging device, recording server, and recording system
CN108574689B (en) Method and device for video call
CN101127620B (en) A method and system for transmitting logic channel number in session initialization protocol
CN112995234A (en) Media transmission link management method and device
CN103384247A (en) Video multicast achieving method based on session initiation protocol (SIP) monitoring system
CN108848194B (en) Session establishment method between intranet clients, router and session system
US20240007509A1 (en) Interactive calling for internet-of-things
CN102281293B (en) The transmission method and system of transmission control protocol type of session Media Stream
CN110099025B (en) Call method and device based on video networking
CN111093047A (en) Video call connection establishing method and device, electronic equipment and storage medium
CN105634911B (en) Session establishing method and device
US10171518B2 (en) Performing an action on certain media streams in a multimedia communications network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210531

Address after: 21802 88-127, feizhuang group, Gaohua community, Tangquan street, Pukou District, Nanjing City, Jiangsu Province

Patentee after: Nanjing Sizhou Network Technology Co.,Ltd.

Address before: 210003, 66 new model street, Gulou District, Jiangsu, Nanjing

Patentee before: NANJING University OF POSTS AND TELECOMMUNICATIONS

TR01 Transfer of patent right