[go: up one dir, main page]

TWI575915B - Network point - to - point connection switching system and method - Google Patents

Network point - to - point connection switching system and method Download PDF

Info

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
Application number
TW103137798A
Other languages
Chinese (zh)
Other versions
TW201616842A (en
Inventor
Ming Chuan Wang
Original Assignee
Papago Inc
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 Papago Inc filed Critical Papago Inc
Priority to TW103137798A priority Critical patent/TWI575915B/en
Publication of TW201616842A publication Critical patent/TW201616842A/en
Application granted granted Critical
Publication of TWI575915B publication Critical patent/TWI575915B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

網路點對點連接切換系統與方法Network point-to-point connection switching system and method

本發明是有關於一種網路連線切換系統與方法,特別是有關於依據點對點網路連接狀態以決定切換路線的網路點對點連接切換系統與方法。 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)

一種網路點對點連接切換系統,適用於連接一目的裝置,該系統包括:一中繼伺服器;以及一起始裝置,用以與該目的裝置進行點對點連接,當該起始裝置判斷無法與該目的裝置連接時,透過該中繼伺服器間接連接該目的裝置,其中,該起始裝置記載該目的裝置的網路位址,並於判斷無法與該目的裝置連接時,將該網路位址傳輸予該中繼伺服器,該中繼伺服器透過該網路位址連接該目的裝置。 A network point-to-point connection switching system is adapted to connect to a destination device, the system comprising: a relay server; and an initiating device for performing a point-to-point connection with the destination device, when the initiating device determines that the destination cannot be When the device is connected, the destination device is indirectly connected through the relay server, wherein the initial device records the network address of the destination device, and transmits the network address when it is determined that the destination device cannot be connected The relay server is connected to the destination device through the network address. 根據申請專利範圍第1項所述的網路點對點連接切換系統,其中,更包括一備用伺服器,該起始裝置記載該目的裝置的網路位址,當該起始裝置判斷該中繼伺服器無法連接該目的裝置時,改連接該備用伺服器,並將該網路位址傳輸予該備用伺服器,該備用伺服器透過該網路位址連接該目的裝置。 The network peer-to-peer connection switching system according to claim 1, wherein the network further comprises a backup server, wherein the initial device records a network address of the destination device, and when the initial device determines the relay servo When the device cannot connect to the destination device, the backup server is connected and the network address is transmitted to the backup server, and the backup server connects to the destination device through the network address. 根據申請專利範圍第1項所述的網路點對點連接切換系統,其中,該起始裝置在連接該中繼伺服器時,會定期或不定期判斷是否能與該目的裝置進行點對點連接。 The network peer-to-peer connection switching system according to claim 1, wherein the initial device, when connected to the relay server, periodically or irregularly determines whether a point-to-point connection with the destination device is possible. 根據申請專利範圍第3項所述的網路點對點連接切換系統,其中,該起始裝置判斷能與該目的裝置點對點連接時,係連接該目的裝置,並令該中繼伺服器停止與該目的裝置連接。 The network peer-to-peer connection switching system according to claim 3, wherein when the initiating device determines that the destination device can be connected point-to-point, the destination device is connected, and the relay server is stopped for the purpose. Device connection. 根據申請專利範圍第4項所述的網路點對點連接切換系統,其中,該起始裝置判斷能與該目的裝置點對點連接時,判斷 透過該中繼伺服器間接連該目的裝置的網路連線品質高於與該目的裝置進行點對點連接的網路連線品質時,維持透過該中繼伺服器間接連該目的裝置。 The network peer-to-peer connection switching system according to claim 4, wherein the initial device determines that the device can be connected point-to-point with the destination device, When the quality of the network connection of the destination device indirectly connected to the destination device is higher than the network connection quality of the point-to-point connection with the destination device, the device is indirectly connected to the destination device through the relay server. 根據申請專利範圍第4項所述的網路點對點連接切換系統,其中,該起始裝置判斷能與該目的裝置點對點連接時,判斷透過該中繼伺服器間接連該目的裝置的網路連線品質低於與該目的裝置進行點對點連接的網路連線品質時,切換至與該目的裝置進行點對點連接。 The network peer-to-peer connection switching system according to claim 4, wherein when the initiating device determines that the destination device can be connected point-to-point, it determines that the network connection of the destination device is indirectly connected through the relay server. When the quality is lower than the network connection quality of the point-to-point connection with the destination device, the connection is made to the point-to-point connection with the destination device. 根據申請專利範圍第4項所述的網路點對點連接切換系統,其中,該起始裝置判斷透過該中繼伺服器與該目的裝置進行資料傳輸時,係等待該資料傳輸完成後,再點對點連接該目的裝置,並令該中繼伺服器停止與該目的裝置連接。 The network peer-to-peer connection switching system according to claim 4, wherein the initiating device determines that the data transmission is performed by the relay server and the destination device, and waits for the data transmission to be completed before the point-to-point connection The destination device, and the relay server is stopped from connecting to the destination device. 一種網路點對點連接切換方法,適用於連接一目的裝置,該方法至少包括以下步驟:利用一起始裝置與該目的裝置進行點對點連接;以及當該起始裝置判斷無法與該目的裝置連接時,透過一中繼伺服器間接連接該目的裝置,其中,該起始裝置記載該目的裝置的網路位址,並於判斷無法與該目的裝置連接時,將該網路位址傳輸予該中繼伺服器,該中繼伺服器透過該網路位址連接該目的裝置。 A network point-to-point connection switching method is suitable for connecting a destination device, the method comprising at least the steps of: performing a point-to-point connection with the destination device by using an initiating device; and transmitting, when the initiating device determines that the device cannot be connected to the destination device A relay server indirectly connects to the destination device, wherein the initial device records a network address of the destination device, and transmits the network address to the relay servo when it is determined that the destination device cannot be connected The relay server connects to the destination device through the network address.
TW103137798A 2014-10-31 2014-10-31 Network point - to - point connection switching system and method TWI575915B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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