CN101174999A - Method for global eye equipment traversing NAT based on SIP protocol - Google Patents

Method for global eye equipment traversing NAT based on SIP protocol Download PDF

Info

Publication number
CN101174999A
CN101174999A CNA2007101864383A CN200710186438A CN101174999A CN 101174999 A CN101174999 A CN 101174999A CN A2007101864383 A CNA2007101864383 A CN A2007101864383A CN 200710186438 A CN200710186438 A CN 200710186438A CN 101174999 A CN101174999 A CN 101174999A
Authority
CN
China
Prior art keywords
registration
address
message
port
supervision platform
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
Application number
CNA2007101864383A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2007101864383A priority Critical patent/CN101174999A/en
Publication of CN101174999A publication Critical patent/CN101174999A/en
Pending legal-status Critical Current

Links

Images

Abstract

An NAT crossing method of global eye equipment which bases on SIP protocol is provided. The method includes steps mentioned below. Firstly, a monitoring front end adds a field which expresses to hope to obtain the public net address of NAT in a registration packet and launches the registration to a monitoring platform. According to the information of the registration packet, the monitoring platform judges that whether the IP address and the interface of the monitoring front end are the same with the source IP address and the interface in UDP packet and takes the appropriate measures. The monitoring platform records the address of the monitoring front end according to the definition of SIP protocol and responses that the registration is successful. Through the method, the NAT crossing problem of a global eye network video monitoring system can be solved without the help of a third party equipment.

Description

A kind of method of the global eye equipment traversing NAT based on Session Initiation Protocol
Technical field
The invention belongs to global eyes Network Video Surveillance field, specifically, relate to a kind of method of passing through NAT in the global eyes network video monitor and control system (network address translation).
Background technology
Global eyes Network Video Surveillance business is complete remote image monitoring, transmission, a storage based on broadband networks of being released by China Telecom, the value-added service of management.The global eyes network video monitor and control system is made up of front monitoring front-end, client Surveillance center/control point, " global eyes " monitor supervision platform, transmission network four parts.
The exploitation purpose of SIP (session initiation protocol) is with helping provide the senior telephone service of crossing over the internet.Internet telephony (IP phone) is to a kind of formal business telephone schema evolution, and SIP is used for guaranteeing that this evolution realizes and important a member in NGN (next generation network) serial protocols that needs.
Two key elements are arranged among the SIP.The sip user agent and the SIP webserver.The user agent is the terminal system element of calling out, and sip server is the network equipment of handling the signaling that is associated with a plurality of callings.
In the global eyes network video monitor and control system, front monitoring front-end is being played the part of the role of sip user agent, and " global eyes " monitor supervision platform is being played the part of the role of the SIP webserver.
Because fully based on broadband networks, therefore there is the demand of global eye equipment traversing NAT (network address translation) in whole monitoring system.At present also not about realize the method for global eyes network video monitor and control system passing through NAT based on SIP.
Summary of the invention
The objective of the invention is to, a kind of method of the global eye equipment traversing NAT based on Session Initiation Protocol is provided, pass through the method, can be need not be by third party device, just can solve the problem of global eyes network video monitor and control system passing through NAT, concrete finger front monitoring front-end is at NAT inside (private network), the problem of monitor supervision platform on NAT outside (public network), and method scheme of the present invention is simple.
In order to address the above problem, the present invention proposes a kind of method of the global eye equipment traversing NAT based on Session Initiation Protocol, said method comprising the steps of:
(1) front monitoring front-end is initiated registration to monitor supervision platform, and in registration packet, adds a field, and described field is used to show the public network address of wishing to obtain NAT;
(2) monitor supervision platform responds registration message to front monitoring front-end, if source IP address and the port in the IP address of contact field and port and the UDP bag is inequality in the registration message, carries out (3); If identical, front monitoring front-end is described on public network, carry out (5);
(3) monitor supervision platform sends response message, and source IP address and port in the UDP bag when placing the front monitoring front-end registration in message content;
(4) front monitoring front-end is received response message, with IP that places in the message and port, replaces the IP address and the port of contact field, initiates registration to monitor supervision platform again;
(5) monitor supervision platform is pressed the Session Initiation Protocol regulation, the address of record front monitoring front-end, and response is succeeded in registration.
(6) front monitoring front-end judges whether to have carried out (4), if carried out, then sends keep-alive information, otherwise need not send.
Further, described keep-alive message uses OPTIONS message to send.
Further, keep-alive message timed sending.
The invention solves the problem of global eyes network video monitor and control system passing through NAT, major advantage has:
First point, scheme is simple, need only not need existing equipment to support method provided by the invention just can finish and pass through by third party device.
Second point, easy to implement, need not do change to user network.
Thirdly, adaptability is very good, is applicable to various NAT environment.No matter be symmetric NAT, perhaps asymmetry can be suitable for.Even front monitoring front-end is positioned at after a plurality of NAT device, the present invention still can be suitable for.
The 4th point is compatible good.For the equipment of not supporting method provided by the invention, directly can not cause any problem with supporting equipment interconnection of the present invention.No matter be that front monitoring front-end and monitor supervision platform can.And use equipment of the present invention, can use other to pass through mode simultaneously,, also can not cause any problem such as SBC (Session Border Controller) mode.
Description of drawings
Fig. 1 is front monitoring front-end and monitor supervision platform graph of a relation;
Fig. 2 is the flow chart of the inventive method;
Fig. 3 is under Fig. 1 environment, uses the front monitoring front-end of the inventive method and the signaling process figure of the monitor supervision platform that uses the inventive method.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described further.
What Fig. 1 described is a global eyes network video monitor and control system under the NAT environment.For convenience of description, abbreviate front monitoring front-end as PU, abbreviate monitor supervision platform as MP, PU is positioned at NAT inside (private network), and MP is positioned at NAT outside (public network).
Please refer to Fig. 2 and Fig. 3.Fig. 2 and Fig. 3 have described the flow process of time the inventive method and have used the front monitoring front-end of the inventive method and the signaling process figure of the monitor supervision platform that uses the inventive method.
Key step comprises:
The first step, PU initiates registration to MP, and adds a field in the message body (MessageBody) of registration message (REGISTER), and this field is used to show the public network address of wishing to obtain NAT.In the present embodiment, specifically, add following content in the message body:
MessageBody=(RequireMyIP)
RequireMyIP=″RequireMyIP″″=″(″true″|″false″)
Wherein: RequireMyIP is the field that adds, and shows the public network address of wishing to obtain NAT, and true represents that terminal wishes to obtain the public network address of NAT; False represents the registration of terminal use normal flow.
In the present embodiment, this field specifies as follows:
RequireMyIP=ture
In second step, MP responds registration message to PU.If there is not the special field in the first step, or the RequireMyIP field is false, then according to the standards registration flow processing of Session Initiation Protocol.Otherwise be divided into two kinds of situations.Situation 1 if find that the IP address of contact field in the registration message and port source IP address and the port in wrapping with UDP is inequality, carried out for the 3rd step; If situation 2 identical, illustrates PU on public network, directly carries out for the 5th step.
In the 3rd step, MP sends response message 440, and source IP address and the port of the UDP when placing the PU registration in message content in wrapping.In the present embodiment, specifically, add following content in the message body:
MessageBody=(YourIP)
YourIP=″YourIP″″=″IPAddress-value″:″IPPort-value
Wherein:
IPAddress-value is the IP address of a character string forms, for example 10.16.8.90 that describes among the embodiment among Fig. 1;
IPPort-value is the IP port of a character string forms, for example describe among the embodiment among Fig. 1 1000.
In the present embodiment, this field is as follows:
YourIP=10.16.8.90:1000
In the 4th step, PU receives Temporary Response message, with IP that places in the message and port, replaces the IP address and the port of contact field, initiates registration to MP again.
In the 5th step, MP presses the Session Initiation Protocol regulation, the address of record PU, and response is succeeded in registration.
In the 6th step, PU judged whether to have carried out the 4th step, if carried out, then regularly sent keep-alive message.Otherwise need not send.Keep-alive message is used OPTIONS message.In the present embodiment, the keep-alive message timed sending.
The above is embodiments of the invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (4)

1. method based on the global eye equipment traversing NAT of Session Initiation Protocol is characterized in that: may further comprise the steps:
(1) front monitoring front-end is initiated registration to monitor supervision platform, and in registration packet, adds a field, and described field is used to show the public network address of wishing to obtain NAT;
(2) monitor supervision platform responds registration message to front monitoring front-end, if source IP address and the port in the IP address of contact field and port and the UDP bag is inequality in the registration message, carries out (3); If identical, directly carry out (5);
(3) monitor supervision platform sends response message, and source IP address and port in the UDP bag when placing the front monitoring front-end registration in message content;
(4) front monitoring front-end is received response message, with IP that places in the message and port, replaces the IP address and the port of contact field, initiates registration to monitor supervision platform again;
(5) monitor supervision platform is pressed the Session Initiation Protocol regulation, the address of record front monitoring front-end, and response is succeeded in registration.
2. the method for claim 1, it is characterized in that: described method further comprises: (6) front monitoring front-end judges whether to have carried out (4), if carried out, then sends keep-alive information, otherwise need not send.
3. method as claimed in claim 2 is characterized in that: described keep-alive message uses OPTIONS message to send.
4. method as claimed in claim 3 is characterized in that: described keep-alive message is timed sending.
CNA2007101864383A 2007-11-14 2007-11-14 Method for global eye equipment traversing NAT based on SIP protocol Pending CN101174999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101864383A CN101174999A (en) 2007-11-14 2007-11-14 Method for global eye equipment traversing NAT based on SIP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101864383A CN101174999A (en) 2007-11-14 2007-11-14 Method for global eye equipment traversing NAT based on SIP protocol

Publications (1)

Publication Number Publication Date
CN101174999A true CN101174999A (en) 2008-05-07

Family

ID=39423269

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101864383A Pending CN101174999A (en) 2007-11-14 2007-11-14 Method for global eye equipment traversing NAT based on SIP protocol

Country Status (1)

Country Link
CN (1) CN101174999A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860536A (en) * 2010-05-31 2010-10-13 北京邮电大学 Private network access system based on SIP soft phone and method thereof
CN102316042A (en) * 2011-09-30 2012-01-11 杭州华三通信技术有限公司 Message transmission method, equipment and system
CN102487546A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Registration method of session initiation protocol (SIP) terminal and system thereof
CN102568166A (en) * 2010-12-08 2012-07-11 中国电信股份有限公司 Audio alarm security system based on network video monitoring and method thereof
WO2014059826A1 (en) * 2012-10-19 2014-04-24 中兴通讯股份有限公司 Method for getting a device online, address delivery method, peripheral unit, server, and monitoring system
CN102316042B (en) * 2011-09-30 2016-12-14 杭州华三通信技术有限公司 The transmission method of a kind of message, equipment and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860536A (en) * 2010-05-31 2010-10-13 北京邮电大学 Private network access system based on SIP soft phone and method thereof
CN101860536B (en) * 2010-05-31 2014-05-07 北京邮电大学 Private network access system based on SIP soft phone and method thereof
CN102487546A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Registration method of session initiation protocol (SIP) terminal and system thereof
CN102568166A (en) * 2010-12-08 2012-07-11 中国电信股份有限公司 Audio alarm security system based on network video monitoring and method thereof
CN102316042A (en) * 2011-09-30 2012-01-11 杭州华三通信技术有限公司 Message transmission method, equipment and system
CN102316042B (en) * 2011-09-30 2016-12-14 杭州华三通信技术有限公司 The transmission method of a kind of message, equipment and system
WO2014059826A1 (en) * 2012-10-19 2014-04-24 中兴通讯股份有限公司 Method for getting a device online, address delivery method, peripheral unit, server, and monitoring system

Similar Documents

Publication Publication Date Title
US10749979B1 (en) Packetcable controller for voice over IP network
US8165280B1 (en) Method and system for providing busy override service in a SIP-based network
EP2150013B1 (en) System, equipment and method for implementing special calling services
US20080056475A1 (en) Methods, systems, and computer program products for flexible call jumping
CN101507254A (en) Device and method for enabling SIP DECT terminal mobility
BRPI0419223B1 (en) "method for enabling first and second terminals of a communication network, and method for enabling use of at least one combinatorial service on at least one first terminal of a first user of a communication network"
CN101346964A (en) Method for establishing multimedia conversation with remote user of communication network
WO2012037790A1 (en) Method,apparatus and system for digital tv terminals to perform instant messaging
CN101309277A (en) SIP terminal, method and system for uploading state, method and apparatus for processing the uploaded state
CN101511072A (en) Method for implementing enhancement type E-number communication business in SIP or IMS network
US9509724B2 (en) Handling session initiation protocol messages in a wireless telecommunications device
EP3840427A1 (en) Status prompt multimedia playback method, system and apparatus
CN101174999A (en) Method for global eye equipment traversing NAT based on SIP protocol
US9071690B2 (en) Call transfer processing in SIP mode
US8983043B2 (en) Data communication
CN102075939B (en) Method, equipment and system for preventing service embezzlement
CN102024310A (en) Alarm processing method of video monitoring system and video monitoring front-end equipment
CN103067334A (en) Method and system of realizing video monitoring and home gateway
WO2012083805A1 (en) A video call implementation method, system and device
CN101420370A (en) Method for global eye equipment traversing NAT based on SIP protocol
WO2015058648A1 (en) Message service processing method and apparatus based on ip telephone
CN103139209B (en) Media code stream acquisition methods, UNISAF server and soft switching communication system
US8606243B2 (en) Mobile network system and guidance message providing method
US20160191573A1 (en) Systems and methods for modifying a state of a software client
CN101286951B (en) Session preemption method

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

Open date: 20080507