TWI575915B - Network point - to - point connection switching system and method - Google Patents
Network point - to - point connection switching system and method Download PDFInfo
- Publication number
- TWI575915B TWI575915B TW103137798A TW103137798A TWI575915B TW I575915 B TWI575915 B TW I575915B TW 103137798 A TW103137798 A TW 103137798A TW 103137798 A TW103137798 A TW 103137798A TW I575915 B TWI575915 B TW I575915B
- Authority
- TW
- Taiwan
- Prior art keywords
- point
- destination device
- network
- connection
- relay server
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 10
- 230000000977 initiatory effect Effects 0.000 claims description 23
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本發明是有關於一種網路連線切換系統與方法,特別是有關於依據點對點網路連接狀態以決定切換路線的網路點對點連接切換系統與方法。 The present invention relates to a network connection switching system and method, and more particularly to a network point-to-point connection switching system and method for determining a handover route according to a point-to-point network connection status.
現今的對等網路(peer-to-peer,簡稱P2P),又稱點對點技術,是無中心伺服器、依靠用戶群(peers)交換資訊的網際網路體系。每個用戶端皆是一個節點,資料交流僅能透過節點之間的資料交換完成,最基礎的架構是兩個節點直接連線。 Today's peer-way (peer-to-peer, referred to as P2P), also known as peer to peer technology, is no central server, it relies on users (peers) exchange Internet information system. Each client is a node, and data exchange can only be done through data exchange between nodes. The most basic architecture is that two nodes are directly connected.
然而,點對點連線中,兩個節點之間的連接路徑一旦形成斷路,節點兩造之間即無法連線。 However, in a point-to-point connection, once the connection path between the two nodes forms an open circuit, the node cannot be connected between the two.
為解決上述問題,本發明係揭露一種網路點對點連接切換系統與方法,其結合中繼的網路傳輸設備,使節點兩端能維持連線。 To solve the above problems, the present invention discloses a network point-to-point connection switching system and method, which combines a relay network transmission device to enable both ends of a node to maintain a connection.
本發明揭露的網路點對點連接切換系統,適用於連接一目的裝置。系統包括一中繼伺服器與一起始裝置。其中,起始裝置用以與目的裝置進行點對點連接,當起始裝置判斷無法與目的裝置連接時,透過中繼伺服器間接連接目的裝置。 The network point-to-point connection switching system disclosed in the present invention is suitable for connecting a destination device. The system includes a relay server and an initial device. The initiating device is configured to perform a point-to-point connection with the destination device. When the initiating device determines that the device cannot be connected to the destination device, the destination device is indirectly connected through the relay server.
本發明揭露的網路點對點連接切換方法,適用於連接一目的裝置,其包括以下步驟:利用一起始裝置與目的裝置進行點對點連接;以及,當起始裝置判斷無法與目的裝置連接時,透過一中繼伺服器間接連接目的裝置。 The network point-to-point connection switching method disclosed in the present invention is applicable to a connection destination device, which comprises the steps of: using a start device to perform a point-to-point connection with a destination device; and, when the initiating device determines that the connection with the destination device is impossible, The relay server is indirectly connected to the destination device.
本發明所揭系統與方法,其特點在於,當點對點連線路徑無法成立時,亦能透過中繼的網路傳輸設備,使節點兩端無法進行點對點連 線時,仍能進行間接性的連線。 The system and method disclosed in the present invention are characterized in that when the point-to-point connection path cannot be established, the network transmission device can also be transmitted through the relay, so that both ends of the node cannot perform point-to-point connection. Indirect connections can still be made while the line is on.
100‧‧‧起始裝置 100‧‧‧Starting device
200‧‧‧目的裝置 200‧‧‧ destination device
310‧‧‧中繼伺服器 310‧‧‧Relay Server
320‧‧‧備用伺服器 320‧‧‧Reserved server
S110-S130‧‧‧步驟 S110-S130‧‧‧Steps
圖1繪示本發明實施例之網路點對點連接切換系統的第一種系統架構圖。 1 is a first system architecture diagram of a network point-to-point connection switching system according to an embodiment of the present invention.
圖2繪示本發明實施例之網路點對點連接切換方法的流程示意圖。 FIG. 2 is a schematic flow chart of a network point-to-point connection switching method according to an embodiment of the present invention.
圖3繪示本發明實施例之網路點對點連接切換系統的第二種系統架構圖。 3 is a second system architecture diagram of a network point-to-point connection switching system according to an embodiment of the present invention.
茲配合圖式將本發明實施例詳細說明如下。 The embodiments of the present invention are described in detail below with reference to the drawings.
請參閱圖1繪示本發明實施例之網路點對點連接切換系統的第一種系統架構圖。此系統用以連接至一目的裝置200。系統包括一起始裝置100與一中繼伺服器310。目的裝置200、起始裝置100與中繼伺服器310皆具網路連線功能,且起始裝置100與目的裝置200具點對點連線能力。請一併參閱圖2繪示本發明實施例之網路點對點連接切換方法的流程示意圖。系統所施行步驟至少包括如下所示:利用起始裝置100與目的裝置200進行點對點連接(步驟S110)。起始裝置100記載有目的裝置200的網路位置,網路位置可透過與起始裝置100及目的裝置200相同之用戶群(peers)所提供、藉由人工輸入或是相同、相類似等資料取得手段所取得。 1 is a first system architecture diagram of a network point-to-point connection switching system according to an embodiment of the present invention. This system is used to connect to a destination device 200. The system includes an initiating device 100 and a relay server 310. The destination device 200, the initiating device 100 and the relay server 310 all have a network connection function, and the initiating device 100 and the destination device 200 have a point-to-point connection capability. 2 is a schematic flowchart of a network point-to-point connection switching method according to an embodiment of the present invention. The steps performed by the system include at least the following: a point-to-point connection is made to the destination device 200 by the initiating device 100 (step S110). The initiating device 100 describes the network location of the destination device 200, and the network location can be provided by the same user group (peers) as the initiating device 100 and the destination device 200, by manual input or the same, similar, etc. Obtained by means of acquisition.
當起始裝置100判斷無法與目的裝置200連接時,透過一中繼伺服器310間接連接目的裝置200(步驟S120)。其中,起始裝置100記載目的裝置200的網路位址,並於判斷無法與目的裝置200連接時,將網路位址傳輸予中繼伺服器310,中繼伺服器310透過網路位址連接目的裝置200。 When the initiating device 100 determines that the connection with the destination device 200 is impossible, the destination device 200 is indirectly connected via a relay server 310 (step S120). The originating device 100 records the network address of the destination device 200, and when it is determined that the destination device 200 cannot be connected, transmits the network address to the relay server 310, and the relay server 310 transmits the network address through the network address. The destination device 200 is connected.
更進一步者,起始裝置100在連接中繼伺服器310時,會定期或不定期判斷是否能與目的裝置200進行點對點連接。當起始裝置100判斷能與目的裝置200點對點連接時,係連接目的裝置200,並令中繼伺服器310停止與目的裝置200連接(步驟S130)。 Further, when the startup device 100 is connected to the relay server 310, it is periodically or irregularly determined whether or not the point-to-point connection with the destination device 200 can be made. When the initiating device 100 determines that the destination device 200 can be connected point-to-point, the destination device 200 is connected, and the relay server 310 is stopped from being connected to the destination device 200 (step S130).
然而,起始裝置100判斷能與目的裝置200點對點連接時,會先分析透過中繼伺服器310間接連目的裝置200的網路連線品質,及分析與目的裝置200進行點對點連接的網路連線品質,判斷何者較佳。當透過中繼伺服器310間接連目的裝置200的網路連線品質高於與目的裝置200進行點對點連接的網路連線品質時,就維持透過中繼伺服器310間接連目的裝置200。相反的,則切換回與目的裝置200進行點對點連接。 However, when the initiating device 100 determines that the destination device 200 can be connected point-to-point, it first analyzes the network connection quality of the indirect connection device 200 through the relay server 310, and analyzes the network connection with the destination device 200 for point-to-point connection. Line quality, to determine which is better. When the network connection quality of the indirect connection device 200 through the relay server 310 is higher than the network connection quality of the point-to-point connection with the destination device 200, the device 200 is indirectly connected to the destination server 200 through the relay server 310. Conversely, switching back to the destination device 200 for a point-to-point connection.
然而,在起始裝置100切換回與目的裝置200進行點對點連接前,會先判斷是否正在進行資料傳輸。若起始裝置100判斷有資料傳輸時,會等待資料傳輸完成後,再切換回與目的裝置200進行點對點連接。 However, before the initiating device 100 switches back to the point-to-point connection with the destination device 200, it is first determined whether data transmission is in progress. If the initiating device 100 determines that there is data transmission, it waits for the data transmission to be completed, and then switches back to the destination device 200 for point-to-point connection.
請參閱圖3繪示本發明實施例之網路點對點連接切換系統的第二種系統架構圖,與前實施例不同在於,系統更包括一備用伺服器320。當起始裝置100判斷中繼伺服器310無法連接目的裝置200時,改連接備用伺服器320,並將目的裝置200的網路位址傳輸予備用伺服器320,備用伺服器320透過網路位址連接目的裝置200,以使起始裝置100透過備用伺服器320間接連接至目的裝置200。 Please refer to FIG. 3, which illustrates a second system architecture diagram of a network point-to-point connection switching system according to an embodiment of the present invention. The difference from the previous embodiment is that the system further includes a backup server 320. When the initiating device 100 determines that the relay server 310 cannot connect to the destination device 200, the backup server 320 is connected, and the network address of the destination device 200 is transmitted to the backup server 320, and the backup server 320 transmits the network address. The destination device 200 is connected to the initiating device 100 to be indirectly connected to the destination device 200 via the backup server 320.
綜上所述之,乃僅記載本發明為呈現解決問題所採用的技術手段之實施或實施例而已,並非用來限定本發明專利實施之範圍。即凡與本發明專利申請範圍文義相符,或依本發明專利範圍所做的均等變化與修飾,皆為本發明專利範圍所涵蓋。 In the above, it is merely described that the present invention is an implementation or an embodiment of the technical means for solving the problem, and is not intended to limit the scope of the invention. That is, the equivalent changes and modifications made in accordance with the scope of the patent application of the present invention or the scope of the invention are covered by the scope of the invention.
100‧‧‧起始裝置 100‧‧‧Starting device
200‧‧‧目的裝置 200‧‧‧ destination device
310‧‧‧中繼伺服器 310‧‧‧Relay Server
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW103137798A TWI575915B (en) | 2014-10-31 | 2014-10-31 | Network point - to - point connection switching system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW103137798A TWI575915B (en) | 2014-10-31 | 2014-10-31 | Network point - to - point connection switching system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201616842A TW201616842A (en) | 2016-05-01 |
| TWI575915B true TWI575915B (en) | 2017-03-21 |
Family
ID=56508707
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW103137798A TWI575915B (en) | 2014-10-31 | 2014-10-31 | Network point - to - point connection switching system and method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI575915B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008051974A1 (en) * | 2006-10-24 | 2008-05-02 | Clique Communications, Llc | System and method for establishing a peer-to-peer connection |
| US20080130900A1 (en) * | 2003-10-20 | 2008-06-05 | Hsieh Vincent W | Method and apparatus for providing secure communication |
| TW200924439A (en) * | 2007-11-23 | 2009-06-01 | D Link Corp | Portable ICE relay server and its method thereof |
| US20100088427A1 (en) * | 2007-11-06 | 2010-04-08 | Alibaba Group Holding Limited | Selective Routing of Data Transmission Between Clients |
| CN101834775A (en) * | 2009-03-13 | 2010-09-15 | 中国移动通信集团公司 | Media stream transmission method, system and user terminal |
| CN102447749A (en) * | 2010-10-15 | 2012-05-09 | 中兴通讯股份有限公司 | Centralized P2P system supporting NAT traversal and NAT traversal method |
| US8199760B2 (en) * | 2002-11-04 | 2012-06-12 | At&T Intellectual Property I, L.P. | Peer to peer SVC-based DSL service |
-
2014
- 2014-10-31 TW TW103137798A patent/TWI575915B/en active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8199760B2 (en) * | 2002-11-04 | 2012-06-12 | At&T Intellectual Property I, L.P. | Peer to peer SVC-based DSL service |
| US20080130900A1 (en) * | 2003-10-20 | 2008-06-05 | Hsieh Vincent W | Method and apparatus for providing secure communication |
| WO2008051974A1 (en) * | 2006-10-24 | 2008-05-02 | Clique Communications, Llc | System and method for establishing a peer-to-peer connection |
| US20100088427A1 (en) * | 2007-11-06 | 2010-04-08 | Alibaba Group Holding Limited | Selective Routing of Data Transmission Between Clients |
| TW200924439A (en) * | 2007-11-23 | 2009-06-01 | D Link Corp | Portable ICE relay server and its method thereof |
| CN101834775A (en) * | 2009-03-13 | 2010-09-15 | 中国移动通信集团公司 | Media stream transmission method, system and user terminal |
| CN102447749A (en) * | 2010-10-15 | 2012-05-09 | 中兴通讯股份有限公司 | Centralized P2P system supporting NAT traversal and NAT traversal method |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201616842A (en) | 2016-05-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103004147B (en) | Message forwarding path determining method, network device and control device | |
| CN105024844B (en) | A kind of method calculating cross-domain routing, server and system | |
| CN104601682B (en) | A kind of method for switching things-internet gateway and relevant apparatus and system | |
| CN104683435B (en) | Network system keeps connection method, electronic equipment, server | |
| CN101895482A (en) | Method and device for abstracting logical topology information of point-to-point technical network | |
| TWI599201B (en) | Network system and method of establishing data connection | |
| CN101610208A (en) | Method, system and router for advertising between BGP neighbors | |
| CN101753454B (en) | Graceful restart method for router, router and network system | |
| WO2013152718A1 (en) | Path computation element communication protocol session establishment method and device | |
| JP2020510342A (en) | Method and apparatus for modular routing of AVB streams | |
| JP2010533328A5 (en) | ||
| US9729428B2 (en) | Peer-to-peer connection system with capability of peer-to-peer connection path routing, path routing method of peer-to-peer connection and computer application program thereof | |
| WO2016101652A1 (en) | Method, server, terminal, and system for remote assistance configuration | |
| TWI510063B (en) | Media streaming providing device, method of connecting to media streaming providing device, media streaming system and computer readable media | |
| CN106790689B (en) | Node recommendation method, server and client based on peer-to-peer network | |
| CN102130807A (en) | A device discovery method for realizing real-time dynamic networking in personal Internet | |
| TWI575915B (en) | Network point - to - point connection switching system and method | |
| JP5522494B2 (en) | Method, remote access server and system for quality of service configuration | |
| WO2015100978A1 (en) | Method and system for automatic discovery of controller in software defined network and controller | |
| JP2015103125A (en) | Network system, full-time connection method, electronic apparatus, full-time connection server, application server, and program | |
| KR101582802B1 (en) | Method for synchronizing data between dds nodes using real-time dbms based on in-memory | |
| CN102264009A (en) | Virtual path acquisition method, relevant devices and network system | |
| WO2018086552A1 (en) | Method and device for adjusting planned bandwidth | |
| JP2009188552A (en) | Terminal device and program in information distribution system, and reconnection processing method | |
| WO2016095470A1 (en) | Method and gslb for data push |