CN101645875A - Method for establishing on-line channel - Google Patents

Method for establishing on-line channel Download PDF

Info

Publication number
CN101645875A
CN101645875A CN200810134287A CN200810134287A CN101645875A CN 101645875 A CN101645875 A CN 101645875A CN 200810134287 A CN200810134287 A CN 200810134287A CN 200810134287 A CN200810134287 A CN 200810134287A CN 101645875 A CN101645875 A CN 101645875A
Authority
CN
China
Prior art keywords
ntu
address
line information
ddns server
equipment
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
CN200810134287A
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.)
D Link Corp
Original Assignee
D Link 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 D Link Corp filed Critical D Link Corp
Priority to CN200810134287A priority Critical patent/CN101645875A/en
Publication of CN101645875A publication Critical patent/CN101645875A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method for establishing an on-line channel, which is applied to a network system. The network system comprises a DDNS server, at least one private domain and the Internet, wherein the at least one private domain comprises more than one NAT router and at least one network terminal device; the network terminal devices are sequentially connected to the Internet through theNAT routers; by the method, the network terminal devices can log in the DDNS server automatically in the process of boot-strap, and write equipment on-line information in a page specified under a domain name registered on the DDNS server by the network terminal devices after sensing the communications of the related equipment on-line information of available UPnPIGD or a repeater channel or the NAT routers for penetration between the network terminal devices and the DDNS server.

Description

A kind of method of setting up on-line channel
Technical field
The present invention relates to a kind of method of setting up on-line channel, particularly utilize dynamic domain name server, make the different network terminals device (as: be provided with the computer of network interface, network camera, the networking telephone, the network disk driver and the network printer etc.) between, can see through plug and play internet gateway device (Plug andPlay Intemet Gateway Device, hereinafter to be referred as UPnP IGD), the mode of various passage technologies such as repeater passage (Relay Tunnel) or penetrating NAT router, registration is also set up several online passages, allow be present in NTU under arbitrary net territory, can attempt carrying out the method for data access in optimized mode.
Background technology
Fast development along with the computer and the communication technology, see through public network territory voice-bearer, data, the business of information such as image, become various network and served the traffic direction that the dealer makes great efforts to develop, network is served the dealer and is seen through the telecommunications service network, voice are provided, the network service of various comprehensive openings such as data and multimedia, at present, the building mode of telecommunications service network is also in change, but important developing goal is that application service is separated with transmission technology, all can operate without restriction on any transmission technology to reach all application services, in other words, following telecommunications service network is the network of service orientation, promptly serve with call out control separate, calling separates with carrying, the purpose of separating is that service can really be independent of on the network, application service is provided flexibly effectively, therefore, the user of following telecommunications service network can dispose and define the service features of oneself voluntarily, needn't be concerned about the network pattern and the terminal type of carrying service, this characteristic will make the bigger flexibility that provides of service and application, in other words, the existing information network, no matter be communication network, any network in computer network and the cable TV network, originally all can't become unique basic platform, develop and the service different with its characteristic, but along with the development of IP technology in recent years, communication network (comprising wired and wireless), computer network and cable TV network can be by advanced IP technology, be integrated into unified network, promptly so-called " three nets are integrated ", or add mobile communication networking formation so-called " four networks one platform ", the IP agreement makes various business based on IP to realize intercommunication on different networks.
Under the trend of the driving of aforementioned network business and the network integration, following telecommunications service network will adopt distributed network architecture, effective voice-bearer, video and multimedia service, realize service application, the framework that professional control separates with professional transmission three functions, in the process of construction network, following telecommunications service network can seamlessly transit from the available data net, its advantage is that conventional network equipment and terminal equipment can be applied directly in following telecommunications service network, many IP-based agreements still can continue to use, but, in the problems that faced, a most important problem promptly is the problem that how to penetrate privately owned net territory.
Press, following telecommunications service network is the network that merges voice, data, multimedia and mobile service, can be divided into from the network layer following which floor:
(1) Access Layer: form by various gateways, wisdom access terminal equipment and integrated access equipment, see through various access means all types of user is connected to network (comprise broadband access, move insert etc.), and the information format that information format conversion is become can transmit on network;
(2) transport layer: refer to the bearer network of telecommunications service network, be responsible for providing public delivery platform the load modes that adopt grouping more to various business and Media Stream; At present, main core transmission network is a broadband IP network;
(3) key-course: finish the concrete execution of Comprehensive Control processing capacity such as call treatment control, access protocol are adaptive, interconnection and interflow and service logic; Key-course has determined the business that the user receives, and can control the processing of lower layer network element to Business Stream, and its main entity is a Softswitch; And
(4) operation layer: the logic of managing business, customer-oriented comprehensive wisdom business is provided, realize professional customization and the management function relevant, as business authentication and service billing etc. with business.
The penetration problem that exists in the broadband access of following telecommunications service network is exactly the broadband access problem of edge access layer in the telecommunications service network.Press, following telecommunications service server bearer network and broadband access are to build on existing IP network basis, insert the essential addressing that sees through the IP address of user, but, present actual conditions are, because the rapid expanding of Internet, IP address space is in serious spent condition, in order to address this problem, a large amount of enterprise networks and LAN are all at network egress on-premise network address transition (Network Address Translation, be called for short NAT) equipment, NAT is an Intemet standard that is defined in RFC 1631, basically, is provided in a side of in the router, be positioned at the boundary in privately owned net territory and public network territory, in order to the package that NTU sent to privately owned net territory, carry out the action of IP address transition, connect the internet so that allow in the privately owned net territory many NTUs can share an IP Di Zhi Even, when just the IP data packet that sends when privately owned net territory arrived NAT device, NAT was responsible for the privately owned net domain IP address in inside is converted to the legitimate ip address in public network territory; After the package of sending as the outside arrived NAT device, NAT saw through the information of mapping table (mapping table) lining of consulting the NAT preservation, converts the public network domain addresses to privately owned net domain addresses, is forwarded to the internal interface sink again.Usually, for general data packet, NAT device only needs IP address and port numbers are changed, but for H.323, Session initiation Protocol (Session Initiation Protocol, be called for short SIP) and MGCP (Media GatewayControl Protocol, be called for short MGCP) etc. the application of standard, real medium link information is placed in the data packet load to be transmitted, at this moment, just following problem has appearred, suppose that terminal A makes a call to terminal B, soft switch is forwarded to the call information of terminal A on the terminal B, according to H.323, agreements such as SIP terminal B gets access to the private network IP address of terminal A from this data packet load after, will attempt to set up RTP (Real-time Transport Protocol with terminal A, be called for short RTP) connect, but because this IP address is privately owned, privately owned address is unrecognizable on the public network territory, thus can't between terminal A and terminal B, set up communicate by letter online.Therefore; NAT only allow by the internal network terminal installation externally set up communication online; but do not allow other outer NTU of network and the NTU in the network to communicate; so; though NAT has produced protective effect to network security; but also stopped other communication signal (as: voip network telephone signal) simultaneously, caused the NAT agreement to become and hinder the technology barrier that the enterprise customer uses network service (as: voip network phone) service from external network.Especially, in many privately owned nets territory now, because the essential commentaries on classics location that sees through at least two above NAT device of internal network terminal installation, beginning can be connected to the internet, it is online externally to set up communication, this present situation more causes the design of many NTUs and manufacturer because of being difficult to overcome the technology barrier of NAT agreement on network communication services, meets the NTU that network present situation is now used and can't design.
So, how to design a kind of NTU, make this NTU see through at least two above NAT device, after being online to the internet, another NTU on the internet can penetrate described NAT device easily, sets up a clog-free online passage, smooth online communication with this NTU, or carry out the access of data, promptly become many networks and serve the dealer and carve and just to make great efforts to research and develop and desire most ardently an important goal of reaching.
Summary of the invention
Of the present inventionly provide a kind of method of setting up on-line channel, this method is to utilize dynamic domain name server to set up the method for on-line channel between NTU, phase makes two NTUs can see through a dynamic domain name server (Dynamic Domain Name server on the internet (internet), hereinafter to be referred as the DDNS server), penetrate an above NAT device, respectively via UPnP internet gateway device (Universal Plug and Play Internet Gateway Device, hereinafter to be referred as UPnP IGD), the mode of repeater passage or penetrating NAT router, set up a clog-free online passage, online each other, carry out the access of data.
A purpose of the present invention, be that a kind of method of utilizing dynamic domain name server to set up on-line channel between NTU is being provided, this method is to be applied to a network system, this network system comprises a DDNS server, at least one privately owned net territory (private network) and internet, wherein this privately owned net territory comprises more than one network address translation (Network Address Translation, hereinafter to be referred as NAT) router (router) and at least one NTU (as: wireless network video camera), this NTU is via described NAT router, be connected to the internet, this method is to make this NTU can be in when start, automatically login this DDNS server, and after detecting spendable relevant device on-line information between this NTU and this DDNS server (as: IP address and communication port numbers (Port No.)), described equipment on-line information is write a webpage of this NTU appointment under a domain name of being registered on this DDNS server, or write the address field (Address record) and the resource record field (SRV record) of this DDNS server, so, when another NTU on the internet (as: notebook computer of network card is installed) desire and this NTU are online, only need import this domain name, can be from the webpage of appointment, or use an implementing procedure, the address field by inquiring about this DDNS server and the mode of resource record field, read described equipment on-line information, and according to described equipment on-line information, between this two NTU, set up an online passage, online each other, carry out the access of data.
Another object of the present invention, be to be mounted first at this NTU to be connected to described NAT router, and after start, when being connected to the internet via described NAT router in regular turn, can be earlier to this DDNS server, apply for a number of the account (Account No.), then, use this number of the account, register a domain name (DomainName), so, when this NTU is connected to the internet in each start, will be automatically with this number of the account, login this DDNS server, and detect spendable relevant device on-line information between this NTU and DDNS server, and described equipment on-line information is write the webpage of appointment under this domain name.
Another purpose of the present invention, be to make this another NTU can see through a web browser, open the webpage of appointment under this domain name, and read online spendable relevant device on-line information between this NTU deposited in this webpage and DDNS server, with according to described equipment on-line information, set up an on-line channel with this NTU, transmit data each other.
Another purpose again of the present invention, be that described equipment on-line information is included in spendable UPnP IGD between this NTU and DDNS server, repeater passage or in order to the relevant device on-line information of penetrating NAT router etc., make that this another NTU can be according to described equipment on-line information, select to use the mode of UPnP IGD, repeater passage or penetrating NAT router, set up an on-line channel with this NTU, transmit data each other.
Description of drawings
Fig. 1 is the configuration diagram of network system of the present invention;
Fig. 2 is the handling process schematic diagram of first NTU of the present invention;
Fig. 3 is the handling process schematic diagram of second NTU of the present invention;
Fig. 4 is the sequential schematic diagram of handling process in the most preferred embodiment of the present invention; And
Fig. 5 is a picture displayed schematic diagram on the web browser of second NTU in the embodiments of the invention.
Symbol description
Network system ... ... .... 1
The internet ... ... .... 2
The remote trunk device ... ... .... 23
The DDNS server ... ... .... 25
The first privately owned net territory ... ... .... 3
The one NAT router ... ... .... 31
The 2nd NAT router ... ... .... 32
First NTU ... ... .... 33
The zone repeater ... ... .... 34
The second privately owned net territory ... ... .... 4
The 3rd NAT router ... ... .... 41
Second NTU ... ... .... 42
Web browser ... ... ... .. 421
Subwindow ... ... .... 51,52,53,54
Embodiment
Press, dynamic domain name server (Dynamic Domain Name Server, hereinafter to be referred as the DDNS server) dynamic IP addressing of a client device (client device) can be videoed (mapping) to a fixing domain name (Domain Name), when this client device is connected to world-wide web at every turn, this client device will see through the information transmission, send the dynamic IP addressing of this client device to the DDNS server, be responsible for providing DNS to serve and realize the analysis service of dynamic domain name by the DDNS server, when being connected to world-wide web to obtain this client device at every turn, network is served dealer (Intemet ServiceProvider, abbreviation ISP) dynamic IP addressing that is provided, and with the each dynamic IP addressing of using of this client device, the corresponding fixedly domain name of videoing, so, employed dynamic IP addressing why when no matter this client device was connected to world-wide web at every turn, other client device on the world-wide web all can see through this fixing domain name, with the online communication of this client device.General speech, the mechanism that the client device desire uses the DDNS server to provide, must be earlier to DDNS server registration one domain name, and download a client software, and be mounted on the client device, make client device can see through client software, link up with the DDNS server, so, when client device is online to world-wide web at every turn, the dynamic IP addressing of using when the DDNS server promptly can be reached the standard grade according to client device at every turn, remove to judge the corresponding relation of domain name and IP address, this promptly so-called " dynamically domain name is resolved ", the fixedly domain name that client device is registered just, automatic network is served the dynamic IP addressing that the dealer is assigned to and is mapped when surfing the Net with client device at every turn, it was indefinite because of the IP address change originally to make, can't make the problem of other client device and its communication on the world-wide web, can see through the static and fixing domain name of visit, and achieve a solution.
Traditionally, the DNS system stipulates rule at the domain name of internet, domain name must point to fixed IP addresses, the DDNS system then is at the client device that uses the dynamic IP addressing online (ADSL or dial and connect etc.), a DDNS server is provided, to see through the DDNS server, with of the inquiry of other client device for domain name, the client device of other online guides to the IP address of this domain name correspondence, so that can be connected to the client device that uses the dynamic IP addressing online.Because, the client device that uses dynamic IP addressing to surf the Net will be assigned with a new IP address or be changed the IP address by the ISP dealer may reach the standard grade the time at every turn, major part provides the mechanism or the manufacturer of DDNS service that a user program all can be provided, whether the IP address of promptly detecting client every several minutes changes, and regularly upgrades the corresponding relation of domain name and IP address in the DDNS server.At present, existing on the market many IP address Wireless Router or router (Router) also support DDNS to set, so can directly store being set on Wireless Router or the router that DDNS serves, do not need fully user program to be installed to client device.Therefore, client device only must be to the DDNS server, number of the account of first to file, and register a domain name (as: yourname.tw) according to this, client device can utilize the domain name of being registered, and sees through the service of DDNS server, uses dynamic IP addressing to set up the website.After client device is enabled the DDNS function, when each client device is started shooting, the good number of the account of application before can using automatically, the IP that password to DDNS server carries out the specified network title is new element more, the DDNS server will be obtained client device and reach the standard grade at that time IP to the location, and it is corresponded to the domain name of being registered, if obtained IP address is 211.72.210.250 during the client device start, at this moment, domain name (as: yourname.tw) automatic setting that the DDNS server can be registered client device corresponds to 211.72.210.250, again, when if the IP address that client device is started shooting obtained again is 210.17.9.227, and after repeating more new element, then the domain name (as: yourname.tw) that client device can be registered again of DDNS server corresponds to 210.17.9.227.So, promptly solve fixed ip address not and can't correspond to the puzzlement of domain name, for other user who desires the website that browsing client equipment set up, need not fully why to know IP address obtained when client device is started shooting, only need the domain name (as: yourname.tw) of input client device, the website that can directly be linked to client device and set up.
The inventor is the operation principles according to aforementioned DDNS server and " dynamically domain name is resolved " technology, invent out a kind of method of utilizing dynamic domain name server between NTU, to set up on-line channel, this method is applied to a network system, see also shown in Figure 1, this method is to be applied to a network system 1, this network system 1 comprises internet 2, one DDNS server 25 and at least two privately owned net territories, in the following example of the present invention, be to be example with the 3 and second privately owned net territory 4, the first privately owned net territory, be illustrated, wherein this first privately owned net territory 3 comprises at least two network address translations (Network AddressTranslation, hereinafter to be referred as NAT) router (router) 31,32 and at least one NTU 33, this second privately owned net territory 4 comprises at least one NAT router four 1 and at least one NTU 42, in the following example of the present invention, this first privately owned net territory 3 comprises one the one NAT router three 1, one the 2nd NAT router three 2 and one first NTU 33 (as: wireless network video camera), this 4 in second privately owned net territory comprises one the 3rd NAT router four 1 and one second NTU 42 (as: being provided with the computer of network card).But, in other embodiments of the invention, be not limited thereto, respectively this privately owned net territory 3,4 also can comprise NTU and the NAT router more than two.Respectively this NTU the 33, the 42nd via the NAT router three 1,32,41 of correspondence, is connected to internet 2 respectively.
This method is to be mounted first at this first NTU 33 to be connected to a NAT router three 1, and after start, when being connected to internet 2 via a NAT router three 1 and the 2nd NAT router three 2 in regular turn, can be earlier to this DDNS server 25, apply for a number of the account (Account No.), then, use this number of the account, to these DDNS server 25 registration one domain names (Domain Name), so, when this first NTU 33 is connected to internet 2 in each start, will be automatically with this number of the account, login this DDNS server 25, and execution the following step, see also shown in Figure 2, detect 25 spendable relevant device on-line informations of this first NTU 33 and DDNS server (as: the IP address of relevant device and communication port numbers (Port No.)), and described equipment on-line information is write a named web page (Web Page) under this domain name, or writes the address field (Address record) and the resource record field (SRV record) of this DDNS server:
(200) send detection signal, DDNS server 25 is detected;
(201), judge whether first NTU 33 can directly be online to DDNS server 25 according to the response signal of DDNS server 25; If continue the following step; Otherwise, the end process program;
(202) the equipment on-line information (as: the IP address is 192.168.18.50) with this first NTU 33 writes the named web page under this domain name;
(204) judge whether a NAT router three 1 supports UPnP internet gateway device (Universal Plug and Play Internet Gateway Device, hereinafter to be referred as UPnP IGD) and allow first NTU 33 to use port reflection (port mapping) function, if carry out step (205); Otherwise, carry out step (206);
(205) (mapping) shone upon at the TCP port (port) of a NAT router three 1, and the equipment on-line information (as: the IP address is 220.135.29.14, and communication port numbers is 8080) of this UPnP IGD is write the named web page under this domain name; Press, UPnP (hereinafter to be referred as UPnP) is a kind of peer-to-peer network syndeton common between computer and interface equipment that is used in, especially, UPnP is based on Internet standard and technology, make to be dynamically connected and collaborative work certainly each other between distinct device, and under the management of net control device, realize the data communication of equipment room, yet the UPnP network interconnection technique that often uses in many families or the small business " is disintegrated " in the meeting of setting of NAT router.General speech, the application program that network connects must be used the address in public network territory, and each transmission dialogue all must be used unique communication port numbers, therefore, if (being the public network territory) gone up and used privately owned address or use same communication port numbers simultaneously in the internet, application program will be ended, because large corporation is equipped with special information personnel, so can guarantee company's application program still can normally use on the NAT router, but, small-sized mechanism and general user then do not possess the condition of luxury like this, in view of this, the development of UPnP NAT Traversal through-transmission technique promptly is in order to solve many problems that the NAT router brings to application program, think that small-sized mechanism and general user provide desirable solution, UPnP NAT Traversal solution is that UPnP IGD Working Committee is the solution that the Internet gateway device (Internet Gateway Device is hereinafter to be referred as IGD) is formulated, and its practice comprises following dual mode:
(1) manual mode: the manual mode of NAT Traversal is that the requirement user uses browser, or the Command Line Interface instrument on the computer, change some setting on the IGD, although making earnest efforts the user of network technology, minority do not have very big difficulty, but most user feels difficult, many users do not know that even NAT Traversal problem causes interference over against the use of its Internet service, for example: the user may want to experience a kind of multi-player gaming or use some other equity service, but find to connect for a certain reason, cause the user to take the key to difficulty step, seek the phone support, feel discontented, even have no intention and use new service or attempt new technology.
(2) automated manner: for avoiding requiring the user to solve NAT Traversal problem with manual mode, the manufacturer of many IGD has write out the software of support application layer, and it is designed to IGD, this application layer software is the application program of particular design, just manufacturer sees through to write and test special code, makes an application program finish NAT Traversal automatically.If this application software upgrades, then institute of manufacturer written application layer identification code must upgrade and test again.When only needing to consider several equities or relevant application program, this mode that solves NAT Traversal problem one to one, for manufacturer, be manageable, but it can't stretch freely hundreds of or thousands of application programs, at this moment development cost height not only, and may need relevant these application programs knowledge of principle aspect separately.Address this problem method preferably, allow the manufacturer be that equipment adds software or the firmware can understand UPnP exactly, then, make miscellaneous equipment and software can utilize same technology and NAT device to communicate, have only UPnP can finish this responsibility now.
(206) send detection signal to remote trunk device (remote relay) 23, the ride-through capability of described NAT router three 1 and 32 is detected;
(207) according to the response signal of remote trunk device 23, judge whether a NAT router three 1 and the 2nd NAT router three 2 allow first NTU 33 to open a NAT communication port (NAT portpunching), so that first NTU 33 can pass through a NAT router three 1 and the 2nd NAT router three 2 in regular turn, be online to the internet; If carry out step (208); Otherwise, carry out step (209);
(208) the equipment on-line information (as: the IP address is 218.210.27.64, and communication port numbers is 12345) that allows first NTU 33 to pass through on the 2nd NAT router three 2 is write the named web page under this domain name;
(209) judge whether a NAT router three 1 and the 2nd NAT router three 2 allow first NTU 33 to use a TCP channel (tunnel) to be online to the internet, or use one to act on behalf of server (Proxy/Socks) and be online to the internet; If carry out step (210); Otherwise, the end process program;
(210) read the equipment on-line information (as: the IP address is 140.113.102.166) of a remote trunk device (remote relay) 23 set on the internet 2, and the equipment on-line information of this remote trunk device 23 is write named web page under this domain name, or read the equipment on-line information of the set regional repeater (localrelay) 34 in this first privately owned net territory 3, and equipment on-line information that should zone repeater 34 writes the named web page under this domain name, then, end process program.
So, this domain name in this DDNS server 25 (as: http: the relevant device on-line information that is written in // 12345678.ddns.d-life.org) the named web page (as: http://einstein.d-life.org) will comprise following content:
Auto-Generated?Web?Page?for
device?url=“http://12345678.ddns.d-life.org”
user_sso_url=“http://einstein.d-life.org”
<html>
<head>
<title>IPCam?Multiple?View</title>
<meta?http-equiv=″Content-Type″content=″text/html;charset=iso-8859-1″>
</head>
<frameset rows=″*,*″cols=″*,*″frameborder=″YES″border=″1″
framespacing=″0″>
<frame?src=″http://192.168.18.50/″name=″local″>
<frame?src=″http://220.135.29.14:8080/″name=″upnp″>
<frame?src=″http://218.210.27.64:12345/″name=″nat″>
<frame?src=″http://140.113.102.166/″name=″tunnel″>
</frameset>
<noframes><body>
</body></noframes>
</html>
In the present invention, when these first NTU, 33 each starts are connected to internet 2, and according to abovementioned steps, with this first NTU 33 and 25 online spendable relevant device on-line informations of DDNS server, after writing the named web page under this domain name, consult shown in Figure 1 again, this second NTU 42 can see through a web browser (browser) 421, open the named web page of this domain name, and read the relevant device on-line information of depositing in this named web page, or use an implementing procedure (utility), the address field by inquiring about this DDNS server and the mode of resource record field, inquire the relevant device on-line information, and execution the following step, see also shown in Figure 3, according to the relevant device on-line information, set up an on-line channel with this first NTU 33, transmit data each other:
(300) according to the equipment on-line information (as: the IP address is 192.168.18.50) of this first NTU 33, this first NTU 33 is sent online requirement;
(301) according to the response signal of this first NTU 33, judging whether can be directly online with first NTU 33; If continue the following step; Otherwise, continue step (303);
(302) direct and this first NTU 33 is set up an on-line channel, transmits data each other;
(303) according to the equipment on-line information (as: the IP address is 220.135.29.14, and communication port numbers is 8080) of UPnP IGD, a NAT router three 1 is sent online requirement;
(304) according to the response signal of a NAT router three 1, it is online to judge whether directly to see through the UPnPIGD and first NTU 33, if carry out step (305); Otherwise, carry out step (306);
(305) see through UPnP IGD, direct and this first NTU 33 is set up an on-line channel, transmits data each other;
(306) (as: the IP address is 218.210.27.64 to allow first NTU 33 to open the equipment on-line information of a communication port thereon according to the 2nd NAT router three 2, communication port numbers is 12345), the 2nd NAT router three 2 is sent online requirement;
(307) according to the response signal of the 2nd NAT router three 2, judge whether to pass through in regular turn a NAT router three 1 and the 2nd NAT router three 2, online with first NTU 33, if carry out step (308); Otherwise, carry out step (309);
(308) pass through a NAT router three 1 and the 2nd NAT router three 2 in regular turn, set up an on-line channel, transmit data each other with this first NTU 33;
(309) according to the equipment on-line information (as: the IP address is 140.113.102.166) of this remote trunk device 23 (or regional repeater 34), this remote trunk device 23 (or regional repeater 34) is sent online requirement;
(310) according to the response signal of this remote trunk device 23 (or regional repeater 34), judge whether to see through this remote trunk device 23 (or regional repeater 34), online with first NTU 33, if carry out step (311); Otherwise, the end process program;
(311) see through this remote trunk device 23 (or regional repeater 34), direct and this first NTU 33 is set up an on-line channel, transmits data each other, and the end process program.
In one embodiment of this invention, consult shown in Figure 1 again, this first NTU 33 is wireless network video cameras, this second NTU 42 is one to be provided with the notebook computer of network card, this first NTU 33 is to see through a NAT router three 1 and the 2nd NAT router three 2 in regular turn, be connected with DDNS server 25 set on the internet 2, this second NTU 42 is to see through the 3rd NAT router four 1, be connected with DDNS server 25 set on the internet 2, when this first NTU 33 and second NTU 42 respectively according to abovementioned steps, set up an on-line channel, when transmitting data each other, its sequential chart will be as shown in Figure 4, according to its sequential, is described as follows now:
(401) at first, when 33 starts of first NTU, be connected to internet 2 via a NAT router three 1 and the 2nd NAT router three 2 in regular turn, and when logining this DDNS server 25, first NTU 33 its equipment on-line information (as: the IP address is 192.168.18.50) can be write this domain name (as: http: // 12345678.ddns.d-life.org) named web page (as: Http:// einstein.d-life.org);
(402) first NTUs 33 are with the TCP port (port) of the NAT router three 1 that detected, and mapping (mapping) becomes the equipment on-line information (as: the IP address is 220.135.29.14, and communication port numbers is 8080) of UPnP IGD;
(403) first NTUs 33 write the equipment on-line information of the UPnP IGD that obtained the named web page of this domain name;
The equipment on-line information (as: the IP address is 218.210.27.64, and communication port numbers is 12345) that (404) first NTUs 33 allow first NTU 33 to open a communication port on the 2nd NAT router three 2 the 2nd NAT router three 2 that is detected writes the named web page of this domain name;
(405) first NTUs 33 write the equipment on-line information (as: the IP address is 140.113.102.166) of this remote trunk device 23 (or regional repeater 34) of being detected the named web page of this domain name;
(406) this second NTU 42 sees through a web browser 421, can open this domain name (as: http: // 12345678.ddns.d-life.org) named web page (as: http://einstein.d-life.org), and read this first NTU 33 and 25 online spendable relevant device on-line informations of DDNS server that this named web page is deposited;
(407) this second NTU 42 is according to the equipment on-line information (as: the IP address is 192.168.18.50) of this first NTU 33, and direct and this first NTU 33 is set up an on-line channel, transmits data each other;
(408) (as: the IP address is 220.135.29.14 to this second NTU 42 according to the equipment on-line information of UPnP IGD, communication port numbers is 8080), see through UPnP IGD directly and this first NTU 33 set up an on-line channel, transmit data each other;
(409) (as: the IP address is 218.210.27.64 to this second NTU 42 according to the equipment on-line information that allows first NTU 33 to pass through on the 2nd NAT router three 2, communication port numbers is 12345), see through the 2nd a NAT router three 2 and a NAT router three 1 in regular turn, set up an on-line channel with this first NTU 33, transmit data each other;
(410) second NTUs 42 are according to the equipment on-line information (as: the IP address is 140.113.102.166) of this remote trunk device 23 (or regional repeater 34), see through this remote trunk device 23 (or regional repeater 34), direct and this first NTU 33 is set up an on-line channel, transmits data each other.
So, apply in the process actual, consult shown in Figure 5, these web browser 421 to DDNS servers 25 of being installed on this second NTU 42, read this domain name (as: http: behind the relevant device on-line information of depositing in // 12345678.ddns.d-life.org) the named web page (as: http://einstein.d-life.org), can use the relevant device on-line information, 33 of this second NTU 42 and first NTUs, set up four online passages, to receive the digitized video that is captured by first NTU 33, and digitized video is presented at subwindows 51 different on the web browser 421 of this second NTU 42 respectively, 52,53, in 54, wherein, because the enterprise firewall of being installed on the 2nd NAT router three 2, and do not allow first NTU 33 on the 2nd NAT router three 2, to open a communication port, cause and to pass through the 2nd NAT router three 2 and a NAT router three 1 in regular turn and set up an on-line channel transmission image, so can't show the digitized video that first NTU 33 is captured on the subwindow 53, its excess-three sub-window 51,52,54 energy are direct, or respectively through UPnP IGD, this remote trunk device 23 (or regional repeater 34), online with first NTU 33, set up online passage, receive the digitized video that is captured by first NTU 33.
The above only is of the present invention one best specific embodiment, and feature of the present invention is not limited thereto, and anyly is familiar with this technical staff in field of the present invention, can think easily and variation or modification, all should be encompassed in the scope of claim protection of the present invention.

Claims (22)

1, a kind of method of setting up on-line channel, it is characterized in that: this method is applied to a network system, this network system comprises a DDNS server, at least one privately owned net territory and internet, wherein this privately owned net territory comprises an above NAT router and at least one NTU, this NTU is in regular turn via described NAT router, be connected to the internet, this method makes this NTU when start, carries out the following step:
Login this DDNS server;
Detect spendable relevant device on-line information between this NTU and this DDNS server; And
After detecting described equipment on-line information, described equipment on-line information is write a webpage of this NTU appointment under a domain name of being registered on this DDNS server.
2, the method for claim 1 is characterized in that: be mounted first at this NTU and be connected to described NAT router, and when being connected to the internet via described NAT router in regular turn, also comprise:
To this DDNS server, apply for a number of the account earlier; And
Use this number of the account, register this domain name, and under this domain name, set up this webpage.
3, method as claimed in claim 2 is characterized in that: at another NTU on the internet
When desire and this NTU are online, this another NTU will be carried out the following step:
Import this domain name;
Login this DDNS server;
From the webpage of this domain name, read described equipment on-line information; And
According to described equipment on-line information, between this two NTU, set up on-line channel.
4, method as claimed in claim 3 is characterized in that: this equipment on-line information comprises the IP address of this NTU.
5, method as claimed in claim 3 is characterized in that: this equipment on-line information comprises the IP address and the communication port numbers of this NTU.
6, method as claimed in claim 3 is characterized in that: this equipment on-line information still comprises the IP address of a remote trunk device set on the internet.
7, method as claimed in claim 3 is characterized in that: this equipment on-line information still comprises the IP address of a regional repeater set on this privately owned net territory, and this zone repeater is to be connected with described NAT router and internet respectively.
8, method as claimed in claim 3 is characterized in that: this equipment on-line information still comprises IP address and the communication port numbers of the UPnP IGD that this NAT router is videoed.
9, method as claimed in claim 3 is characterized in that: this equipment on-line information still comprises IP address and the communication port numbers that allows this NTU to penetrate on this NAT router.
10, as claim 4,5,6,7,8 or 9 described methods, it is characterized in that: this another NTU is to use a web browser, opens the webpage of this domain name.
11, method as claimed in claim 10 is characterized in that: when the each start of this NTU is connected to the internet, also comprises automatically and to login this DDNS server with this number of the account.
12, a kind of method of setting up on-line channel, this method is applied to a network system, this network system comprises a DDNS server, at least one privately owned net territory and internet, wherein this privately owned net territory comprises an above NAT router and at least one NTU, this NTU is in regular turn via described NAT router, be connected to the internet, this method is to make this NTU when start, carries out the following step:
Login this DDNS server;
Detect spendable relevant device on-line information between this NTU and this DDNS server; And
After detecting described equipment on-line information, described equipment on-line information is write the address field and the resource record field of this DDNS server respectively.
13, method as claimed in claim 12 is characterized in that: be mounted first at this NTU and be connected to described NAT router, and when being connected to the internet via described NAT router in regular turn, also comprise:
To this DDNS server, apply for a number of the account earlier; And
Use this number of the account, register this domain name, and under this domain name, set up this webpage.
14, method as claimed in claim 13 is characterized in that: when another NTU desire on the internet is online with this NTU, this another NTU will be carried out the following step:
Import this domain name;
Login this DDNS server;
Address field and resource record field from this DDNS server read described equipment on-line information;
And
According to described equipment on-line information, between this two NTU, set up on-line channel.
15, method as claimed in claim 14 is characterized in that: this equipment on-line information comprises the IP address of this NTU, and this IP address is the address field that is written into this DDNS server.
16, method as claimed in claim 14, it is characterized in that: this equipment on-line information comprises the IP address and the communication port numbers of this NTU, and this IP address and communication port numbers are address field and the resource record fields that is written into this DDNS server respectively.
17, method as claimed in claim 14 is characterized in that: this equipment on-line information still comprises the IP address of a remote trunk device set on the internet, and this IP address is the address field that is written into this DDNS server.
18, method as claimed in claim 14, it is characterized in that: this equipment on-line information still comprises the IP address of a regional repeater set on this privately owned net territory, this IP address is the address field that is written into this DDNS server, and this zone repeater is to be connected with described NAT router and internet respectively.
19, method as claimed in claim 14, it is characterized in that: this equipment on-line information still comprises IP address and the communication port numbers of the UPnP IGD that this NAT router is videoed, and this IP address and communication port numbers are address field and the resource record fields that is written into this DDNS server respectively.
20, method as claimed in claim 14, it is characterized in that: this equipment on-line information still comprises IP address and the communication port numbers that allows this NTU to penetrate on this NAT router, and this IP address and communication port numbers are address field and the resource record fields that is written into this DDNS server respectively.
21, as claim 15,16,17,18,19 or 20 described methods, it is characterized in that: this another NTU is to use an implementing procedure, the address field by inquiring about this DDNS server and the mode of resource record field inquire this equipment on-line information.
22, method as claimed in claim 21 is characterized in that: when the each start of this NTU is connected to the internet, also comprises automatically and to login this DDNS server with this number of the account.
CN200810134287A 2008-08-04 2008-08-04 Method for establishing on-line channel Pending CN101645875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810134287A CN101645875A (en) 2008-08-04 2008-08-04 Method for establishing on-line channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810134287A CN101645875A (en) 2008-08-04 2008-08-04 Method for establishing on-line channel

Publications (1)

Publication Number Publication Date
CN101645875A true CN101645875A (en) 2010-02-10

Family

ID=41657595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810134287A Pending CN101645875A (en) 2008-08-04 2008-08-04 Method for establishing on-line channel

Country Status (1)

Country Link
CN (1) CN101645875A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143509A (en) * 2010-12-16 2011-08-03 华为终端有限公司 Method, device and system for managing wireless repeater by using access point (AP)
CN102291473A (en) * 2011-09-09 2011-12-21 中山大学 NAT (Network Address Translation) penetrating method of home network equipment management system
CN103369061A (en) * 2012-04-01 2013-10-23 华为终端有限公司 Method for traversing two-stage NAT (network address translation) and NAT equipment
CN103621036A (en) * 2012-06-15 2014-03-05 华为技术有限公司 Registration method, device, and system
CN110691059A (en) * 2018-07-05 2020-01-14 资富电子股份有限公司 Apparatus and method for dynamic VPN and computer readable recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040139227A1 (en) * 2003-01-15 2004-07-15 Yutaka Takeda Relayed network address translator (NAT) traversal
CN1650598A (en) * 2002-03-18 2005-08-03 松下电器产业株式会社 A DDNS server, a DDNS client terminal and a DDNS system, and a web server terminal, its network system and an access control method
US20050286553A1 (en) * 2004-06-25 2005-12-29 Patrick Wetterwald Arrangement for reaching IPv4 public network nodes by a node in an IPv4 private network via an IPv6 access network
US20070088815A1 (en) * 2005-10-13 2007-04-19 Kenneth Ma Automated setup and test confirmation of dynamic DNS service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650598A (en) * 2002-03-18 2005-08-03 松下电器产业株式会社 A DDNS server, a DDNS client terminal and a DDNS system, and a web server terminal, its network system and an access control method
US20040139227A1 (en) * 2003-01-15 2004-07-15 Yutaka Takeda Relayed network address translator (NAT) traversal
US20050286553A1 (en) * 2004-06-25 2005-12-29 Patrick Wetterwald Arrangement for reaching IPv4 public network nodes by a node in an IPv4 private network via an IPv6 access network
US20070088815A1 (en) * 2005-10-13 2007-04-19 Kenneth Ma Automated setup and test confirmation of dynamic DNS service

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143509A (en) * 2010-12-16 2011-08-03 华为终端有限公司 Method, device and system for managing wireless repeater by using access point (AP)
WO2012079501A1 (en) * 2010-12-16 2012-06-21 华为终端有限公司 Method, apparatus and system for access point (ap) to manage wireless repeater(s)
CN102143509B (en) * 2010-12-16 2014-04-02 华为终端有限公司 Method, device and system for managing wireless repeater by using access point (AP)
US9166946B2 (en) 2010-12-16 2015-10-20 Huawei Device Co., Ltd. Method, apparatus and system for AP to manage wireless repeater
CN102291473A (en) * 2011-09-09 2011-12-21 中山大学 NAT (Network Address Translation) penetrating method of home network equipment management system
CN102291473B (en) * 2011-09-09 2013-08-21 中山大学 NAT (Network Address Translation) penetrating method of home network equipment management system
CN103369061A (en) * 2012-04-01 2013-10-23 华为终端有限公司 Method for traversing two-stage NAT (network address translation) and NAT equipment
CN103369061B (en) * 2012-04-01 2016-08-24 华为终端有限公司 A kind of method passing through two-stage NAT and NAT device
CN103621036A (en) * 2012-06-15 2014-03-05 华为技术有限公司 Registration method, device, and system
CN110691059A (en) * 2018-07-05 2020-01-14 资富电子股份有限公司 Apparatus and method for dynamic VPN and computer readable recording medium

Similar Documents

Publication Publication Date Title
US20100014536A1 (en) Method for building connection channel between network terminals through dynamic domain name sarver
CN101431511B (en) Method for penetrating fire wall and establishing on-line channel between network terminal apparatus
US8082324B2 (en) Method of establishing a tunnel between network terminal devices passing through firewall
JP3774191B2 (en) Audio-video circuit technology with firewall and network address translation
JP5301571B2 (en) Method and system for providing connectivity between clients connected to the Internet
US8356344B2 (en) Portable ice proxy and method thereof
US20070189258A1 (en) Network interconnection apparatus, network interconnection method, name resolution apparatus and computer program
JP4909277B2 (en) Network communication device, network communication method, address management device
US20020035624A1 (en) Gateway and a method for operating the same
TWI360338B (en)
CN101645875A (en) Method for establishing on-line channel
US7680065B2 (en) System and method for routing information packets
CN104519077A (en) Multimedia sharing method, registration method, server and proxy server
WO2009154249A1 (en) Remote access system, device, method and program
US8842683B2 (en) Audio/video communication system
JPH11177629A (en) Security gateway server, www server url concealing method using the server and recording medium recording www server url concealing program
CN101494623B (en) Method and apparatus for accessing network memory device of different private network
CN101631145A (en) Method for predicting NAT equipment port
EP1804429B1 (en) A communication system and method for achieving ip cross-domain intercommunication via an edge media gateway
KR100586428B1 (en) Method to redirect of web page for internet service management
JP2006135704A (en) Router and control method thereof
JP2004214948A (en) Packet communication method, packet communication equipment, packet communication program and packet communication program recording medium
JP4954624B2 (en) Home relay device and home relay system
JP2008206081A (en) Data relaying apparatus and data relaying method used for multi-homing communication system
JP5023672B2 (en) Packet relay device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100210